Veritas NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup (8.0)
  1. Introduction
    1.  
      About NetBackup commands
    2.  
      Navigating multiple menu levels
    3.  
      NetBackup command conventions
    4.  
      NetBackup Media Manager command notes
  2. Appendix A. NetBackup Commands
    1.  
      acsd
    2.  
      add_media_server_on_clients
    3.  
      backupdbtrace
    4.  
      backuptrace
    5.  
      bmrc
    6.  
      bmrconfig
    7.  
      bmrepadm
    8.  
      bmrprep
    9.  
      bmrs
    10.  
      bmrsrtadm
    11.  
      bp
    12.  
      bparchive
    13.  
      bpbackup
    14.  
      bpbackupdb
    15.  
      bpcatarc
    16.  
      bpcatlist
    17.  
      bpcatres
    18.  
      bpcatrm
    19.  
      bpcd
    20.  
      bpchangeprimary
    21.  
      bpclient
    22.  
      bpclimagelist
    23.  
      bpclntcmd
    24.  
      bpclusterutil
    25.  
      bpcompatd
    26.  
      bpconfig
    27.  
      bpdbjobs
    28.  
      bpdbm
    29.  
      bpdgclone
    30.  
      bpdown
    31.  
      bpduplicate
    32.  
      bperror
    33.  
      bpexpdate
    34.  
      bpfis
    35.  
      bpflist
    36.  
      bpgetconfig
    37.  
      bpgetdebuglog
    38.  
      bpimage
    39.  
      bpimagelist
    40.  
      bpimmedia
    41.  
      bpimport
    42.  
      bpinst
    43.  
      bpkeyfile
    44.  
      bpkeyutil
    45.  
      bplabel
    46.  
      bplist
    47.  
      bpmedia
    48.  
      bpmedialist
    49.  
      bpminlicense
    50.  
      bpnbat
    51.  
      bpnbaz
    52.  
      bppficorr
    53.  
      bpplcatdrinfo
    54.  
      bpplclients
    55.  
      bppldelete
    56.  
      bpplinclude
    57.  
      bpplinfo
    58.  
      bppllist
    59.  
      bpplsched
    60.  
      bpplschedrep
    61.  
      bppolicynew
    62.  
      bpps
    63.  
      bprd
    64.  
      bprecover
    65.  
      bprestore
    66.  
      bpretlevel
    67.  
      bpschedule
    68.  
      bpschedulerep
    69.  
      bpsetconfig
    70.  
      bpstsinfo
    71.  
      bpstuadd
    72.  
      bpstudel
    73.  
      bpstulist
    74.  
      bpsturep
    75.  
      bptestbpcd
    76.  
      bptestnetconn
    77.  
      bptpcinfo
    78.  
      bpup
    79.  
      bpverify
    80.  
      cat_convert
    81.  
      cat_export
    82.  
      cat_import
    83.  
      configurePorts
    84.  
      create_nbdb
    85.  
      csconfig
    86.  
      duplicatetrace
    87.  
      importtrace
    88.  
      jbpSA
    89.  
      jnbSA
    90.  
      ltid
    91.  
      mklogdir
    92.  
      nbauditreport
    93.  
      nbcatsync
    94.  
      NBCC
    95.  
      NBCCR
    96.  
      nbcertcmd
    97.  
      nbcertupdater
    98.  
      nbcomponentupdate
    99.  
      nbcplogs
    100.  
      nbdb_admin
    101.  
      nbdb_backup
    102.  
      nbdb_move
    103.  
      nbdb_ping
    104.  
      nbdb_restore
    105.  
      nbdb_unload
    106.  
      nbdbms_start_server
    107.  
      nbdbms_start_stop
    108.  
      nbdc
    109.  
      nbdecommission
    110.  
      nbdelete
    111.  
      nbdeployutil
    112.  
      nbdevconfig
    113.  
      nbdevquery
    114.  
      nbdiscover
    115.  
      nbdna
    116.  
      nbemm
    117.  
      nbemmcmd
    118.  
      nbexecute
    119.  
      nbfindfile
    120.  
      nbfirescan
    121.  
      nbftadm
    122.  
      nbftconfig
    123.  
      nbgetconfig
    124.  
      nbhba
    125.  
      nbholdutil
    126.  
      nbhypervtool
    127.  
      nbjm
    128.  
      nbkmsutil
    129.  
      nboraadm
    130.  
      nbpem
    131.  
      nbpemreq
    132.  
      nbperfchk
    133.  
      nbplupgrade
    134.  
      nbrb
    135.  
      nbrbutil
    136.  
      nbregopsc
    137.  
      nbreplicate
    138.  
      nbrestorevm
    139.  
      nbseccmd
    140.  
      nbsetconfig
    141.  
      nbsnapimport
    142.  
      nbsnapreplicate
    143.  
      nbsqladm
    144.  
      nbstl
    145.  
      nbstlutil
    146.  
      nbsu
    147.  
      nbsvrgrp
    148.  
      resilient_clients
    149.  
      restoretrace
    150.  
      stopltid
    151.  
      tl4d
    152.  
      tl8d
    153.  
      tl8cd
    154.  
      tldd
    155.  
      tldcd
    156.  
      tlhd
    157.  
      tlhcd
    158.  
      tlmd
    159.  
      tpautoconf
    160.  
      tpclean
    161.  
      tpconfig
    162.  
      tpext
    163.  
      tpreq
    164.  
      tpunmount
    165.  
      verifytrace
    166.  
      vltadm
    167.  
      vltcontainers
    168.  
      vlteject
    169.  
      vltinject
    170.  
      vltoffsitemedia
    171.  
      vltopmenu
    172.  
      vltrun
    173.  
      vmadd
    174.  
      vmchange
    175.  
      vmcheckxxx
    176.  
      vmd
    177.  
      vmdelete
    178.  
      vmoprcmd
    179.  
      vmphyinv
    180.  
      vmpool
    181.  
      vmquery
    182.  
      vmrule
    183.  
      vmupdate
    184.  
      vnetd
    185.  
      vxlogcfg
    186.  
      vxlogmgr
    187.  
      vxlogview
    188.  
      W2KOption

Name

nbdna — run the utility that analyzes the NetBackup domain and its configuration

SYNOPSIS

nbdna [-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

SEE ALSO

See nbsu .

See nbcplogs.