  | | | opatch napply | opatch napply 2007-08-14 - By Niall Litchfield
Back 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@(protected)> 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@(protected) > > [mailto:oracle-l-bounce@(protected)] On Behalf Of Joe Smith > > Sent: Tuesday, August 14, 2007 21:53 > > To: oracle-l@(protected) > > 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 (See http://ash-3.ora-code.com).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
nah! error checking is for wimps... <br><br>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? <br><br>Niall<br><br><div><span class="gmail_quote">On 8/14/07, <b class="gmail _sendername">Tanel Poder</b> <<a href="mailto:tanel.poder.003@(protected)">tanel .poder.003@(protected)</a>> wrote:</span><blockquote class="gmail_quote" style= "border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding -left: 1ex;"> Hi,<br><br>Try something like that:<br><br>for i in [0-9]* ; do cd $i ; opatch apply ; cd .. ; done<br><br>Of course test this out first in some dummy environment, also you might want<br>to add some error checking to the script.. <br><br>Tanel.<br><a href="http://blog.tanelpoder.com">http://blog.tanelpoder .com</a><br><br><br>> -- --Original Message-- --<br>> From: <a href= "mailto:oracle-l-bounce@(protected)">oracle-l-bounce@(protected)</a> <br>> [mailto:<a href="mailto:oracle-l-bounce@(protected)">oracle-l-bounce @(protected)</a>] On Behalf Of Joe Smith<br>> Sent: Tuesday, August 14, 2007 21:53<br>> To: <a href="mailto:oracle-l@(protected)">oracle-l @(protected) </a><br>> Subject: opatch napply<br>><br>> Is there a way to force opatch to apply all patches with one command?<br>><br>> With the chagne in opatch it installs numerous directories like below:<br>><br>> - bash-3 (See http://ash-3.ora-code.com).00$ ls -ltr<br>> total 214<br>> -rw-r--r-- 1 oracle dba 2871 Jun 12 09 :32 patchmd.xml<br>> drwxr-xr-x 4 oracle dba 512 Jul 4 11:42 6121268<br>> drwxr-xr-x 4 oracle dba 512 Jul 4 11:42 6121267 <br>> drwxr-xr-x 4 oracle dba   ; 512 Jul 4 11:42 6121266<br>> drwxr-xr-x 4 oracle dba 512 Jul 4 11:42 6121264<br>> drwxr -xr-x 4 oracle dba 512 Jul 4 11:42 6121263<br><br>--<br> <a href="http://www.freelists.org/webpage/oracle-l">http://www.freelists.org /webpage/oracle-l</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Niall Litchfield<br>Oracle DBA<br><a href="http://www.orawin.info"> http://www.orawin.info</a>
|
|
 |