To restore the Common Services backup data, run the csrestore command.
Make sure that the installation configuration and version of
Common Services on the restoration-destination system are the same as those on the
system where the backup was taken. You cannot restore backup data to a system that has a
different installation configuration and version.
-
Log in to the management server as the root user.
If you log in as an ordinary user, use the sudo command to complete the following procedure as the root user.
- Stop the Common Services service.
- Run the csrestore command.
-
If the server certificate and secret key were stored in a location other than
/var/installation-directory-of-Common-Services/tls/*
and backed up manually, store the server certificate and secret key in the same
location that was used for backup.
* For example, for an OVA install uses the following directory:
/var/opt/hitachi/CommonService/tls/
Note: If you set up SSL communication by using the cssslsetup command prior to performing backup, store the server certificate and the secret key in the location you specified. -
If the host name, IP address, or port number of Common Services at the restoration
destination is changed, run the cschgconnect
command to change the settings.
For details on the cschgconnect command, see Changing the management server host name, IP address, or port number.Note: If the backup data of Common Services deployed by using the Analyzer viewpoint OVF is restored to Common Services installed by using the individual installer, you must manually run the following command:
cschgconnect.sh -p port-number
- Start the Common Services service.
-
As necessary, restore the backup data for each product registered in Common
Services.
For details on the restoration method and the prerequisites for restoring backup data, see the documentation for each product.
-
If any products are registered in Common Services, delete each product
in the Hitachi Ops Center Portal, and then register the products in Common Services again.
To re-register the products in Common Services, run the setupcommonservice command for each product. For details on the setupcommonservice command, see the documentation for each product.