fence-virt support on rhv

Latest response

I'm currently building a RHV 4.0.6 test/demo-environment using nested virtualization on one physical libvirt/kvm for two RHV hosts. I know that this is not supported but because lack of physical servers I decided to do that way. For fence I configure fence_xvm with keyfile and it works from kvm server:

[root@c7 ~]# fence_xvm -o list
rhv4                             17bc0497-1b82-4cdf-b979-ed80c0757a7d on
rhv5                             3e082933-1878-4c49-934c-24f8ee929a11 on
[root@c7 ~]# 
[root@c7j ~]# fence_xvm -a 225.0.0.12 -k /etc/cluster/fence_xvm.key -H rhv4 -o status
Status: ON
[root@c7 ~]# 
[root@c7 ~]# fence_xvm -a 225.0.0.12 -k /etc/cluster/fence_xvm.key -H rhv5 -o status
Status: ON
[root@c7 ~]# 

I have also add fence_xvm on RHV manager with:

[root@rhvm ~]# engine-config -s CustomVdsFenceType="ZZZ"
[root@rhvm ~]#  engine-config -s CustomFenceAgentMapping="ZZZ=xvm"
[root@rhvm ~]# service ovirt-engine restart
Redirecting to /bin/systemctl restart  ovirt-engine.service
[root@rhvm ~]# 

but now I have a problem with RHVManager GUI, where the GUI has mandatory Address, User Name and Password fields I can't just add something like this:

 key_file="/etc/cluster/fence_xvm_host1.key" multicast_address="225.0.1.12"

Thanks

Responses