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:
- Log into Veritas NetBackup Master server and create a new local user for STOR2RRD
- Log into Veritas NetBackup Web Managemet Console as administrator
- Security ➡ RBAC ➡ Roles ➡ +Add (Custom role)
- Assign Role name and description and go to Permissions categories
- Assign 'View' permission for the following Global categories and objects
Veritas NetBackup Management:
- Event logs
- Event log messages
- Event log notifications
- NetBackup hosts
- NetBackup backup images
- Jobs
- Media server
- Resource limits
- Servers
Protection:
- Policies
- Storage lifecycle policies
Storage:
- Cloud storge
- Disk pools
- Storage servers
- Storage units
- Tape devices
- Tape media
- Tape media server groups
- Tape media volume pools
- Replication-capable target storage servers
- Assign the user created in the first step to the new role
- 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
- 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
- Enable enhanced auditing with the following command:
bpnbaz -SetupExAudit
- Give the new VxSS user administrator privileges
bpnbaz -AddUser <domain type>:<domain name>:<user>
Example:
bpnbaz -AddUser vx:stor2rrd:stor2rrd
- It may be necessary to restart netBackup services.
STOR2RRD storage configuration
Perform following steps as stor2rrd user (lpar2rrd on Virtual Appliance)