3.2. Configuring User Accounts in Virtuozzo Hybrid Infrastructure¶
To configure the agent appliance, you need a Virtuozzo Hybrid Infrastructure user account. This account must have the Administrator role in the Default domain. For more information about users, refer to the Virtuozzo Hybrid Infrastructure documentation. Grant this account access to all projects in the Default domain.
To do this, run the following script in the Virtuozzo Hybrid Infrastructure cluster via the OpenStack Command-Line Interface. For more information on how to connect to this interface, refer to the Virtuozzo Hybrid Infrastructure documentation.
# su - vstoradmin
# kolla-ansible post-deploy
# exit
# . /etc/kolla/admin-openrc.sh
# openstack --insecure user set --project admin --project-domain Default --domain Default USERNAME
# openstack --insecure role add --domain Default --user USERNAME --user-domain Default compute --inherited
Here, USERNAME
is the Virtuozzo Hybrid Infrastructure account with the Administrator role in the Default domain. The virtual appliance will use this account in order to back up and restore the virtual machines in any child project under the Default domain.
Replace Default with the name of another domain to manage backups for virtual machines in that domain.