{"id":6034,"date":"2016-07-14T11:40:57","date_gmt":"2016-07-14T03:40:57","guid":{"rendered":"http:\/\/rmohan.com\/?p=6034"},"modified":"2016-07-14T11:40:57","modified_gmt":"2016-07-14T03:40:57","slug":"solaris-10-live-upgrade-howto","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6034","title":{"rendered":"Solaris 10 Live Upgrade HowTo"},"content":{"rendered":"<p>Prepare the disk slice and partition for live upgrade:<br \/>\ndisk 1 Partition:<br \/>\nc0d0s0    \/<br \/>\nc0d0s1    swap<br \/>\nc0d0s2    backup<\/p>\n<p>disk 2 partition:<\/p>\n<p>c0d1s0    \/copyroot<\/p>\n<p>the partition on second disk (\/copyroot) is same size as the root (\/) partition and it must not appear in use in \u201c\/etc\/vfstab\u201d.<\/p>\n<p>This example explains how to upgrade a Solaris 10 10\/08 system to the Solaris 10 5\/09 release. Solaris Live Upgrade has many capabilities but for a simple situation like upgrading a system to a new Solaris release, there are three commands:<br \/>\n\u2022 lucreate to create the copy<br \/>\n\u2022 luupgrade to upgrade the OS on the copy<br \/>\n\u2022 luactivate to choose the environment to boot<\/p>\n<p>Before upgrading, you must install the Solaris Live Upgrade packages from the release to which you are upgrading. New capabilities are added to the upgrade tools, so installing the new packages from the target release is important. In this example, you will upgrade from Solaris 10 3\/05 to Solaris 10 1\/06, so you must get the Solaris Live Upgrade packages from the Solaris 10 1\/06 DVD.<\/p>\n<p>1. Install Live Upgrade package.<\/p>\n<p>Insert Solaris DVD, then  from \u201cSolaris_10\/Tools\/Installers\u201d directory,  run the \u201cliveupgrade20\u201d command.<\/p>\n<p>you can run the command without option \u201cnoconsole\u201d and \u201cnodisplay\u201d if you want to display the GUI.<\/p>\n<p>bash-3.00# cd \/cdrom\/sol_10_509_x86\/Solaris_10\/Tools\/Installers\/<br \/>\nbash-3.00# .\/liveupgrade20 -noconsole -nodisplay<\/p>\n<p>2. Run the \u201clucreate\u201d command to create a copy of the active boot environment.<\/p>\n<p>bash-3.00# lucreate -c solarisold -n solarisnew -m \/:c0d1s0:ufs<\/p>\n<p>\u201csolaris0ld\u201d is the active environment<\/p>\n<p>\u201csolarisnew\u201d is inactive boot environment<\/p>\n<p>3. after the new boot environment is created, now begin the upgrade procedure:<\/p>\n<p>bash-3.00# luupgrade -u -n solarisnew -s \/cdrom\/cdrom0<\/p>\n<p>4. after finished on step 3, now time to activate the new environment.<\/p>\n<p>bash-3.00# luactivate solarisnew<\/p>\n<p>5. init 6<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prepare the disk slice and partition for live upgrade: disk 1 Partition: c0d0s0 \/ c0d0s1 swap c0d0s2 backup<\/p>\n<p>disk 2 partition:<\/p>\n<p>c0d1s0 \/copyroot<\/p>\n<p>the partition on second disk (\/copyroot) is same size as the root (\/) partition and it must not appear in use in \u201c\/etc\/vfstab\u201d.<\/p>\n<p>This example explains how to upgrade a Solaris 10 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6034"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6034"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6034\/revisions"}],"predecessor-version":[{"id":6035,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6034\/revisions\/6035"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}