3.Run the recovery interface.

If the -ioption is specified on the command line, the recovery user interface is executed next. This interface enables users to set or change the following default values for the image:

Long description of the recovery image. This description adds identifying information that can help distinguish between recovery images when the timestamp is not sufficient. This information is shown by clicking Description on the Basic tab during installation configuration.

Maximum number of recovery images to keep. When the number of recovery images in the destination directory reaches this maximum, make_[tapenet]_recovery removes the oldest one. It uses the timestamp in the name to determine which to remove.

Destination host for the recovery image.

Destination directory for the recovery image.

The user interface also gives you the opportunity to review and edit the

archive_content file as mentioned in the previous step. When you exit the recovery user interface, the default values you entered are written to:

/var/opt/ignite/clients/client/recovery/defaults.

The list of files included in the recovery image is written to archive_content in the

/var/opt/ignite/clients/client/recovery directory.

4.Save the system configuration.

For all disk and volume groups, even those not included in the recovery image,

make_[tapenet]_recovery backs up disk and volume group configuration information, and then stores it in the system_cfg file. For LVM, it also obtains map files for volume groups that are not part of the recovery image. The volume group configuration files and the map files generated at this stage are stored in /etc/lvmconf. This directory is included in the list of essential files, so the LVM files are included in the recovery image. For VxVM, commands are included in control_cfg that restore disk groups.

After the volume group information is saved, make_[tapenet]_recovery creates the control_cfg file. This file includes the post_config_cmds to import all volume or disk groups that were not included in the recovery image, and to activate all volume groups that were imported. It also includes control flags, such as recovery_mode=true, to guide the behavior of Ignite-UX during recovery.

5.Build the recovery archive.

Next, make_[tapenet]_recovery calls make_sys_image to create the recovery archive. Then make_sys_image passes a prebuilt flist to calculate the total disk space currently used by all the files to be included in the archive. It uses this information with a compression ratio to estimate the final size of the archive. If the destination directory has sufficient free disk space for the archive, make_sys_image creates the archive using the pax command. For more information, see pax(1) and make_sys_image(1M).

NOTE: On HP-UX 11i v3 OS, the make_sys_image command will not create archive if the legacy device support is disabled. To enable the legacy device support, run the following command: # insf –L

6.Prepare the configuration file.

Once the recovery archive is created, make_[tapenet]_recovery calls make_arch_config to create the archive_cfg file to reference it. Then

196 Recovery