HP Dynamic Root Disk (DRD) manual Undoing activation of the inactive system image

Page 37

Example 6-3 Using drd deactivate after activating — agile DSF

In this example, drd activate is executed on a system without performing a reboot, followed by running drd deactivate, and the end result is no change. For example, if you have a system with the root volume group on /dev/disk/disk11 and a clone created on /dev/disk/disk10, the output of drd status is:

# drd status

======= 07/01/08 13:20:04 MDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=drdtest1)

* Clone Disk:

/dev/disk/disk10

* Clone LIF Area:

AUTO file present, Boot loader present

* Clone Creation Date:

07/01/08 09:37:58 MDT

* Clone Mirror Disk:

None

* Mirror LIF Area:

None

* Original Disk:

/dev/disk/disk11

* Original LIF Area:

AUTO file present, Boot loader present

* Booted Disk:

Original Disk (/dev/disk/disk11)

* Activated Disk:

Original Disk (/dev/disk/disk11)

======= 07/01/08 13:20:10 MDT

END Displaying DRD Clone Image Information

succeeded. (user=root)

(jobid=drdtest1)

If you use drd activate and do not perform a reboot, and then use drd deactivate, the output of drd status is:

# drd status

======= 07/01/08 13:20:04 MDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=drdtest1)

* Clone Disk:

/dev/disk/disk10

* Clone LIF Area:

AUTO file present, Boot loader present

* Clone Creation Date:

07/01/08 09:37:58 MDT

* Clone Mirror Disk:

None

* Mirror LIF Area:

None

* Original Disk:

/dev/disk/disk11

* Original LIF Area:

AUTO file present, Boot loader present

* Booted Disk:

Original Disk (/dev/disk/disk11)

* Activated Disk:

Original Disk (/dev/disk/disk11)

======= 07/01/08 13:20:10 MDT

END Displaying DRD Clone Image Information

succeeded. (user=root)

(jobid=drdtest1)

6.2 Undoing activation of the inactive system image 37

Image 37
Contents Dynamic Root Disk A.3.10.* Administrators Guide Document Part Number DRD Version Supported Operating Systems Table of Contents DRD commands Troubleshooting DRD Support and other resourcesRehosting and unrehosting systems Glossary IndexList of Figures List of Examples About Dynamic Root Disk Commands overviewConceptual overview TerminologyDownloading and installing Dynamic Root Disk Active system image Cloning the active system imageLocating disks Locating disks on HP-UX 11i v2 systems# /usr/sbin/ioscan -fnkC disk Locating disks on HP-UX 11i v3 Integrity systems# /usr/sbin/ioscan -m dsf Using DRD for limited disk availability checks Using other utilities to determine disk availabilityChoosing 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 diskSwinstall Swremove Swlist Swmodify Swverify Swjob DRD-Safe commands and PackagesUpdating and maintaining software on the clone Updating and managing patches with drd runcmd Kctune Update-ux View Kcmodule Kconfig Mkkernel Swm jobDRD-Safe patches and the drdunsafepatchlist file Updating and managing products with drd runcmd Patches with special installation instructionsSpecial 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 OverviewDetermining the list of files in the booted volume group Drd sync commandTrimming 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 overview Rehosting and unrehosting systemsRehosting 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 resourcesLocating this guide New and changed information in this editionRelated information Typographic conventions Find1 Page DRD command syntax DRD commandsDrd activate command Ignoreunmountedfs=truefalse HAalternatebootdisk=blockdevicespecialfileLogfile=/var/opt/drd/drd.log Logverbosity=4Reboot=truefalse Drd clone commandVerbosity=3 Default Copyautofile optionCopyautofile=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