From cc9255bed3885ef8e3e0501b2ba601e1687b17b6 Mon Sep 17 00:00:00 2001 From: Saurabh Ahuja Date: Wed, 10 Sep 2025 08:36:33 +0000 Subject: [PATCH] log file corrections --- .../containerfiles/setup_rac_host.sh | 2 +- .../OracleRealApplicationClusters/docs/CONNECTING.md | 2 +- .../docs/orestart/README.md | 2 +- .../docs/rac-container/racimage/README.md | 6 +++--- .../blockdevices/addition/podman-compose.yml | 2 +- .../blockdevices/podman-compose.yml | 2 +- .../docs/rac-container/racslimimage/README.md | 6 +++--- .../blockdevices/addition/podman-compose.yml | 2 +- .../samples/rac-compose/racimage/README.md | 12 ++++++------ .../samples/rac-compose/racslimimage/README.md | 12 ++++++------ 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/setup_rac_host.sh b/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/setup_rac_host.sh index 85a00731fa..65feef1f29 100755 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/setup_rac_host.sh +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/setup_rac_host.sh @@ -261,7 +261,7 @@ setup_rac_container() { podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} - RAC_LOG="/tmp/orod/oracle_rac_setup.log" + RAC_LOG="/tmp/orod/oracle_db_setup.log" success_message_line="ORACLE RAC DATABASE IS READY TO USE" last_lines="" start_time=$(date +%s) diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/CONNECTING.md b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/CONNECTING.md index 7c3c44f5dd..f7d58191e3 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/CONNECTING.md +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/CONNECTING.md @@ -166,7 +166,7 @@ SCAN VIP is enabled. ``` ## Debugging Oracle RAC Containers -If the install fails for any reason, log in to container using the above command and check `/tmp/orod/oracle_rac_setup.log`. You can also review the Grid Infrastructure logs located at `$GRID_BASE/diag/crs` and check for failure logs. If the failure occurred during the database creation then check the database logs. +If the install fails for any reason, log in to container using the above command and check `/tmp/orod/oracle_db_setup.log`. You can also review the Grid Infrastructure logs located at `$GRID_BASE/diag/crs` and check for failure logs. If the failure occurred during the database creation then check the database logs. ## Client Connection diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/orestart/README.md b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/orestart/README.md index dd2e4e7538..c94ede603a 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/orestart/README.md +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/orestart/README.md @@ -118,7 +118,7 @@ podman start ${GPCNODE} It can take approximately 20 minutes or longer to create and start the Oracle Restart setup . To check the logs, use the following command from another terminal session: ```bash -podman exec ${GPCNODE} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${GPCNODE} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` When the database configuration is complete, you should see a message similar to the following: diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/README.md b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/README.md index 38c365c41c..a90dac44d6 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/README.md +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/README.md @@ -556,7 +556,7 @@ podman start racnodep2 It can take approximately 20 minutes or longer to create and set up a two-node Oracle RAC Database on Containers. To check the logs, use the following command from another terminal session: ```bash -podman exec racnodep1 /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec racnodep1 /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` When the database configuration is complete, you should see a message, similar to the following, on the installing node i.e. `racnodep1` in this case: @@ -659,7 +659,7 @@ podman start racnodep3 Monitor the new container logs using below command: ```bash -podman exec racnodep3 /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec racnodep3 /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` When the Oracle RAC container has completed being set up, you should see a message similar to the following: ```bash @@ -731,7 +731,7 @@ podman start racnodep3 ``` Monitor the new container logs using below command: ```bash -podman exec racnodep3 /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec racnodep3 /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` When the Oracle RAC container has completed being set up, you should see a message similar to the following: diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/withresponsefiles/blockdevices/addition/podman-compose.yml b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/withresponsefiles/blockdevices/addition/podman-compose.yml index 6ca4172d63..3e0aacad5d 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/withresponsefiles/blockdevices/addition/podman-compose.yml +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/withresponsefiles/blockdevices/addition/podman-compose.yml @@ -70,7 +70,7 @@ services: - rac_priv1_nw - rac_priv2_nw healthcheck: - test: ["CMD-SHELL", "if [ `cat /tmp/orod/oracle_rac_setup.log | grep -c 'ORACLE RAC DATABASE IS READY TO USE'` -ge 1 ]; then exit 0; else exit 1; fi"] + test: ["CMD-SHELL", "if [ `cat /tmp/orod/oracle_db_setup.log | grep -c 'ORACLE RAC DATABASE IS READY TO USE'` -ge 1 ]; then exit 0; else exit 1; fi"] interval: ${HEALTHCHECK_INTERVAL} timeout: ${HEALTHCHECK_TIMEOUT} retries: ${HEALTHCHECK_RETRIES} \ No newline at end of file diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/withresponsefiles/blockdevices/podman-compose.yml b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/withresponsefiles/blockdevices/podman-compose.yml index a74819d4a8..dd4dc083df 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/withresponsefiles/blockdevices/podman-compose.yml +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racimage/withresponsefiles/blockdevices/podman-compose.yml @@ -106,7 +106,7 @@ services: - rac_priv1_nw - rac_priv2_nw healthcheck: - test: ["CMD-SHELL", "if [ `cat /tmp/orod/oracle_rac_setup.log | grep -c 'ORACLE RAC DATABASE IS READY TO USE'` -ge 1 ]; then exit 0; else exit 1; fi"] + test: ["CMD-SHELL", "if [ `cat /tmp/orod/oracle_db_setup.log | grep -c 'ORACLE RAC DATABASE IS READY TO USE'` -ge 1 ]; then exit 0; else exit 1; fi"] interval: ${HEALTHCHECK_INTERVAL} timeout: ${HEALTHCHECK_TIMEOUT} retries: ${HEALTHCHECK_RETRIES} diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racslimimage/README.md b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racslimimage/README.md index ed09c6eeb4..99012bcefb 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racslimimage/README.md +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racslimimage/README.md @@ -523,7 +523,7 @@ podman start racnodep2 It can take at least 20 minutes or longer to create and setup 2 node RAC primary and standby setup. To check the logs, use the following command from another terminal session: ```bash -podman exec racnodep1 /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec racnodep1 /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` You should see the database creation success message at the end: @@ -613,7 +613,7 @@ Below is the example of adding 1 more node to the existing Oracle RAC 2 node clu podman network connect rac_priv1_nw --ip 192.168.17.172 racnodep3 podman network connect rac_priv2_nw --ip 192.168.18.172 racnodep3 podman start racnodep3 - podman exec racnodep3 /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" + podman exec racnodep3 /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful message for addition of nodes- ```bash @@ -673,7 +673,7 @@ Below is an example of adding one more node to the existing Oracle RAC 2 node cl podman network connect rac_priv1_nw --ip 192.168.17.172 racnodep3 podman network connect rac_priv2_nw --ip 192.168.18.172 racnodep3 podman start racnodep3 - podman exec racnodep3 /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" + podman exec racnodep3 /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ======================================================== Oracle Database ORCLCDB3 is up and running on racnodep3. diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racslimimage/withresponsefiles/blockdevices/addition/podman-compose.yml b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racslimimage/withresponsefiles/blockdevices/addition/podman-compose.yml index 399fba7b78..b03e4f8fce 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racslimimage/withresponsefiles/blockdevices/addition/podman-compose.yml +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/docs/rac-container/racslimimage/withresponsefiles/blockdevices/addition/podman-compose.yml @@ -71,7 +71,7 @@ services: - rac_priv1_nw - rac_priv2_nw healthcheck: - test: ["CMD-SHELL", "if [ `cat /tmp/orod/oracle_rac_setup.log | grep -c 'ORACLE RAC DATABASE IS READY TO USE'` -ge 1 ]; then exit 0; else exit 1; fi"] + test: ["CMD-SHELL", "if [ `cat /tmp/orod/oracle_db_setup.log | grep -c 'ORACLE RAC DATABASE IS READY TO USE'` -ge 1 ]; then exit 0; else exit 1; fi"] interval: ${HEALTHCHECK_INTERVAL} timeout: ${HEALTHCHECK_TIMEOUT} retries: ${HEALTHCHECK_RETRIES} \ No newline at end of file diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/samples/rac-compose/racimage/README.md b/OracleDatabase/RAC/OracleRealApplicationClusters/samples/rac-compose/racimage/README.md index a2593a8afb..675aa56545 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/samples/rac-compose/racimage/README.md +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/samples/rac-compose/racimage/README.md @@ -147,7 +147,7 @@ podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE2_CRS_PRIVATE_IP2} podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} -podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -278,7 +278,7 @@ podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE2_CRS_PRIVATE_IP2} podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} -podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -431,7 +431,7 @@ podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE2_CRS_PRIVATE_IP2} podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} -podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -600,7 +600,7 @@ podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE2_CRS_PRIVATE_IP2} podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} -podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -676,7 +676,7 @@ podman network connect ${PRIVATE1_NETWORK_NAME} --ip ${RACNODE3_CRS_PRIVATE_IP1} podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE3_CRS_PRIVATE_IP2} ${RACNODE3_CONTAINER_NAME} podman-compose start ${RACNODE3_CONTAINER_NAME} -podman exec ${RACNODE3_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE3_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -742,7 +742,7 @@ podman network connect ${PRIVATE1_NETWORK_NAME} --ip ${RACNODE3_CRS_PRIVATE_IP1} podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE3_CRS_PRIVATE_IP2} ${RACNODE3_CONTAINER_NAME} podman-compose start ${RACNODE3_CONTAINER_NAME} -podman exec ${RACNODE3_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE3_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/samples/rac-compose/racslimimage/README.md b/OracleDatabase/RAC/OracleRealApplicationClusters/samples/rac-compose/racslimimage/README.md index 390c45a2b4..15f5bf9bc1 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/samples/rac-compose/racslimimage/README.md +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/samples/rac-compose/racslimimage/README.md @@ -183,7 +183,7 @@ podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE2_CRS_PRIVATE_IP2} podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} -podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -311,7 +311,7 @@ podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE2_CRS_PRIVATE_IP2} podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} -podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -462,7 +462,7 @@ podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE2_CRS_PRIVATE_IP2} podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} -podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -629,7 +629,7 @@ podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE2_CRS_PRIVATE_IP2} podman-compose start ${RACNODE1_CONTAINER_NAME} podman-compose start ${RACNODE2_CONTAINER_NAME} -podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE1_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -713,7 +713,7 @@ podman network connect ${PRIVATE1_NETWORK_NAME} --ip ${RACNODE3_CRS_PRIVATE_IP1} podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE3_CRS_PRIVATE_IP2} ${RACNODE3_CONTAINER_NAME} podman-compose start ${RACNODE3_CONTAINER_NAME} -podman exec ${RACNODE3_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE3_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly- @@ -782,7 +782,7 @@ podman network connect ${PRIVATE1_NETWORK_NAME} --ip ${RACNODE3_CRS_PRIVATE_IP1} podman network connect ${PRIVATE2_NETWORK_NAME} --ip ${RACNODE3_CRS_PRIVATE_IP2} ${RACNODE3_CONTAINER_NAME} podman-compose start ${RACNODE3_CONTAINER_NAME} -podman exec ${RACNODE3_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_rac_setup.log" +podman exec ${RACNODE3_CONTAINER_NAME} /bin/bash -c "tail -f /tmp/orod/oracle_db_setup.log" ``` Successful Message when RAC container is setup properly-