Tuesday, July 19, 2005

Live Upgrade Rocks


I know that live upgrade has been available for a while...What I don't
know is why I never really used it before.







Conceptually it makes sense but it was cool how easy it was to upgrade.
I need to see it in larger environemnts with complex application
deployments, but so far so good







# lucreate -c "Nevada16" -m /dev/dsk/c0d0t4:/:ufs -n "Nevada18"
# lustatus (see output below)
# lofiadm -a /var/tmp/solarisdvd.iso /dev/lofi/1
# mount -F hfsf /dev/lofi/1 /mnt
# luupgrade -u -n "Nevada18" -s /mnt
# luactivate Nevada18
# init 6
# lustatus (See output below)




Before:

lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Nevada16 yes yes yes no -
Nevada18 yes no no yes -



After:

lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Nevada16 yes no no yes -
Nevada18 yes yes yes no -



topic:{technorati}[Solaris]
topic:{technorati}[liveupgrade]

No comments:

Post a Comment