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 environment for Hitachi Command Suite products (configuration, version number, revision number, and restriction code)
• The system locale
#1 You can view the version, revision, and restriction code of JP1/AO in the Version.txt is stored in the JP1/AO installation folder.
Who can perform this task:
Users who have Administrators or root permission for the OS
To restore a JP1/AO system (non-cluster configuration):
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.
Shut down the JP1/AO system by executing the hcmds64srv command with the stop option specified.
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
-
Truststore file
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).
Reconfigure the following definition files to suit the environment in which the data is being restored.
These definition files are not restored, even if they were backed up by the backupsystem command.
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
Enable https if you intend to use https for connections between JP1/AO and Web browsers.
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.
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.