United States-English |
|
|
Dynamic Root Disk Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 4 Accessing the Inactive System ImagePerforming Administrative Tasks on the Inactive System Image |
|
The following examples show some tasks you can perform on the inactive system image.
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:
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 -f option in a swinstall command run by drd runcmd. Follow this procedure:
Example 4-5 Looking for Changes to cron Jobs Task: Find out if any cron jobs have changed after cloning. Use the following commands to determine if any cron jobs used by root have changed since the inactive system image was created:
The following is an example output of the diff command:
This output shows that the booted system was updated to run kernel diagnostics every 20 minutes. If you decide that when the clone is booted, diagnostics should run every 20 minutes, as they are on the booted system, you can:
Example 4-6 Editing symlinked Files Task: You changed the value of NUM_BK in /opt/VRTS/bin/vxconfigbackup from 5 to 10 by editing the file. You want the change applied to the clone as well. Execute the following commands:
Surprisingly, the files are equal! What happened? A long listing shows that the files are symlinks:
The listing shows:
When the clone is booted, the target of the symlink on the clone resides on the clone. However, when the clone is mounted under the booted system, the target of the symlink resides on the booted system. To change the data on the clone, edit the file that will be the target of the symlink when the clone is booted:
and change the value of NUM_BK to 10.
|
Printable version | ||
|