How to create a KVM resource into HAE using ssh transport
This document (7008168) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise High Availability Extension 11 Service Pack 3
Situation
Resolution
id_rsa
id_rsa.pub
The public key has to be copied over to another node:
# ssh-copy-id -i ~/.ssh/id_rsa.pub root@nodeX
Class = ocf
Click in Forward
autoset_utilization_cpu = false
autoset_utilization_hv_memory = false
Select OK
Note: This sles11-sp1-xml is just one example. You need to copy your Virtual Machine xml file located in /etc/libvirt/qemu to another directory on the shared storage. You can create a directory called kvm-config-files and place all your xml files there.
Warning: Do NOT point the config parameter to use /etc/libvirt/qemu. You must need to copy your xml files to another location otherwise, the xml files will be deleted when you start the guest for the first time.
7 - Click on Meta Attributes tab and add these configurations:
target-role = Started
allow-migrate = true
is-managed = true
Now you will be able to start, stop and migrate your Virtual Machine using HAE interface.
Cause
Additional Information
http://www.suse.com/documentation/sles11/book_kvm/data/sec_libvirt_connect_remote.html
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7008168
- Creation Date: 25-May-2012
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise High Availability Extension
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com