Installation

Veritas NetBackup Monitoring

Virtual Appliance users:
  • Use 'lpar2rrd' account for STOR2RRD on the Virtual Appliance
  • Use /home/stor2rrd/stor2rrd as the product home
STOR2RRD uses Veritas NetBackup REST API inteface provided by the Veritas NetBackup Master server to get all necessary data.

Supported Veritas NetBackup versions: 8.2+, 9.0+ and 10.+

Storage connectivity

  • Allow access from the STOR2RRD host to the Veritas NetBackup Master server.
    Veritas NetBackup accepts HTTP/HTTPS requests on port 1556 by default.
            $ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 1556
            Connection to "192.168.1.1" on port "1556" is ok
          

Create Verias NetBackup user

There are more ways to configure user for STOR2RRD depending on Veritas NetBackup server deployment type (standalone server, virtual appliance), OS (Windows, Linux), version (8.x, 9.0) and authentication authority (Active Directory, local user, Veritas user).
Please consult user creation steps with Veritas NetBackup support if in doubt.

Here we describe two ways to create a NetBackup user:
  • NetBackup 9.0 with RBAC, Windows server
  • NetBackup REST API user without RBAC

NetBackup 9.0, RBAC, Windows server
Veritas NetBackup 9.0, Role Based Access, Windows standalone server with local user, Web Management Console:

  1. Log into Veritas NetBackup Master server and create a new local user for STOR2RRD
  2. Log into Veritas NetBackup Web Managemet Console as administrator
  3. Security ➡ RBAC ➡ Roles ➡ +Add (Custom role)
    Veritas NetBackup monitoring user add 1

  4. Assign Role name and description and go to Permissions categories
    Veritas NetBackup monitoring user add 2

  5. Assign 'View' permission for the following Global categories and objects
    Veritas NetBackup Management:
    • Event logs
      • Event log messages
      • Event log notifications
    • NetBackup hosts
      • Host properties
    • NetBackup backup images
    • Jobs
    • Media server
    • Resource limits
    • Servers
      • Trusted master servers
    Protection:
    • Policies
    • Storage lifecycle policies
    Storage:
    • Cloud storge
    • Disk pools
    • Storage servers
      • Disk Volumes
    • Storage units
    • Tape devices
    • Tape media
      • Tape media server groups
      • Tape media volume pools
    • Replication-capable target storage servers

  6. Assign the user created in the first step to the new role
    Veritas NetBackup monitoring user add 3
    Veritas NetBackup monitoring user add 4

  7. Recommended optional step: Create Access Key
    • Security ➡ Access keys ➡ +Add
    • Fill in the name of the user created in the previous steps
    • Set key validity
    • Click Add
    • Copy and save the access key
    • Use this access key later when adding NetBackup to STOR2RRD


NetBackup REST API user without RBAC
Use only on older NetBackup versions without RBAC support.
Original KB: 100042908 How to add users for making queries against Veritas NetBackup REST API

  1. Add VxSS user to the Veritas NetBackup master server in order to perform user/password authentication when using the Veritas NetBackup API
    bpnbat command:
    bpnbat -AddUser <user> <password> <domain>
    The user, password and domain can be any value and do not have any relation to GUI or other login credentials. Make note of the values as they will be needed later.
    (VxSS user name and domain name must not confict with other user or domain names used in the environment!)

    Example:
    bpnbat -AddUser stor2rrd Secret1234 stor2rrd
  2. Enable enhanced auditing with the following command:
    bpnbaz -SetupExAudit
  3. Give the new VxSS user administrator privileges
    bpnbaz -AddUser <domain type>:<domain name>:<user>
    Example:
    bpnbaz -AddUser vx:stor2rrd:stor2rrd
  4. It may be necessary to restart netBackup services.

STOR2RRD storage configuration

Perform following steps as stor2rrd user (lpar2rrd on Virtual Appliance)
  • Add storage into configuration from the UI:
    Settings icon ➡ Storage ➡ New ➡ Vendor:device ➡ Veritas:NetBackup
    Veritas Netbackup Storage management

    Domain type: vx (Veritas private database), NT (Windows workgroup), ldap (Active Directory), unixpwd (UNIX password file)

  • Schedule to run storage agent from stor2rrd crontab (lpar2rrd on Virtual Appliance, it might already exist there)
    $ crontab -l | grep load_netbackupperf.sh
    $
    
    Add if it does not exist as above
    $ crontab -e
    
    # Veritas NetBackup 
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_netbackupperf.sh > /home/stor2rrd/stor2rrd/load_netbackupperf.out 2>&1
    
    Assure there is already an entry with the UI creation running once an hour in crontab
    $ crontab -e
    
    # STOR2RRD UI (just ONE entry of load.sh must be there)
    5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
    
  • Let run the storage agent for 15 - 20 minutes to get data, then:
    $ cd /home/stor2rrd/stor2rrd
    $ ./load.sh
    
  • Go to the web UI: http://<your web server>/stor2rrd/
    Use Ctrl-F5 to refresh the web browser cache.