Using Golden Images with Virtual Partitions
7
/opt/ignite/lbin/archive_impact -t -g archive_file > temp_impacts
and then by including the results in the configuration file by replacing the
example impacts lines. By default, this assumes that we created a gzipped tar
archive.
Following is the complete sw_sel stanza example for a PA-RISC-based golden
image archive:
init sw_sel "B.11.23 PA golden image archive" {
description = "B.11.23 PA golden image archive"
sw_source = "golden image archive"
sw_category = "HPUXEnvironments"
archive_type = gzip tar
archive_path = "hostname.gz"
#
# Here we describe how much space is used in each of the mentioned
# subdirectories. This information is obtained by running the
# "archive_impact" command against an archive as follows:
# /opt/ignite/lbin/archive_impact -tg hostname.gz
# The output from the above command should replace the "impacts"
# statements below.
#
impacts = "/" 7148Kb
impacts = "/dev" 13Kb
impacts = "/etc" 101325Kb
impacts = "/home" 1Kb
impacts = "/opt" 1482559Kb
impacts = "/sbin" 72389Kb
impacts = "/stand" 35589Kb
impacts = "/usr" 1478047Kb
impacts = "/var" 470006Kb
} = TRUE
Step 3. Add the new configuration file to Ignite-UX:
Edit the
/var/opt/ignite/INDEX file to install a new configuration to Ignite-UX. For this
example, add a new cfg stanza as follows:
cfg "HP-UX B.11.23 PA Golden Image Archive" {
description "B.11.23 PA golden image archive"
"/opt/ignite/data/Rel_B.11.23/config"
"/var/opt/ignite/data/Rel_B.11.23/golden_image_cfg"
"/var/opt/ignite/config.local"
}