drd.1m (2010 09)
d
drd(1M) drd(1M)
NAME
drd - manage an inactive system image
SYNOPSIS
drd [-?][-x -?
]
drd activate
[-?][-p][-q][
-v][-x option=value][-x -?
][-X option_file ]
drd clone
[-?][-p][-q][-v] -t
target_device_file [
-x option=value][-x -?
]
[
-X option_file]
drd deactivate
[-?][-p][-q][
-v][-x option=value][
-x -?][-X option_file ]
drd mount
[-?][-p][-q][-v][
-x option=value][-x -?][
-X option_file]
drd rehost
[-?][-p] -f system_information_file [
-q
][-t target_device_file]
[
-v][-x option=
value][-x -?][-X
option_file ]
drd runcmd
[-?][-q][-v][-x option=
value][-x -?][-X
option_file ] cmd <args>
drd status
[-?][-q][-v][-x option=
value][-x -?][-X
option_file ]
drd sync [
-?][-p][-q][-v][
-x option=value][-x -?][
-X option_file]
drd umount [-?][-p][
-q][-v][-x option=value][-x -?][-X option_file ]
drd unrehost [-?][-p
] -f system_information_file [-q][-t target_device_file]
[
-v][-x option=value][
-x -?][-X option_file ]
DESCRIPTION
The
drd command provides a command line interface to Dynamic Root Disk (DRD) tools. Messages are
displayed to standard error. The drd command has nine major modes of operation:
activate Sets the inactive system image to be the primary boot disk the next time the system is
booted.
clone Clones a booted system to an inactive system image. The drd clone mode copies the LVM
volume group or VxVM disk group containing the volume on which the root file system
("/") is mounted.
deactivate Sets the active system image (i.e. the booted image) to be the primary boot disk the next
time the system is booted.
mount Mounts all file systems in an inactive system image. The mount point of the root file sys-
tem is either /var/opt/drd/mnts/sysimage_000
or
/var/opt/drd/mnts/sysimage_001
. If the inactive system image was created by
the most recent
drd clone command, the mount point of the root file system is
/var/opt/drd/mnts/sysimage_001
. If the inactive system image was the booted
system when the most recent
drd clone command was run, the mount point of the root
file system is /var/opt/drd/mnts/sysimage_000
.
rehost Copies the system information file, containing hostname, IP address, and other system-
specific information, to EFI/HPUX/SYSINFO.TXT on the disk to be rehosted.
runcmd Runs a command on an inactive system image. Only a select group of commands may be
run by the runcmd mode. These are commands which have been verified to have no
affect on the booted system when executed by drd runcmd. Such commands are
referred to as DRD-Safe.
The commands
kcmodule, kconfig, kctune, mk_kernel, swinstall, swjob,
swlist, swmodify, swm job list, swm job log, swm job status,
swremove, swverify, view, and update-ux are currently certified DRD-Safe. An
attempt to execute any other command will result in a runcmd error.
In addition, not every software package may safely be processed by
sw* commands. The
DRD-Safe SW-DIST commands and update-ux are aware of running in a DRD session
and will reject any DRD-unsafe packages.
For more information about DRD-Safe packages, see drd-runcmd (1M).
status Displays status information for an existing inactive system image.
sync Propagates file system changes from the booted original system to the inactive clone
image.
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1