save_config.1m (2012 03)
s
save_config(1M) save_config(1M)
NAME
save_config - create hardware configuration file
SYNOPSIS
/opt/ignite/bin/save_config
[ -f file ][vg ... ][disk ... ][-?
]
DESCRIPTION
save_config extracts disk and file system structure information and certain system and networking
parameters for the currently running system and writes them into a configuration file. When used in con-
junction with an archive, it provides a quick means for restoring a system with Ignite-UX (see ignite (5)).
Errors are always logged to
stderr.
Starting with the March 2008 release of HP-UX 11i v3, LVM supports Volume Group Version 2.0. Refer to
lvm(7) for more details on different Volume Group Versions supported by LVM. Please read the
WARN-
INGS section for the limitations and restrictions of this command with regard to supportability of LVM
Volume Groups having Volume Group Versions 2.0 or higher.
HP Serviceguard (SG) introduced Cluster-wide Device Special Files (cDSF) from September 2010 release
of HP-UX 11i v3. Refer to the User Guide of SG for more information on the same. Please refer to
WARN-
INGS section for the limitations and restrictions of this command with regard to supportability of cDSF.
Options
save_config recognizes the following options:
-f file Specifies an alternate path for the configuration file. The default path is
/var/opt/ignite/local/config.recovery
. If the file already exists and
save_config is successful, the existing version is first copied to file.prev before
the new one is moved into place. If file is -, output is sent to
stdout. This allows
save_config to be used as the beginning of a pipeline.
vg Specifies the named volume group that should be included in the configuration file.
None of the disks that comprise this volume group should be specified as well.
Volume groups are represented by the basename of their volume group name. Mul-
tiple volume groups are allowed.
disk Specifies that the named whole disk should be included in the configuration file.
The disk must not be part of a volume group. Disks are represented by their block
device file name (/dev/dsk/... or /dev/disk/...). Multiple whole disks are allowed.
-? Displays the help screen.
If no volume group nor whole disk arguments are given, all volume groups and all whole disks that are
either mounted or used for swap will be included.
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.
WARNINGS
Ignite-UX does not support the creation of the hardware configuration file using the
save_config com-
mand for Volume Groups having Volume Group Version 2.0 or 2.1. If any LVM Volume Groups having
unsupported Volume Group Versions is provided as arguments to save_config command, the command
fails and reports the unsupported volume groups. In such situations, either omit the unsupported volume
groups as input to save_config command or migrate all those unsupported volume group version to
2.2 or higher (using LVM’s Volume Group Version migration tool, vgversion) and rerun the command.
Ignite-UX does not support the creation of the hardware configuration file using the
save_config com-
mand for Volume Groups configured using Cluster-wide Device Special Files (cDSF). When volume
groups configured using cDSF are provided as arguments to save_config the command fails and
reports the same as unsupported. To proceed, omit the unsupported volume groups as input and rerun
the command. When volume groups configured using cDSF are present on the system and are not pro-
vided as input to save_config there will be a warning about their existence, however the hardware
configuration file will be created.
HP-UX 11i Version 3: March 2012 − 1 − Hewlett-Packard Company 1