Oracle SOA Suite 12.2.1.3 SOA Server- ONS Initialization failed for data source
Current post is focused on ONS(Oracle Notification Service) Initialization issue that encountered during managed servers startup. Below is the environment details-
- Oracle SOA Suite- 12.2.1.3
- Oracle Database- 12.2.1.0
- Oracle Linux- 7.5
- AdminServer home variable- ASERVER+HOME
- ManagaedServer home variable- MSERVER_HOME
- SOA Suite HOST machines- DC-SOABPM-01.host.com, DC-SOABPM-02.host.com
- Oracle Database RAC Nodes- DC-DB-01.soa.com, DC-DB-02.soa.com
What Happened?
- Successful install and domain configuration of Oracle SOA Suite 12.2.1.3
- Staring the AdminServer
- Starting SOA_Server1
- Server startup log $MSERVER_HOME/servers/SOA_Server1/logs/SOA_Server1.out says below error message-
<BEA-001598> ONS Initialization failed for data source-
LocalSvcTblDataSource
WLSSchemaDataSource
mds_bam
mds_owsm
mds_soa
ops_audit_DBDS
ops_data_source
........... unable to connect host dc-db-01................. unable to connect host dc-db-02......
Issue Cause-
Actually the issue is definitely associated with host 'dc-db-01'. The SOA machine is not able to connect the machine dc-db-01 (Oracle Database RAC node 1) and machine dc-db-01(Oracle RAC Database node 2).
Finally, this is a networking issue that we need to solve.
The Solution Worked-
1. Actually, dc-db-01 & dc-db-02 are the hostnames of respective Oracle Database RAC Node.
2. Checking the /etc/hosts file of both nodes and making necessary changes so that the hostname should be reachable from the SOA Host machines (DC-SOABPM-01.soa.com, DC-SOABPM-02.soa.com) machines.
3. RAC Node 1 /etc/hosts
10.0.144.204 DC-SOABPM-01.host.com DC-SOABPM-01
10.0.144.204 DC-SOABPM-02.host.com DC-SOABPM-02
4. RAC Node 2 /etc/hosts
10.0.144.204 DC-SOABPM-01.host.com DC-SOABPM-01
10.0.144.204 DC-SOABPM-02.host.com DC-SOABPM-02
5. Check the Oracle RAC Nodes reachability from SOA host machines by ping test.
6. Reconfigure the soa_domain and do the entry of below ONS host(2 entries) or SCAN(one entry) address on respective screen-
- ONS Detail Section
- if SCAN, only 1 entry required-
- scandb.example.com, Port- 6200
- If not SCAN, 2 entries required-
- DC-SOABPM-01.host.com, Port-6200
- DC-SOABPM-02.host.com, Port-6200
7. Start the managed servers and ONS issue will not encounter.
Comments
Post a Comment