Obtaining the Redundant License Manager Pool Information

Declare Variables/Constants

String CONTACT_SERVER = "localhost";
Attribute attrAppContext = null;
ApplicationContext appContext = null;

API Calls

To obtain the redundant License Manager pool information, execute the APIs in the specified sequential order only:

>attrAppContext = new Attribute();


>appContext = new ApplicationContext(attrAppContext);

>String serverPoolInfo = appContext.getInfo(LicensingConstants.SNTL_QUERY_SCOPE_NONE, LicensingConstants. SNTL_QUERY_SERVERPOOL_INFO_VERSION("1.0")) ;

If the appContext.getInfo call is successful, the serverPoolInfo string contains an XML-based output having the detailed information.

NOTE   In the use case described above, you need to change the CONTACT_SERVER constant to the IP address or hostname of the system hosting the Sentinel RMS License Manager. For example, String CONTACT_SERVER " =";