How to gather NetBackup client versions and operating system details for a large number of clients


How to gather NetBackup client version and operating system detail for a large number of clients.


It may be necessary to gather the NetBackup and OS versions for a lot of clients in a NetBackup environment. This process can be automated by using the following commands on a Unix/Linux system:

1.  The following command generates a text file that will list all the clients from the NetBackup policies:

/usr/openv/netbackup/bin/admincmd/bpplclients -allunique -noheader > /tmp/hosts.out

2.  Use the next command to create a text file that will contain the NetBackup and OS version of the clients listed in the hosts.out file above.

/usr/openv/netbackup/bin/goodies/check_coverage -hardware -hosts /tmp/hosts.out

# cd /usr/openv/netbackup/bin/goodies
# ./check_coverage -hardware -hosts /tmp/hosts.out

Generating Hosts Report
Completed report for hosts
The Hardware/OS Report can be found in /tmp/hardware_rpt.04-12@13:56

#cat /tmp/hardware_rpt.04-12@13:56

                      Policy Hardware/OS Report

      Key:  *         - Policy is not active
            CLIENT    - hostname (uname information)
            VERSION   - NetBackup version running on the client

CLIENT: (Service Pack 2/WindowsXP 5.1 build 2600)
VERSION: 6.5.4

 Policy Name         Hardware/OS
 -----------         -----------
 *E_drive            PC/WindowsXP
 *disk_test          PC/WindowsXP
  test_laptop        PC/WindowsXP

From the check_coverage hardware report for the client,, is running Netbackup version 6.5.4 and the Operating system Windows XP SP2. 

For a Windows platform, the check_coverage report does not offer the same options, so cannot be used.

Attached to this technote is a new script file - check_client_version.cmd

This can be used to produce an equivalent list of client on a Windows platform.   Simply run this script on it's own.  It outputs to the screen, but also creates an output file in the users temp directory (%temp%) called CCV.<username>.out 

Where <username> is the name of the logged on user.

Save the attached file to the <installdir>\NetBackup\bin\goodies directory and run it from there.

The script contains a timeout variable, CONNECT_TIMEOUT that can be adjusted if you see a lot of failed connection attempts, the default timeout is 10 seconds, which should be sufficient for most environments.

Script usage:


Terms of use for this information are found in Legal Notices.



Did this article answer your question or resolve your issue?


Did this article save you the trouble of contacting technical support?


How can we make this article more helpful?

Email Address (Optional)