Creating and viewing the licensing report
After using nbdeployutil to gather report data, use the --report - - traditional or - - capacity option to generate a licensing report in the form of a Microsoft Excel spreadsheet.
Use the utility to generate a report for any of the following:
A single master server.
Several master servers.
A specific subset of clients. For example, a report that contains capacity usage for business unit billing.
The - -gather --capacity command is run for master server cayce.rm.com:
C:\Program Files\Veritas\NetBackup\bin\admincmd>nbdeployutil.exe --gather --capacity NetBackup Deployment Utility, version 8.0Beta1 Gathering license deployment information... Discovered master server cayce.rm.com Output for master server at: C:\Program Files\Veritas\netbackup\var\global\reports\20160527_140620_cayce.rm.com Gather DONE Execution time: 2 secs
To create a capacity report based on the data gathered, the utility tells you what command you need to run:
To create a report for this master server, run the following:
nbdeployutil.exe --report --capacity
"C:\Program Files\Veritas\netbackup\var\global\reports\20160527_140620_cayce.rm.com"
C:\Program Files\Veritas\NetBackup\bin\admincmd>nbdeployutil.exe
--report --capacity
"C:\Program Files\Veritas\netbackup\var\global\report\20160527_140620_cayce.rm.com"
NetBackup Deployment Utility, version 8.0Beta1
Analyzing license deployment ...
Following directories were given, but do not exist:
C:\Program Files\Veritas\netbackup\var\global\report\20160527_140620_
cayce.rm.com
The utility generates a log file named nbdeployutil-report-timestamp.log during the analysis and the report generating operation. By default, the log file is created in the directory where the gathered data resides.
This example assumes that you have gathered the respective master server's data in directories master1dir, master2dir, master3dir. These directories all reside within a parent directory named EMEA-domains. The output (report and log file) is saved to the EMEA-domains directory.
# nbdeployutil --report --parentdir=EMEA-domains
This variation creates a report for a smaller set of master servers and specifies a different directory for the output.
# mkdir UK-masters # nbdeployutil --report EMEA-domains/master1dir EMEA-domains/master2dir --output=UK-masters
The utility can be used to examine a specific set of clients in detail.
Example: Gather data for a subset of clients for a time frame different than the default.
nbdeployutil.exe --gather --output BusinessUnitFinance --start "11/01/10 06:00:00" --end "11/02/10 01:00:00" --clients marybl2g1,marybl7g1 --verbose
To create a report for these clients, run the following:
nbdeployutil.exe --report "BusinessUnitFinance\20101102_155246_marybl2g1"