I am trying to figure out if there is a way to use service name instead of SID on the Oracle Logins in Applications Manager. We have two sites. At anytime we have an active and a passive site and we failover between them about every 3 months. The two sites have there own databases with unique sids. Because of this when we failover we have to go into every login and update the Service Name, Network Alias, and Host.
To get around having to update the host it was easy enough to create a DNS entry for the database servers and use a script to point to the correct servers.
The JDBC connection strings for Oracle logins specify an Oracle SID (jdbc:oracle:thin:@<Host>:<Port>:<Oracle Sid>).
What I would like to do is to be able to use the Oracle Service Names instead. (jdbc:oracle:thin:@//<Host>:<Port>:<Service Name>).
So the question is...Is there a way to switch the Oracle Logins to use the 2nd connection string instead of the first?
If it matters our Master is on UNIX and the agents are all on Windows.
Release: v9.0.1_28314_28331 Build: 28331
Workstation Java VM: Sun Microsystems Inc. 1.6.0_45
Server Java VM: IBM Corporation 1.6.0
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
Oracle JDBC driver 11.2.0.4.0
This is my first time posting here so please let me know if I left something out and thank you in advance for any help.