HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
d
drd(1M) drd(1M)
drd runcmd swlist
To install PHCO_0001 from the depot /var/opt/patches
, located on the system
patchsvr:
drd runcmd swinstall -s patchsvr:/var/opt/patches PHCO_0001
To run a preview installation of PHCO_0001 from the depot
/var/opt/patches
, located on the system
patchsvr:
drd runcmd swinstall -p -s patchsvr:/var/opt/patches PHCO_0001
To verify all software on the inactive system image:
drd runcmd swverify \*
To remove PHKL_9999 from the inactive system image:
drd runcmd swremove PHKL_9999 \*
To view the swagent log on the inactive system image:
drd runcmd view /var/adm/sw/swagent.log
To display all drd runcmd extended options:
drd runcmd -x -?
To set the inactive system image as the primary boot disk:
drd activate
To set the inactive system image as the primary boot disk and a different disk as the alternate boot disk:
For 11i v2:
drd activate -x alternate_bootdisk=/dev/dsk/c1t1d0
For 11i v3:
drd activate -x alternate_bootdisk=/dev/disk/disk1
To boot to the inactive system image immediately:
drd activate -x reboot=true
To display all drd activate extended options:
drd activate -x -?
To restore the active (booted) system image as the primary boot disk:
drd deactivate
To restore the active (booted) system image as the primary boot disk and set a different disk as the alter-
nate boot disk:
For 11i v2:
drd deactivate -x alternate_bootdisk=/dev/dsk/c1t1d0
For 11i v3:
drd deactivate -x alternate_bootdisk=/dev/disk/disk1
To display all drd deactivate extended options:
drd deactivate -x -?
To define the log_verbosity extended option for all drd command modes, and the verbosity
extended option for the clone, mount, and runcmd modes in an option file named
/tmp/drd_defaults:
# more /tmp/drd_defaults
log_verbosity=3
clone.verbosity=5
mount.verbosity=4
runcmd.verbosity=4
To run the drd clone command using the /tmp/drd_defaults option file:
196 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update