Re: Info about fence_virsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/17/2010 6:50 PM, carlopmart wrote:
> Hi all,
> 
>  I have installed two rhel5.4 kvm guests with rhcs under a rhel5.4 kvm
> host. At this moment I am using fence_manual as a fence device, but I
> will like to use fence_virsh, but I don't find any doc about how to
> configure under cluster.conf file. Any hints??
> 
>  Thanks.

I use something like this:

>     <clusternode name="fedora12-node1" votes="1" nodeid="1">
>       <fence>
>         <method name="single">
>           <device name="virsh_fence" port="fedora12-node1"/>
>         </method>
>       </fence>
>     </clusternode>

port is the virsh/qemu/libvirt machine name.

>     <fencedevice name="virsh_fence" agent="fence_virsh" ipaddr="daikengo.int.fabbione.net" login="root" secure="1" identity_file="/root/.ssh/id_rsa"/>

ipaddr is the host system and I am using ssh authentication.

You will need to setup ssh keys for this to work, or use the password
option (I recommend ssh tho).

All cluster VMs need to be able to ssh the main host.

Cheers
Fabio

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux