Zero (0) values are reported in Capacity Licensing report for Netbackup master server when executed from OpsCenter server.

Zero (0) values are reported in Capacity Licensing report for Netbackup master server when executed from OpsCenter server.

Article: 100015794
Last Published: 2015-07-30
Ratings: 0 0
Product(s): NetBackup

Problem

Capacity Licensing report for Netbackup master server when executed from OpsCenter server came back with all 0 values.

Sample of the NetBackup master server Capacity Licensing report below, which shows 0 values were reported:

Capacity Licensing Report                            
NetBackup Deployment Utility    VERSION 7.6.0.4_14.1024                        
Runtime Duration    1 sec                        
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
nbmaster    UNKNOWN    UNKNOWN    0    0    0    0    7.6.0.4_14.1024
Total                0    0    0    
                            
Capacity Totals (TB)    Platform Base (TB)                        
Master Server    Calculated    Charged                    
nbmaster    0.00    0.00                    
Total    0.00    0.00                    
                            
Capacity by Policy Type                            
Policy Type    Total (TB)        Client Occurences    Largest 10 Clients            
Total    0.00        0                
                            
    Flagged Capacity Figures (TB)                        
Master Server    Confirmed (TB)    Database Estimation    Possible Overlap    Multistream Estimation            
nbmaster    0.00    0.00    0.00    0.00            
Total    0.00    0.00    0.00    0.00

Error Message

There are permission error messages captured in the OpsCenter nbdeployutil-gather-capacity logs, when "nbdeployutil" command was initiated by OpsCenter server, and was run on the NetBackup master server. 

The nbdeployutil-gather-capacity logs will have file name as "nbdeployutil-gather-capacity-YYYYMMDD_hhmmss.log", and are in %INSTALL_PATH%\Symantec\OpsCenter\Server\fsdb\fetb\data directory.

Snippets of permission error messages logged in nbdeployutil-gather-capacity log below:

Jun 30 09:42:53 +0800 (debug: subprocess_deep) stderr: bpauthorize: terminating - cannot open debug file: Permission denied (13)
Jun 30 09:42:53 +0800 (debug: subprocess_deep) stderr: file open failed

Jun 30 09:42:53 +0800 (status ) run: bpimagelist -M nbmaster -hoursago 2160 -json_compact
Jun 30 09:42:53 +0800 (warn ) `bpimagelist` status 255, stderr: bpimagelist: terminating - cannot open debug file: Permission denied (13)

Jun 30 09:42:53 +0800 (status ) run: bppllist -M nbmaster -json_compact
Jun 30 09:42:53 +0800 (warn ) `bppllist` status 255, stderr: bppllist: terminating - cannot open debug file: Permission denied (13)

Cause

Issue is caused by User Access Control (UAC), which was enabled on the Netbackup master server. Domain Admin login account credentials were used as the NetBackup User Name and Password for configuring NetBackup Capacity License Data under OpsCenter Agent details.

Note:  This issue only affects Windows platforms.

Solution

With User Access Control (UAC) enabled, "nbdeployutil" command can be run successfully on the affected NetBackup master server "nbmaster" at a Windows command prompt with "Run As Administrator" privilege.  However, such a command will fail if not running under Windows command prompt with local Administrator privilege.  This confirmed the effect of UAC on "nbdeployutil" command running at nbmaster.


Workaround Solution:

Option 1:  Enable UAC at the NetBackup master server -
Use local "Administrator" credentials for NetBackup master server User Name and Password in OpsCenter Capacity License Data for NetBackup master server configuration.  "nbdeployutil" command will still fail for any other users, even they are a member of Administrators group, when this command is not running in a Windows command prompt with "Run As Administrator" privilege.  The failure of running "nbdeployutil" command, is caused by the effect of UAC applied on those Administrators group users, other than the local "Administrator".

Option 2 : Enable UAC at the NetBackup master server -
If a Domain Admin login credentials is used for NetBackup User Name and Password in OpsCenter Capacity License Data for NetBackup master server configuration under OpsCenter Agent details, "nbdeployutil.exe" command is required to be configured with UAC permissions on NetBackup master server.  It is recommended to engage Microsoft if necessary as changes in UAC permissions may affect the level of security on the NetBackup server.

Option 3: Disable UAC.
Do not configure UAC on NetBackup master server.

Was this content helpful?