Top
ETERNUS SF AdvancedCopy Manager V15.1 Operation Guide
ETERNUS

7.2.3 Troubleshooting: Failure in accessing a repository database

This section describes how to determine the cause of a failure in accessing a repository database and the actions to perform when this occurs.
Execute the steps below until the problem is resolved and no further steps are required.
Perform this procedure on the Management Server.

  1. Check whether the RDB daemons are still running.

    Check method

    Execute the following command to check for any process related to the RDB daemons.

    # ps -ef | grep RDBSWSTF | grep -v grep
    Required action

    If no process related to the three RDB daemons exists, retry processing after restarting (start after stopping) the daemons. For an explanation on restarting the daemons, refer to "8.5.3 Starting and stopping the RDB daemon".

  2. Check that there is sufficient free space as required to update a repository database.

    Check method

    Execute the following command to check the usage ratio of space required to update a repository.

    # /opt/swstorage/bin/stgdbloginf
    Required action

    If the usage ratio is 100%, save the database space according to "7.1.1.3.1 Saving a database". (Consequently, there should be sufficient free space required to update a repository.)
    After using "7.1.1.3.1 Saving a database", restart (start after stopping) the RMI daemon. For an explanation on restarting the daemon, refer to "8.5.2 Starting and stopping the RMI daemon".
    Then, perform this step again.

  3. Check whether the "7.1.1.3.1 Saving a database" process is in progress.

    Check method

    Execute the following command to check for any process related to "7.1.1.3.1 Saving a database".

    # ps -ef | grep stgdbdmp | grep -v grep
    Required action

    If any process related to "7.1.1.3.1 Saving a database" exists, retry processing after waiting for the end of "7.1.1.3.1 Saving a database".

  4. Check whether the capacity of repository is insufficient.

    Check method

    In the log file a /var/opt/FJSVswstf/log/RDBSWSTF.log file (in cluster operation, they are /var/opt/FJSVswstf/<logical-node-name>/log/RDBSWSTF.log), search for the strings "JYP5019E" or "JYP5045E" in any message taking the form "rdb: ERROR: qdgXXXXXX-"

    Required action

    When a character sequence exists, please extend repository space with reference to "7.2.1 Troubleshooting: Insufficient free space in a repository".
    Then, Retry processing.

  5. Check whether an I/O error or any other error has occurred in the database space.

    Check method

    Check the /var/opt/FJSVswstf/log/RDBSWSTF.log file, and beginning from the last line, search for any message with "rdb: ERROR: qdgXXXXX-" in its contents (also check the messages displayed at the same time). Then, search for a string taking the form of "qdgXXXXX," and check for it in "Relationships between the qdg message and recovery mode".

    Required action

    If "qdgXXXXX" is in the table, examine the target according to the error description corresponding to the qdg messages in "Relationships between the qdg message and recovery mode", and determine if there is a problem. If a problem is found, take corrective action as appropriate to solve the problem, and specify the appropriate settings. Then, recover the database space by using "7.1.1.3.3 Recovering a database".
    After the database recovery command ends normally, acquire the latest save data by using "7.1.1.3.1 Saving a database".
    Then, restart (start after stopping) the AdvancedCopy Manager daemons. For an explanation on restarting the daemons, refer to "8.5.4 Starting and stopping AdvancedCopy Manager daemons".
    Retry processing.

    Note

    • If the database recovery command is executed with the value "0" specified for -m option, perform the following tasks after the command ends normally:

    • If an error such as an I/O error occurs in a database space, a file required for analyzing the cause of the error may be created in the <DB file directory>/SWSTFDB/core. If the corresponding recovery ends normally, delete the file in this directory.

  6. Collect the files in /var/opt/FJSVswstf/log, and contact a Fujitsu system engineer.