Solaris Upgrade Query

Hello

I need to upgrade our Solaris 10 OS Update 9 as we are not ready for u10 yet.

I asked MOS for Update 9 which they supplied and I've downloaded.

The thing is, it's in a zip file which I have extracted on the server but all the docs I have seen regarding lu, talking iso, images and such like.

If I unzip the file to say /mnt/Sol10_910, will the following be valid?

 
lupgrade -u -n Solaris10_910_be -s /mnt/Sol10_910

Many thanks
Paul

luupgrade and lucreeate command is used to migrate UFS root file system to ZFS file system.
If you need to upgrade Solaris distribution from u8 to u9 then you need to use or JumpStart or upgrade using DVD

this statement is wrong. the "liveupgrade" utility is specialy for doing upgrades in all forms possible! including major and minor solaris upgrades and also for patching! and "luupgrade" is the command you need for this. you can also use the cli-tool (lu) for having a more "graphical" aproach.

DN2

Cheers DN2 - that's what I thought and I was starting to doubt myself for a minute!

So do you think the syntax I quoted earlier will work. Just point luupgade in the direction directory that contains the unzipped file?

Paul

As far as I remember "lu" is not preferred or supported Live Upgrade interface.

In order to upgrade to Sol10_910 through live upgrade, you can follow the below procedure.

  • Remove below LU packages.
    application SUNWlucfg Live Upgrade Configuration
    application SUNWlur Live Upgrade (root)
    application SUNWluu Live Upgrade (usr)
    application SUNWluzone Live Upgrade (zones support) [If zones are there]

  • Apply the above packages from the Sol10_910 dump you have.

  • Create the new Boot Environment to upgrade.

  • Upgrade the new Boot Environment.

I would recomment you to also follow below procedure for upgrade, you can read the link Live Upgrade to Solaris 10 9/10 And Auto-reg � Col's Tech and General Information - Oracle Solaris 10 9/10 Release Notes

 
echo "auto_reg=disable" > /tmp/sysidcfg
lupgrade -u -n Solaris10_910_be -s /mnt/Sol10_910 -k /tmp/sysidcfg

Hope this helps.

Regards,
Vishal

Thanks for the tips Vishal - I'll be giving it a go tomorrow so will let you know how I get on.

I have already removed the packages, re-installed and patched up to a level recommended by Oracle in a support call I logged with them.

Will certainly bear in mind the auto-reg tip.

Many thanks
Paul

---------- Post updated 16-11-11 at 10:54 AM ---------- Previous update was 15-11-11 at 04:05 PM ----------

I tried the upgrade earlier and got the following:

 
# luupgrade -n current_be -u -s /mnt/Sol10_910 -k /tmp/sysidcfg
ERROR: The media is not recognized installation media </mnt/Sol10_910>.

Should I have created contents of the zip file as an ISO, put it on a DVD, used lofiadm and then mounted like I've seen in a lot of places?

I'm curious. Why are these steps necessary?

When we are upgrading to a higher Solaris 10 update then we have to apply the LU packages from that release media to get the new features otherwise the creation of new Boot Environment will fail, you can refer to the link http://download.oracle.com/docs/cd/E19253-01/821-0438/gdzpq/index.html

Also, with every release media there is liveupgrade20 script which removes the old LU packages and installs them, so we can use this also.

Regards,
Vishal

1 Like

That's good information to have for reference. Thanks!