|
|||||||||||||
Part I Upgrading With Solaris Live Upgrade 1. Where to Find Solaris Installation Planning Information 2. Solaris Live Upgrade (Overview) 3. Solaris Live Upgrade (Planning) 4. Using Solaris Live Upgrade to Create a Boot Environment (Tasks) 5. Upgrading With Solaris Live Upgrade (Tasks) Task Map: Upgrading a Boot Environment To Upgrade a Network Installation Image on a Boot Environment To Upgrade a Network Installation Image From Multiple CDs To Add Packages to a Network Installation Image on a Boot Environment To Add Patches to a Network Installation Image on a Boot Environment To Obtain Information on Packages Installed on a Boot Environment Installing Solaris Flash Archives on a Boot Environment To Install a Solaris Flash Archive on a Boot Environment To Activate a Boot Environment To Activate a Boot Environment and Synchronize Files x86: To Activate a Boot Environment With the GRUB Menu 6. Failure Recovery: Falling Back to the Original Boot Environment (Tasks) 7. Maintaining Solaris Live Upgrade Boot Environments (Tasks) 8. x86: Locating the GRUB Menu's menu.lst File (Tasks) 9. Upgrading the Solaris OS on a System With Non-Global Zones Installed 10. Solaris Live Upgrade (Examples) 11. Solaris Live Upgrade (Command Reference) |
Installing Solaris Flash Archives on a Boot EnvironmentThis section provides the procedure for using Solaris Live Upgrade to install Solaris Flash archives. Installing a Solaris Flash archive overwrites all files on the new boot environment except for shared files. Archives are stored on the following media:
Note the following issues with installing and creating a Solaris Flash archive.
To Install a Solaris Flash Archive on a Boot Environment
In this example, an archive is installed on the second_disk boot environment. The archive is located on the local system. The operating system versions for the -s and -a options are both Solaris Express 5/07 releases. All files are overwritten on second_disk except shareable files. The pkgadd command adds the Solaris Live upgrade packages from the release you are upgrading to. # pkgadd -d /server/packages SUNWlucfg SUNWlur SUNWluu # luupgrade -f -n second_disk \ -s /net/installmachine/export/Solaris_11/OS_image \ -a /net/server/archive/11 The boot environment is ready to be activated. See Activating a Boot Environment. To Install a Solaris Flash Archive With a ProfileThis procedure provides the steps to install a Solaris Flash archive or differential archive by using a profile. If you added locales to the profile, make sure that you have created a boot environment with additional disk space.
In this example, a profile provides the location of the archive to be installed. # profile keywords profile values # ---------------- ------------------- install_type flash_install archive_location nfs installserver:/export/solaris/flasharchive/solarisarchive After creating the profile, you can run the luupgrade command and install the archive. The -j option is used to access the profile. The pkgadd command adds the Solaris Live Upgrade packages from the release you are upgrading to. # pkgadd -d /server/packages SUNWlucfg SUNWlur SUNWluu # luupgrade -f -n second_disk \ -s /net/installmachine/export/solarisX/OS_image \ -j /var/tmp/profile The boot environment is then ready to be activated. See Activating a Boot Environment. To create a profile, see To Create a Profile to be Used by Solaris Live Upgrade. To Install a Solaris Flash Archive With a Profile KeywordThis procedure enables you to install a Solaris Flash archive and use the archive_location keyword at the command line rather than from a profile file. You can quickly retrieve an archive without the use of a profile file.
In this example, an archive is installed on the second_disk boot environment. The -J option and the archive_location keywords are used to retrieve the archive. All files are overwritten on second_disk except shareable files. The pkgadd command adds the Solaris Live Upgrade packages from the release you are upgrading to. # pkgadd -d /server/packages SUNWlucfg SUNWlur SUNWluu # luupgrade -f -n second_disk \ -s /net/installmachine/export/solarisX/OS_image \ -J 'archive_location http://example.com/myflash.flar' |
||||||||||||
|