HP Dynamic Root Disk (DRD) manual Performing administrative tasks on the inactive system image

Page 22

Example 4-1 The drd mount command output

# /opt/drd/bin/drd mount

======= 12/08/06 22:19:31 MST BEGIN Mount Inactive System Image (user=root) (jobid=dlkma1)

*Reading Current System Information

*Locating Inactive System Image

*Mounting Inactive System Image

======= 12/08/06 22:19:52 MST END Mount Inactive System Image succeeded. (user=root) (jobid=dlkma1)

The drd mount command automatically chooses the mount point for the inactive system image. If the image was created by the drd clone command, the mount point is /var/opt/drd/mnts/ sysimage_001. If the clone has been booted, drd mount mounts the original system at the mount point /var/opt/drd/mnts/sysimage_000. To see all mounted file systems, including those in the active and inactive system images, execute the following command:

# /usr/bin/bdf

The output of this command should look similar to Example 4-2, if the drd mount command has been executed:

Example 4-2 The bdf command output

# /usr/bin/bdf

 

 

 

 

 

file system

kbytes

used

avail

%used

Mounted on

/dev/vg00/lvol3

1048576

320456

722432

31%

/

/dev/vg00/lvol1

505392

43560

411288

10%

/stand

/dev/vg00/lvol8

3395584

797064

2580088

24%

/var

/dev/vg00/lvol7

4636672

1990752

2625264

43%

/usr

/dev/vg00/lvol4

204800

8656

194680

4%

/tmp

/dev/vg00/lvol6

3067904

1961048

1098264

64%

/opt

/dev/vg00/lvol5

262144

9320

250912

4%

/home

/dev/drd00/lvol3

1048576

320504

722392

31%

/var/opt/drd/mnts/sysimage_001

/dev/drd00/lvol1

505392

43560

411288

10%

/var/opt/drd/mnts/sysimage_001/stand

/dev/drd00/lvol4

204800

8592

194680

4%

/var/opt/drd/mnts/sysimage_001/tmp

/dev/drd00/lvol5

262144

9320

250912

4%

/var/opt/drd/mnts/sysimage_001/home

/dev/drd00/lvol6

3067904

1962912

1096416

64%

/var/opt/drd/mnts/sysimage_001/opt

/dev/drd00/lvol7

4636672

1991336

2624680

43%

/var/opt/drd/mnts/sysimage_001/usr

/dev/drd00/lvol8

3395584

788256

2586968

23%

/var/opt/drd/mnts/sysimage_001/var

In this output, file systems identified as dev/vg00/* are the active system image file systems. Those identified as /dev/drd00/* are the inactive system image file systems.

4.2 Performing administrative tasks on the inactive system image

The following examples show some tasks you can perform on the inactive system image.

22 Accessing the inactive system image

Image 22
Contents Dynamic Root Disk A.3.10.* Administrators Guide Document Part Number DRD Version Supported Operating Systems Table of Contents Rehosting and unrehosting systems Troubleshooting DRD Support and other resourcesDRD commands Glossary IndexList of Figures List of Examples Conceptual overview Commands overviewAbout Dynamic Root Disk TerminologyDownloading and installing Dynamic Root Disk Locating disks Cloning the active system imageActive system image Locating disks on HP-UX 11i v2 systemsLocating disks on HP-UX 11i v3 Integrity systems # /usr/sbin/ioscan -fnkC disk# /usr/sbin/ioscan -m dsf Using DRD for limited disk availability checks Using other utilities to determine disk availabilityChoosing a target disk Using drd clone to analyze disk size Creating the cloneCloning the active system image Example 2-7 The drd clone command output Success ErrorExample 2-8 The drd clone command output for SAN disk Adding or removing a 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 Accessing the inactive system image Mounting the inactive system imagePerforming administrative tasks on the inactive system image Enter the patches into a file such as Compare vxconfigbackup with the clone copy Unmounting the inactive system imageUnmounting the inactive system image Page Overview Quick start-basic synchronizationDetermining 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 Activating the inactive system image Preparing the inactive system image to activate later# /opt/drd/bin/drd activate # /usr/bin/more /stand/bootconf l /dev/dsk/c2t0d0s2 Undoing activation of the inactive system imageActivating the inactive system image Undoing activation of the inactive system image Page Rehosting overview Rehosting and unrehosting systemsRehosting examples Rehosting a mirrored image Example 7-1 Provisioning a new systemUnrehosting overview # rm /var/opt/drd/registry/registry.xmlPage Troubleshooting DRD Page Support and other resources Contacting HPLocating this guide New and changed information in this editionRelated information Typographic conventions Find1 Page DRD command syntax DRD commandsDrd activate command Logfile=/var/opt/drd/drd.log HAalternatebootdisk=blockdevicespecialfileIgnoreunmountedfs=truefalse Logverbosity=4Verbosity=3 Default Drd clone commandReboot=truefalse Copyautofile optionTtargetdevicefile Copyautofile=truefalseblockdevicespecialfileEnforcedsa=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 Drd sync command Usr/sbin/swlist -l file, orDrd umount command Excludelist=Alternatebootdisk=blockdevicespecialfile Drd unrehost command Fsysteminformationfile Mirrordisk=blockdevicespecialfile Page Booted system GlossarySystem image Index Idisk partition, 10, 11 inactive system file system