Issue:
The issue is in racprd database while connecting to service name racprdha1 is showing ORACLE initialization or shutdown in progress.
Workaround:
The problem is with the scan listener in RAC1. We have checked the scan listener
“LISTENER_SCAN3” which points to DR instance racdr.
[oracle@RAC1 ~]$ lsnrctl service LISTENER_SCAN3
Service "racprdha1" has 3 instance(s).
Instance "racdr", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2140 refused:0 state:ready
REMOTE SERVER
(ADDRESS=(PROTOCOL=TCP)(HOST=racdbdr01)(PORT=1521))
Instance "racprd1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:4 refused:0 state:ready
REMOTE SERVER
(DESCRIPTION=(address=(protocol=tcp)(host=racdb1)(port=1540)))
Instance "racprd2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2 refused:0 state:ready
REMOTE SERVER
(DESCRIPTION=(address=(protocol=tcp)(host=racdb2)(port=1540)))
We have shutdown the racdr instance and connect the service name racprdha1 in racprd database.The racha1 service name is able to connect the racprd database.
Solution:
After that,we have checked and changed the remote_listener in DR instance.
The remote listener in racdr instance points the rac1s scan ip.Due to this problem,”ORACLE initialization or shutdown in progress” because of racdr instance is in mount stage.
In DR Instance,
SQL> show parameter remote_listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_dependencies_mode string TIMESTAMP
remote_listener string rac1s:1540 [scan ip of production server]
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
result_cache_remote_expiration integer 0
SQL> alter system set remote_listener='';
System altered.
SQL> show parameter remote
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
result_cache_remote_expiration integer 0