-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy on multiple Managed Servers #368
Comments
The REST port only needs to be specified if it is different from the port on which you are contacting the exporter. Under most conditions, it would be the same, so you don't need to specify it. The most common in which it is not the same is when you have a load balancer in the middle, which will redirect requests to different ports that the one on the load balancer. |
@russgold I already understood that at this point. However, we use the administration port in our Weblgic domain. This means that we have the following structure as an example:
The application is accessible under the 10001 port. However, the rest of the API is under 30001. |
Hello @russgold, |
@augeivv That sounds as though it would need an enhancement to the syntax. Do you have some ideas on what would work? A single configuration would need some way to tell which port is used where. Do you have an Oracle support person who could look at your application? I don't understand why each server would need its own port numbers. |
@russgold This is available in the ServerRuntime under 'getAdministrationURL()'. When the administration port is activated, the operation returns the URL that the server and its clients use for administrative connections. To the second question: Furthermore, what exactly do you mean by "your application"? |
I meant, how you have set up your servers so that each one needs its own port numbers. My understanding was that one usually used the same port numbers on different servers. |
Multiple weblogic server instances can also be run on the same server. Nowhere is it defined that each instance must be run on different servers. In the domain, a separate listen port can be set for each weblogic instance. |
I think the moitoring exporter is great. However, we have a fundamental problem.
However, we would like to deploy it in a classic weblogic domain in which the administration port is activated.
According to the documentation, the REST port must then be specified.
The whole thing also works for a single managed server.
However, if I want to deploy the whole thing on all managed servers, the administration port differs per server.
This means that I would have to adjust the configuration several times per server and then also deploy the application several times.
Is there an easier way to do this, where the port can be determined dynamically or something like that?
Thank you very much
The text was updated successfully, but these errors were encountered: