Important step in Live Upgrading
By jkini on Nov 21, 2007
I read a blog on how to live upgrade. Tried it out. And it did not work .
Fortunately, you can always fall back to the pre-upgrade environment, which is still intact.
I deleted the new boot environment and followed the steps again. It failed again. I searched for a few more blogs. They also had similar steps. Followed them. Failed again .
What was I not doing right???
I took the help of some Live Upgrade experts and they told me I was missing one important step: Install the live upgrade packages SUNWluu SUNWlur SUNWlucfg from the new boot environment (iso/cd/image) before using any of the lu\* commands.
I had the new iso anyways. I lofi mounted it and installed the new packages from the iso:
lofiadm -a /space/iso/snv75/sol-nv-b75-x86-dvd-iso
# mount -F hsfs /dev/lofi/1 /mnt
# cd /mnt/Solaris_11/Product
# pkgadd -d . SUNWluu SUNWlur SUNWlucfg
Then followed the rest of the steps and the live upgrade when through without any issues .
I had live upgraded my system earlier. That time, I had not installed the LU packages from the new boot environment. But still the live upgrade went through fine. I had some issues with the grub entries which I corrected. Now I realize that I was just lucky to get away with a minor issue that time.
I also found that many people try out live upgrading at a much later time. This should be decided while installing Solaris itself as you need a separate slice of same size as the root slice.
With the newer projects on upgrading and installing, I believe Live Upgrade is getting extinct...