04-16-2019 11:38 AM
I am new to nbdeployutil but when I run a gather and report the spreadsheet only reports back the 3 media servers we have connected to the master even though I know that there are at least a dozen clients connected to the master. Any idea on how to get a complete list for our capacity report?
sudo /usr/openv/netbackup/bin/admincmd/nbdeployutil --gather
NetBackup Deployment Utility, version 7.5.0.6
Gathering license deployment information...
Discovered master server backups-64000.region4.widgets.com
Output for backups-64000.region4.widgets.com at: /usr/openv/var/global/reports/20190416_105010_backups-64000.region4.widgets.com
Gather DONE
Execution time: 16 secs
sudo /usr/openv/netbackup/bin/admincmd/nbdeployutil --report --capacity /usr/openv/var/global/reports/20190416_105010_backups-64000.region4.widgets.com
NetBackup Deployment Utility, version 7.5.0.6
Analyzing license deployment ...
Master backups-64000.region4.widgets.com
Report created at: /usr/openv/var/global/reports/20190416_105010_backups-64000.region4.widgets.com/report-capacity-backups-64000.region4.widgets.com-20190416_105101.xls
Analysis DONE
Execution time: 26 secs
Capacity by Policy Type
Policy TypeTotal (TB)Client OccurencesLargest 10 Clients
Standard0.003backups-prod-media-region4-64002.region4.widgets.com, backups-prod-media-region4-64001.region4.widgets.com, backups-prod-media-region4-64003.region4.widgets.com
Total0.003
04-16-2019 12:30 PM - edited 04-16-2019 12:32 PM
Hi @mfalge
Can you check these articles? Another question, what is your licence model? Traditional Licensing or Capacity Licensing? Depending on your lincence type there are these options:
--gather
Collects data for analysis with the report option. If the capacity or traditional parameter is used, only data for that specific license model is collected. If neither capacity nor traditional is specified, gather collects data for both license models.
--report
Produces a license report based on the data that is collected with the gather option. Specify the directory or list of directories for the utility to use for the report. You must use either the capacity or the traditional parameter when using the --report operation.
--capacity
Specifies the license model when used with gather or report. Use capacity to report on deployment according to NetBackup's per terabyte capacity licensing model.
--traditional
Used with gather or report to specify the license model. Use --traditional to report on deployment according to NetBackup traditional per server licensing model. The default value is 2160 hours (90 days)
https://www.veritas.com/content/support/en_US/doc/24437881-131832103-0/v120721250-131832103
https://www.veritas.com/support/en_US/article.100015794
Hope this help
Thiago
04-16-2019 01:38 PM
Hi Thiago,
Thanks for your reply. We are using Capacity licensing and just to test I added --capacity to the --gather and tried again but with the same results. I've added the commands, output and summary page of the report.xls.
When I run the following command, I see about a dozen clients.
sudo /usr/openv/netbackup/bin/admincmd/bppllist -l -allpolicies | grep CLIENT | awk '{print $2}' | sort -u >/tmp/list
Anything else I can try? Is the master miconfigured?
sudo /usr/openv/netbackup/bin/admincmd/nbdeployutil --gather --capacity
NetBackup Deployment Utility, version 7.5.0.6
Gathering license deployment information...
Discovered master server backups-64000.region.widgets.com
Output for backups-64000.region.widgets.com at: /usr/openv/var/global/reports/20190416_131814_backups-64000.region.widgets.com
Gather DONE
Execution time: 2 secs
To create a report for this master server, run the following:
nbdeployutil --report --capacity /usr/openv/var/global/reports/20190416_131814_backups-64000.region.widgets.com
sudo /usr/openv/netbackup/bin/admincmd/nbdeployutil --report --capacity /usr/openv/var/global/reports/20190416_131814_backups-64000.region.widgets.com
NetBackup Deployment Utility, version 7.5.0.6
Analyzing license deployment ...
Master backups-64000.region.widgets.com
Report created at: /usr/openv/var/global/reports/20190416_131814_backups-64000.region.widgets.com/report-capacity-backups-64000.region.widgets.com-20190416_131841.xls
Analysis DONE
Execution time: 26 secs
Capacity Licensing Report | ||||||||
NetBackup Deployment Utility | VERSION 7.5.0.6 | |||||||
Runtime Duration | 26 secs | |||||||
Day Boundary | 00:00 | |||||||
Compression Ratio: | 1.40 | The compression ratio is the percentage by which the size of compressed backups are increased. | ||||||
Analyzed: | ||||||||
Master Server | Start Date | End Date | Number of Days | Total Clients | Total Policies | Unused Clients | Gather Version | Input Directory |
backups-64000.region.widgets.com | 3/17/19 | 4/16/19 | 30 | 4 | 1 | 1 | 7.5.0.6 | /cat-backup/openv/var/global/reports/20190416_131814_backups-64000.region.widgets.com |
Total | 4 | 1 | 1 | |||||
Capacity Totals (TB) | Platform Base (TB) | Add-on's to Platform Base (TB) | ||||||
Master Server | Calculated | Charged | Deduplication Add-on | ReplicationDirector Add-on | ||||
backups-64000.region.widgets.com | 0.00 | 0.00 | 0.00 | 0.00 | ||||
Total | 0.00 | 0.00 | 0.00 | 0.00 | ||||
Capacity by Policy Type | ||||||||
Policy Type | Total (TB) | Client Occurences | Largest 10 Clients | |||||
Standard | 0.00 | 3 | backups-prod-media-region-64002.region.widgets.com, backups-prod-media-region-64001.region.widgets.com, backups-prod-media-region-64003.region.widgets.com | |||||
Total | 0.00 | 3 | ||||||
Flagged Capacity Figures (TB) | Confirmed (TB) | Database Estimation | Possible Overlap | Multistream Estimation | ||||
0.00 | 0.00 | 0.00 | 0.00 |
04-17-2019 12:18 AM
@mfalge bppllist will confirm that policies exist for the clients, not that successful backups exist.
Can you confirm that regular backups exist for all clients?
You need to check with bpimagelist (or Client Backup report in the GUI) to see if there are successful, unexpired backups in NBU catalog.
I am surprised that your report only checked last 30 days - the default is supposed to be 90 days.
If you can confirm that there are unexpired client backups, please try nbdeployutil with earlier startdate:
--start <MM/DD/YYYY hh:mm:ss>
nbdeployutil usage: https://www.veritas.com/content/support/en_US/doc/123533878-127136857-0/v123549289-127136857
You can also try to download a newer version of nbdeployutil over here:
https://www.veritas.com/content/support/en_US/article.100024025.html
04-17-2019 03:14 PM
Thank you, Marianne. I tried adding the --start to the command as below but it still only shows 30 days (it even updated the start date in the report to 3/18/19). Running bpimagelist seems to indicate plenty of backups, although I'm not sure how to parse the date to see how far back they go.
sudo /usr/openv/netbackup/bin/admincmd/bpimagelist -l
sudo /usr/openv/netbackup/bin/admincmd/nbdeployutil --gather --start="01/01/2019 12:00:00"
sudo /usr/openv/netbackup/bin/admincmd/nbdeployutil --help
Usage:
(Gather licensing information)
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]