Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: opatch napply

Re: opatch napply

From: Niall Litchfield <niall.litchfield_at_gmail.com>
Date: Tue, 14 Aug 2007 18:09:55 +0100
Message-ID: <7765c8970708141009j4016991cke89822a7e650a95d@mail.gmail.com>


nah! error checking is for wimps...

more seriously the issue that I have is that opatch is for one-offs. Some one offs require other setup steps than just opatch - and might require for example earlier one-offs to be rolled back first. The whole idea of performing multiple one-off patches to a db install just seems wrong to me. If you've waited long enough for there to be multiple one offs can't you wait long enough for the patchset?

Niall

On 8/14/07, Tanel Poder <tanel.poder.003_at_mail.ee> wrote:
>
> Hi,
>
> Try something like that:
>
> for i in [0-9]* ; do cd $i ; opatch apply ; cd .. ; done
>
> Of course test this out first in some dummy environment, also you might
> want
> to add some error checking to the script..
>
> Tanel.
> http://blog.tanelpoder.com
>
>
> > -----Original Message-----
> > From: oracle-l-bounce_at_freelists.org
> > [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Joe Smith
> > Sent: Tuesday, August 14, 2007 21:53
> > To: oracle-l_at_freelists.org
> > Subject: opatch napply
> >
> > Is there a way to force opatch to apply all patches with one command?
> >
> > With the chagne in opatch it installs numerous directories like below:
> >
> > -bash-3.00$ ls -ltr
> > total 214
> > -rw-r--r-- 1 oracle dba 2871 Jun 12 09:32 patchmd.xml
> > drwxr-xr-x 4 oracle dba 512 Jul 4 11:42 6121268
> > drwxr-xr-x 4 oracle dba 512 Jul 4 11:42 6121267
> > drwxr-xr-x 4 oracle dba 512 Jul 4 11:42 6121266
> > drwxr-xr-x 4 oracle dba 512 Jul 4 11:42 6121264
> > drwxr-xr-x 4 oracle dba 512 Jul 4 11:42 6121263
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

-- 
Niall Litchfield
Oracle DBA
http://www.orawin.info

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Aug 14 2007 - 12:09:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US