Getting Started with WebLogic Server: Basics on Setting Up Clusters and DNS Names
(Doc ID 1575360.1)
Last updated on NOVEMBER 15, 2023
Applies to:
Oracle WebLogic Server - Version 10.3 and laterInformation in this document applies to any platform.
Goal
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 port1
- Server1, JVM02, Port port2
- Server2, JVM03, Port port3
- Server2, JVM04, Port port4
Adding Server1 and Server2 to a DNS name gives me mydnsname.domainname, 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:port1,Server1:port2,Server2:port3,Server3:port4" How would that work using DNS, or have I totally confused myself?"
Solution
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
Goal |
Solution |