Specifying Pre-Scripts and Post-Scripts During 1-Touch Recovery for AIX

You can specify custom pre-scripts and post-scripts to run before and after the data restore job during 1-Touch recovery.

Procedure

  1. On the NIM master, create a configuration file.

    • To provide default, organization-wide settings that overwrite the Commvault default settings for all NIM clients of the NIM master, create the common.conf file in the 1-Touch_server_directory.

    • To provide system-specific settings that overwrite Commvault default settings as well as the organization-wide settings of a specific NIM client, create the nim_client_name.conf file in the 1-Touch_server_directory.

  2. In the common.conf file or the nim_client_name.conf file, specify the location of the script files.

    The configuration stanza for pre-scripts and post-scripts consists of a section header and section values.

    customize: PRE_SCRIPT=$[script_location] POST_SCRIPT=$[script_location]

    You can add a pre-script to run after BOS is installed. Similarly, you can add a post-script to run after the data restore job completes. For example, you can add a post-script to register the client in the domain controller.

  3. To check the status of the 1-Touch restore job while the custom pre-scripts and post-scripts are running, you can check the following environment variables:

    Variable

    Description

    ConfigStatus

    Specifies the volume group configuration status.

    Values: Completed, Failed

    RestoreStatus

    Specifies the status of the data restore job.

    Values: Completed, Failed

    FSRestore

    Specifies if the data restore job must be run.

    Values: Yes, No

    When the ConfigStatus value is "Failed", FSRestore value is forced to "No".

Page contents

×

Loading...