Querying stop the Oracle Cluster Configuration

Function

Query whether the cluster is shut down at the same time when the database needs to be shut down during the Agent configuration.

Format

sh checkcfg.sh read

Parameters

None

Usage Guidelines

  1. Use PuTTY to log in as user root to the application server where the eReplication Agent is installed.
  2. Run the TMOUT=0 command to prevent PuTTY from exiting due to timeout.

    After you run the preceding command, the system continues to run even when no operation is performed, resulting in security risks. For security purposes, you are advised to run the exit command to exit the system after completing your operations.

  3. Run the su - rdadmin command to switch to user root.
  4. Run the cd /home/rdadmin/Agent/sbin command to go to the script save path.
  5. Run the sh checkcfg.sh read command to check the current configuration item.

    • When the Oracle database is stopped and the Oracle cluster is not stopped in Agent Configuration, the following information is displayed:

      Reading the configuration item of RAC is successful, and the configuration item of RAC is 0.

    • When the Oracle database and Oracle cluster are stopped in Agent Configuration, the following information is displayed:

      Reading the configuration item of RAC is successful, and the configuration item of RAC is 1.

Example

linux87:/home/rdadmin/Agent/sbin/sh checkcfg.sh read 
Reading the configuration item of RAC is successful, and the configuration item of RAC is 0.

Copyright © Huawei Technologies Co., Ltd.