Last updated on AUGUST 12, 2013
Applies to:Oracle Weblogic Server - Version 10.3 and later
Information in this document applies to any platform.
A customer reports: "I'm confused about DNS names in a WebLogic environment.
For best results, we should use a load-balanced DNS name rather than specify each individual server name on a JNDI URL - it says that in various WLS documents.
So, in my environment, I have the following:
- Server1, JVM01, Port 7010
- Server1, JVM02, Port 7020
- Server2, JVM03, Port 7030
- Server2, JVM04, Port 7040
Adding Server1 and Server2 to a DNS name gives me www.mydnsname.com, and this will then load balance between Server1 and Server2 -- but I don't understand what happens to the port number in this configuration?
Using JNDI, I would have a URL of "Server1:7010,Server1:7020,Server2:7030,Server3:7040" How would that work using DNS, or have I totally confused myself?"
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms