Getting Started with WebLogic Server: Basics on Setting Up Clusters and DNS Names
(Doc ID 1575360.1)
Last updated on OCTOBER 09, 2018
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?"
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document