drd-runcmd.1m (2011 03)

d
drd-runcmd(1M) drd-runcmd(1M)
-x distribution_target_directory
This option is not supported by drd runcmd
.
-x force_single_target
This option is obsolete and is not supported by
drd runcmd.
-x mount_all_filesystems
This option defaults to false in a
drd runcmd operation. If it
is set to true on the command line, the operation will probably
not succeed.
-x rpc_binding_info_target
This operation is ignored for drd runcmd operations.
-x remove_empty_depot
Operations targeted at depots are not supported by
drd
runcmd.
-x un_as_superuser
This option is not meaningful for drd runcmd, since it must
be run as root.
-x select_local This option is not supported by
drd runcmd.
-x source_tape Tape depots are not supported by
drd runcmd.
-x target_shared_root
This option is obsolete and is not supported by
drd runcmd.
-x targets This option is not supported by
drd runcmd. The target is
always the inactive system image.
-x use_alternate_source
This option is obsolete and is not supported by drd runcmd.
RETURN VALUE
drd runcmd returns the following values:
0 Success.
1 Error.
2 Warning.
EXAMPLES
To name a file specifying extended options:
drd <mode>[options] -X /tmp/extendedOptions
where the example /tmp/extendedOptions
file has this content:
logfile=/tmp/robsDRD.log
log_verbosity=5
To perform a preview of an update to 0903 HPUX11i-DC-OE on the inactive system image from the depot
/var/opt/1131_0903_DCOE
:
drd runcmd update-ux -p
-s hpsvr:/var/opt/HPUX_1131_0903_DCOE HPUX11i-DC-OE
To update the inactive image to 0903 HPUX11i-DC-OE from the depot /var/opt/1131_0903_DCOE
,
and explicitly deselect T1458AA:
drd runcmd update-ux
-s hpsvr:/var/opt/HPUX_1131_0903_DCOE HPUX11i-DC-OE !T1458AA
To see the software that is installed on the inactive system image (without any need to mount the image
first):
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
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: Mar 2011