HP Dynamic Root Disk (DRD) manual Rehosting and unrehosting systems, Rehosting overview

Page 39

7 Rehosting and unrehosting systems

A new feature of Dynamic Root Disk (DRD) version B.1131.A.3.2 is rehosting. Rehosting enables you to boot a DRD clone on a system other than the one where it was created. This new functionality is supported on LVM-managed root volumes running on Itanium® systems with HP-UX 11i v3. This capability enables a number of new uses for DRD clones. There are three main uses of rehosting:

Provisioning of new systems, particularly Itanium BladeSystems (blades) and Integrity Virtual Machines

Testing of new software before deploying it in a production environment

Installing software on a clone by an alternative method, other than drd runcmd

IMPORTANT: For additional information on rehosting, including required software, see the Exploring DRD Rehosting in HP-UX 11i v2 and 11i v3 white paper, located at http://www.hp.com/ go/drd-docs.

The initial release of drd rehost has been tested on Integrity Virtual Machines and on blades with Virtual Connect. In addition, preliminary testing indicates that simple (single root volume group) standalone LVM-managed Itanium-based systems running a September 2008 HP-UX 11i

v3 Operating Environment (OE) can be rehosted to another system with the exact same hardware. The benefit of the September 2008 HP-UX 11i v3 Operating Environment is the availability of “Self healing of boot disk configuration”, which is provided by LVM and described in the September 2008 HP-UX 11i v3 Release Notes, located in the HP-UX 11i v3 - 2008 Release Documents Portfolio.

7.1 Rehosting overview

For details of the drd rehost command, including available options and extended options, see The drd rehost command.

The common steps for rehosting are:

1.Create a system image using the drd clone command

2.Create a system information file for the new image, which contains information such as hostname, IP addresses, language, time zone, and other system information

3.Copy the system information file to the EFI partition using the drd rehost command

4.Unpresent the disk (new image) from the source system and present it to the target system that will boot the rehosted image.

5.Process the new system information file with the auto_parms(1M) utility during the boot of the rehosted image

In order to perform these steps, minimal revisions of Dynamic Root Disk and auto_parms(1M), delivered in the SystemAdmin.FIRST-BOOTfileset are required. For details, see the Exploring DRD Rehosting in HP-UX 11i v2 and 11i v3 white paper, located at http://www.hp.com/go/ drd-docs.

7.2 Rehosting examples

In the following examples you can substitute a hot-swappable disk for the SAN LUN. Refer to your Storage Area Network software documentation for information on presenting and unpresenting a LUN to a system.

7.1 Rehosting overview

39

Image 39
Contents Dynamic Root Disk A.3.10.* Administrators Guide Document Part Number DRD Version Supported Operating Systems Table of Contents Glossary Index Troubleshooting DRD Support and other resourcesDRD commands Rehosting and unrehosting systemsList of Figures List of Examples Terminology Commands overviewAbout Dynamic Root Disk Conceptual overviewDownloading and installing Dynamic Root Disk Locating disks on HP-UX 11i v2 systems Cloning the active system imageActive system image Locating disks# /usr/sbin/ioscan -fnkC disk Locating disks on HP-UX 11i v3 Integrity systems# /usr/sbin/ioscan -m dsf Using other utilities to determine disk availability Using DRD for limited disk availability checksChoosing a target disk Creating the clone Using drd clone to analyze disk sizeCloning the active system image Success Error Example 2-7 The drd clone command outputAdding or removing a disk Example 2-8 The drd clone command output for SAN diskDRD-Safe commands and Packages Swinstall Swremove Swlist Swmodify Swverify SwjobUpdating and maintaining software on the clone Kctune Update-ux View Kcmodule Kconfig Mkkernel Swm job Updating and managing patches with drd runcmdDRD-Safe patches and the drdunsafepatchlist file Patches with special installation instructions Updating and managing products with drd runcmdSpecial considerations for firmware patches Viewing logs Mounting the inactive system image Accessing the inactive system imagePerforming administrative tasks on the inactive system image Enter the patches into a file such as Unmounting the inactive system image Compare vxconfigbackup with the clone copyUnmounting the inactive system image Page Quick start-basic synchronization OverviewDrd sync command Determining the list of files in the booted volume groupTrimming the list of files to be synchronized Files that have changed on the clone Copying the files to the inactive clone image Drd sync system shutdown script Page Preparing the inactive system image to activate later Activating the inactive system image# /opt/drd/bin/drd activate Undoing activation of the inactive system image # /usr/bin/more /stand/bootconf l /dev/dsk/c2t0d0s2Activating the inactive system image Undoing activation of the inactive system image Page Rehosting and unrehosting systems Rehosting overviewRehosting examples Example 7-1 Provisioning a new system Rehosting a mirrored image# rm /var/opt/drd/registry/registry.xml Unrehosting overviewPage Troubleshooting DRD Page Contacting HP Support and other resourcesNew and changed information in this edition Locating this guideRelated information Typographic conventions Find1 Page DRD commands DRD command syntaxDrd activate command Logverbosity=4 HAalternatebootdisk=blockdevicespecialfileIgnoreunmountedfs=truefalse Logfile=/var/opt/drd/drd.logCopyautofile option Drd clone commandReboot=truefalse Verbosity=3 DefaultCopyautofile=truefalseblockdevicespecialfile TtargetdevicefileEnforcedsa=truefalse Drd deactivate command Drd mount command Example A-1 File system mount points Drd rehost command Devicespecialfile -v-xextended option=value -x-?-Xoptionfile Extended options Drd runcmd command Extended options Drd status command Alternatebootdisk=blockdevicespecialfile Usr/sbin/swlist -l file, or Drd sync commandExcludelist= Drd umount commandAlternatebootdisk=blockdevicespecialfile Drd unrehost command Fsysteminformationfile Mirrordisk=blockdevicespecialfile Page Glossary Booted systemSystem image Index Idisk partition, 10, 11 inactive system file system