make_sys_image.1m (2012 03)

m
make_sys_image(1M) make_sys_image(1M)
-u Check the archive destination for sufficient storage capacity. The capacity of raw
devices is not easily checked, so this option has no effect in the case where a raw
device is the archive destination. The archive size is an approximation and is gen-
erally 5% larger than the final archive. The default is to not check capacity.
-v Verbose mode; writes all of the files that are being modified or removed and the
command line that will create the system archive to
stdout.
-w log_file Write to the specified log file.
-x Print the list of files that will be set to the
newconfig state and the files that will
be explicitly excluded using level
2 to both
stdout and
/tmp/excluded_files
. This doesn’t include files excluded because they are
sockets, named pipes, the local archive destination or on remote file systems. If the
-f option is used, the output will reflect the effects of that file. With this option
selected, no archiving action is taken.
-L Create a copy of any non-standard LIF files (as defined for both whole and LVM
disks) found on the boot disk. The boot disk that is used is taken from the first
non-commented line in the /stand/bootconf
file. The LIF volume for storing
these LIF files is
/usr/lib/ignite_bootlif
, and is created only if non-
standard LIF files are present. This option creates only the backup file. Without
this option, the backup, if needed, is created and the recovery media is created with
this information stored for later recovery. For more information on the disks, LIF
files, and LIF volume creation, see bootconf (4), lif (4), mkboot(1M), and lifinit (1).
The main purpose of this option is to allow LIF diagnostics and any changes to the
AUTO LIF file to be saved by the Ignite-UX recovery commands (see
make_net_recovery(1M)).
-? Display the help screen.
NOTE: If all of the defaults are used, a
gzip compressed tar archive of the system with all of the host
and network information removed will be placed on the Ignite-UX server in /var/tmp/myhost.gz.
Environment Variables
Environment variables are to be on separate lines following the
env_vars+= keyword in the Ignite-UX
configuration file, *INSTALLFS.
SERVER=IP|local Equivalent to the -s option.
DEST_DIR=directory|device Equivalent to the
-d option.
ARCHIVE_NAME=archive_filename
Equivalent to the -n option.
METHOD=c|t Equivalent to the -m option.
COMPRESS=z|g Equivalent to the -c option.
CLEAN_LEVEL=1|2 Equivalent to the -l option.
International Code Set Support
Ignite-UX uses a variety of system commands to accomplish its functionality. Because the output of many
of these commands is parsed, Ignite-UX ensures that the POSIX locale is normally used by modifying
environment variables. Help text and some command output not parsed by Ignite-UX will be left in the
user’s specified locale.
EXAMPLES
Use all of the built-in defaults, and create a
gzip compressed tar archive named hostname.gz on the
Ignite-UX server in directory /var/tmp with all identity information removed. This assumes the server
has a .rhosts entry for the local system:
post_config_script+="make_sys_image"
Create a gzip compressed tar archive with all of the identity information intact and dd to local tape:
post_config_script+="make_sys_image -s local -l 1 -d /dev/rmt/0m"
Extract into /var/tmp a gzip’d tar archive from tape:
HP-UX 11i Version 3: March 2012 3 Hewlett-Packard Company 3