Fence Agent in Virtual Environment

Hello, I would like to build a hyperconverged gluster with hosted engine in a virtual environment, on Fedora 33 with KVM. The setup is for testing purposes, specially for test upgrades before running them on the real physical Servers. But I want to have the setup as close as possible to the real environment, so the only thing is missing is a fence agent. Is there a way to simulate power management in a virtual environment? Jonathan

This is just a guess , but you might be able to install fence_xvm on all Virtualized Hosts . Best Regards, Strahil Nikolov В четвъртък, 5 ноември 2020 г., 16:00:40 Гринуич+2, jb <jonbae77@gmail.com> написа: Hello, I would like to build a hyperconverged gluster with hosted engine in a virtual environment, on Fedora 33 with KVM. The setup is for testing purposes, specially for test upgrades before running them on the real physical Servers. But I want to have the setup as close as possible to the real environment, so the only thing is missing is a fence agent. Is there a way to simulate power management in a virtual environment? Jonathan _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/V5SHGKNLTK24DQ...

Yes I know, is just a guest... I wanted to test what is happen with a VM, when I kill it's host. After that, I have not seen that the VM is moving to another host. So I thought maybe ovirt needs the power management for that. I have read about fence_xvm, but I don't know how to configure oVirt with that. Am 05.11.20 um 17:11 schrieb Strahil Nikolov:
This is just a guess , but you might be able to install fence_xvm on all Virtualized Hosts .
Best Regards, Strahil Nikolov
В четвъртък, 5 ноември 2020 г., 16:00:40 Гринуич+2, jb <jonbae77@gmail.com> написа:
Hello,
I would like to build a hyperconverged gluster with hosted engine in a virtual environment, on Fedora 33 with KVM.
The setup is for testing purposes, specially for test upgrades before running them on the real physical Servers. But I want to have the setup as close as possible to the real environment, so the only thing is missing is a fence agent.
Is there a way to simulate power management in a virtual environment?
Jonathan _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/V5SHGKNLTK24DQ...

On Thu, Nov 5, 2020, 18:20 Strahil Nikolov via Users <users@ovirt.org> wrote:
This is just a guess , but you might be able to install fence_xvm on all Virtualized Hosts .
Did not know fence_xvm. Interesting to check it.
Best Regards, Strahil Nikolov
В четвъртък, 5 ноември 2020 г., 16:00:40 Гринуич+2, jb <jonbae77@gmail.com> написа:
Hello,
I would like to build a hyperconverged gluster with hosted engine in a virtual environment, on Fedora 33 with KVM.
The setup is for testing purposes, specially for test upgrades before running them on the real physical Servers. But I want to have the setup as close as possible to the real environment, so the only thing is missing is a fence agent.
Is there a way to simulate power management in a virtual environment?
Jonathan _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/V5SHGKNLTK24DQ... _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZY2RQ2F7FIC2Y2...

On Thu, Nov 5, 2020, 16:00 jb <jonbae77@gmail.com> wrote:
Hello,
I would like to build a hyperconverged gluster with hosted engine in a virtual environment, on Fedora 33 with KVM.
The setup is for testing purposes, specially for test upgrades before running them on the real physical Servers. But I want to have the setup as close as possible to the real environment, so the only thing is missing is a fence agent.
Is there a way to simulate power management in a virtual environment?
I had successfully used the following approach not much time ago: # Setup power management for VMs: at hardware host install: ``` yum install python-pip -y yum install -y zeromq-devel yum install -y gcc python-devel libvirt-devel firewall-cmd --permanent --zone=public --add-port=623-624/udp firewall-cmd --reload vbmc add CentOS7-ovirt0 --username root --password yourpass --port 623 vbmc add CentOS7-ovirt1 --username root --password yourpass --port 624 [root@baremetal ~]# vbmc list +----------------+--------+---------+------+ | Domain name | Status | Address | Port | +----------------+--------+---------+------+ | CentOS7-ovirt0 | down | :: | 623 | | CentOS7-ovirt1 | down | :: | 624 | +----------------+--------+---------+------+ [root@v2 ~]# vbmc start CentOS7-ovirt0 2019-10-16 18:44:57,397.397 26596 INFO VirtualBMC [-] Started vBMC instance for domain CentOS7-ovirt0 [root@v2 ~]# vbmc start CentOS7-ovirt1 2019-10-16 18:45:38,056.056 26596 INFO VirtualBMC [-] Started vBMC instance for domain CentOS7-ovirt1 [root@v2 ~]# vbmc list +----------------+---------+---------+------+ | Domain name | Status | Address | Port | +----------------+---------+---------+------+ | CentOS7-ovirt0 | running | :: | 623 | | CentOS7-ovirt1 | running | :: | 624 | +----------------+---------+---------+------+ at node0 host (VM) check: ipmitool -I lanplus -U root -P yourpass -H <hardware host IP> power status (default port is 623) ipmitool -I lanplus -U root -P yourpass -H <hardware host IP> power status -p 624 at ovirt GUI you need lanplus=1,-p623 and lanplus=1,-p624 options for each host. ```
Jonathan _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/V5SHGKNLTK24DQ...
participants (3)
-
Alex K
-
jb
-
Strahil Nikolov