Skip to content

Commit 0103ee2

Browse files
authored
Create stby-register-in-crs.sh
1 parent 598951a commit 0103ee2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Register the standby information
2+
srvctl add database -d Standby_Db_Unique_name -o Oracle Home Path -p SPFILE_Location_in_ASM -n DB_Name -r PHYSICAL_STANDBY -s mount
3+
srvctl add instance -d Standby_DB_Unique_name -i Node1_SID -n Node1_Physical_Hostname
4+
srvctl add instance -d Standby_DB_Unique_name -i Node2_SID -n Node2_Physical_Hostname
5+
6+
#Verify the Configuration,
7+
srvctl config database -d Standby_DB_Unique_name
8+
srvctl config database -d Standby_DB_Unique_name –a
9+
10+
#Verify start/stop of the database. And check it works successfully,
11+
srvctl stop database –d Standby_DB_Unique_name
12+
srvctl start database –d Standby_DB_Unique_name

0 commit comments

Comments
 (0)