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 virtual machine
- Installing NetBackup for OpenStack Components
- Installing on RHOSP
- Prepare for deployment
- Updating the overcloud roles data file to include NetBackup for OpenStack services
- Additional Steps on NetBackup for OpenStack Appliance
- Installing on Ansible OpenStack Ussuri
- Installing on Kolla
- Pushing NetBackup for OpenStack images to the local registry
- Installing on RHOSP
- Configuring NetBackup for OpenStack
- Post Installation Health-Check
- Uninstalling NetBackup for OpenStack
- Uninstalling from RHOSP
- Uninstalling from Ansible OpenStack
- Uninstalling from Kolla Openstack
- Uninstalling from RHOSP
- Upgrading NetBackup for OpenStack
- Configuring NetBackup OpenStack Appliance
- Configuring NetBackup primary server
- NetBackup for OpenStack protections
- Performing snapshots, backups, and restores of OpenStack
- About restores
- Required restore.json file for CLI
- About schedules
- Performing Backup Administration tasks
- Disaster recovery
- Troubleshooting
- General Troubleshooting Tips
- Health check of NetBackup for OpenStack
- Important log files
Preparing the NetBackup for OpenStack container images
Warning:
All commands need to be run as user "stack".
NetBackup for OpenStack uses the local registry on the undercloud to house packages.
NetBackup for OpenStack provides a shell script, which pushes the containers to the undercloud and updates the nbos_env.yaml
.
cd /home/stack/nbos-cfg-scripts/redhat-director-scripts/<RHOSP_release_directory>/scripts
sudo ./prepare_nbos_images.sh <UNDERCLOUD_REGISTRY_HOSTNAME> <IMAGE_SOURCE_FOLDER>
Run following command to find UNDERCLOUD_REGISTRY_HOSTNAME.
In the following example nbos-undercloud is <UNDERCLOUD_REGISTRY_HOSTNAME>
$ openstack tripleo container image list | grep keystone | docker://nbos-undercloud:8787/rhosp-rhel9/openstack-keystone:17.1
CONTAINER_TAG format for RHOSP17.1: <NBOS_VERSION>-rhosp17.1
Example,
sudo ./prepare_nbos_images.sh nbos-undercloud 10.4.1.1035-rhosp17.1 /home/stack/nbos/nbos-rhosp17.1-10.4.1.1035
The changes can be verified using the following commands.
sudo podman images | grep nbos localhost/nbos-horizon-plugin 10.4.1.1035-rhosp17.1 c4ba2c4ff0f8 3 days ago 1.01 GB localhost/nbosdmapi 10.4.1.1035-rhosp17.1 8baac9920a8e 3 days ago 1.13 GB localhost/nbosdm 10.4.1.1035-rhosp17.1 86542c17acc2 3 days ago 2.76 GB ----------------------------------------------------------------------------------------------------- (undercloud) [stack@host scripts]$ grep -i image ../environments/nbos_env.yaml docker_nbosdm_image: nbos-undercloud:8787/nbosdm:10.4.1.1035-rhosp17.1 docker_nbosdmapi_image: nbos-undercloud:8787/nbosdmapi:10.4.1.1035-rhosp17.1 ContainerHorizonImage: nbos-undercloud:8787/nbos-horizon-plugin:10.4.1.1035-rhosp17.1