Veritas NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
nbdna — run the utility that analyzes the NetBackup domain and its configuration
SYNOPSIS
[-phase=<0|1|2>] [-verbose] [-sfo] [-server | -lookup] [-odir=override_output_directory] [-tmp=override_tmp_directory] [-dump] [-f=hostfile [-listonly [-discover]]] [-version] [-imfile=bpimmagelist.out]
On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/support
On Windows systems, the directory path to this command is install_path\NetBackup\bin\support
DESCRIPTION
The NetBackup Domain Network Analyzer (nbdna) command utility analyzes the NetBackup domain and its configuration for network issues, performance, and behavior. It addresses the host name lookup and connectivity between NetBackup hosts and their role within the NetBackup domain.
nbdna does the following:
Discovers and maps the NetBackup domain
Extracts the host name memberships by querying the configuration
Evaluates the host name lookup and the socket connectivity to these host names to validate their network relationship status according to their domain configuration
nbdna can be run on a NetBackup master server, media server, or client. It creates and identifies a compress archive that contains all generated reports. You can return the compress archive to Veritas upon request.
You must have administrator privileges to run this command.
Note:
In the NBAC environment, authenticate before you execute the nbdna command.
OPTIONS
- -discover
Performs host discovery on the NetBackup environment for the hosts in the host list that the -f option specifies.
Note:
This option does not discover any other hosts in the NetBackup environment, but limits its discovery to only the hosts in the host list that -f specifies.
-discover must be used with the -f option and the -listonly option.
- -dump
Does not run the test, but dumps server, client, and lookup test list to the specified file.
- -f=hostlist
Reads the host names from the specified ASCII text file and adds them to the test lists. The format of the text file is the following:
SERVER hostname CLIENT hostname-b LOOKUP hostname-c
Lines that begin with SERVER are imported to the server test list.
Lines that begin with CLIENT are imported to the client test list.
Lines that begin with LOOKUP are imported to the lookup-only test list.
- -imfile=bpimmage.out
Reads the host names from a file that contains the output from either the bpimagelist -l command or the bpimmedia -l command.
- -listonly
Runs the network tests only for the hosts in the host list that the -f option specifies. It does not search the NetBackup environment for other host names.
Note:
This option does not discover the location of these hosts, nor does it analyze the NetBackup configuration for other hosts. To discover the listed hosts, include the -discover option.
- -lookup
Runs the name lookup test only. This option cannot be run with the -server option.
- -odir=override_output_directory
Overrides the output directory with the specified directory.
The default directory is the following:
For UNIX: /usr/openv/netbackup/bin/support/output/nbdna/YYYYMMDD.HHMMSS/
For Windows: install_path\NetBackup\bin\support\output\nbdna\YYYYMMDD.HHMMSS
If the NetBackup path cannot be found, the default is changed to the same directory as the nbdna binary.
- -phase=pn
Specifies the number (pn) of the test phase to be run.
The possible values of pn are the following:
0 - Phase 0 runs the name lookup test and the socket connection test. Phase 0 is the default mode.
1 - Phase 1 tests include phase 0 tests plus the basic NetBackup service test for the SERVER list.
2 - Phase 2 tests include phase 0 tests plus the basic NetBackup service test for the SERVER list and the CLIENT list.
- -server
Runs the server test only. This option cannot be run with the -lookup option.
- -sfo
Produces script friendly reports.
- -tmp=override_tmp_directory
Overrides the temporary directory. The default condition is the system
temp
directory.- -verbose
Displays progress to the standard out (on-screen). The same information is captured to the progress-trace log regardless of this switch. You do not need to capture verbose output to a file.
- -version
Displays the version information then exits the utility.
FILES
nbdna creates up to five files:
ANONYMOUS.NBDNA.YYYYMMDD.HHMMSS.dna hostname.NBDNA.YYYYMMDD.HHMMSS.zip archive file hostname.NBDNA.failure-report.YYYYMMDD.HHMMSS.txt hostname.NBDNA.failure-report.YYYYMMDD.HHMMSS.html hostname.NBDNA.failure-errorlog.YYYYMMDD.HHMMSS.log.
The last three files that are listed are generated only if there are errors.
EXAMPLES
Example 1 - In this UNIX example, nbdna runs with report files written to an alternate directory:
# nbdna -odir=/user/home/winter/
Example 2 - Run nbdna with verbose output. It imports a host name list file (hostnames.txt
) and evaluates only those hosts:
# nbdna -verbose -f=hostnames.txt -listonly
The host name file format is as follows:
SERVER dellpe2400 CLIENT 10.12.249.20 LOOKUP 10.82.108.136