Hi,
On Tue, Jan 14, 2020 at 7:51 PM <m.skrzetuski(a)gmail.com> wrote:
I don't have power management devices on the Intel NUC. You
probably
missed the message where I posted this because of
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/4WRVQKDASO7Y...
.
For production you will need hardware that supports power management
(either the servers or external device, like UPS). In case you need just to
test ovirt with power management, you can setup software power management
on the hypervisor, where the ovirt nodes will be hosted as nested. I had
luck with following approach:
Assumption:
Baremetal: the host where nested KVM is setup.
Ovirt VMs: CentOS7-ovirt0, CentOS7-ovirt1
[root@baremetal ~]# yum install python-pip -y
[root@baremetal ~]# yum install -y zeromq-devel
[root@baremetal ~]# yum install -y gcc python-devel libvirt-devel
[root@baremetal ~]# firewall-cmd --permanent --zone=public
--add-port=623-624/udp
[root@baremetal ~]# firewall-cmd --reload
[root@baremetal ~]# vbmc add CentOS7-ovirt0 --username root --password
yourpass --port 623
[root@baremetal ~]# 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@baremetal ~]# vbmc start CentOS7-ovirt0
2019-10-16 18:44:57,397.397 26596 INFO VirtualBMC [-] Started vBMC instance
for domain CentOS7-ovirt0
[root@baremetal ~]# vbmc start CentOS7-ovirt1
2019-10-16 18:45:38,056.056 26596 INFO VirtualBMC [-] Started vBMC instance
for domain CentOS7-ovirt1
[root@baremetal ~]# 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.
_______________________________________________