Installation

Veritas NetBackup Storage Monitoring

In case of usage of Virtual Appliance
  • Use local account lpar2rrd for hosting of STOR2RRD on the virtual appliance
  • Use /home/stor2rrd/stor2rrd as the product home
STOR2RRD uses REST API inteface natively provided by the Veritas NetBackup Master server to get all necessary data.
Supported is NetBackup firmware 8.2+ and 9.0+
Upgrade to STOR2RRD v7.20-1 to support NetBackup version 8.*, there was a little bug.

Storage connectivity

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

Create a storage user

Create a new user for STORRRD and assign the user to the new role.
  1. Log into your NetBackup Master server and create a new user for STOR2RRD.
  2. Log into NetBackup Web UI as administrator.
  3. Security ➡ RBAC ➡ Roles ➡ +Add ( select Custom role )
    Veritas NetBackup monitoring user add 1


  4. After filling Role name and description go to Permissions categorie
    Veritas NetBackup monitoring user add 2


  5. Assign 'View' permission for the following Global categories and objects:
    • NetBackup Management:
      • Event log messages
      • Event log notifications
      • NetBackup hosts
      • Host properties
      • NetBackup backup images
      • Jobs
      • Media server
      • Resource limits
      • Trusted master servers
    • Protection
      • Policies
      • Storage lifecycle policies
    • Storage
      • Cloud storge
      • Disk pools
      • Storage servers
      • Disk Volumes
      • Storage units
      • 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

    STOR2RRD storage configuration

    • All actions below under stor2rrd user (lpar2rrd on Virtual Appliance)

    • Add storage into configuration from the UI:
      Settings icon ➡ Storage ➡ New ➡ Vendor:device ➡ Veritas:NetBackup
      Storage management

    • 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.