Copying the NetBackup for OpenStack deployment scripts to Kolla-ansible deploy scripts
To copy the NetBackup for OpenStack deployment scripts to Kolla-ansible deploy scripts
- Go to the installation directory.
Yoga release: cd kolla_yoga
Caracal release: cd kolla
- Add NetBackup for OpenStack global variables to
globals.yml.Take backup of
globals.yml.cp /etc/kolla/globals.yml /opt/
Append NetBackup for OpenStack global variables to
globals.yml.cat NetBackupOpenStack_globals.yml >> /etc/kolla/globals.yml
- Add NetBackup for OpenStack passwords to kolla
passwords.yamlfile.Append
NetBackupOpenStack_passwords.ymlto/etc/kolla/passwords.yml. Passwords are empty. Set these passwords manually in the/etc/kolla/passwords.yml.Take backup of
passwords.yml.cp /etc/kolla/passwords.yml /opt/
Append NetBackup for OpenStack global variables to
passwords.yml.cat NetBackupOpenStack_passwords.yml >> /etc/kolla/passwords.yml
Edit
/etc/kolla/passwords.yml. At the end of the file, set NetBackup for OpenStack passwords.NetBackupOpenStack_keystone_password: <password> NetBackupOpenStack_database_password: <password>
- Append the NetBackup for OpenStack's YAML file content to the kolla ansible's site.yml file.
Note:
Before you append the YAML file content, take the backup of the site.yml file.
cp /path/to/venv/share/kolla-ansible/ansible/site.yml /opt/
Caracal release:cat NetBackupOpenStack_site.yml >> /path/to/venv/share/kolla-ansible/ansible/site.yml
Yoga release:cat NetBackupOpenStack_yoga_site.yml >> /path/to/venv/share/kolla-ansible/ansible/site.yml
- Append
NetBackupOpenStack_inventory.txtto your cloud's kolla-ansible inventory file.cat NetBackupOpenStack_inventory.txt >> <your inventory file name path>
For example,
cat NetBackupOpenStack_inventory.txt >> /root/multinode