Syntax
pmloadcheck -v -s|-p|-i [-e <interval>][-t <sec>] [-c|-f][-b][ -h <master>][-t <sec>] [-a][-r]
Description
The pmloadcheck daemon runs on Safeguard for Sudo policy servers. By default, every 60 minutes the daemon verifies the status of the configured policy servers. It controls load balancing and failover for connections made from the host to the configured policy servers, and on secondary servers, it sends license data to the primary server.
When the pmloadcheck daemon runs, it attempts to establish a connection with the policy servers to determine their current status. If pmloadcheck successfully establishes a session with a policy server, it is marked as online and is made available for normal client sessions. If pmloadcheck does not successfully establish a session with a policy server, it is marked as offline.
Information is gathered from a policy server each time a normal client session connects to the policy server. This information is used to determine which policy server to use the next time a session is requested. If an agent cannot establish a connection to a policy server because, for example, the policy server is offline, then this policy server is marked as offline and no more connections are submitted to this policy server until it is marked available again.
To check the current status of all configured policy servers, and display a brief summary of their status, run pmloadcheck with no options. Add the –f option to show full details of each policy server status.
Options
pmloadcheck has the following options.
Option | Description |
---|---|
-a |
Verifies the connection as if certificates were configured. |
-b |
Runs in batch mode. |
-c |
Displays output in CSV format. |
-e <interval> |
Sets the refresh interval (in minutes) to determine how often the pmloadcheck daemon checks the policy server status. Default = 60. |
-f |
Shows full details of the policy server status when verifying and displaying policy server status. |
-h <master> |
Selects a policy server to verify. |
-i |
Starts up the pmloadcheck daemon, or prompt an immediate recheck of the policy server status if it is already running. |
-P |
Sends SIGNUP to a running daemon. |
-p |
Pauses (sends SIGUSR1) to a running daemon. |
-r |
Reports last cached data for selected servers instead of connecting to each one. |
-s |
Stops the pmloadcheck daemon if it is running. |
-t <sec> |
Specifies a timeout (in seconds) to use for each connection. |
-v |
Displays the version string and exits. |