But what is it good for?

Posts tagged with: live-upgrade

The Key to Live Upgrade Success

I think one of the best features of Solaris is the Live Upgrade mechanism. This really useful feature can be used for upgrading and patching with very little impact on the server. This means you can patch or upgrade your production system, whilst it's still in production, and only schedule a short outage for the reboot needed to activate the new patched/upgraded environment. Live upgrade also has the added benefit that you can roll back to a known good boot environment in the event something goes wrong.Sadly, it's not always a bed of roses when it comes to using live upgrade as things change with patches and new bugs are discovered and fixed, however most problems can be easily avoided with a little bit of pre-planning.  Continue reading ►

ludelete of BE Holding GRUB on Solaris x86 Fixed

My little Ultra 20 under my desk runs with two boot environments and flip-flop between them as I upgrade using Live Upgrade. The basic procedure is: rename the old inactive BE (lurename), update it with the contents of the currently running BE (lumake), upgrade it to the latest and greatest (luupgrade), activate it (luactivate) and reboot.This is quite a pain free experience and has worked well for me. I never actually delete the alternate BE as I don't need the space. However, other people need to and ever since GRUB was introduced into Solaris 10 (x86 only) they encounter the following error when attempting to delete the BE that contains the GRUB menu:# ludelete -n snv_22ERROR: The boot environment contains the GRUB menu.ERROR: You are not allowed to delete this BE.Unable to delete boot environment.#This is a long standing issue (I've got a workaround if you want it) that has plagued many a sysadmin using Live Upgrade on Solaris 10 x86 and Nevada. Well, not any more.  Continue reading ►

Solaris Live Upgrade and Patches

I encountered a bit of a challenging question today...Suppose I have Solaris 10 1/06 (update 1) installed and I've patched it with various patches that are actually provided as part of a much later release, for example Solaris 10 11/06 (update 3). Will I have to reapply those patches if I perform a live upgrade to and intermediate version, eg Solaris 10 6/06 (update 2)?At first I thought: "No. The patches have been applied, the pkgs updated to reflect these patches and the upgrade tool should be able to workout that a later version of the pkg has already been applied".Patches are essentially partial pkgs after all, and there is version detection within the patching and packaging.But the more I thought about it, the more I thought it couldn't be that simple, especially considering that the Solaris patch, packaging, installation and upgrade systems are a bit of a mess under the hood (it's being sorted in Nevada/OpenSolaris). So I did some investigating.  Continue reading ►
Top