ebook img

Oracle Solaris 10 811 Installation Guide Live Upgrade and Upgrade PDF

268 Pages·2012·2.7 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Oracle Solaris 10 811 Installation Guide Live Upgrade and Upgrade

Oracle® Solaris 10 8/11 InstallationGuide: LiveUpgrade andUpgradePlanning Part No: E23801 January 2012 E23801–02 Copyright © 2011, 2012, Oracle and/or its afliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, youmay not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by anymeans. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you fnd any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENTRIGHTS. Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specifc supplemental regulations. As such, the use, duplication, disclosure, modifcation, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065. This software or hardware is developed for general use in a variety of informationmanagement applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and othermeasures to ensure its safe use. Oracle Corporation and its afliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its afliates. Other namesmay be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD,Opteron, the AMD logo, and the AMDOpteron logo are trademarks or registered trademarks of AdvancedMicro Devices. UNIX is a registered trademark of TheOpenGroup. This software or hardware and documentationmay provide access to or information on content, products, and services from third parties. Oracle Corporation and its afliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its afliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services. Ce logiciel et la documentation qui l’accompagne sont protégés par les lois sur la propriété intellectuelle. Ils sont concédés sous licence et soumis à des restrictions d’utilisation et de divulgation. Sauf disposition de votre contrat de licence ou de la loi, vous ne pouvez pas copier, reproduire, traduire, difuser, modifer, breveter, transmettre, distribuer, exposer, exécuter, publier ou afcher le logiciel, même partiellement, sous quelque forme et par quelque procédé que ce soit. Par ailleurs, il est interdit de procéder à toute ingénierie inverse du logiciel, de le désassembler ou de le décompiler, excepté à des fns d’interopérabilité avec des logiciels tiers ou tel que prescrit par la loi. Les informations fournies dans ce document sont susceptibles demodifcation sans préavis. Par ailleurs, Oracle Corporation ne garantit pas qu’elles soient exemptes d’erreurs et vous invite, le cas échéant, à lui en faire part par écrit. Si ce logiciel, ou la documentation qui l’accompagne, est concédé sous licence au Gouvernement des Etats-Unis, ou à toute entité qui délivre la licence de ce logiciel ou l’utilise pour le compte duGouvernement des Etats-Unis, la notice suivante s’applique: U.S. GOVERNMENTRIGHTS. Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specifc supplemental regulations. As such, the use, duplication, disclosure, modifcation, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065. Ce logiciel oumatériel a été développé pour un usage général dans le cadre d’applications de gestion des informations. Ce logiciel oumatériel n’est pas conçu ni n’est destiné à être utilisé dans des applications à risque, notamment dans des applications pouvant causer des dommages corporels. Si vous utilisez ce logiciel oumatériel dans le cadre d’applications dangereuses, il est de votre responsabilité de prendre toutes les mesures de secours, de sauvegarde, de redondance et autres mesures nécessaires à son utilisation dans des conditions optimales de sécurité. Oracle Corporation et ses afliés déclinent toute responsabilité quant aux dommages causés par l’utilisation de ce logiciel oumatériel pour ce type d’applications. Oracle et Java sont desmarques déposées d’Oracle Corporation et/ou de ses afliés. Tout autre nommentionné peut correspondre à desmarques appartenant à d’autres propriétaires qu’Oracle. Intel et Intel Xeon sont desmarques ou desmarques déposées d’Intel Corporation. Toutes les marques SPARC sont utilisées sous licence et sont desmarques ou des marques déposées de SPARC International, Inc. AMD,Opteron, le logo AMD et le logo AMDOpteron sont desmarques ou desmarques déposées d’AdvancedMicro Devices. UNIX est unemarque déposée d’TheOpenGroup. Ce logiciel oumatériel et la documentation qui l’accompagne peuvent fournir des informations ou des liens donnant accès à des contenus, des produits et des services émanant de tiers. Oracle Corporation et ses afliés déclinent toute responsabilité ou garantie expresse quant aux contenus, produits ou services émanant de tiers. En aucun cas, Oracle Corporation et ses afliés ne sauraient être tenus pour responsables des pertes subies, des coûts occasionnés ou des dommages causés par l’accès à des contenus, produits ou services tiers, ou à leur utilisation. Contents Preface ...................................................................................................................................................11 Part I UpgradingWith LiveUpgrade .......................................................................................................... 15 1 Where to FindOracle Solaris InstallationPlanning Information ................................................ 17 Where to Find Planning and SystemRequirement Information .................................................. 17 2 LiveUpgrade (Overview) ....................................................................................................................19 Live Upgrade Introduction ................................................................................................................ 19 Live Upgrade Process .......................................................................................................................... 20 Creating a Boot Environment .................................................................................................... 22 Creating a Boot EnvironmentWith RAID-1 Volume File Systems ...................................... 27 Upgrading a Boot Environment ................................................................................................. 33 Activating a Boot Environment ................................................................................................. 38 Falling Back to the Original Boot Environment ....................................................................... 40 Maintaining a Boot Environment .............................................................................................. 42 3 LiveUpgrade (Planning) .....................................................................................................................43 Live Upgrade Requirements .............................................................................................................. 43 Live Upgrade SystemRequirements .......................................................................................... 43 Installing Live Upgrade ............................................................................................................... 44 Live Upgrade Disk Space Requirements ................................................................................... 46 Live Upgrade Requirements if Creating RAID-1 Volumes (Mirrors) .................................. 47 Upgrading a SystemWith Packages or Patches ............................................................................... 48 Upgrading and Patching Limitations ................................................................................................ 48 Guidelines for Creating File SystemsWith the lucreate Command ........................................... 49 Guidelines for Selecting Slices for File Systems ............................................................................... 49 3 Contents Guidelines for Selecting a Slice for the root (/) File System .................................................... 50 Guidelines for Selecting Slices forMirrored File Systems ....................................................... 50 Guidelines for Selecting a Slice for a SwapVolume ................................................................. 52 Guidelines for Selecting Slices for Shareable File Systems ...................................................... 53 Customizing a New Boot Environment's Content .......................................................................... 54 Synchronizing Files Between Boot Environments .......................................................................... 54 Adding Files to the /etc/lu/synclist ..................................................................................... 54 Forcing a Synchronization Between Boot Environments ....................................................... 56 BootingMultiple Boot Environments .............................................................................................. 56 Live Upgrade Character User Interface ............................................................................................ 58 4 Using LiveUpgrade toCreate aBoot Environment (Tasks) ...........................................................59 TaskMap: Installing Live Upgrade and Creating Boot Environments ......................................... 59 Installing Live Upgrade ....................................................................................................................... 60 ▼ To Install Live UpgradeWith the pkgadd Command ............................................................. 60 ▼ To Install Live UpgradeWith the Oracle Solaris Installation Program ................................. 61 Installing Patches Needed by Live Upgrade .............................................................................. 63 Creating a New Boot Environment ................................................................................................... 64 ▼ ToCreate a Boot Environment for the First Time ................................................................... 64 ▼ ToCreate a Boot Environment andMerge File Systems ......................................................... 67 ▼ ToCreate a Boot Environment and Split File Systems ............................................................ 69 ▼ ToCreate a Boot Environment and Reconfguring Swap ....................................................... 70 ▼ ToCreate a Boot Environment and Reconfgure Swap byUsing a List ................................ 72 ▼ ToCreate a Boot Environment and Copy a Shareable File System ........................................ 74 ▼ ToCreate a Boot Environment From aDiferent Source ........................................................ 76 ▼ ToCreate an Empty Boot Environment for a Flash Archive .................................................. 77 ▼ ToCreate a Boot EnvironmentWith RAID-1 Volumes (Mirrors) ....................................... 79 ▼ ToCreate a Boot Environment and Customize the Content .................................................. 84 5 UpgradingWith LiveUpgrade (Tasks) ............................................................................................. 89 TaskMap: Upgrading a Boot Environment ..................................................................................... 89 Upgrading a Boot Environment ........................................................................................................ 90 Guidelines for Upgrading ........................................................................................................... 90 ▼ ToUpgrade a Network Installation Image on a Boot Environment ...................................... 91 ▼ ToUpgrade a Network Installation Image FromMultiple CDs ............................................. 93 4 Oracle Solaris 10 8/11 Installation Guide: Live Upgrade andUpgrade Planning • January 2012 E23801–02 Contents ▼ ToAdd Packages to a Network Installation Image on a Boot Environment ......................... 95 ▼ ToAdd Patches to a Network Installation Image on a Boot Environment ........................... 96 ▼ ToObtain Information on Packages Installed on a Boot Environment ................................ 97 Upgrading by Using a JumpStart Profle ................................................................................... 98 Installing Flash Archives on a Boot Environment ......................................................................... 105 ▼ To Install a Flash Archive on a Boot Environment ................................................................ 106 ▼ To Install a Flash ArchiveWith a Profle ................................................................................. 107 ▼ To Install a Flash ArchiveWith a Profle Keyword ................................................................ 108 Activating a Boot Environment ....................................................................................................... 110 Requirements and Limitations for Activating a Boot Environment ................................... 110 ▼ ToActivate a Boot Environment ............................................................................................. 111 ▼ ToActivate a Boot Environment and Synchronize Files ....................................................... 112 x86: Activating a Boot EnvironmentWith the GRUBMenu ............................................... 114 ▼ x86: To Activate a Boot EnvironmentWith the GRUBMenu ............................................. 115 6 Failure Recovery: FallingBack to theOriginal Boot Environment (Tasks) ...............................117 SPARC: Falling Back to the Original Boot Environment .............................................................. 118 ▼ SPARC: To Fall Back Despite Successful New Boot Environment Activation ................... 118 ▼ SPARC: To Fall Back From a Failed Boot Environment Activation .................................... 118 ▼ SPARC: To Fall Back to the Original Boot Environment by Using a DVD, CD, or Net Installation Image ...................................................................................................................... 119 x86: Falling Back to the Original Boot Environment .................................................................... 120 ▼ x86: To Fall Back Despite Successful New Boot Environment ActivationWith the GRUB Menu ............................................................................................................................................ 121 ▼ x86: To Fall Back From a Failed Boot Environment ActivationWith the GRUBMenu ... 122 ▼ x86: To Fall Back From a Failed Boot Environment ActivationWith the GRUBMenu and the DVD or CD ........................................................................................................................... 124 7 Maintaining LiveUpgradeBoot Environments (Tasks) .............................................................. 127 Overview of Live UpgradeMaintenance ........................................................................................ 128 Displaying the Status of All Boot Environments ........................................................................... 128 ▼ ToDisplay the Status of All Boot Environments .................................................................... 129 Updating a Previously Confgured Boot Environment ................................................................ 130 ▼ ToUpdate a Previously Confgured Boot Environment ....................................................... 130 Canceling a Scheduled Create, Upgrade, or Copy Job .................................................................. 131 5 Contents ▼ ToCancel a Scheduled Create, Upgrade, or Copy Job .......................................................... 131 Comparing Boot Environments ...................................................................................................... 131 ▼ ToCompare Boot Environments ............................................................................................ 132 Deleting an Inactive Boot Environment ......................................................................................... 132 ▼ ToDelete an Inactive Boot Environment ............................................................................... 133 Displaying the Name of the Active Boot Environment ................................................................. 133 ▼ ToDisplay the Name of the Active Boot Environment ......................................................... 133 Changing the Name of a Boot Environment .................................................................................. 134 ▼ ToChange the Name of an Inactive Boot Environment ....................................................... 135 Adding or Changing a Description AssociatedWith a Boot Environment Name .................... 135 ▼ ToAdd or Change a Description for a Boot Environment NameWith Text ..................... 135 ▼ ToAdd or Change a Description for a Boot Environment NameWith a File .................... 136 ▼ ToDetermine a Boot Environment Name From a Text Description .................................. 136 ▼ ToDetermine a Boot Environment Name From aDescription in a File ............................ 137 ▼ ToDetermine a Boot Environment Description From aName ........................................... 138 Viewing the Confguration of a Boot Environment ...................................................................... 138 ▼ ToView the Confguration of a Boot Environment .............................................................. 138 8 Upgrading theOracle SolarisOSonaSystemWithNon-Global Zones Installed ....................141 UpgradingWith Live Upgrade and Installed Non-Global Zones (Overview) ........................... 141 UnderstandingOracle Solaris Zones and Live Upgrade ....................................................... 142 Guidelines for Using Live UpgradeWith Non-Global Zones (Planning) .................................. 146 Creating a Boot EnvironmentWhen aNon-Global Zone Is on a Separate File System .... 147 Creating andUpgrading a Boot EnvironmentWhenNon-Global Zones Are Installed (Tasks) ................................................................................................................................................ 148 ▼UpgradingWith Live UpgradeWhenNon-Global Zones Are Installed on a System (Tasks) ......................................................................................................................................... 148 Upgrading a SystemWithNon-Global Zones Installed (Example) ............................................ 153 UpgradingWith Live UpgradeWhenNon-Global Zones Are Installed on a System ....... 153 Administering Boot Environments That Contain Non-Global Zones ....................................... 154 ▼ ToView the Confguration of a Boot Environment's Non-Global Zone File Systems ...... 154 ▼ ToCompare Boot Environments for a SystemWithNon-Global Zones Installed ........... 155 Using the lumount Command on a SystemThat Contains Non-Global Zones ................. 156 6 Oracle Solaris 10 8/11 Installation Guide: Live Upgrade andUpgrade Planning • January 2012 E23801–02 Contents 9 LiveUpgrade (Examples) .................................................................................................................157 Example of UpgradingWith Live Upgrade .................................................................................... 157 Prepare to Use Live Upgrade .................................................................................................... 157 To Create a Boot Environment ................................................................................................ 160 ToUpgrade the Inactive Boot Environment .......................................................................... 160 To Check if Boot Environment Is Bootable ............................................................................ 160 ToActivate the Inactive Boot Environment ........................................................................... 161 (Optional) To Fall Back to the Source Boot Environment .................................................... 161 Example of Detaching andUpgradingOne Side of a RAID-1 Volume (Mirror) ...................... 165 Example ofMigrating From an Existing Volume to a Solaris VolumeManager RAID-1 Volume ............................................................................................................................................... 168 Example of Creating an Empty Boot Environment and Installing a Flash Archive .................. 168 To Create an Empty Boot Environment ................................................................................. 169 To Install a Flash Archive on the New Boot Environment .................................................... 170 ToActivate the New Boot Environment ................................................................................. 170 10 LiveUpgrade (CommandReference) .............................................................................................171 Live Upgrade Command-Line Options ......................................................................................... 171 Part II Upgrading andMigratingWith LiveUpgrade to a ZFSRoot Pool ............................................. 173 11 LiveUpgrade andZFS (Overview) ................................................................................................... 175 What's New inOracle Solaris 10 8/11 Release ................................................................................ 176 What's New in the Solaris 10 10/09 Release .................................................................................... 176 Introduction to Using Live UpgradeWith ZFS ............................................................................. 177 Migrating From aUFS File System to a ZFS Root Pool ................................................................. 177 Migrating From aUFS root (/) File System to ZFS Root Pool .............................................. 178 Migrating a UFS File SystemWith Solaris VolumeManager Volumes Confgured to a ZFS Root File System ......................................................................................................................... 181 Creating a New Boot Environment From a ZFS Root Pool .......................................................... 182 Creating a New Boot EnvironmentWithin the Same Root Pool ......................................... 182 Creating a New Boot Environment on Another Root Pool .................................................. 185 Creating a New Boot Environment From a Source Other Than the Currently Running System ................................................................................................................................................. 186 Creating a ZFS Boot Environment on a SystemWithNon-Global Zones Installed ................. 187 7 Contents Additional Resources ........................................................................................................................ 187 12 LiveUpgrade for ZFS (Planning) ..................................................................................................... 189 SystemRequirements and LimitationsWhenUsing Live Upgrade ............................................ 189 Additional Resources ........................................................................................................................ 192 13 Creating aBoot Environment for ZFSRoot Pools ........................................................................ 193 Migrating a UFS File System to a ZFS File System ......................................................................... 193 ▼How toMigrate a UFS File System to a ZFS File System ....................................................... 194 Creating a Boot EnvironmentWithin the Same ZFS Root Pool .................................................. 199 ▼How to Create a ZFS Boot EnvironmentWithin the Same ZFS Root Pool ......................... 200 Creating a Boot Environment In a NewRoot Pool ........................................................................ 204 ▼How to Create a Boot Environment on aNew ZFS Root Pool .............................................. 204 Creating a Boot Environment From a Source Other Than the Currently Running System .... 208 Falling Back to a ZFS Boot Environment ........................................................................................ 209 Additional Resources ........................................................................................................................ 210 14 LiveUpgrade For ZFSWithNon-Global Zones Installed ............................................................. 211 Creating a ZFS Boot Environment on a SystemWithNon-Global Zones Installed (Overview and Planning) ..................................................................................................................................... 211 Migrating From aUFS root (/) File SystemWithNon-Global Zones Installed to ZFS Root Pool (Tasks) ................................................................................................................................................ 212 ▼How toMigrate a UFS File System to a ZFS Root Pool on a SystemWithNon-Global Zones ........................................................................................................................................... 212 Additional Resources ........................................................................................................................ 218 Part III Appendices .........................................................................................................................................219 A Troubleshooting (Tasks) ...................................................................................................................221 ProblemsWith Setting UpNetwork Installations ......................................................................... 221 ProblemsWith Booting a System .................................................................................................... 222 Booting FromMedia, ErrorMessages ..................................................................................... 222 Booting FromMedia, General Problems ................................................................................ 223 Booting From the Network, ErrorMessages .......................................................................... 224 8 Oracle Solaris 10 8/11 Installation Guide: Live Upgrade andUpgrade Planning • January 2012 E23801–02 Contents Booting From the Network, General Problems ...................................................................... 227 Initial Installation of the Oracle Solaris OS .................................................................................... 228 ▼ x86: To Check IDEDisk for Bad Blocks .................................................................................. 228 Upgrading the Oracle Solaris OS ..................................................................................................... 230 Upgrading, ErrorMessages ...................................................................................................... 230 Upgrading, General Problems .................................................................................................. 232 ▼ ToContinue Upgrading After a Failed Upgrade ................................................................... 233 x86: ProblemsWith Live UpgradeWhen YouUse GRUB ................................................... 233 ▼ System PanicsWhenUpgradingWith Live Upgrade Running Veritas VxVm ................. 235 x86: Service PartitionNot Created by Default on SystemsWithNo Existing Service Partition ...................................................................................................................................... 237 ▼ To Install Software From aNetwork Installation Image or From theOracle Solaris Operating SystemDVD ............................................................................................................ 237 ▼ To Install From the Oracle Solaris Software - 1 CD or From aNetwork Installation Image ........................................................................................................................................... 238 B Additional SVR4PackagingRequirements (Reference) ............................................................. 239 PreventingModifcation of the Current OS ................................................................................... 239 Using Absolute Paths ................................................................................................................. 239 Using the pkgadd -R Command ............................................................................................... 240 Diferences Between $PKG_INSTALL_ROOT and $BASEDIR Overview ................................... 240 Guidelines forWriting Scripts .................................................................................................. 241 Maintaining Diskless Client Compatibility ............................................................................ 241 Verifying Packages ..................................................................................................................... 242 Preventing User InteractionWhen Installing or Upgrading ....................................................... 243 Setting Package Parameters For Zones ........................................................................................... 244 For Background Information ........................................................................................................... 247 C Using thePatchAnalyzerWhenUpgrading (Tasks) .................................................................... 249 Upgrading to a Oracle Solaris Update Release ............................................................................... 249 ▼ To Run the analyze_patches Script ....................................................................................... 250 ▼ To Review the Patch Analyzer Output .................................................................................... 251 9 Contents Glossary .............................................................................................................................................. 253 Index ................................................................................................................................................... 265 10 Oracle Solaris 10 8/11 Installation Guide: Live Upgrade andUpgrade Planning • January 2012 E23801–02

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.