Veritas NetBackup™ Commands Reference Guide

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

Name

bptpcinfo — discover SAN devices and creates 3pc.conf file

SYNOPSIS

bptpcinfo [-a] [-c] [-h] [-u] [-r] [-v] [-d disk_device_directory] [-t tape_device_directory] [-p physical_device] [-o output_file_name] [-o -]

The directory path to this command is /usr/openv/netbackup/bin/

DESCRIPTION

This command operates only on UNIX systems.

The bptpcinfo command discovers all the disk and the tape devices on Fibre Channel and SCSI connections. It provides information about each device (one line per device). By default, this command writes the information to the following file:

  /usr/openv/volmgr/database/3pc.conf

Note:

For off-host backup (Third-Party Copy Device or NetBackup media server backup methods), a 3pc.conf file must exist at /usr/openv/volmgr/database.

At the start of a backup, using the Third-Party Copy Device or NetBackup media server method, NetBackup automatically runs this command to create the 3pc.conf file if the file does not already exist. This file is complete and you do not need to rerun this command if any of the following is true:

  • The backup uses the NetBackup media server backup method.

  • You use the Third-Party Copy Device backup method and all required devices (such as disks, tapes, and third-party copy devices) support identification descriptors.

If any of the devices does not support identification descriptors, run the bptpcinfo command manually to create the 3pc.conf file. Then edit the file as explained in the SAN Configuration chapter of the NetBackup Snapshot Client Administrator's Guide.

OPTIONS

-a

Discovers all the disk and the tape devices on the Fibre Channel and SCSI connections. It adds entries in the 3pc.conf file (or alternate output file that is specified with the -o option). The -a option lists all devices in /dev/rdsk and /dev/rmt.

-c

Checks for syntax errors in an already existing 3pc.conf file (in /usr/openv/volmgr/database). If the 3pc.conf file does not exist, a message states that it cannot open the file. In that case, use other command options to create the file. Note that if -c is specified, any other options are ignored.

The -c option checks for syntax errors such as the following: missing spaces between entries, missing keywords (such as a worldwide name without "w="), or a worldwide name that is not 16 digits in length. Any such errors can cause the backup to fail.

-h

Displays the bptpcinfo usage statement.

-u

Discovers all the disk devices and the tape devices on the Fibre Channel and SCSI connections. It also adds entries in the 3pc.conf file (or alternate the output file that is specified with the -o option) for new devices that are found. If the 3pc.conf file does not exist, the -u option fails (use -a instead).

Note:

To remove obsolete entries, use -r instead of -u. (The -u and -r options cannot be used together.)

-r

Removes any obsolete entries in the 3pc.conf file (or the alternate output file that is specified with the -o option). An obsolete entry is one that no longer corresponds to any devices on the Fibre Channel or SCSI connections.

Note:

The -r option does not add entries to the 3pc.conf file for new or reconfigured devices. To add entries, use the -u option. (The -u and -r options cannot be used together.)

-v

Specifies the verbose mode, which causes bptpcinfo to list information on its discovery progress. The information is written to the screen, not to the 3pc.conf file.

You can select the -v option to track problems in device discovery.

-d disk_device_directory

Discovers all disks in the specified directory (usually /dev/rdsk on Solaris or Hewlett Packard Enterprise, and /dev on AIX) and creates new entries in the 3pc.conf file. Or, it creates new entries in the alternate output file that is specified with the -o option by overwriting any current entries.

To avoid overwriting the 3pc.conf file, use the -d option with the -u option. When -d and -u are combined, the new disk entries are added to the existing entries.

-t tape_device _directory

Discovers all tape drives in the specified directory (usually /dev/rmt on Solaris or Hewlett Packard Enterprise, and /dev on AIX) and creates new entries in the 3pc.conf file. Or, it creates new entries in the alternate output file that is specified with the -o option by overwriting any current entries.

To avoid overwriting the 3pc.conf file, use the -t option with the -u option. When -t and -u are combined, the new tape entries are added to the existing entries.

-p physical_device

Creates an entry for a physical device in the 3pc.conf file, if the specified device is discovered. Or, it creates new entries in the alternate output file that is specified with the -o option by overwriting any current entries.

To avoid overwriting the 3pc.conf file, use the -p option with the -u option. When -p and -u are combined, the new entry is added to the existing entries.

-o output_file_name

-o specifies an alternate (usually temporary) path for the bptpcinfo command output. If this option is not specified, the default is /usr/openv/volmgr/database/3pc.conf.

-o -

Sends the output to the screen. Note the space before the second hyphen.

EXAMPLES

Example 1 - Discover all the source and the destination devices on the SAN and create the required 3pc.conf file in /usr/openv/volmgr/database.

# bptpcinfo -a

Example 2 - Discover all the source and the destination devices on the SAN, and send the output to the screen.

# bptpcinfo -a -o -

Sample output:

devid [p=devpath]  [s=sn] [n=npid] [l=lun] [w=wwpn] [i=iddesc]
1     p=/dev/rdsk/c1t11d3s2   s=SEAGATE:ST19171N:LAE82305 l=3
2     p=/dev/rdsk/c1t13d4s2   s=SEAGATE:ST19101W:NH022724 l=4
3     p=/dev/rdsk/c1t20d0s2   s=HITACHI:OPEN-9:60159003900 l=0
4     p=/dev/rdsk/c1t20d1s2   s=HITACHI:OPEN-9:60159000000 l=1
5     p=/dev/rdsk/c1t20d2s2   s=HITACHI:OPEN-9:60159000100 l=2
6     p=/dev/rdsk/c1t20d3s2   s=HITACHI:OPEN-9-CM:60159001C00 l=3
7     p=/dev/rdsk/c1t20d4s2   s=HITACHI:OPEN-9:60159002B00 l=4
8     p=/dev/rdsk/c1t20d5s2   s=HITACHI:OPEN-9:60159002C00 l=5

Example 3 - Discover the devices in the /dev/rmt directory (/dev on AIX) and send the output to the screen:

On Solaris or Hewlett Packard Enterprise:

# bptpcinfo -t /dev/rmt -o -

Sample output:

devid [p=devpath]     [s=sn]  [n=npid]      [l=lun] [w=wwpn] [i=iddesc]
0     p=/dev/rmt/0cbn  s=QUANTUM:DLT8000:CX949P0164  l=1 i=10200E09E6000000868
1     p=/dev/rmt/1cbn  s=QUANTUM:DLT8000:CX949P1208  l=2 i=10200E09E6000001381
2     p=/dev/rmt/4cbn  s=QUANTUM:DLT8000:CX940P2790  l=2 i=1031000005013E000D3
3     p=/dev/rmt/7cbn  s=QUANTUM:DLT7000:TNA48S0267  l=1
4     p=/dev/rmt/19cbn s=QUANTUM:DLT8000:PKB02P0989  l=1 i=10200E09E6000030C36
5     p=/dev/rmt/20cbn s=QUANTUM:DLT8000:PKB02P0841  l=2 i=10200E09E6000030DC5

On AIX:

# bptpcinfo -t /dev -o -

Sample output:

devid [p=devpath]     [s=sn]  [n=npid]      [l=lun] [w=wwpn] [i=iddesc]
0 p=/dev/rmt0.1 s=STK:L20:LLC02203684           l=1
1 p=/dev/rmt5.1 s=QUANTUM:DLT8000:CXA49P1113    l=1  i=10200E09E6000034A57
2 p=/dev/rmt6.1 s=QUANTUM:DLT8000:PXB13P4180    l=2  i=10200E09E600004B70B
3 p=/dev/rmt7.1 s=STK:9840:331002059900         l=4  i=103500104F0004817E5
4 p=/dev/rmt9.1 s=QUANTUM:DLT8000:PXB33P0850    l=9  i=1036005013000B0526942333350
5 p=/dev/rmt10.1 s=QUANTUM:DLT8000:CX949P1208   l=10 i=1036005013000B0526939343950

Example 4 - Create a 3pc.conf file that describes all devices on the SAN, and send the output to an alternate file:

# bptpcinfo -a -o /usr/openv/volmgr/database/3pc_alt1.conf

NOTES

Note the following items when you use the bptpcinfo command:

  • Run the bptpcinfo command when no backups are in progress. If a backup operation uses or reserves a device, bptpcinfo may be unable to obtain information on it. It omits such a device from the output.

  • If you do not want to overwrite the existing 3pc.conf file, include the -o option and specify the wanted location.

  • If you have a host that runs Veritas SANPoint Control, do the following: Use the bpSALinfo command to add the worldwide name and LUN values for each device in the 3pc.conf file. If you do not have SANPoint Control, you must edit the new entries in the 3pc.conf file. To edit, manually add the worldwide name WWPN) and LUNs for each device.

    For more about SAN Configuration, see the NetBackup Snapshot Client Administrator's Guide.

FILES

/usr/openv/volmgr/database/3pc.conf