The general procedure is to install the Solaris Live Upgrade packages on the running disk, clone the current operating system onto the new disk, upgrade the operating system for the clone, mount the new disk, remove and re-install the kernel-level packages for the version of the operating system, and migrate VCS to the new disk.
To install the Solaris Live Upgrade packages
The release of the Solaris Live Upgrade packages must match the release of the operating system that you are upgrading to. For example, if your current source disk has Solaris 9 and you want to upgrade the target boot disk to Solaris 10, install the Live Upgrade packages from the Solaris 10 disk onto your Solaris 9 operating system.
To create and populate the new boot environment by cloning the current operating environment
lucreate
command with the following options to create a new boot environment for the alternate boot disk.
The -c
option assigns the specified name to the current boot environment.
The -m
option specifies the root slice (/) that is going to be copied to /dev/dsk/c0t1d0s0.
The -n
option specifies the name of boot environment.
# lucreate -c sol_9 -m /:/dev/dsk/c0t1d0s0:ufs
-m -:/dev/dsk/c0t1d0s1:swap -n sol_10
Output from this command includes naming, analyzing, creating, checking, and populating the new environment.
After slice set up and boot environment creation, upgrade the operating system in the new boot environment.
To upgrade the new boot environment
luupgrade
command with following options to upgrade the new boot environment.
The -u
option specifies upgrading the operating system for the boot environment.
The -n
option specifies the boot environment to upgrade.
The -s
option specifies the source for the operating system's image or flash image.
# luupgrade -u -n sol_10 -s /net/vcsinstall/netinstall/2.10
Output from this command includes validation and upgrade messages.
You now need to remove operating system specific kernel-level packages. You must then re-install the packages that match the operating system version.
To mount the new environment and remove and re-install the kernel-level packages
To stop VCS, boot the new environment for VCS, and verify the new environment
init
command to select the new disk and start the node, for example:
luactivate
command to verify that your current boot environment is the one that you want.