HP Dynamic Root Disk (DRD) manual Enter the patches into a file such as

Page 23

TIP: HP recommends that a clone be deployed shortly after creating and (optionally) modifying it.

Example 4-3 Checking a warning message

You verify software on the inactive system image with drd runcmd swverify and see a warning message.

Task: Find additional information about the message.

To see detailed information about the warning message supplied by the swagent log, execute the following command:

# /opt/drd/bin/drd runcmd view /var/adm/sw/swagent.log

Example 4-4 Creating a patch install file

Task: Create a file containing a list of patches to be applied to the inactive system image. You want to use the file as the argument of a -foption in a swinstall command run by drd runcmd. Follow this procedure:

1.Mount the inactive system image:

# /opt/drd/bin/drd mount

2.Enter the patches into a file such as

/var/opt/drd/mnts/sysimage_001/var/opt/drd/my_patch_list with the following commands:

a.# /usr/bin/echo “PHCO_02201” > \ /var/opt/drd/mnts/sysimage_001/var/opt/drd/my_patch_list

b.# /usr/bin/echo “PHCO_12134” >> \ /var/opt/drd/mnts/sysimage_001/var/opt/drd/my_patch_list

c.# /usr/bin/echo “PHCO_56178” >> \ /var/opt/drd/mnts/sysimage_001/var/opt/drd/my_patch_list

NOTE: If the inactive system image is the original system image, and not the clone, the root file system mount point is /var/opt/drd/mnts/sysimage_000.

3.Apply the patches using drd runcmd, identifying the file by its path relative to the mount point of the inactive system image root file system:

#/opt/drd/bin/drd runcmd swinstall -s patch_server:/var/opt/patch_depot \ -f /var/opt/drd/my_patch_list

NOTE: Because the inactive system image was mounted when drd runcmd was executed, it is still mounted after drd runcmd completes. You can unmount it with the following command:

# /opt/drd/bin/drd umount

4.2 Performing administrative tasks on the inactive system image 23

Image 23
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 Choosing a target disk Using other utilities to determine disk availabilityUsing DRD for limited disk availability checks 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 diskUpdating and maintaining software on the clone DRD-Safe commands and PackagesSwinstall Swremove Swlist Swmodify Swverify Swjob DRD-Safe patches and the drdunsafepatchlist file Kctune Update-ux View Kcmodule Kconfig Mkkernel Swm jobUpdating and managing patches with drd runcmd Special considerations for firmware patches Patches with special installation instructionsUpdating and managing products with drd runcmd 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 OverviewTrimming the list of files to be synchronized Drd sync commandDetermining the list of files in the booted volume group 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 examples Rehosting and unrehosting systemsRehosting overview 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 resourcesRelated information Typographic conventions New and changed information in this editionLocating this guide Find1 Page Drd activate command DRD commandsDRD command syntax 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