Caché System Administration Guide - InterSystems Documentation
Caché System Administration Guide - InterSystems Documentation
Caché System Administration Guide - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.3.2 Methods to Show License Server Information<br />
The following subroutines dump the contents of license tables maintained by the license server. The<br />
output files are in the indicated directory on the host where the active license server is running.<br />
$<strong>System</strong>.License.ShowSummary displays a summary of license information at the license server.<br />
The Distributed license use section presents a collective view of license use for all <strong>Caché</strong><br />
instances currently supported by the license server. The Local license use section presents a<br />
view of license use for the single <strong>Caché</strong> instance in which the program is run:<br />
Do $<strong>System</strong>.License.ShowSummary()<br />
$<strong>System</strong>.License.DumpServer dumps the license server database information relating to the server<br />
from which you run this routine to the file, dumpserver.txt, on the host running the license server:<br />
Do $<strong>System</strong>.License.DumpServer()<br />
$<strong>System</strong>.License.DumpServers dumps the license server database information for all known servers<br />
to the file, dumpservers.txt, on the host running the license server:<br />
Do $<strong>System</strong>.License.DumpServers()<br />
$<strong>System</strong>.License.DumpKey dumps the key used by this instance and instances that share it to the<br />
file, dumpkey.txt, on the host running the license server:<br />
Do $<strong>System</strong>.License.DumpKey()<br />
$<strong>System</strong>.License.DumpKeys dumps all keys, showing the instances and clients using them to the<br />
file, dumpkeys.txt, on the host running the license server:<br />
Do $<strong>System</strong>.License.DumpKeys()<br />
Determining License Capacity and Usage<br />
Note:<br />
Be aware that the information displayed by the local license methods is more up-to-date than<br />
the information shown by the license server methods; the license server is only updated<br />
periodically, while the local data is real time.<br />
It is possible to exceed the license limit temporarily because login is controlled locally, but the license<br />
server enforces the limit. Each instance permits or denies logins based on its local license table which<br />
is maintained in instance shared memory. Each instance sends periodic updates to the license server<br />
describing changes to the local license tables. If the combined license use of all instances exceeds the<br />
limit, the license server sends a negative acknowledgement to update messages from each instance.<br />
This negative acknowledgement causes each instance to refuse new logins because no additional license<br />
units are available. A login is considered new when the license user ID of the <strong>Caché</strong> process attempting<br />
to start does not match the license user ID of any current process. This state persists until the combined<br />
use by all instances falls below the authorized limit, at which point the license server begins sending<br />
<strong>Caché</strong> <strong>System</strong> <strong>Administration</strong> <strong>Guide</strong> 59