Top
ETERNUS SF AdvancedCopy Manager V15.1 Operation Guide
ETERNUS

7.7.2 Maintaining a common control repository

This section explains the maintenance of common control repository.

7.7.2.1 Backup of common control repository

Save the common control repository.

Information

About the notation in procedure

Directory name

Explanation

$BAK_DIR

Backup destination directory.

  1. Stop the ETERNUS SF Manager Web service.
    Execute the following shell script to stop the service.

    /opt/FJSVesfcm/bin/stop-webservice.sh
  2. Create a backup data.

    1. Create the following backup directories:

      mkdir -p $BAK_DIR/Common
    2. Execute the following command to create a backup data with OS Administrator privilege.

      If you did not change the port number, specify 15432 for <port number>. If you did change the port number, specify the changed port number for <port number>.
      The file name of the created backup data is <file_name>.

      /opt/FJSVesfcm/postgres/bin/pg_dump -U esfpostgres -C --attribute-inserts -p <port number> -f $BAK_DIR/Common/<file_name> esfdb
    3. The prompt is displayed, and waiting for input. Input the following strings.

      master01!
  3. Start the ETERNUS SF Manager Web service.

    Execute the following shell script to start the service.

    /opt/FJSVesfcm/bin/start-webservice.sh

7.7.2.2 Restore of common control repository

Restore the common control repository.

Information

About the notation in procedure

Directory name

Explanation

$BAK_DIR

Backup destination directory.

  1. Stop the ETERNUS SF Manager Web service.

    Execute the following shell script to stop the service.

    /opt/FJSVesfcm/bin/stop-webservice.sh
  2. Restore a backup data. The following procedure must be implemented by a user with administrator privileges for the operating system.

    1. Execute the following command.

      If you did not change the port number, specify 15432 for <port number>. If you did change the port number, specify the changed port number for <port number>.

      /opt/FJSVesfcm/postgres/bin/psql -U esfpostgres -p <port number> postgres
    2. The prompt is displayed, and waiting for input. Input the following strings in order.

      master01!
      drop database esfdb;
      \q
    3. Execute the following command to restore the backup data.
      If you did not change the port number, specify 15432 for <port number>. If you did change the port number, specify the changed port number for <port number>.
      The <file_name> is the file name specified when the backup data was created.

      /opt/FJSVesfcm/postgres/bin/psql -U esfpostgres -p <port number> -f $BAK_DIR/Common/<file_name> postgres
    4. The prompt is displayed, and waiting for input. Input the following strings.

      master01!
  3. Start the ETERNUS SF Manager Web service.

    Execute the following shell script to start the service.

    /opt/FJSVesfcm/bin/start-webservice.sh

Note

After restoring the shared control repository, it takes approximately 2 minutes before the Web Console becomes available.