Hitachi

JP1 Version 12 JP1/Automatic Operation Administration Guide 


7.4 Restoring data in a JP1/AO system (non-cluster configuration)

This section describes how to restore backup data for JP1/AO to the server after performing tasks such as migrating JP1/AO to a new host or performing database maintenance.

Important
  • When you back up and restore data in a JP1/AO system, some elements of the data do not survive the backup process. For example, some detailed task information (step lists and progress information) is lost, and some task statuses are changed.

    You can output detailed task information by executing the listtasks command before beginning the backup process. By executing the submittask command after restoration, you can use the detailed task information you output to re-register scheduled and recurring tasks as new tasks with the same settings.

  • You create the backup data by executing the backupsystem command.

  • Make sure that the following items are the same on the host where the backup data was created and the host to which the backup data is being restored:

    • The JP1/AO installation folder path

    • The version, revision, and restriction code of the installed JP1/AO#1

    • The host name#2

    • The IP address

    • The system locale

    #1 You can view the version, revision, and restriction code of JP1/AO in the About dialog box.

    #2 The host names do not need to be the same if you are restoring data as part of the process of changing the host name of the JP1/AO server or migrating to an environment with a different host name.

Who can perform this task:

Users who have Administrators or root permission for the OS

To restore a JP1/AO system (non-cluster configuration):

  1. Make sure that there are no tasks in execution status (In Progress, Waiting for Input, In Progress (with Error), In Progress (Terminating), or Long Running). If there are such tasks in the system, either stop the tasks, or wait until they enter Completed or Failed status.

  2. Shut down the JP1/AO system by executing the hcmds64srv command with the stop option specified.

  3. Execute the restoresystem command to restore the JP1/AO configuration and database information.

    Tip

    The restoresystem command does not restore the files below. Restore them manually as needed.

    • SSL server certificate files for https connections

    • Private key files for https connections

    • Private key files for public key authentication

    Place the files for https connections in the location defined in the user_httpsd.conf file, and the files for public key authentication in the location defined in the user-specified properties file (config_user.properties).

  4. Reconfigure the following definition files to suit the environment in which the data is being restored.

    These definition files are backed up as part of the backup process, but are not restored.

    • Configuration file for external authentication server linkage (exauth.properties)

    • Security definition file (security.conf)

    • Port number settings (user_httpsd.conf)

    The definition files are stored in the following folders:

    • backup-folder\HBase\base\conf or backup-folder/HBase/base/conf

    • backup-folder\HBase\base\httpsd.conf or backup-folder/HBase/base/httpsd.conf

  5. Enable https if you intend to use https for connections between JP1/AO and Web browsers.

  6. If you changed the port number used for communication between JP1/AO and the Web browser, make the same change again by following the procedure for changing port numbers.

  7. Start the JP1/AO system by executing the hcmds64srv command with the start option specified.

Result of operation:

The data is restored to the specified host.