[ovirt-users] Re: Fence Agent in Virtual Environment

2020-11-05 Thread Alex K
On Thu, Nov 5, 2020, 18:20 Strahil Nikolov via Users 
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 
> написа:
>
>
>
>
>
> 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-le...@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/V5SHGKNLTK24DQ3G7ZX6AGKIHLNCFS2J/
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/ZY2RQ2F7FIC2Y2JCBPBPOJZTMQQ25WA5/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/BPKZBINJF7HX4P7AXXCWXZF7UHMW2WHW/


[ovirt-users] Re: Fence Agent in Virtual Environment

2020-11-05 Thread Alex K
On Thu, Nov 5, 2020, 16:00 jb  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  power status
(default port is 623)
ipmitool -I lanplus -U root -P yourpass -H  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-le...@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/V5SHGKNLTK24DQ3G7ZX6AGKIHLNCFS2J/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/UI2X2GGWNJGXVKW3GKGY43ZC6DU5HXSU/


[ovirt-users] Re: Fence Agent in Virtual Environment

2020-11-05 Thread Jonathan Baecker

Am 05.11.20 um 19:19 schrieb Strahil Nikolov:

You need to enable HA for the VM.


Yes this I know and I had this on. When I set the host in maintenance 
mode, the VM was moving to another host, but not when I kill the host.



About the XVM , I think that you first need to install it on all hosts and then check in 
UI, if you can find that fence agent in "Power Management".


Thanks, I will try this!

Best Regard

Jonathan





Best Regards,
Strahil Nikolov






В четвъртък, 5 ноември 2020 г., 18:41:40 Гринуич+2, jb  
написа:





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  
написа:





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-le...@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/V5SHGKNLTK24DQ3G7ZX6AGKIHLNCFS2J/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/FQGCUE3AGIZRGIQGW4VNJO6I7L6JKBZ3/


[ovirt-users] Re: Fence Agent in Virtual Environment

2020-11-05 Thread jb
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  
написа:





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-le...@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/V5SHGKNLTK24DQ3G7ZX6AGKIHLNCFS2J/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/VIUYPTQCULJP6KBCVU4CEBWAPO3EYQHY/


[ovirt-users] Re: Fence Agent in Virtual Environment

2020-11-05 Thread Strahil Nikolov via Users
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  
написа: 





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-le...@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/V5SHGKNLTK24DQ3G7ZX6AGKIHLNCFS2J/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/ZY2RQ2F7FIC2Y2JCBPBPOJZTMQQ25WA5/