Search

B.5. SSH and Virsh

download PDF
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's authorized_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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.