serverPoolInfo—Redundant License Manager Pool Information
NOTE Since v9.2.0, the macro for obtaining redundant server pool information is SNTL_QUERY_SERVERPOOL_INFO_VERSION(v). Here, v represents the query version. Specify version under the double quotes, such as "1.0". The earlier macro SNTL_QUERY_SERVERPOOL_INFO is deprecated hereafter.
Query
<?xml version="1.0" encoding="UTF-8"?>
<sentinelQuery query="serverPoolInfo" version="1.0"/>
Scope
<!-- empty scope as the License Manager is set using the SNTL_ATTR_APPCONTEXT_CONTACT_SERVER attribute -->
<?xml version="1.0" encoding="UTF-8"?>
<sentinelScope>
</sentinelScope>
Output
<?xml version="1.0" encoding="UTF-8"?>
<sentinelInfo>
<serverPool>
<server>
<type>LEADER</type>
<status>UP</status>
<hostName>REDUNDANT4</hostName>
<ipAddress></ipAddress>
</server>
<server>
<type>FOLLOWER</type>
<status>UP</status>
<hostName>REDUNDANT3</hostName>
<ipAddress></ipAddress>
</server>
<server>
<type>FOLLOWER</type>
<status>UP</status>
<hostName>REDUNDANT2</hostName>
<ipAddress></ipAddress>
</server>
<server>
<type>FOLLOWER</type>
<status>UP</status>
<hostName>REDUNDANT1</hostName>
<ipAddress></ipAddress>
</server>
</serverPool>
</sentinelInfo>
Element | Description |
---|---|
type |
The category of the License Manager. >LEADER for the License Manager currently having the highest priority among the other running License Managers. >FOLLOWER for the License Manager having lower priority than the Leader. |
status |
State of the License Manager. >UP for an active License Manager that can currently serve licenses. >DOWN for an inactive License Manager. |
hostName and ipAddress | Either the hostname or the IP address of the License Manager is shown. a |
a - At a time, both the fields do not contain values. Whenever, hostName is returned, the ipAddress field remains empty. Similarly, whenever ipAddress is returned, the hostName field remains empty.