Veritas NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup (8.1.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
    6.  
      Removal of nbexecute command
  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.  
      configurePorts
    85.  
      configureTPCerts
    86.  
      create_nbdb
    87.  
      csconfig cldinstance
    88.  
      csconfig cldprovider
    89.  
      csconfig meter
    90.  
      csconfig throttle
    91.  
      duplicatetrace
    92.  
      importtrace
    93.  
      jbpSA
    94.  
      jnbSA
    95.  
      ltid
    96.  
      manageClientCerts
    97.  
      mklogdir
    98.  
      nbauditreport
    99.  
      nbcatsync
    100.  
      NBCC
    101.  
      NBCCR
    102.  
      nbcertcmd
    103.  
      nbcertupdater
    104.  
      nbcldutil
    105.  
      nbcloudrestore
    106.  
      nbcomponentupdate
    107.  
      nbcplogs
    108.  
      nbdb_admin
    109.  
      nbdb_backup
    110.  
      nbdb_move
    111.  
      nbdb_ping
    112.  
      nbdb_restore
    113.  
      nbdb_unload
    114.  
      nbdbms_start_server
    115.  
      nbdbms_start_stop
    116.  
      nbdc
    117.  
      nbdecommission
    118.  
      nbdelete
    119.  
      nbdeployutil
    120.  
      nbdevconfig
    121.  
      nbdevquery
    122.  
      nbdiscover
    123.  
      nbdna
    124.  
      nbemm
    125.  
      nbemmcmd
    126.  
      nbfindfile
    127.  
      nbfirescan
    128.  
      nbftadm
    129.  
      nbftconfig
    130.  
      nbgetconfig
    131.  
      nbhba
    132.  
      nbholdutil
    133.  
      nbhostidentity
    134.  
      nbhostmgmt
    135.  
      nbhypervtool
    136.  
      nbinstallcmd
    137.  
      nbjm
    138.  
      nbkmsutil
    139.  
      nboraadm
    140.  
      nborair
    141.  
      nbpem
    142.  
      nbpemreq
    143.  
      nbperfchk
    144.  
      nbplupgrade
    145.  
      nbrb
    146.  
      nbrbutil
    147.  
      nbregopsc
    148.  
      nbreplicate
    149.  
      nbrepo
    150.  
      nbrestorevm
    151.  
      nbseccmd
    152.  
      nbsetconfig
    153.  
      nbsnapimport
    154.  
      nbsnapreplicate
    155.  
      nbsqladm
    156.  
      nbstl
    157.  
      nbstlutil
    158.  
      nbstop
    159.  
      nbsu
    160.  
      nbsvrgrp
    161.  
      resilient_clients
    162.  
      restoretrace
    163.  
      stopltid
    164.  
      tl4d
    165.  
      tl8d
    166.  
      tl8cd
    167.  
      tldd
    168.  
      tldcd
    169.  
      tlhd
    170.  
      tlhcd
    171.  
      tlmd
    172.  
      tpautoconf
    173.  
      tpclean
    174.  
      tpconfig
    175.  
      tpext
    176.  
      tpreq
    177.  
      tpunmount
    178.  
      verifytrace
    179.  
      vltadm
    180.  
      vltcontainers
    181.  
      vlteject
    182.  
      vltinject
    183.  
      vltoffsitemedia
    184.  
      vltopmenu
    185.  
      vltrun
    186.  
      vmadd
    187.  
      vmchange
    188.  
      vmcheckxxx
    189.  
      vmd
    190.  
      vmdelete
    191.  
      vmoprcmd
    192.  
      vmphyinv
    193.  
      vmpool
    194.  
      vmquery
    195.  
      vmrule
    196.  
      vmupdate
    197.  
      vnetd
    198.  
      vssat
    199.  
      vwcp_manage
    200.  
      vxlogcfg
    201.  
      vxlogmgr
    202.  
      vxlogview
    203.  
      W2KOption

Name

bptestbpcd — test bpcd connections and verify connect options

SYNOPSIS

bptestbpcd [-host hostname] [-client client_name] [-M server] [-connect_options 0|1|2 0|1|2 0|1|2|3] [-connect_timeout seconds [-wait_to_close seconds] [-verbose]

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

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

DESCRIPTION

The bptestbpcd command tries to establish a connection from a NetBackup server to the bpcd daemon on a NetBackup host or client. If successful, it reports information about the sockets that are established.

The first line of output consists of three digits that represent the effective connect options. These digits are only relevant when you connect to bpcd on the local host.

  • The first digit is 0 if reserved source port is used and 1 if non-reserved port is used.

  • The second digit is 0 if you use legacy (random port) callback and 1 if you use vnetd callback.

  • The third digit is 1 if the connection is initiated to the PBX or vnetd port number. The third digit is 2 if the connection is initiated to the legacy bpcd port number.

The other output lines display the items shown:

  • The NetBackup server IP address and port number.

  • The connection direction.

  • The bpcd IP address and port number.

  • Whether the communication was encrypted by a local connection to the secure proxy process.

OPTIONS

-connect_options 0|1|2 0|1|2|3 0|1|2|3

The first setting indicates the type of source port to use when you connect to bpcd on the host or client. If you use the traditional callback method, this setting also designates the type of server port on which to listen for the inbound connection.

Note:

This option is only useful when you test connectivity to bpcd on the local host.

0 = Use a reserved port number.

1 = Use a nonreserved port number.

2 = Use the value in the DEFAULT_CONNECT_OPTIONS configuration entry on the server.

The second setting indicates the bpcd call-back method to use to connect to the client:

0 = Use the traditional call-back method.

1 = Use the vnetd no call-back method.

2 = Use the value that the DEFAULT_CONNECT_OPTIONS configuration entry on the server defines.

The third setting indicates the connection method to use to connect the host or client:

0 = Connect to the host or client through the PBX port (1556). If unsuccessful, connect through the vnetd port (13724). If still unsuccessful, connect through the daemon port (13782).

1 = Connect to the host or client through the PBX port (1556). If unsuccessful, connect through the vnetd port (13724). If still unsuccessful, fail the connection attempt.

2 = Connect to the host or client through the daemon port (13782).

3 = Use the value that the DEFAULT_CONNECT_OPTIONS configuration entry on the server defines.

If -connect_options is not specified for -client, any CONNECT_OPTIONS configured in the Client Attributes for clientname are used. Otherwise, any CONNECT_OPTIONS for clientname are used. Otherwise, the DEFAULT_CONNECT_OPTIONS are used.

-client client_name

The client name of the system to connect to. This option creates the same legacy connections to bpcd that would normally be used when you connect to a NetBackup client for a multiplex backup. If neither -host nor -client is specified, the host name of the local system is used.

-connect_timeout seconds

Specifies the number of seconds to wait for a connection attempt from the server to the host or client to fail. If not specified, the default is the CLIENT_CONNECT_TIMEOUT that is configured on the server that tries to make the connection.

-host hostname

Specifies the host name of the system to connect to. Typically, hostname is the host name of a NetBackup server. This option creates the same legacy connections to bpcd that would normally be used when you connect to a NetBackup server. If neither -host nor -client is specified, the host name of the local system is used.

-M server

Specifies the host name of the NetBackup server that initiates the connections to the target host or client. If this option is not specified, the local host makes the connections. If it is specified, the local host connects to bpcd on the specified server, which then connects to bpcd on the target host or client.

-wait_to_close seconds

Specifies the number of seconds that the server waits before it closes the connections to bpcd on the target host or client. The default is 0 (no waiting).

-verbose

After successfully connecting to bpcd on the target host or client, request and display key configuration information from the remote host. This information can include: The host name, client name, master server, peer name for the connecting server, operating system, NetBackup version, and the host id certificate information used each host for the connection.

EXAMPLES

Example 1 - Try to connect from the local system to server fred using secure connections:

# bptestbpcd -host fred
1 1 1
127.0.0.1:49613 -> 127.0.0.1:51195 PROXY 10.0.0.32:38828 -> 10.0.0.59:1556
127.0.0.1:53454 -> 127.0.0.1:52214 PROXY 10.0.0.32:54869 -> 10.0.0.59:1556

Example 2 - Request the server fred to connect to the insecure back-level (pre-8.1) host wilma as a client by using the daemon port and no-call-back method. If successful, display the key configuration from wilma. Notice that the daemon connect options are ignored, connections are by PBX or vnetd:

$ bptestbpcd -M fred -client wilma -connect_options 1 1 2 -verbose
1 1 2
10.0.0.59:36207 -> 10.0.0.104:1556
10.0.0.59:61847 -> 10.0.0.104:1556
PEER_NAME = fred
HOST_NAME = wilma
CLIENT_NAME = wilma
VERSION = 0x07730000
PLATFORM = solaris10
PATCH_VERSION = 7.7.3.0 
SERVER_PATCH_VERSION = 7.7.3.0 
MASTER_SERVER = wilma
EMM_SERVER = wilma
NB_MACHINE_TYPE = MASTER_SERVER
10.0.0.59:43948 -> 10.0.0.104:1556

Example 3 - Request the server valbl8 to connect to the server host valbl7. Notice that the connect options that are user requested are ignored for communication between secure capable hosts. The connections are by a local host connection to the secure proxy process. The secure proxy process then secures the communication with the remote host. The connection to the remote host is made through the PBX or vnetd ports. Some key fields from the certificates, used to secure the connection, are included in the output.

# bptestbpcd -host valbl7  - verbose -connect_options 1 1 2
1 1 2
127.0.0.1:48579 -> 127.0.0.1:38397 PROXY 10.0.91.128:62115 -> 10.0.91.127:1556
127.0.0.1:44938 -> 127.0.0.1:59742 PROXY 10.0.91.128:39806 -> 10.0.91.127:1556
LOCAL_CERT_ISSUER_NAME = /CN=broker/OU=root@valbl8.min.veritas.com/O=vx
LOCAL_CERT_SUBJECT_COMMON_NAME = 59a8584a-2f88-4a21-8d91-62ceebc40c29
PEER_CERT_ISSUER_NAME = /CN=broker/OU=root@valbl8.min.veritas.com/O=vx
PEER_CERT_SUBJECT_COMMON_NAME = 4f0f2f15-1cde-4acd-9c82-9bd212741970
PEER_NAME = 10.0.91.128
HOST_NAME = valbl7
CLIENT_NAME = valbl7
VERSION = 0x08100000
PLATFORM = solaris_x86_10_64
PATCH_VERSION = 8.1
SERVER_PATCH_VERSION = 8.1
MASTER_SERVER = valbl8
EMM_SERVER = valbl8
NB_MACHINE_TYPE = MEDIA_SERVER