Web Logic Server Question:
Tell me how does a server find out server unavailability?
Answer:
The web-logic servers use two different mechanisms to find out the unavailability of the servers. The servers that are unavailable won’t be having any use and it is a good practice to find out and neglect them. These mechanisms are as follows:
1. Weblogic server instance gets stored in a cluster and uses multicast to broadcast the messages over the server and send a message to the main server for its availability. The main server monitors the messages of the server instances if any of the servers fails to respond.
2. Weblogic server monitors the errors that is corresponding to the socket on which the server is communicating and try to determine the availability from there. If the socket is open then the server sends the message to the main server and the communication happens. If there is no message and the socket gets closed unexpectedly then the server is assumed to be offline.
1. Weblogic server instance gets stored in a cluster and uses multicast to broadcast the messages over the server and send a message to the main server for its availability. The main server monitors the messages of the server instances if any of the servers fails to respond.
2. Weblogic server monitors the errors that is corresponding to the socket on which the server is communicating and try to determine the availability from there. If the socket is open then the server sends the message to the main server and the communication happens. If there is no message and the socket gets closed unexpectedly then the server is assumed to be offline.
Previous Question | Next Question |
Tell me what can happen when stub can’t to connect to web-logic server instances? | Can you explain what are the ways in which the DNS request of failed servers handled? |