Exploring DRD Rehosting in HP-UX 11i v2 and 11i v3 (July 2010)
SYSINFO_DHCP_ENABLE[0]=1
A sysinfo file that does NOT use DHCP for configuring a system with the single network interface with
MAC address 0x0017A451E718, with additional network parameters specified, consists of the
following:
SYSINFO_HOSTNAME=myhost
SYSINFO_MAC_ADDRESS[0]=0x0017A451E718
SYSINFO_DHCP_ENABLE[0]=0
SYSINFO_IP_ADDRESS[0]=192.2.3.4
SYSINFO_SUBNET_MASK[0]=255.255.255.0
SYSINFO_ROUTE_GATEWAY[0]=192.2.3.75
SYSINFO_ROUTE_DESTINATION[0]=default
SYSINFO_ROUTE_COUNT[0]=1
A sysinfo file that specifies the hostname, causes a DHCP server to be contacted for configuring a
system with the single network interface (with MAC address 0x0017A451E718), and sets
TIMEZONE to MST7MDT consists of the following lines:
SYSINFO_HOSTNAME=myhost
SYSINFO_MAC_ADDRESS[0]=0x0017A451E718
SYSINFO_DHCP_ENABLE[0]=1
SYSINFO_TIMEZONE=MST7MDT
Using drd rehost to copy the system information file to the EFI
partition
After the clone and system information file have been created, the drd rehost command can be
used to check the syntax of the system information file and copy it to /EFI/HPUX/SYSINFO.TXT in
preparation for processing by auto_parms(1M) during the boot of the image. The following
example uses the /var/opt/drd/tmp/info_for_newhost system information file.
# drd rehost –f /var/opt/drd/tmp/info_for_newhost
Note that in this example, the default target, which is the inactive image, is used.
If you want to only check the syntax of the system information file, without copying it to the
/EFI/HPUX/SYSINFO.TXT file, use the preview option of the drd rehost command:
# drd rehost –p –f /var/opt/drd/tmp/info_for_newhost
Using drd status to check for EFI/HPUX/SYSINFO.TXT
If you are not sure whether you have written a system information file to the Extensible Firmware
Interface (EFI) partition of the inactive system image, you can use the drd status command to
check for its existence. Here is sample output of the drd status command:
# drd status