Veritas NetBackup™ Administrator's Guide, Volume II

Last Published:
Product(s): NetBackup (8.1.1)
Platform: Linux,UNIX,Windows
  1. NetBackup licensing models and the nbdeployutil utility
    1.  
      Methods to gather and analyze licensing reporting
    2. About NetBackup licensing models
      1.  
        About the traditional licensing model
      2. About the capacity licensing model
        1.  
          How capacity licensing uses Front-end Terabytes
        2.  
          NetBackup for Exchange Agent
        3.  
          NetBackup for SQL Server Agent
        4.  
          NetBackup for Oracle server agent
        5.  
          NetBackup for VMware Agent
        6.  
          NetBackup for NDMP Agent
        7. File Systems (Windows and UNIX backups)
          1.  
            Windows backups
          2.  
            UNIX backups
        8.  
          BigData plug-ins for NetBackup
    3. nbdeployutil utility options
      1.  
        Scheduling capacity licensing reports
      2.  
        Generating licensing reports manually
    4. Creating and viewing the licensing report
      1.  
        Report tab descriptions
    5. After creating a traditional licensing report
      1.  
        Verify the Summary tab
      2.  
        Complete the Hosts tab
      3.  
        Resolve the NDMP tab
      4.  
        Update the Virtual Servers tab
      5.  
        Confirm the Drives tab
      6.  
        Final steps
    6. After creating a capacity licensing report
      1.  
        Verify the completeness of the inputs
      2.  
        Eliminate redundant data due to client aliases and multiple IP addresses
      3.  
        Examine the Itemization tab for flagged conditions in the Accuracy column
      4.  
        Verify correct grouping and summation of multistreamed backup images
      5.  
        Examine the CloudCatalyst (KB) column that displays the volume of data processed using NetBackup CloudCatalyst
      6.  
        Examine overlap detection by nbdeployutil
    7. Reconciling the capacity licensing report results
      1.  
        Locate full backups for clients
      2.  
        Review compressed image information
      3.  
        Eliminate redundant counting of clients
      4.  
        Determine the effect of multistreamed backups
      5.  
        Confirm the accuracy of any database backups
      6.  
        Locate full backups for snapshot images
  2. Additional configuration
    1.  
      About multiple NetBackup master servers
    2.  
      About multiple media servers with one master server
    3.  
      About direct I/O for backups on Windows
    4. About dynamic host name and IP addressing
      1.  
        About setting up dynamic IP addresses and host names
      2.  
        Configuring the NetBackup master server
      3.  
        bpclient commands that control client entries
      4.  
        Configuring dynamic NetBackup clients
    5. About busy file processing on UNIX clients
      1.  
        Configuring busy file processing on UNIX
      2.  
        Modifying bp.conf to configure busy file processing on UNIX
      3.  
        bp.conf file entries on UNIX
      4.  
        How NetBackup creates and uses action files on UNIX
      5.  
        About the logs directory on UNIX
      6.  
        Recommended changes for modifying bpend_notify_busy on UNIX
    6.  
      About specifying the locale of the NetBackup installation
    7. About the Shared Storage Option
      1.  
        About Shared Storage Option components
      2.  
        About reserving or releasing shared devices
      3.  
        How to share robotic libraries without using the Shared Storage Option
      4.  
        Shared Storage Option terms and concepts
      5.  
        About the Shared Storage Option license
      6.  
        About Shared Storage Option prerequisites
      7.  
        About hardware configuration guidelines
      8.  
        About installing and configuring drivers
      9.  
        Verifying the connectivity
      10. About configuring the Shared Storage Option in NetBackup
        1.  
          About configuring SSO in NetBackup
        2.  
          Configuring Shared Storage Option devices in NetBackup
        3.  
          About adding Shared Storage Option configuration options
        4.  
          About configuring NetBackup storage units and backup policies
      11.  
        Verifying your Shared Storage Option configuration
      12.  
        Device Monitor and Shared Storage Option
      13. Viewing SSO summary reports
        1.  
          Shared Storage Option summary reports
      14.  
        Operating system assistance
      15.  
        Common configuration issues with Shared Storage Option
      16.  
        Frequently asked questions about Shared Storage Option
    8. About the vm.conf configuration file
      1.  
        ACS_mediatype entry in vm.conf
      2.  
        ACS_SEL_SOCKET entry in vm.conf
      3.  
        ACS_CSI_HOSTPORT entry in vm.conf (on UNIX)
      4.  
        ACS_SSI_HOSTNAME entry in vm.conf
      5.  
        ACS_SSI_INET_PORT entry in vm.conf (on UNIX)
      6.  
        ACS_SSI_SOCKET entry in vm.conf
      7.  
        ACS_TCP_RPCSERVICE / ACS_UDP_RPCSERVICE entry in vm.conf (on UNIX)
      8.  
        ADJ_LSM entry in vm.conf
      9.  
        API_BARCODE_RULES entry in vm.conf
      10.  
        AUTHORIZATION_REQUIRED entry in vm.conf
      11.  
        AUTO_PATH_CORRECTION entry in vm.conf
      12.  
        AUTO_UPDATE_ROBOT entry in vm.conf
      13.  
        AVRD_PEND_DELAY entry in vm.conf
      14.  
        AVRD_SCAN_DELAY entry in vm.conf
      15.  
        CLEAN_REQUEST_TIMEOUT entry in vm.conf
      16.  
        CLIENT_PORT_WINDOW entry in vm.conf
      17.  
        CLUSTER_NAME entry in vm.conf
      18.  
        DAS_CLIENT entry in vm.conf
      19.  
        DAYS_TO_KEEP_LOGS entry in vm.conf
      20.  
        EMM_RETRY_COUNT entry in vm.conf
      21.  
        EMM_CONNECT_TIMOUT entry in vm.conf
      22.  
        EMM_REQUEST_TIMOUT entry in vm.conf
      23.  
        ENABLE_ROBOT_AUTH entry in vm.conf
      24.  
        INVENTORY_FILTER entry in vm.conf
      25.  
        MAP_ID entry in vm.conf
      26.  
        MAP_CONTINUE_TIMEOUT entry in vm.conf
      27.  
        MEDIA_ID_BARCODE_CHARS entry in vm.conf
      28.  
        MEDIA_ID_PREFIX entry in vm.conf
      29.  
        MM_SERVER_NAME entry in vm.conf
      30.  
        PREFERRED_GROUP entry in vm.conf
      31.  
        PREVENT_MEDIA_REMOVAL entry in vm.conf
      32.  
        RANDOM_PORTS entry in vm.conf
      33.  
        REQUIRED_INTERFACE entry in vm.conf
      34.  
        SERVER entry in vm.conf in NetBackup versions 8.0 and earlier
      35.  
        SSO_DA_REREGISTER_INTERVAL entry in vm.conf
      36.  
        SSO_DA_RETRY_TIMEOUT entry in vm.conf
      37.  
        SSO_HOST_NAME entry in vm.conf
      38.  
        TLH_mediatype entry in vm.conf
      39.  
        TLM_mediatype entry in vm.conf
      40.  
        VERBOSE entry in vm.conf
      41.  
        Example vm.conf file
      42.  
        How to access media and devices on other hosts
      43.  
        Host name precedence in the vm.conf file
  3. Holds Management
    1.  
      About Holds Management
    2.  
      Creating a hold
    3.  
      Viewing hold details
    4.  
      Adding a backup image to an existing hold
    5.  
      Releasing a hold
  4. Menu user interfaces on UNIX
    1.  
      About menu user interfaces
    2. About the tpconfig device configuration utility
      1.  
        About the tpconfig utility menu
      2.  
        Starting the tpconfig device configuration utility
      3.  
        Adding robots
      4.  
        Adding drives
      5.  
        Updating a robot configuration
      6.  
        Updating a drive configuration
      7.  
        Deleting a robot
      8.  
        Deleting a drive
      9.  
        Configuring drive paths
      10.  
        Configuring host credentials
      11.  
        Displaying and writing the device configuration
    3. About the NetBackup Disk Configuration Utility
      1.  
        Managing OpenStorage servers and disk pools
      2.  
        Managing global disk attributes
  5. Reference topics
    1. Host name rules
      1.  
        How NetBackup uses host names
      2.  
        Updating NetBackup after changing the host name
      3.  
        Special considerations for Domain Name Service (DNS)
    2. About reading backup images with nbtar or tar32.exe
      1.  
        Restoring files with non-NetBackup restore utilities (on UNIX)
      2.  
        Considerations for file restoration with non-NetBackup restore utilities (on UNIX)
      3.  
        About the files that restores generate
    3. Factors that affect backup time
      1.  
        Total amount of data to back up
      2.  
        Transfer rate
    4.  
      Methods for determining the NetBackup transfer rate
    5. NetBackup notify scripts
      1.  
        backup_notify script
      2.  
        backup_exit_notify script
      3.  
        bpstart_notify script (UNIX clients)
      4.  
        bpstart_notify.bat script (Windows clients)
      5.  
        bpend_notify script (UNIX clients)
      6.  
        bpend_notify.bat script (Windows clients)
      7.  
        bpend_notify_busy script (UNIX clients)
      8.  
        diskfull_notify script
      9.  
        drive_mount_notify script (on UNIX)
      10.  
        drive_unmount_notify script (on UNIX)
      11.  
        mail_dr_info script
      12.  
        media_deassign_notify script
      13.  
        nbmail.cmd script (on Windows)
      14.  
        parent_end_notify script
      15.  
        parent_start_notify script
      16.  
        pending_request_notify script
      17.  
        restore_notify script
      18.  
        session_notify script
      19.  
        session_start_notify script
      20.  
        shared_drive_notify script
      21.  
        userreq_notify script
    6. Media and device management best practices
      1.  
        Media management best practices
      2.  
        Device management best practices
      3.  
        Media and device performance and troubleshooting
    7. About TapeAlert
      1.  
        About TapeAlert cleaning (reactive cleaning)
      2.  
        About TapeAlert and frequency-based cleaning
      3.  
        About TapeAlert requirements
      4.  
        TapeAlert logs and codes
    8. About tape drive cleaning
      1.  
        About library-based cleaning
      2.  
        About frequency-based cleaning
      3.  
        About operator-initiated cleaning
      4.  
        About using a cleaning tape
    9.  
      How NetBackup selects drives
    10. How NetBackup reserves drives
      1. About SCSI persistent reserve
        1.  
          About SCSI persistent reserve commands
        2.  
          About SCSI persistent reserve conflicts
      2. About the SPC-2 SCSI reserve process
        1.  
          About SPC-2 SCSI reserve commands
        2.  
          About SCSI reservation conflicts
        3.  
          About forcing a release of an unavailable HBA's SPC-2 reservation
        4.  
          Breaking a reservation
      3.  
        About SCSI reserve requirements
      4.  
        About SCSI reserve limitations
      5.  
        About SCSI reservation logging
      6.  
        About SCSI reserve operating system limitations on Windows
      7. About checking for data loss
        1.  
          About possible data loss causes
      8. About checking for tape and driver configuration errors
        1.  
          About common configuration problems
      9.  
        About configuring SCSI reserve
    11. How NetBackup selects media
      1. About selecting media in robots
        1.  
          About spanning media with automatic media selection
      2. About selecting media in standalone drives
        1.  
          About selecting media by using standalone drive extensions
        2.  
          About disabling standalone drive extensions
        3.  
          About spanning media
        4.  
          About leaving standalone drives in the ready state
    12.  
      Volume pool and volume group examples
    13.  
      Media formats
    14.  
      Media and device management processes
    15. About Tape I/O commands on UNIX
      1.  
        About requesting tapes
      2.  
        About reading and writing tape files
      3.  
        About removing tape files

Generating licensing reports manually

Run the nbdeployutil utility to gather data for a local master server, a remote master server, or a subset of clients. nbdeployutil can be run manually to generate a report for either the capacity or the traditional reporting model.

The utility generates the report in multiple steps. Data is gathered in the first step, and then analyzed and presented. The utility is located in the following directory:

On Windows: Install_dir\NetBackup\bin\admincmd\

On UNIX: /usr/openv/netbackup/bin/admincmd/

Table: nbdeployutil options to gather, analyze, and prepare reports

Task Number

Description

Task 1

The nbdeployutil utility uses the following options to gather data from one or more master servers.

nbdeployutil --gather [--output=DIRECTORY]
      [--capacity | --traditional] [--hoursago=N]
      [--start="mm/dd/yyyy HH:MM:SS" 
      [--end="mm/dd/yyyy HH:MM:SS"]]
      [--clientlist=FILENAME | --clients=HOSTNAME[,...]]
      [--master=HOSTNAME[,...]] [--log=FILENAME]
      [--runtimestats] [--nolog] [--bpimagelist=OPTIONS]
      [--use-bpflist]

The nbdeployutil utility gathers data remotely for multiple master servers from a central location, provided the master servers have granted the initiating server access. The utility supports collecting data remotely from back-level master servers. Load the engineering binary that is associated with this utility onto all master servers for which you want to gather information.

Task 2

The nbdeployutil utility uses the following options to analyze the gathered data and prepare the report:

nbdeployutil --report
      <--capacity | --traditional> <directory> ...
      [--dirlist=FILENAME | --parentdir=DIRECTORY]
      [--capacity] [--debug-inputs] [--log=FILENAME]
      [--clientlist=FILENAME | --clients=HOSTNAME[,...]]
      [--day-boundary=TIME] [--runtimestats] [--nolog]
      [--overlap-details]

For a traditional report, run: nbdeployutil --report --traditional

For a capacity report, run: nbdeployutil --report --capacity

Task 3

Examine the results and make adjustments.

On the master servers that have NetBackup 8.0 or later, when you manually run nbdeployutil for the gather operation in capacity licensing, you must enter the following credential information for authentication of the NetBackup web management service:

Table: Required credential information

Option

Description

Domain Type

Enter a domain type value from NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap. This value is case-sensitive.

Domain Name

Name of the domain that the master server host belongs to. If the master server does not belong to any domain, enter the name of the master server.

User name

Name of the user that has administrator privileges.

Password

Password of the same user that has administrator privileges. When you enter the password, characters are intentionally not displayed in the command line.

In a multi-master server scenario, you must enter the credentials for all the master servers that are mentioned with the gather command.

Note:

You must update any automation that you might have done of the nbdeployutil gather process for NetBackup master server 8.0 or later. This update is required because of the changes in nbdeployutil to accept user credentials.

The performance of the nbdeployutil utility is dependent on the system running it as well as the size of the NetBackup catalog. The --gather option only executes as quickly as the bpimagelist command can run for 90 days' worth of images. The speed of report generation is dependent on the number of images and fragments. The operating system running the command also affects the utility's performance.

Depending on the environment, the nbdeployutil utility can take from several seconds to several minutes to run the --gather or the --report options.

Veritas posts the most recent information about the nbdeployutil utility on the following website:

http://www.veritas.com/docs/TECH145972

Gathering information for the local master server

In this example, the nbdeployutil utility is used to gather information for the local master server. Use the --capacity or the --traditional option, depending on the type of report you want to generate

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbdeployutil --gather
NetBackup Deployment Utility, version 8.1
Gathering license deployment information...
  Discovered master server master.example.com
  Master Server:master.example.com
		Domain Type (NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap):WINDOWS
		Domain Name:example.com
		User Name:Administrator
		Password:
		Output for master.example.com at: 
		C:\Program Files\Veritas\NetBackup\var\global\reports\
   20160525_151315_master.example.com
Gather DONE
Execution time: 9 secs
To create a report for this master server, run one of the following:
  capacity   : nbdeployutil.exe --report --capacity 
		"C:\Program Files\Veritas\NetBackup\var\global\reports\
   20160525_151315_master.example.com"
  traditional: nbdeployutil.exe --report --traditional 
		"C:\Program Files\Veritas\NetBackup\var\global\reports\
   20160525_151315_master.example.com"

The utility generates a log file named nbdeployutil-gather-timestamp.log during the gathering operation. By default, the log file is created in the directory where the gathered data resides.

Gathering information for a remote master server
nbdeployutil --gather --master=sidon.example.com
Gathering information for a subset of clients that the local master server protects
nbdeployutil --gather --client=dynamo,lettuce,marble2

or

nbdeployutil --gather --clientlist=filename.txt

Note:

When the --clients or the --clientlist option is used, some media servers may show in the report as not connectable, even though the utility can connect to them. This message does not affect the summary information.

Gathering information for multiple master servers

Before you run nbdeployutil in a multi-master servers environment, complete the following steps as a one-time activity:

  1. Create a trust relationship between the master servers.

    For more information, refer to the Adding a trusted master server topic, from the Veritas NetBackup™ Administrator's Guide, Volume I.

  2. On every remote master server in the multi-master server environment, add an entry of the master server where you plan to run nbdeployutil. From the NetBackup Administration Console, navigate to Host properties > select Master Servers > right-click the remote master server > click Properties > select Server > add the master server entry in the Additional Servers tab.