B.5. SSH and Virsh
The director can access a host running libvirt through SSH and use virtual machines as nodes. The director uses virsh to control the power management of these nodes.
Important
This option is available for testing and evaluation purposes only. It is not recommended for Red Hat OpenStack Platform enterprise environments.
- pm_type
- Set this option to
pxe_ssh
. - pm_user, pm_password
- The SSH username and contents of the SSH private key. The private key must be on one line with new lines replaced with escape characters (
\n
). For example:-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEA .... kk+WXt9Y=\n-----END RSA PRIVATE KEY-----
Add the SSH public key to the libvirt server'sauthorized_keys
collection. - pm_addr
- The IP address of the virsh host.
Additional Notes
- The server hosting libvirt requires an SSH key pair with the public key set as the
pm_password
attribute. - Ensure the chosen
pm_user
has full access to the libvirt environment.