Hitachi

JP1 Version 12 JP1/Automatic Operation Administration Guide 


7.6 Restoring the JP1/AO system (Linux 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.

  • Execute the restoresystem command on the active server (the server whose mode is set to online in the cluster.conf file).

  • 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 directory 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 root permission for the OS and cluster management permission

To restore a JP1/AO system (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. In the cluster software, take the resource group in which JP1/AO is registered offline.

  3. Disable starting, stopping, and monitoring of the resources below in the cluster software. For details on how to do so, see the documentation for the cluster software.

    • Common component database

    • HBase 64 Storage Mgmt SSO Service

    • HBase 64 Storage Mgmt Web SSO Service

    • HBase 64 Storage Mgmt Web Service

    • HAutomation Engine Web Service

  4. In the cluster software, place online the resource group in which JP1/AO is registered.

  5. Place the shared disk of the active server online.

  6. Execute the restoresystem command on the active server 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

    • Cluster service control commands created by users

    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).

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

  8. On the active server, re-configure 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

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

  9. On the active server, 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.

  10. Enable https on the active server if you intend to use https for connections between JP1/AO and Web browsers.

  11. Steps 7, 8, 9, and 10 must also be performed on the standby server.

  12. In the cluster software, take the resource group in which JP1/AO is registered offline.

  13. Enable starting, stopping, and monitoring of the following resources. For details on how to do so, see the documentation for the cluster software.

    • Common component database

    • HBase 64 Storage Mgmt SSO Service

    • HBase 64 Storage Mgmt Web SSO Service

    • HBase 64 Storage Mgmt Web Service

    • HAutomation Engine Web Service

  14. In the cluster software, place online the resource group in which JP1/AO is registered.

Result of operation:

Data is restored to the specified host.