Restoring Common Services

Ops Center Installation and Configuration Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99OPS001-23
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.
  1. 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.
  2. Stop the Common Services service.
  3. Run the csrestore command.
    Command location
    installation-directory-of-Common-Services/utility/bin/csrestore.sh
    Format
    csrestore.sh -file path-to-backup-file
    Option
    -file path-to-backup-file
    Specify the path to the backup file to be restored. A relative path can be specified.
  4. 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.
  5. 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
  6. Start the Common Services service.
  7. 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.
  8. 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.