drd-rehost.1m

d
drd-rehost(1M) drd-rehost(1M)
target is specified, the inactive system image is used as a target.
Extended -x Options
drd rehost
recognizes the following -x (extended) options:
-x logfile=/var/opt/drd/drd.log
Usage: Basic
This is the path to the log file for this command. Each time DRD is run, this file will grow larger.
This can be changed, for example, to a month-specific location for easier archiving, off-host backup,
and rotation.
-x log_verbosity=4
Usage: Basic
Specifies the level of message verbosity in the log file (See also
-x verbosity). Legal values are:
0 Only ERROR messages and the starting/ending BANNER messages.
1 Adds WARNING messages.
2 Adds NOTE messages.
3 Adds INFO messages (informational messages preceded by the
* character).
4 Adds verbose INFO messages.
5 Adds very-verbose INFO messages.
-x sysinfo_file=
Usage: Basic
This is the file containing system information attributes, such as hostname and IP address, that is
copied to the EFI partition by the drd rehost command and consequently applied by
auto_parms(1M) when the rehosted image is booted. The file can be removed from the EFI partition
and optionally copied back to the file system with the drd unrehost command. This extended option
provides the same functionality as the
-f option.
-x verbosity=3
Usage: Basic
Specifies the level of stderr verboseness:
0 Only ERROR messages and the starting/ending BANNER messages.
1 Adds WARNING messages.
2 Adds NOTE messages.
3 Adds INFO messages (informational messages preceded by the
* character).
4 Adds verbose INFO messages.
5 Adds very-verbose INFO messages.
Note: The
-v option is equivalent to increasing verbosity by 1 (e.g., from 3 to 4) and the
-q option
is equivalent to decreasing verbosity by 1. The
-v and -q options can be used more than once.
RETURN VALUE
drd rehost 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 copy the default system information file
/etc/opt/drd/default_sysinfo_file to
EFI/HPUX/SYSINFO.TXT in the EFI partition of the inactive system image:
drd rehost
To copy the default system information file /etc/opt/drd/default_sysinfo_file to
EFI/HPUX/SYSINFO.TXT in the EFI partition of the disk /dev/disk/disk9:
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010