Re: SunOs patching - How to
- From: Martin Paul <map@xxxxxxxxxxxxxxxx>
- Date: Fri, 15 Feb 2008 09:07:17 +0100
supergumby wrote:
I new to SunOs, mostly used to HP-UX and AIX way of patching. I'm
trying to bring my two 420R test blades to the same patch level as my
two prod ones. I've been reading a lot on how to patch SunOs but I'm
still not sure how to achieve this. Both prod boxes says SunOs 5.8
Generic Patch February 2004, but uname -a are different, one is
Generic_117350-46 and the other says Generic_108528-29.
The first thing to check would be /etc/release on both machines. Look at the first line, which reads e.g.:
Solaris 8 2/02 s28s_u7wos_08a SPARC
If this isn't the same on both machines, then a different release of Solaris 8 has been installed. Such update releases differ in two ways: A set of current patches is pre-installed, and new features might have been added in new packages. You will have to upgrade the older system to the newer release version at first.
Next, the two machines might have been installed with a different set of packages (the cluster). In /var/sadm/system/admin/CLUSTER you find which cluster has been installed. Still, packages might have been added or removed later. So compare the output of "pkginfo" on both machines. If it differs, you won't get the same set of patches to install.
Now get pca (see sig) and run it on the machine which is more up-to-date on patches:
pca --list installed --format '%p-%i # %y' --noheader > inst.txt
This will give you a list of all installed patches, in an appropriate form to feed back into pca on the machine you want to patch. There you run:
pca --install inst.txt
Honestly, I believe that trying to get two machines to the same level is hard to achieve. If you have the chance to do so, either upgrade or reinstall both machines with latest release of the Solaris version you need, or at least install a current set of patches on both.
Hope that helps,
mp.
--
SysAdmin | Institute of Scientific Computing, University of Vienna
PCA | Analyze, download and install patches for Solaris
| http://www.par.univie.ac.at/solaris/pca/
.
- Follow-Ups:
- Re: SunOs patching - How to
- From: John Groenveld
- Re: SunOs patching - How to
- References:
- SunOs patching - How to
- From: supergumby
- SunOs patching - How to
- Prev by Date: Re: Static route ignoring mtu setting
- Next by Date: Re: Problems with device driver interrupts
- Previous by thread: Re: SunOs patching - How to
- Next by thread: Re: SunOs patching - How to
- Index(es):
Relevant Pages
|