Signaling mechanism in a server group
BMC Remedy AR System servers use Java Messaging Service (JMS) or Remote method invocation (RMI) mechanism to communicate with other servers in the group. Servers determine the active status of all other servers in the server group by using the Heartbeat mechanism.
When a server needs to communicate with the other servers in the group to process a request, the following actions occur:
- Sever sends JMS to the coordinator server for the specific request.
- The coordinator server fetches information from the ranking form about the servers that need to be notified.
- The coordinator server sends JMS message to notify the servers to process the request.
This type of communication is used in operations such as Full Text Search (FTS), application pending messages (for example, Approval, Atrium Integrator).
For more information on the AR System Server Group Operation Ranking form, see Setting failover rankings for servers and operations.
Example of approval assignment using JMS
Example of FTS assignment using JMS
JMS messages are also used to notify servers when a user logs out, releasing a fixed or floating license on a server in the server group. Set the Suppress-Logoff-Signals parameter in Centralized Configuration to False. This ensures that when a user logs off from a server in a server group, other servers are notified about it, and the license is released back to the license pool.
If Suppress-Logoff-Signals is not added to Centralized configuration, add it manually.
Set Suppress-Logoff-Signals to True for systems where users cannot be logged on to additional servers with the same user session through a load balancer.
Remote Method Invocation
Java server uses Ehcache to hold metadata object cache in memory. For a server group, only the server designated as an administrator server is allowed to modify the metadata. When metadata is modified in the administrator server, Ehcache is updated. Ehcache is configured to communicate these changes to other servers in a server group by means of RMI calls so that the other servers also update their in-memory metadata cache.
The heartbeat mechanism enables a server to determine the active status of all other servers in a server group. Each server in the group updates the servgrp_board table in the database to notify its availability. Heartbeat mechanism is also used during the startup of the server or when a new server is added to the server group.
For more information on servgrp_board table, see Table support for server group tables.