HP Dynamic Root Disk (DRD) manual Copying the files to the inactive clone image

Page 30

files_to_be_copied_by_drd_sync, even if the drd sync command is run with the -p preview option.

5.3.3 Copying the files to the inactive clone image

The drd sync command uses the /usr/bin/pax command to propagate changes from the booted original system to the inactive clone.

IMPORTANT: The original system must be booted when drd sync is run, and changes are always propagated from the original system to the clone.

The current limitations apply to actual propagation of changes:

If a new hard link is created to a file that existed when the clone was created, the drd sync command does not recognize that the file should be created as a hard link on the inactive clone image, and creates a new copy of the file with the new (hard-linked) name. In rare cases, this could result in an “insufficient space” error on the clone during synchronization.

If a permission or ownership of a file on the original booted system is changed, the modification time of the file is not updated, so this change by itself does not cause the file to be copied to the clone. However, new permission or ownership of the file is propagated to the clone when it is copied.

The copy of a file to the inactive clone image does not include modification of any file system access control lists (ACLs) on the clone.

5.4Using the drd sync preview to determine divergence of the clone from the booted system

If many changes were made to the booted system after the clone was created, it can be preferable to run drd clone rather than attempt to use drd sync to update the inactive clone. To determine the extent of the changes to the booted system, run drd sync with the -ppreview option:

# /opt/drd/bin/drd sync -p

Next, examine the /var/opt/drd/files_to_be_copied_by_drd_sync file. If the file is large, consider running drd clone to re-create the clone.

Additional information can be obtained by examining other files in /var/opt/drd/sync, which are described in “The drd sync command” (page 28).

30 Synchronizing the inactive clone image with the booted system

Image 30
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 other utilities to determine disk availability Using DRD for limited disk availability checksChoosing 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 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 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 synchronizationDrd 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 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 and unrehosting systems Rehosting overviewRehosting 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 HPNew and changed information in this edition Locating this guideRelated information Typographic conventions Find1 Page DRD commands DRD command syntaxDrd 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