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
Loading the images from tar and pushing them to the local repository
Ensure that the proper tar files of nbosdmapi, nbosdm and nbos-horizon-plugin are available on the deployment node.
NBOS_Version | NetBackup for OpenStack version number. |
kolla-base-distro | Ubuntu |
kolla-install-type | Binary or source |
FQDN | Hostname of kolla deployment server. |
To load the images from tar and push them to the local repository
- Load NetBackup for OpenStack images from the tar file.
Run the following commands:
nbosdmapi
docker load --input nbosdmapi-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}.tar
For example,
docker load --input nbosdmapi-ubuntu-9.1.2.20211021104525-{{ openstack_release }}.tar
nbosdm
docker load i-input nbosdm-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}.tar
For example,
docker load --input nbosdm-ubuntu-9.1.2.20211021104525-{{ openstack_release }}.tar
nbos-horizon-plugin (Yoga release)
docker load --input nbos-horizon-plugin-{{ kolla-install-type }}-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}.tar
For example,
docker load --input nbos-horizon-plugin-source-ubuntu-9.1.2.20211021104525-{{ openstack_release }}.tar
nbos-horizon-plugin (Caracal release)
docker load --input nbos-horizon-plugin-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}.tar
For example,
docker load --input nbos-horizon-plugin-ubuntu-9.1.2.20211021104525-{{ openstack_release }}.tar
- Tag the NetBackup for OpenStack images with appropriate name.
Run the following commands:
nbosdmapi
docker tag localhost/nbosdmapi-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }} nbos/nbosdmapi-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
docker tag localhost/nbosdmapi-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }} FQDN:5001/nbos/nbosdmapi-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
Examples,
docker tag localhost/nbosdmapi-ubuntu:9.1.2.20211021104525-{{ openstack_release }} nbos/nbosdmapi-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
docker tag localhost/nbosdmapi-ubuntu:9.1.2.20211021104525-{{ openstack_release }} deployment-vm.vxindia.veritas.com:5001/nbos/nbosdmapi-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
nbosdm
docker tag localhost/nbosdm-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }} nbos/nbosdm-<kolla-base-distro>:<NBOS_version>-{{ openstack_release }}
docker tag localhost/nbosdm-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }} FQDN:5001/nbos/nbosdm-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
Examples,
docker tag localhost/nbosdm-ubuntu:9.1.2.20211021104525-{{ openstack_release }} nbos/nbosdm-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
docker tag localhost/nbosdm-ubuntu:9.1.2.20211021104525-{{ openstack_release }} deployment-vm.vxindia.veritas.com:5001/nbos/nbosdm-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
nbos-horizon-plugin (Yoga release)
docker tag localhost/nbos-horizon-plugin-{{ kolla-install-type }}-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }} nbos/nbos-horion-plugin-{{ kolla-install-type }}-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
docker tag localhost/nbos-horizon-plugin-{{ kolla-install-type }}-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }} FQDN:5001/nbos/nbos-horizon-plugin-{{ kolla-install-type }}-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
Examples,
docker tag localhost/nbos-horizon-plugin-source-ubuntu:9.1.2.20211021104525-{{ openstack_release }} nbos/nbos-horizon-plugin-source-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
docker tag localhost/nbos-horizon-plugin-source-ubuntu:9.1.2.20211021104525-{{ openstack_release }} deployment-vm.vxindia.veritas.com:5001/nbos/nbos-horizon-plugin-source-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
nbos-horizon-plugin (Caracal release)
docker tag localhost/nbos-horizon-plugin-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }} nbos/nbos-horion-plugin-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
docker tag localhost/nbos-horizon-plugin-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }} FQDN:5001/nbos/nbos-horizon-plugin-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
Examples,
docker tag localhost/nbos-horizon-plugin-ubuntu:9.1.2.20211021104525-{{ openstack_release }} nbos/nbos-horizon-plugin-source-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
docker tag localhost/nbos-horizon-plugin-ubuntu:9.1.2.20211021104525-{{ openstack_release }} deployment-vm.vxindia.veritas.com:5001/nbos/nbos-horizon-plugin-source-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
- Push the tagged image to local registry.
Run the following commands:
nbosdmapi
docker push FQDN:5001/nbos/nbosdmapi-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
For example,
docker push deployment-vm.vxindia.veritas.com:5001/nbos/nbosdmapi-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
nbosdm
docker push FQDN:5001/nbos/nbosdm-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
For example,
docker push deployment-vm.vxindia.veritas.com:5001/nbos/nbosdm-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
nbos-horizon-plugin (Yoga release)
docker push FQDN:5001/nbos/nbos-horizon-plugin-{{ kolla-install-type }}-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
For example,
docker push deployment-vm.vxindia.veritas.com:5001/nbos/nbos-horizon-plugin-source-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
nbos-horizon-plugin (Caracal release)
docker push FQDN:5001/nbos/nbos-horizon-plugin-{{ kolla-base-distro }}:{{ NBOS_version }}-{{ openstack_release }}
For example,
docker push deployment-vm.vxindia.veritas.com:5001/nbos/nbos-horizon-plugin-ubuntu:9.1.2.20211021104525-{{ openstack_release }}
- Add the insecure-registries entry in
/etc/docker/daemon.json
on all controller and compute nodes.Open the daemon.json file and make the changes as follows:
cat /etc/docker/daemon.json { "log-opts": { "max-file": "5", "max-size": "50m" }, "registry-mirrors": [ "http://<deployment node ip>:4000" ], "insecure-registries": [ "FQDN:5001" ] }
- Add the insecure-registries entry in
/etc/docker/daemon.json
on deployment nodes.If
/etc/docker/
directory does not exist, create it and createdaemon.json
file.Open the daemon.json file and make the changes as follows:
cat /etc/docker/daemon.json { "insecure-registries":["FQDN:5001"] }
- Restart the docker.
systemctl restart docker
- Verify that the specified images are pushed in the registry.
Controller and compute nodes: curl -X GET http://FQDN:5001/v2/_catalog
Deployment node: docker info
For example,
curl -X GET http://deployment-vm.vxindia.veritas.com:5001/v2/_catalog
Sample output:
curl -X GET http://deployment-vm.vxindia.veritas.com: 5001/v2/_catalog //Output should look like below: {"repositories":["nbos/nbos-horizon-plugin-source-ubuntu", "nbos/nbosdm-ubuntu","nbos/nbosdmapi-ubuntu"]}