drd-rehost.1m
d
drd-rehost(1M) drd-rehost(1M)
NAME
drd rehost - copy the system information file, containing hostname, IP address, and other system-specific
information, to EFI/HPUX/SYSINFO.TXT on the disk to be rehosted.
SYNOPSIS
drd rehost
[-?][-p] -f system_information_file [
-q
][-t target_device_file]
[
-v][-x option=
value][-x -?][-X
option_file]
DESCRIPTION
The
drd rehost command copies new host information to
EFI/HPUX/SYSINFO.TXT
for processing
by auto_parms (1M) during the boot of the disk.
Patches to the
auto_parms utility are needed to process the SYSINFO.TXT file during the boot of the
disk. Please refer to the DRD web site,
http://www.hp.com/go/DRD
for information about the
appropriate patches to install.
A system administrator can execute the
drd rehost
command after cloning a system image to setup
the clone to run on another system.
The initial implementation of
drd rehost
only supports rehosting of an LVM-managed root volume
group on an Integrity virtual machine to another Integrity virtual machine, or an LVM-managed root
volume group on a Blade with Virtual Connect I/O to another such Blade.
The format of the
sysinfo file is defined in sysinfo (4), which is provided by a patch documented at the
DRD web site, http://www.hp.com/go/DRD
. Only files conforming to sysinfo (4) can be used for
rehosting.
The disk to be rehosted must be a bootable disk and may be specified as the argument of the
-t option. If
no
-t option is specified, the disk to be rehosted is the inactive system image. The inactive system image
is either a clone created by the drd clone command, or the original booted image that was cloned,
whichever is not currently booted.
If no
-t option is specified, the inactive image chosen is checked to ensure that it is managed by LVM.
However, if a disk is specified using the -t option, the volume management of the disk is not checked.
If a preview operation is run (by specifying the
-p option), the syntax of the system information file is
checked, but the file is not copied to the target.
Options
drd rehost recognizes the following options:
-? Displays the usage message.
-p Sets preview mode.
-f Specifies the file containing the system information (hostname, IP address, network information,
etc.) to be copied to EFI/HPUX/SYSINFO.TXT
on the disk specified by the -t option. See
sysinfo (4) for the syntax of this file. If not specified, the file defaults to
/etc/opt/drd/default_sysinfo_file.
-q Decreases the verbosity level by one each time it is specified. For example, -qq will reduce the
verbosity from the default value of 4 to 2. If both -x verbosity=5 and -qqq are included
on the command line, the effective verbosity is 2. The minimum verbosity level is 0. (See also the
-x verbosity option).
-v Increases the verbosity level by one each time it is specified. For example, -v will increase the
effective verbosity from the default value of 4 to 5. If both -x verbosity=1 and -vv are
included on the command line, the effective verbosity is 3. The maximum verbosity level is 5.
(See also the -x verbosity option).
-x -? Displays the list of possible -x (extended) options.
-x option=value
Sets the extended option to a value. See Extended -x Options definitions below.
-X option_file
Gets the extended options from a file.
-t device_special_file
Specifies the block device special file of a single writable physical disk. The file specified by the
-f option will be written to EFI/HPUX/SYSINFO.TXT in the EFI partition of this disk. If no
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1