Modify configuration items using scripts when Agent configuration stops the Oracle database, you can determine whether to stop the Oracle cluster.
sh checkcfg.sh write {0|1}
0: Stop the Oracle cluster in Agent Configuration.
1: Stop the Oracle cluster in Agent Configuration
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.
When modifying configuration items, you need to perform this operation on all nodes in the Oracle cluster to ensure that the configurations on all nodes are the same.
Writing the value of the configuration item of RAC to 1 is successful.
Writing the value of the configuration item of RAC to 0 is successful.
linux87:/home/rdadmin/Agent/sbin/sh checkcfg.sh write 1 Writing the value of the configuration item of RAC to 1 is successful.