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

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