
7. Share SSH keys between the two hosts (perform this on both nodes)
1. Target System: mgmt1
# ssh-keygen -t rsa
# ssh-copy-id -i .ssh/id_rsa.pub mgmt2
2. Target System: mgmt2
# ssh-keygen -t rsa
# ssh-copy-id -i .ssh/id_rsa.pub mgmt1
8.3 Cluster Virtual Machines
Target System: Luci web interface and mgmt1
Create HA Service for sat-vm
1. Shut down the virtual machines and copy virtual machine XML files from mgmt1 to
mgmt2
# scp /etc/libvirt/qemu/nfs-vm.xml rhcf-mgmt2:/etc/libvirt/qemu/
# scp /etc/libvirt/qemu/sat-vm.xml rhcf-mgmt2:/etc/libvirt/qemu/
# scp /etc/libvirt/qemu/rhevm-vm.xml rhcf-mgmt2:/etc/libvirt/qemu/
# scp /etc/libvirt/qemu/dnsdhcp-vm.xml rhcf-mgmt2:/etc/libvirt/qemu/
2. From luci home page, Click on “Cluster”
3. Click “Services”
4. Click “Add Virtual Machine Service”
83 www.redhat.com
Figure 8.6: Luci Failover Domain
Comentarios a estos manuales