5.0

Table Of Contents
20 vFabric Platform
20 vFabric Licensing
For example, to display event log information in readable fashion for a vFabric RabbitMQ component in which the events
file is in its default location, run the following (Linux):
prompt$ cd /opt/vfabric/utils/vfabric-vfchksn-1.0.1
prompt$ vfabric-licensetool printevents -f /opt/vmware/vFabric/vf.rmq-events.txt
In the preceding example, it is implied that you unzipped the ZIP file into the /opt/vfabric/utils directory.
You should see output similar to the following:
2011-11-28T11:16:40 [INFO] The license client's event manager has started.
2011-11-28T11:16:40 [INFO] A local license has been activated with serial number = AB123-AB123-AB123-AB123-AB123, total available = 65535,
expiration type = floating-eval, expiration date = unset, allowed components = vf.rmq-2.
2011-11-28T11:16:40 [INFO] A local license has been activated with serial number = DC456-DC456-DC456-DC456-DC456, total available = 60,
expiration type = floating-eval, expiration date = unset,
allowed components = vf.ins-2+vf.ins-1+vf.tc-3+vf.gf.acn-7+vf.hyp-5+vf.emj-2+vf.rmq-2+vf.hyp-4+vf.ws-5+vf.emj-1+vf.ws-6+vf.sf-2+vf.sf-1+vf.tc-2+vf.gf.acn-6+vf.rmq-3.
2011-11-28T11:16:40 [INFO] Component Instance "self" changed state to "on" at 2011-11-28T11:16:40.
2011-11-28T11:16:40 [INFO] Calculated new state for license with total available units = 65535, license type = local,
expiration date = 2011-12-28T11:16:40, enforcement = soft, addons = <empty> It now has a total used count of 1.
2011-11-28T11:16:40 [INFO] Component Instance "self" changed state to "off" at 2011-11-28T11:16:40.
2011-11-28T11:16:40 [INFO] Calculated new state for license with total availableunits = 65535, license type = local,
expiration date = 2011-12-28T11:16:40, enforcement = soft, addons = <empty>. It now has a total used count of 0.
You can also specify the -o output-file option to print the results to a file called output-file rather than to the
standard output. For example, to write the output to a file called events-output.txt:
prompt$ vfabric-licensetool printevents -f /opt/vmware/vFabric/vf.rmq-events.txt -o events-output.txt
License Usage Reporting
The vCenter License Reporting Manager displays the capacity of your vFabric Platform license, although it does not keep track
of the number of licenses currently assigned. To get the usage summary (both current and periodic) from the vFabric License
Server, you run Windows commands.
For details about how to monitor vFabric license usage, see Monitor vFabric License Usage.