[pca] patching broke my server!

Greg Matthews gmatt at nerc.ac.uk
Fri Aug 8 17:02:37 CEST 2008


Rajiv...

Rajiv Gunja wrote:
> Here is what I do for installing Patches:
> 
> 1. Backup current configuration:
> cd /tmp
> mkdir `hostname`
> cd `hostname`
> uname -a > uname.out
> showrev -p > showrev.out
> pkginfo -x > pkginfo.out
> cd /tmp
> tar -cvf `hostname`.tar `hostname`
> cp `hostname`.tar /var/sadm/pca
> 
> 2. Create patch_order file:
> pca --format="%p-%c" -l missing > /var/pca/patch_order
> tail -r /var/pca/patch_order > /var/pca/uninstall_patch_order
> 
> 3. Break Veritas Mirror and unencapsulate the rootdisk
> 
> 4. Format and reslice rootmirror disk
> 
> 5. Run lucreate to copy the current BE to ABE. Once done change
> /.alt.Solaris/etc/vfstab to point to the ABE disk.
> 
> 6. Either use luupgrade and point it to the patch directory and
> patch_order file OR
> run PCA with --root option.

thats a nice summary for performing LU when you dont have an alternate 
root slice (ie break the mirror and use one side as the alt root disk). 
In fact it seems much clearer than the Sun BluePrints "Patching Mirrored 
Systems with the Solaris Live Upgrade Software".

Thanks for the tips.

GREG

> 
> Good luck
> 
> -GGR
> Rajiv G Gunja


-- 
Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford



More information about the pca mailing list