Veritas NetBackup™ Administrator's Guide, Volume II
- NetBackup licensing models and usage reporting
- About NetBackup licensing models
- Tools for creating and viewing licensing reports
- Setting the licensing type for scheduled reports
- How capacity licensing works
- How NEVC licensing works
- Scheduling reports for capacity licensing
- Scheduling reports for traditional licensing
- Scheduling reports for NetBackup Enterprise Virtual Client (NEVC) licensing
- Other configuration for incremental reporting
- Troubleshooting failures for usage reporting and incremental reporting
- Manually generating licensing reports
- Creating and viewing the licensing report
- Reviewing a capacity licensing report
- Summary tab
- Client aliases and multiple IP addresses
- Itemization tab
- Clients backed up with multiple streams
- Data backed up by multiple policies
- BigData plug-ins for NetBackup
- NetBackup for Exchange agent
- NetBackup for NDMP agent
- NetBackup for Oracle server agent
- NetBackup for SQL Server agent
- NetBackup for VMware agent
- NetBackup for Hyper-V agent
- NetBackup for RHV agent
- NetBackup for Nutanix-AHV agent
- NAS-Data-Protection policy
- Cloud policy
- NetBackup for Kubernetes
- Windows file system backups
- UNIX file system backups
- Reconciling the capacity licensing report results
- Reviewing a traditional licensing report
- Reviewing an NEVC licensing report
- Using the NetBackup Storage API to get the total backup size information
- Additional configuration
- About multiple NetBackup master servers
- About multiple media servers with one master server
- About direct I/O for backups on Windows
- About dynamic host name and IP addressing
- About busy file processing on UNIX clients
- About specifying the locale of the NetBackup installation
- About the Shared Storage Option
- About Shared Storage Option components
- DELETE About reserving or releasing shared devices
- How to share robotic libraries without using the Shared Storage Option
- Shared Storage Option terms and concepts
- DELETE About the Shared Storage Option license
- About Shared Storage Option prerequisites
- About hardware configuration guidelines
- About installing and configuring drivers
- Verifying the connectivity
- DELETE About configuring the Shared Storage Option in NetBackup
- Verifying your Shared Storage Option configuration
- Device Monitor and Shared Storage Option
- Viewing SSO summary reports
- Operating system assistance
- Common configuration issues with Shared Storage Option
- Frequently asked questions about Shared Storage Option
- About the vm.conf configuration file
- ACS_mediatype entry in vm.conf
- ACS_SEL_SOCKET entry in vm.conf
- ACS_CSI_HOSTPORT entry in vm.conf (on UNIX)
- ACS_SSI_HOSTNAME entry in vm.conf
- ACS_SSI_INET_PORT entry in vm.conf (on UNIX)
- ACS_SSI_SOCKET entry in vm.conf
- ACS_TCP_RPCSERVICE / ACS_UDP_RPCSERVICE entry in vm.conf (on UNIX)
- ADJ_LSM entry in vm.conf
- API_BARCODE_RULES entry in vm.conf
- AUTHORIZATION_REQUIRED entry in vm.conf in NetBackup versions 8.0 and earlier
- AUTO_PATH_CORRECTION entry in vm.conf
- AUTO_UPDATE_ROBOT entry in vm.conf
- AVRD_PEND_DELAY entry in vm.conf
- AVRD_SCAN_DELAY entry in vm.conf
- CLEAN_REQUEST_TIMEOUT entry in vm.conf
- CLIENT_PORT_WINDOW entry in vm.conf
- CLUSTER_NAME entry in vm.conf
- DAYS_TO_KEEP_LOGS entry in vm.conf
- EMM_RETRY_COUNT entry in vm.conf
- EMM_CONNECT_TIMOUT entry in vm.conf
- EMM_REQUEST_TIMOUT entry in vm.conf
- ENABLE_ROBOT_AUTH entry in vm.conf
- INVENTORY_FILTER entry in vm.conf
- MAP_ID entry in vm.conf
- MAP_CONTINUE_TIMEOUT entry in vm.conf
- MEDIA_ID_BARCODE_CHARS entry in vm.conf
- MEDIA_ID_PREFIX entry in vm.conf
- MM_SERVER_NAME entry in vm.conf
- PREFERRED_GROUP entry in vm.conf
- RANDOM_PORTS entry in vm.conf
- REQUIRED_INTERFACE entry in vm.conf
- SERVER entry in vm.conf in NetBackup versions 8.0 and earlier
- SSO_DA_REREGISTER_INTERVAL entry in vm.conf
- SSO_DA_RETRY_TIMEOUT entry in vm.conf
- SSO_HOST_NAME entry in vm.conf
- VERBOSE entry in vm.conf
- Example vm.conf file
- How to access media and devices on other hosts
- Host name precedence in the vm.conf file
- Holds Management
- Menu user interfaces on UNIX
- About menu user interfaces
- About the tpconfig device configuration utility
- About the tpconfig utility menu
- Starting the tpconfig device configuration utility
- Adding robots
- Adding drives
- Updating a robot configuration
- Updating a drive configuration
- Deleting a robot
- Deleting a drive
- Configuring drive paths
- Configuring host credentials
- Displaying and writing the device configuration
- 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
- Methods for determining the NetBackup transfer rate
- NetBackup notify scripts
- backup_notify script
- backup_exit_notify script
- bpstart_notify script (UNIX clients)
- bpstart_notify.bat script (Windows clients)
- bpend_notify script (UNIX clients)
- bpend_notify.bat script (Windows clients)
- bpend_notify_busy script (UNIX clients)
- child_end_deployment_notify
- child_start_deployment_notify
- diskfull_notify script
- drive_mount_notify script (on UNIX)
- drive_unmount_notify script (on UNIX)
- mail_dr_info script
- media_deassign_notify script
- nbmail.cmd script (on Windows)
- parent_end_deployment_notify
- parent_end_notify script
- parent_start_deployment_notify
- parent_start_notify script
- pending_request_notify script
- restore_notify script
- session_notify script
- session_start_notify script
- shared_drive_notify script
- userreq_notify script
- Media and device management best practices
- About TapeAlert
- About tape drive cleaning
- How NetBackup selects drives
- How NetBackup reserves drives
- About SCSI persistent reserve
- About the SPC-2 SCSI reserve process
- About SCSI reserve requirements
- About SCSI reserve limitations
- About SCSI reservation logging
- About SCSI reserve operating system limitations on Windows
- About checking for data loss
- About checking for tape and driver configuration errors
- About configuring SCSI reserve
- How NetBackup selects media
- Volume pool and volume group examples
- Media formats
- Media and device management processes
- About Tape I/O commands on UNIX
- Index
Manually generating licensing reports
You can manually generate reports for either the capacity or the traditional reporting model. The tool is located in the following directory:
On Windows: install_path\NetBackup\bin\admincmd\
On UNIX: /usr/openv/netbackup/bin/admincmd/
You cannot manually generate the NetBackup Enterprise Virtual Client Edition (NEVC) licensing report.
It is recommended to run the netbackup_deployment_insights, command. You can continue using the nbdeployutil command with the same options.
If you use capacity-based licensing, run the following commands:
netbackup_deployment_insights
For gather: netbackup_deployment_insights --gather --capacity
For reports: netbackup_deployment_insights --report --capacity
If you use traditional based licensing, run the following commands:
netbackup_deployment_insights
For gather: netbackup_deployment_insights --gather --traditional
For reports: netbackup_deployment_insights --report --traditional
The tool generates the report in multiple steps. Data is gathered in the first step, and then analyzed and presented.
Table: Steps to gather and report licensing information
Step | Action | Description |
|---|---|---|
Step 1 | Complete prerequisites. | If you want to gather data from one master for other remote master servers, ensure that you have granted the necessary access across all servers: See Requirements before gathering data for multiple master servers in capacity licensing. Multiple master servers are only supported in capacity licensing. For back-level master servers, load the engineering binary that is associated with netbackup_deployment_insights onto all master servers for which you want to gather information. |
Gather the backup size data | The tool uses the following options to gather data from one or more master servers. netbackup_deployment_insights --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]You can continue using the nbdeployutil command with the same options. | |
Step 2 | Analyze the data and prepare the report | The netbackup_deployment_insights commands uses the following options to analyze the gathered data and prepare the report: netbackup_deployment_insights --report
<--capacity | --traditional> <directory> ...
[--dirlist=FILENAME | --parentdir=DIRECTORY]
[--capacity] [--debug-inputs] [--log=FILENAME]
[--clientlist=FILENAME | --clients=HOSTNAME[,...]]
[--day-boundary=TIME] [--runtimestats] [--nolog]
[--overlap-details]
[--anonymize | --anonymize -anon-master=SOME_NAME]For a traditional report, run: netbackup_deployment_insights --report --traditional For a capacity report, run: netbackup_deployment_insights --report --capacity You can continue using the nbdeployutil command with the same options. Note: For NetBackup 8.0 and later, this step requires that you provide the web service credentials. |
Step 3 | Examine the report and make adjustments. |
On the master servers that have NetBackup 8.0 or later, when you manually run the tool for the gather operation in capacity licensing, you must enter the following credential information for authentication of the NetBackup web management service:
Table: Required credential information
Option | Description |
|---|---|
Domain Type | Enter a domain type value from NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap. This value is case-sensitive. |
Domain Name | Name of the domain that the master server host belongs to. If the master server does not belong to any domain, enter the name of the master server. |
User name | Name of the user that has administrator privileges. |
Password | Password of the same user that has administrator privileges. When you enter the password, characters are intentionally not displayed in the command line. |
Note:
In a multi-master server scenario, you must enter the credentials for all the master servers that are mentioned with the gather command.
The performance of the tool is dependent on the system running it as well as the size of the NetBackup catalog. The --gather option only executes as quickly as the bpimagelist command can run on 90 days 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 tool's performance.
Depending on the environment, the tool can take from several seconds to several minutes to run the --gather or the --report options.
If you use Flexible licensing, scanning a large number of clients increases the execution time of the usage reporting tool run accordingly. The clients that are scanned in the current run (for which the machine type is collected) are not scanned again in the subsequent runs. This reduces the execution time of netbackup_deployment_insights.
For capacity licensing reports for any agents that support the accurate licensing method, use the overlap option to detect any data that NetBackup protects with multiple policies. To enable overlap detection, run the netbackup_deployment_insights report with the --overlap-details option.
You can continue using the nbdeployutil command with the same options.
Table: Description of overlap detection option
Command line option | Description |
|---|---|
--overlap-details | This option searches for any duplicate backup selections in policies of the same type. The results are noted in the Duplicate Selections column of the report. Note: The backup selection data must contain only ASCII or English-only characters. This option displays the actual backup selection data in the report. |
If you used scripts to automate data gathering before NetBackup 8.0, these scripts must be updated when you upgrade. The data gathering process requires that you enter the credentials for the NetBackup web service.
In this example, the tool gathers information for the local master server.
C:\Program Files\Veritas\NetBackup\bin\ admincmd>netbackup_deployment_insights --gather NetBackup Deployment Insights, version 9.1 Gathering license deployment information... Discovered master server pnnbcsm5b38v002 Enter credentials for Master Server(s): Master Server:pnnbcsm5b38v002 Domain Type (NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap):WINDOWS Domain Name :pnnbcsm5b38v002 User Name :administrator Password : Data gather is in progress. This process might take some time. Output for pnnbcsm5b38v002 at: C:\Program Files\Veritas\netbackup\var\global\reports\ 20210319_020925_pnnbcsm5b38v002 Gather DONE Execution time: 1 min 30 secs To create a report for this master server, run one of the following: capacity : netbackup_deployment_insights.exe --report --capacity "C:\Program Files\Veritas\netbackup\var\global\reports\ 20210319_020925_pnnbcsm5b38v002" traditional: netbackup_deployment_insights.exe --report --traditional "C:\Program Files\Veritas\netbackup\var\global\reports\ 20210319_020925_pnnbcsm5b38v002"
You can continue using the nbdeployutil command with the same options.
The tool 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.
netbackup_deployment_insights --gather --master=sidon.example.com
netbackup_deployment_insights --gather --client=dynamo,lettuce,marble2
or
netbackup_deployment_insights --gather --clientlist=filename.txt