Veritas NetBackup™ for OpenStack Administrator's Guide
- Introduction
- Deploying NetBackup for OpenStack
- Requirements
- NetBackup for OpenStack network considerations
- Preparing the installation
- Spinning up the NetBackup for OpenStack VM
- Installing NetBackup for OpenStack Components
- Installing on RHOSP
- 1. Prepare for deployment
- 3] Update overcloud roles data file to include NetBackup for OpenStack services
- 7] Verify deployment
- 8] Additional Steps on NetBackup for OpenStack Appliance
- Installing on RHOSP
- Configuring NetBackup for OpenStack
- Post Installation Health-Check
- Uninstalling from RHOSP
- Install workloadmgr CLI client
- Configuring NetBackup OpenStack Appliance
- Configuring NetBackup Master Server
- NetBackup for OpenStack policies
- Performing backups and restores of OpenStack
- Required restore.json for CLI
- Configuring and starting a file search in Horizon
- Create a File Recovery Manager Instance
- Performing Backup Administration tasks
- NBOS Backup Admin Area
- Policy Attributes
- Policy Quotas
- Managing Trusts
- Policy import and migration
- Disaster Recovery
- Example runbook for disaster recovery using NFS
- Disaster recovery of a single policy
- Copy the policy directories to the configured NFS Volume
- Make the Mount-Paths available
- Reassign the policy
- Restore the policy
- Clean up
- Disaster recovery of a complete cloud
- Reconfigure the Target NetBackup for OpenStack installation
- Make the Mount-Paths available
- Reassign the policy
- Restore the policy
- Reconfigure the Target NetBackup for OpenStack installation back to the original one
- Clean up
- Troubleshooting
Reassigning policies
OpenStack administrators are able to reassign a policy to a new owner. This involves the possibility to migrate a policy from one cloud to another or between projects.
Warning:
Reassigning a policy only changes the database of the target NetBackup for OpenStack installation. Now that it is managed by a different NetBackup installation, the original source installation is not updated.
Use the following CLI command to reassign a policy:
workloadmgr workload-reassign-workloads [--old_tenant_ids <old_tenant_id>] [--new_tenant_id <new_tenant_id>] [--workload_ids <workload_id>] [--user_id <user_id>] [--migrate_cloud {True,False}] [--map_file <map_file>]
--old_tenant_ids <old_tenant_id> Specify old tenant ids from which policies need to reassign to new tenant. Specify multiple times to choose policies from multiple tenants.
--new_tenant_id <new_tenant_id> Specify new tenant id to which policies need to reassign from old tenant. Only one target tenant can be specified.
--workload_ids <workload_id> Specify policy ids which need to reassign to new tenant. If not provided then all the policies from old tenant will get reassigned to new tenant. Specifiy multiple times for multiple policies.
--user_id <user_id> Specify user id to which policies need to reassign from old tenant. only one target user can be specified.
--migrate_cloud {True,False} Set to True if you want to reassign policies from other clouds as well. Default if False
--map_file Provide file path(relative or absolute) including file name of reassign map file. Provide list of old policies mapped to new tenants. Format for this file is YAML.
A sample mapping file with explanations is shown below:
reassign_mappings: - old_tenant_ids: [] #user can provide list of old_tenant_ids or workload_ids new_tenant_id: new_tenant_id user_id: user_id workload_ids: [] #user can provide list of old_tenant_ids or workload_ids migrate_cloud: True/False #Set to True if want to reassign workloads from # other clouds as well. Default is False - old_tenant_ids: [] #user can provide list of old_tenant_ids or workload_ids new_tenant_id: new_tenant_id user_id: user_id workload_ids: [] #user can provide list of old_tenant_ids or workload_ids migrate_cloud: True/False #Set to True if want to reassign workloads from # other clouds as well. Default is False