HP-UX HB v13.00 Ch-18 - HPVM
HP-UX Handbook – Rev 13.00 Page 18 (of 49)
Chapter 18 Integrity Virtual Machines (HPVM)
October 29, 2013
–d /var/opt/ignite/data/Rel_B.11.31 -n B.11.31_VMGuest_archive.gz
Note that the golden system must be listed in the /.rhosts file on the Ignite-UX server. If not, you
will see the following error:
ERROR: Cannot remsh server system_name (check server .rhosts file).
Typically make_sys_image will run for several minutes.
Any system that is creating a golden image should be quiescent, that is, no applications should be
up and running and no users should be logging into the system. When make_sys_image is
creating a golden image some system files are replaced with newconfig versions. When these
files are replaced it may negatively impact any applications that have not been shutdown.
You will need to make sure that the directory where the golden image resides is available for an
NFS mount. In our example, the path /var/opt/ignite/data/Rel_B.11.31 is added to the
Ignite-UX server’s /etc/exports file as follows:
/var/opt/ignite/data/Rel_B.11.31 -anon=2
and is subsequently exported by running exportfs –a.
d) Configure the Ignite-UX server to recognize the golden image.
Once the golden image has been created, you’ll need to finish setting up the configuration for use
on the Ignite-UX server. The steps to do this are as follows:
1. Capture the necessary impacts statements to be used in the configuration file by
executing:
# /opt/ignite/lbin/archive_impact -t -g \
B.11.31_VMGuest_archive.gz > impacts.txt
in the directory where the archive was created and capturing the output.
2. Create a configuration file by copying the example configuration file to the directory
with the system archive. For example:
# cp /opt/ignite/data/examples/B.11.31.golden_image.cfg \
/var/opt/ignite/data/Rel_B.11.31/vm_guest.cfg
You’ll need to customize the configuration file for your archive as follows.
3. In the configuration file, modify the nfs_source definition in the sw_source section
so that it references the Ignite UX server and the correct path. That is, using the
example systems here, change:
nfs_source = "10.2.72.150: /var/opt/ignite/archives/Rel_B.11.31"