Veritas NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup (8.2)
  1. Introduction
    1.  
      About NetBackup commands
    2.  
      Navigating multiple menu levels
    3.  
      NetBackup command conventions
    4.  
      NetBackup Media Manager command notes
    5.  
      IPV6 updates
  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.  
      bpplschedwin
    62.  
      bppolicynew
    63.  
      bpps
    64.  
      bprd
    65.  
      bprecover
    66.  
      bprestore
    67.  
      bpretlevel
    68.  
      bpschedule
    69.  
      bpschedulerep
    70.  
      bpsetconfig
    71.  
      bpstsinfo
    72.  
      bpstuadd
    73.  
      bpstudel
    74.  
      bpstulist
    75.  
      bpsturep
    76.  
      bptestbpcd
    77.  
      bptestnetconn
    78.  
      bptpcinfo
    79.  
      bpup
    80.  
      bpverify
    81.  
      cat_convert
    82.  
      cat_export
    83.  
      cat_import
    84.  
      configureCertsForPlugins
    85.  
      configureMQ
    86.  
      configurePorts
    87.  
      configureWebServerCerts
    88.  
      create_nbdb
    89.  
      csconfig cldinstance
    90.  
      csconfig cldprovider
    91.  
      csconfig meter
    92.  
      csconfig throttle
    93.  
      csconfig reinitialize
    94.  
      duplicatetrace
    95.  
      importtrace
    96.  
      jbpSA
    97.  
      jnbSA
    98.  
      ltid
    99.  
      manageClientCerts
    100.  
      mklogdir
    101.  
      nbauditreport
    102.  
      nbcatsync
    103.  
      NBCC
    104.  
      NBCCR
    105.  
      nbcertcmd
    106.  
      nbcertupdater
    107.  
      nbcldutil
    108.  
      nbcloudrestore
    109.  
      nbcomponentupdate
    110.  
      nbcplogs
    111.  
      nbdb_admin
    112.  
      nbdb_backup
    113.  
      nbdb_move
    114.  
      nbdb_ping
    115.  
      nbdb_restore
    116.  
      nbdb_unload
    117.  
      nbdbms_start_server
    118.  
      nbdbms_start_stop
    119.  
      nbdc
    120.  
      nbdecommission
    121.  
      nbdelete
    122.  
      nbdeployutil
    123.  
      nbdevconfig
    124.  
      nbdevquery
    125.  
      nbdiscover
    126.  
      nbdna
    127.  
      nbemm
    128.  
      nbemmcmd
    129.  
      nbfindfile
    130.  
      nbfirescan
    131.  
      nbftadm
    132.  
      nbftconfig
    133.  
      nbgetconfig
    134.  
      nbhba
    135.  
      nbholdutil
    136.  
      nbhostidentity
    137.  
      nbhostmgmt
    138.  
      nbhypervtool
    139.  
      nbimageshare
    140.  
      nbinstallcmd
    141.  
      nbjm
    142.  
      nbkmsutil
    143.  
      nboraadm
    144.  
      nborair
    145.  
      nbpem
    146.  
      nbpemreq
    147.  
      nbperfchk
    148.  
      nbplupgrade
    149.  
      nbrb
    150.  
      nbrbutil
    151.  
      nbregopsc
    152.  
      nbreplicate
    153.  
      nbrepo
    154.  
      nbrestorevm
    155.  
      nbseccmd
    156.  
      nbsetconfig
    157.  
      nbsnapimport
    158.  
      nbsnapreplicate
    159.  
      nbsqladm
    160.  
      nbstl
    161.  
      nbstlutil
    162.  
      nbstop
    163.  
      nbsu
    164.  
      nbsvrgrp
    165.  
      resilient_clients
    166.  
      restoretrace
    167.  
      stopltid
    168.  
      tl4d
    169.  
      tl8d
    170.  
      tl8cd
    171.  
      tldd
    172.  
      tldcd
    173.  
      tlhd
    174.  
      tlhcd
    175.  
      tlmd
    176.  
      tpautoconf
    177.  
      tpclean
    178.  
      tpconfig
    179.  
      tpext
    180.  
      tpreq
    181.  
      tpunmount
    182.  
      verifytrace
    183.  
      vltadm
    184.  
      vltcontainers
    185.  
      vlteject
    186.  
      vltinject
    187.  
      vltoffsitemedia
    188.  
      vltopmenu
    189.  
      vltrun
    190.  
      vmadd
    191.  
      vmchange
    192.  
      vmcheckxxx
    193.  
      vmd
    194.  
      vmdelete
    195.  
      vmoprcmd
    196.  
      vmphyinv
    197.  
      vmpool
    198.  
      vmquery
    199.  
      vmrule
    200.  
      vmupdate
    201.  
      vnetd
    202.  
      vssat
    203.  
      vwcp_manage
    204.  
      vxlogcfg
    205.  
      vxlogmgr
    206.  
      vxlogview
    207.  
      W2KOption

Name

bptestnetconn — test and analyze various configurations and connections

SYNOPSIS

bptestnetconn [-v] -h | -b | -l

bptestnetconn [-v] [-i | -frap] [-s | -H hostname]

bptestnetconn [-v] [-c[service_name] [-o time_value] [-t time_value]] [ -H hostname | -s ] [-x]

bptestnetconn -6 [-u]

bptestnetconn [-v] [-w[webappname] [-O port] [-T timeout] [-e retrycount]] [-s | -H hostname]

On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/

On Windows systems, the directory path to this command is install_path\NetBackup\bin\

DESCRIPTION

The bptestnetconn command performs several tasks that help you analyze DNS and connectivity problems with any specified list of hosts, including the server list in the NetBackup configuration. To help troubleshoot connectivity problems between the services that use CORBA communications, bptestnetconn can perform and report on CORBA connections to named services. The command can also perform and report the responsiveness of the NetBackup Web Service. The command also shows the connection direction, whether the communication was encrypted by a connection to the secure proxy process or not.

Logs for the bptestnetconn command are located in /usr/openv/netbackup/logs/bptestnetconn/*.log for UNIX and Linux, and in install_path\netbackup\logs\bptestnetconn\*.log for Windows.

OPTIONS

-6 or --afcheck

Checks the configuration for IP_ADDRESS_FAMILY requirements.

-a or --all

Reports all times. This option has the same effect as -fr. This condition is the default.

-b or --confchecker

Verifies that bp.conf (UNIX) or the NetBackup registry entry (Windows) exists.

-c or --connect service_name

Reports the connectToObject times to service. Some CORBA service examples are EMM/EMMServer, NBFSMCLIENT/FSM.ClientClusterMgr, nbrmms/DiskPollingService.DPS nbrmms/STSEventService, and nbsvcmon/NBSvcMon (default). Type this option with no spaces between -c and service_name.

-e or --retrycount retry_count

Specifies the number of retries that are performed in case of web service connection failures. The default value of this parameter is 5.

-f or --flkup

Reports all forward DNS lookup times for the specified host or hosts.

-h or --help

Displays this help message.

-H hostname

Specifies a single host name of the system, IPv4 address, or name of a file containing a list of such names, one per line.

-i or --ipservers

Lists the IP addresses of all servers in the NetBackup configuration.

-l or --listservers

Lists all servers in the NetBackup configuration.

-O or --port port_number

Specifies the web service port to which the command connects. The default web service port is the PBX port, port number 1556.

-o or --objconntimeout time_value

Specifies the timeout in seconds for NetBackup level retries in case of CORBA errors.

-p or --prefnet

Includes how PREFERRED_NETWORK affects connections to the specified hosts or servers in the output display.

-r or --rlkup

Reports all reverse DNS lookup times for the specified host or hosts.

-s or --servers

Looks up all NetBackup servers in the configuration.

-T or --wsconntimeout time_value

Specifies the web service connection timeout in seconds. The CLIENT_CONNECT_TIMEOUT specified in the NetBackup configuration is used by default.

-t or --orbconntimeout time_value

Specifies the TCP timeout, the socket level time out for establishing the TCP/IP connection. Specify -t larger than -o to distinguish between TCP/IP and CORBA errors. Otherwise, all failures time out after retries_timeout seconds (-o time_value).

-u or --update

Updates the bp.conf (UNIX) or the Host Properties (Windows) based on the action of the --afcheck operation. This option is used only as part of installation.

-v or --verbose

Reports in verbose mode. The reverse lookup report shows which servers are media servers, EMMSERVER (if not local), and if any server is also the PREFERRED_NETWORK or CLUSTERNAME.

-w or --web webappname

Reports the web service responsiveness. The supported names for the webappname value are the default nbwmc/netbackup and nbwmc/security. Type this option with no spaces between -w and webappname.

-x or --skipproxyinfo

Skip displaying information about the secure CORBA connection via proxy.

EXAMPLES

Example 1 - List all the servers in the NetBackup configuration.

# bptestnetconn -l
               knothead.example.com
                         www.google.com
               r2d2.starwars.galaxy.com
                      whoknows.what.com
                                  zebra
                           lawndartsvm2
                           lawndartsvm1

Example 2 - List all the non-default settings.

# bptestnetconn -b
CLIENT_PORT_WINDOW (min)               = 2024           [0]
CLIENT_PORT_WINDOW (max)               = 4048           [0]
CLIENT_CONNECT_TIMEOUT                 = 30             [300]
SERVER_CONNECT_TIMEOUT                 = 10             [30]
DEFAULT_CONNECT_OPTIONS (daemon port)  = vnetd          [Automatic]
CONNECT_OPTIONS                        = [configured] 
PREFERRED_NETWORK                      = knothead       [NULL]
FIREWALL_IN                            = [configured]
REVERSE_NAME_LOOKUP                    = PROHIBITED     [ALLOWED]  

Example 3 - Report all forward DNS lookup times for all NetBackup servers in the configuration.

# bptestnetconn -f -s
----------------------------------------------------------------------
FL:               knothead.example.com -> 10.80.73.101     :      0 ms [local]
FL:                         www.google.com -> 74.125.19.106    :      0 ms
FL:               r2d2.starwars.galaxy.com -> 0.0.0.0          :      4 ms
FL:                      whoknows.what.com -> 209.139.193.224  :      0 ms [cluster/ri]
FL:                                  zebra -> 10.80.120.103    :      0 ms
FL:                           lawndartsvm2 -> 10.80.74.153     :      0 ms
FL:                           lawndartsvm1 -> 10.80.74.154     :      0 ms
----------------------------------------------------------------------
Slow (>5 sec) or/and failed forward lookups:
                        r2d2.starwars.galaxy.com :      0 sec [FAILED]
----------------------------------------------------------------------
Total elapsed time: 0 sec

Example 4 - Report all reverse DNS lookup times for all NetBackup servers in the configuration.

# bptestnetconn -r -s
----------------------------------------------------------------
RL:     10.80.73.101 -> knothead.example.com                 :      0 ms
RL:    74.125.19.106 -> nuq04s01-in-f106.1e100.net               :    156 ms MISMATCH
RL:    **LKUP FAIL** -> r2d2.starwars.galaxy.com                 :      0 ms
RL:  209.139.193.224 -> **LKUP FAIL**                            :    739 ms
RL:    10.80.120.103 -> zebra.example.com                    :      0 ms
RL:     10.80.74.153 -> lawndartsvm2.example.com             :      0 ms
RL:     10.80.74.154 -> lawndartsvm1.example.com             :      0 ms
----------------------------------------------------------------
Slow (>5 sec) or/and failed/mismatched reverse lookups:
                 www.google.com :      0 sec [MISMATCH] -> nuq04s01-in-f106.1e100.net
       r2d2.starwars.galaxy.com :      0 sec [FAILED]
              whoknows.what.com :      0 sec [FAILED]
----------------------------------------------------------------
Total elapsed time: 1 sec

Example 5 - Report all reverse DNS lookup times for all NetBackup servers in the configuration.

# bptestnetconn -s -c -t 10 -o 5
------------------------------------------------------------------------
CN:                      knothead.example.com :  49 ms  [SUCCESS]
CN:                                www.google.com :   4 sec [TRANSIENT]
CN:                      r2d2.starwars.galaxy.com :   4 sec [TRANSIENT]
CN:                             whoknows.what.com :   4 sec [TRANSIENT]
CN:                                         zebra :   4 sec [TRANSIENT]
CN:                                  lawndartsvm2 :   4 sec [NO_PERMISSION]
CN:                                  lawndartsvm1 :  20 sec [TRANSIENT]
---------------------------------------------------------------------
Total elapsed time: 40 sec

Example 6 - Report NetBackup Web Service responsiveness for all NetBackup servers in the configuration.

# bptestnetconn -s -w -T 30 -e 2
 nbwmc/netbackup web service test for host: server.domain.com :          450 ms [SUCCESS]
 nbwmc/netbackup web service test for host: sample.server2.domain2.com : 800 ms [FAIL]
 nbwmc/netbackup web service test for host:             testvm2 :        550 ms [SUCCESS]

Example 7 - Report NetBackup Web Service responsiveness for the security webapp on a specified NetBackup master server.

# bptestnetconn  - wnbwmc/security -T 30  - H server.domain.com
 nbwmc/security web service test for host: server.domain.com :    450 ms [SUCCESS]

Example 8: Reports the Secure CORBA connection via proxy by connecting nbsl service on the example.server.domain.com

# bptestnetconn.exe -cnbsl/HSFactory -H example.server.domain.com -v
adding hostname = example.server.domain.com
------------------------------------------------------------------------
Connecting to 'nbsl/HSFactory'
CN: example.server.domain.com :     91 ms  [SUCCESS] PBX: No VNETD: No
127.0.0.1:4667 -> 127.0.0.1:4668 PROXY 10.210.77.101:4662 -> 10.210.77.101:1556
Certificate Information:
local_cert_info: {
   "certificate_subject_common_name": "08a1395f-81fe-40c6-af59-2631988ca076",
   "certificate_issuer_name": "/CN=broker/OU=root@example.server.domain.com/O=vx"
}
peer_cert_info: {
   "certificate_subject_name": "/CN=08a1395f-81fe-40c6-af59-2631988ca076/OU=NBU_HOSTS/O=vx",
   "certificate_subject_common_name": "08a1395f-81fe-40c6-af59-2631988ca076",
   "certificate_issuer_name": "/CN=broker/OU=root@example.server.domain.com/O=vx",
   "certificate_issuer_org_unit_name": "root@example.server.domain.com",
   "master_server": "example.server.domain.com",
   "peer_hostname": "example.server.domain.com"
}
------------------------------------------------------------------------
Total elapsed time: 1 sec

Example 9: Skip secure CORBA connection information via proxy for host example.server.domain.com

# bptestnetconn -cnbsl/HSFactory -t 10 -o 5 -H example.server.domain.com  - x
adding hostname = example.server.domain.com
------------------------------------------------------------------------
Connecting to 'nbsl/HSFactory'
CN: example.server.domain.com :    126 ms  [SUCCESS] PBX: No VNETD: No
------------------------------------------------------------------------
Total elapsed time: 1 sec