Veritas NetBackup™ Administrator's Guide, Volume II
- NetBackup licensing models and the nbdeployutil utility
- Additional configuration
- About dynamic host name and IP addressing
- About busy file processing on UNIX clients
- About the Shared Storage Option
- About configuring the Shared Storage Option in NetBackup
- Viewing SSO summary reports
- About the vm.conf configuration file
- Holds Management
- Menu user interfaces on UNIX
- About the tpconfig device configuration utility
- About the NetBackup Disk Configuration Utility
- Reference topics
- Host name rules
- About reading backup images with nbtar or tar32.exe
- Factors that affect backup time
- NetBackup notify scripts
- Media and device management best practices
- About TapeAlert
- About tape drive cleaning
- How NetBackup reserves drives
- About SCSI persistent reserve
- About the SPC-2 SCSI reserve process
- About checking for data loss
- About checking for tape and driver configuration errors
- How NetBackup selects media
- About Tape I/O commands on UNIX
Generating licensing reports manually
Run the nbdeployutil utility to gather data for a local master server, a remote master server, or a subset of clients. nbdeployutil can be run manually to generate a report for either the capacity or the traditional reporting model.
The utility generates the report in multiple steps. Data is gathered in the first step, and then analyzed and presented. The utility is located in the following directory:
On Windows: Install_dir\NetBackup\bin\admincmd\
On UNIX: /usr/openv/netbackup/bin/admincmd/
Table: nbdeployutil options to gather, analyze, and prepare reports
Task Number | Description |
---|---|
Task 1 | The nbdeployutil utility uses the following options to gather data from one or more master servers. nbdeployutil --gather [--output=DIRECTORY] [--capacity | --traditional] [--hoursago=N] [--start="mm/dd/yyyy HH:MM:SS" [--end="mm/dd/yyyy HH:MM:SS"]] [--clientlist=FILENAME | --clients=HOSTNAME[,...]] [--master=HOSTNAME[,...]] [--log=FILENAME] [--runtimestats] [--nolog] [--bpimagelist=OPTIONS] [--use-bpflist] The nbdeployutil utility gathers data remotely for multiple master servers from a central location, provided the master servers have granted the initiating server access. The utility supports collecting data remotely from back-level master servers. Load the engineering binary that is associated with this utility onto all master servers for which you want to gather information. |
Task 2 | The nbdeployutil utility uses the following options to analyze the gathered data and prepare the report: nbdeployutil --report <--capacity | --traditional> <directory> ... [--dirlist=FILENAME | --parentdir=DIRECTORY] [--capacity] [--debug-inputs] [--log=FILENAME] [--clientlist=FILENAME | --clients=HOSTNAME[,...]] [--day-boundary=TIME] [--runtimestats] [--nolog] For a traditional report, run: nbdeployutil --report --traditional For a capacity report, run: nbdeployutil --report --capacity |
Task 3 | Examine the results and make adjustments. |
The performance of the nbdeployutil utility is dependent on the system running it as well as the size of the NetBackup catalog. The --gather command only executes as quickly as the bpimagelist command can run for 90 days' worth of images. The speed of report generation is dependent on the number of images and fragments. The operating system running the command also affects the utility's performance.
Depending on the environment, the nbdeployutil utility can take from several seconds to several minutes to run the --gather or the --report parameters.
Veritas posts the most recent information about the nbdeployutil utility on the following website:
http://www.veritas.com/docs/TECH145972
In this example, the nbdeployutil utility is used to gather information for the local master server. Use the --capacity or the --traditional option, depending on the type of report you want to generate
C:\Program Files\Veritas\NetBackup\bin\admincmd>nbdeployutil --gather NetBackup Deployment Utility, version 8.0Beta1 Gathering license deployment information... Discovered master server master.example.com Output for master.example.com at: C:\Program Files\Veritas\NetBackup\var\global\reports\ 20160525_151315_master.example.com Gather DONE Execution time: 9 secs To create a report for this master server, run one of the following: capacity : nbdeployutil.exe --report --capacity "C:\Program Files\Veritas\NetBackup\var\global\reports\ 20160525_151315_master.example.com" traditional: nbdeployutil.exe --report --traditional "C:\Program Files\Veritas\NetBackup\var\global\reports\ 20160525_151315_master.example.com"
The utility generates a log file named nbdeployutil-gather-timestamp.log
during the gathering operation. By default, the log file is created in the directory where the gathered data resides.
nbdeployutil --gather --master=sidon.example.com
nbdeployutil --gather --client=dynamo,lettuce,marble2
or
nbdeployutil --gather --clientlist=filename.txt
Note:
When the --clients or the --clientlist option is used, some media servers may show in the report as not connectable, even though the utility can connect to them. This message does not affect the summary information.