Veritas NetBackup™ for OpenStack Administrator's Guide
- Introduction
- Deploying OpenStack plug-in for NetBackup
- Configuring NetBackup for OpenStack
- Performing backups and restores of OpenStack
- Troubleshooting
Adding OpenStack credentials in NetBackup
To establish a seamless communication between OpenStack and NetBackup for backup and restore operations, you must add and update OpenStack credentials in the NetBackup master server.
You need to first create a credentials file for storing the Keystone and project information. This file is used as an input when you run the tpconfig command to add credentials in NetBackup master server.
To create a credentials file for storing and entering Keystone and project information
- Login to the NetBackup master server.
- Create a
.creds
file. Following is a sample:{ "<openstack_compute node>_management_interface":"internal", "<openstack_compute node>_volume_api_version":"3", "<openstack_compute node>_ep_keystone":"http://<openstack_compute node>:5000/v3", "<openstack_compute node>_os_access_protocol":"http://", "<openstack_compute node>_domain_id":"<domain_ID>", "<openstack_compute node>_auth_sub_url":"auth/tokens", "<openstack_compute node>_project_ID": {"keystone_user":"admin","keystone_password":"password","keystone_user_domain_name":"<user_domain_name>", "project_domain_name":"<project_domain_name>", "project_name":"<project_name>", "backuptime_az":"nova"}, "<openstack_compute node>_<project_name>": {"keystone_user":"admin","keystone_password":"password","keystone_user_domain_name":"<user_domain_name>", "project_domain_name":"<project_domain_name>", "project_name":"<project_name>", "backuptime_az":"nova"}
- Whitelist the file path of the creds file. Run the following command:
bpsetconfig -h masterserver
BPCD_WHITELIST_PATH = /usr/openv/var/global/
For UNIX: <ctl-z>
For Windows: <ctl-d>
The BPCD_WHITELIST_PATH = install_dir\NetBackup\var\global\ entry is set in
bp.conf
file.Note:
Whitelisting is not required for media server to be able to use as backup host.
To add credentials in NetBackup
- Run tpconfig command from the following directory paths:
On UNIX systems, /usr/openv/volmgr/bin/
On Windows systems, install_path\Volmgr\bin\
- Run the ./tpconfig -add -application_server_user_id user ID -application_type openstack -application_server application server name -password password -application_server_conf /path to creds file -requiredport Port Number
- Run the tpconfig -dappservers command to verify if the NetBackup master server has the OpenStack credentials added.