Skip to content

Commit 6417fc2

Browse files
authored
Update Data Guard broker related checks
1 parent 93ca0b6 commit 6417fc2

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

Data Guard broker related checks

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11

2-
Run the belwo commands as Oracle db owner OS user (command valid for UNIX & AIX)
3-
#-------------------#-------------------#-------------------#-------------------
2+
Run the belwo commands (one lines commands) as Oracle db owner OS user (command valid for UNIX & AIX)
3+
#=====================================================================================================
4+
5+
#To validate the configuraiton post FSFO enable & disable dgmgrl (with a sleep of 10 secs 5 times) :
6+
#------------------------------------------------------------------------------------------
7+
#set the Oracle Sid & Oracle Home
8+
for i in {1..5} ; do echo "show configuration "|dgmgrl / ; sleep 10; done ;
9+
410
## To validate the StaticConnectIdentifier of DG broker (for both primary & standbys dbs by connecting to db using sysg user id & password before going to switch .
511
#---------------------------------------------------------------------------
612
#set the Oracle Sid & Oracle Home
@@ -20,3 +26,8 @@ swdb;[[ $(echo "show configuration " | dgmgrl / |grep ORA-16525 |wc -l) -eq 0 ]]
2026
#------------------------------------------
2127
#set the Oracle Sid & Oracle Home
2228
[[ $(echo "show configuration " | dgmgrl / |grep ORA-16525 |wc -l) -eq 0 ]] && [[ $(echo "show configuration "|dgmgrl / |grep Failover |grep ENABLED |wc -l) -ge 1 ]] && echo "Disable Fast_Start Failover "|dgmgrl / ; echo "show configuration "|dgmgrl / ;
29+
30+
#To validate the configuraiton post FSFO enable & disable dgmgrl (with a sleep of 10 secs 5 times) :
31+
#------------------------------------------------------------------------------------------
32+
#set the Oracle Sid & Oracle Home
33+
for i in {1..5} ; do echo "show configuration "|dgmgrl / ; sleep 10; done ;

0 commit comments

Comments
 (0)