5.2

Table Of Contents
Monitoring vFabric License Usage 45
45
The locations of the events files might differ for your particular vFabric component, depending on how exactly you installed
it.
For example, to display event log information in readable fashion for a vFabric tc Server component in which the events file
is in its default location, run the following (Linux):
prompt$ cd /opt/vfabric/utils/vfabric-vfchksn-1.2.0.6
prompt$ ./vfabric-licensetool printevents -f /opt/vmware/vfabric-tc-server-standard/myserver/logs/vf.tc-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:
2012-10-02T20:28:01 [INFO] The license client's event manager has started.
2012-10-02T20:28:03 [INFO] A local license has been activated with serial number = AB123-AB123-AB123-AB123-AB123, total available = 60,
expiration type = floating-eval, expiration date = unset, allowed components = oss.rmq-2+vf.ins-2+vf.ws-5+vf.tc-3+vf.sf-1+vf.hyp-4+vf.hyp-5+vf.emj-2+
vf.vpg-9.1+vf.rmq-3+vf.emj-1+oss.ws-2+vf.ws-6+oss.tc-7+vf.gf.acn-6+vf.ins-1+vf.tc-2+vf.gf.acn-7+oss.tc-6+vf.rmq-2.
2012-10-02T20:28:04 [INFO] Calculated new state for license with total available units = 60, license type = default, expiration date = permanent,
enforcement = soft, addons = <empty>. It now has a total used count of 0.
2012-10-02T20:28:05 [INFO] Component Instance "self" changed state to "on" at 2012-10-02T20:28:04.
2012-10-02T21:28:05 [INFO] Calculated new state for license with total available units = 60, license type = default, expiration date = 2012-12-01T20:28:05,
enforcement = soft, addons = <empty>. It now has a total used count of 1.
2012-10-02T22:28:06 [INFO] Calculated new state for license with total available units = 60, license type = default, expiration date = 2012-12-01T20:28:05,
enforcement = soft, addons = <empty>. It now has a total used count of 1.
2012-10-02T23:28:06 [INFO] Calculated new state for license with total available units = 60, license type = default, expiration date = 2012-12-01T20:28:05,
enforcement = soft, addons = <empty>. It now has a total used count of 1.
2012-10-03T00:28:07 [INFO] Calculated new state for license with total available units = 60, license type = default, expiration date = 2012-12-01T20:28:05,
enforcement = soft, addons = <empty>. It now has a total used count of 1.
...
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-out.txt:
prompt$ ./vfabric-licensetool printevents -f /opt/vmware/vfabric-tc-server-standard/myserver/logs/vf.tc-events.txt -o events-out.txt
vCenter License Reporting Manager
The vCenter License Reporting Manager displays the capacity of your vFabric Suite 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 or use a simple Web user interface.
For details about how to monitor vFabric license usage, see the preceding sections in this chapter, Monitoring vFabric License
Usage.