Show Table of Contents
C.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 Enterprise Linux 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_keyscollection. - 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_passwordattribute. - Ensure the chosen
pm_userhas full access to the libvirt environment.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.