Dear Martin,
Thank you so much! 
It works!
I found that IPMI is disable by default setting. 
When i enable it and run fence_ilo4 command, it showed that status is ON.

[root@XXXXXX~]# ​fence_ilo4 -a XXXXX -l XXXX -p XXXXX -v -o status
Executing: /usr/bin/ipmitool -I lanplus -H XXXXX -p 623 -U XXXXX -P XXXXX -L ADMINISTRATOR chassis power status

0 Chassis Power is on


Status: ON
[root@XXXXXX~]#

Thank you so much again!

Regards,
Terry


2018-02-28 16:30 GMT+08:00 Martin Perina <mperina@redhat.com>:


On Wed, Feb 28, 2018 at 9:13 AM, Terry hey <recreationh@gmail.com> wrote:
Dear Martin,
Please see the following result. 
[root@XXXXX ~]# fence_ilo4 -a XXX.XXX.XXX.XXX -l XXXXX -p XXXXX -v -o status
Executing: /usr/bin/ipmitool -I lanplus -H XXX.XXX.XXX.XXX -p 623 -U XXXXX -P XXXXX -L ADMINISTRATOR chassis power status

Connection timed out


[root@XXXXX~]#
As you can see it just said connection timed out.
But i can actually access iLO5 ( same account and password) through Internet Explorer , 

​This is completely different protocol (HTTP) using a browser,  it's independent of IPMI.

Are you sure that some firewall doesn't block access to the IPMI interface? Are you executing the command from different host than the host which you want access the IPMI interface of?
​If above is not an issue, then please login to iLO5 management using a browser and check if IPMI interface is enabled according to your iLO5 documentation
 

I want to ask.. do you know what port did the manger use when compile this command?

​623 is the default IPMI port
 

Regards
Terry


2018-02-26 17:38 GMT+08:00 Martin Perina <mperina@redhat.com>:


On Fri, Feb 23, 2018 at 11:34 AM, Terry hey <recreationh@gmail.com> wrote:
Dear Martin, 
I am very sorry that i reply you so late. 
Do you mean that 4.2 can support ilo5 by selecting the option "ilo4" in power management?

​Yes
 
"from the error message below I'd say that you are either not using correct IP address of iLO5 interface or you haven't enabled remote access to your iLO5 interface"
I just try it and double confirm that i did not type a wrong IP. But the error message is same.

​Unfortunately I don't have iLO5 server available, so I cannot provide more details. Anyway could you please double check your server documentation, that you have enabled access to iLO5 IPMI interface correctly? And could you please share output of following command?

f
​​
ence_ilo4 -a <IP_ADDRESS> -l <USERNAME> -p <PASSWORD> -v -o status

Thanks

Martin
 

Regards
Terry

2018-02-08 16:13 GMT+08:00 Martin Perina <mperina@redhat.com>:
Hi Terry,

from the error message below I'd say that you are either not using correct IP address of iLO5 interface or you haven't enabled remote access to your iLO5 interface.
According to [1] iLO5 should fully IPMI compatible. So are you sure that you enabled the remote access to your iLO5 address in iLO5 management?
Please consult [1] how to enable everything and use a user with at least Operator privileges.

Regards

Martin

On Thu, Feb 8, 2018 at 7:57 AM, Terry hey <recreationh@gmail.com> wrote:
Dear Martin,

Thank you for helping me. To answer your question,
1. Does the Test in Edit fence agent dialog work​?
Ans: it shows that "Test failed: Internal JSON-RPC error"

Regardless the fail result, i press "OK" to enable power management. There are four event log appear in "Events"
********************************The follwing are the log in "Event""********************************
Host host01 configuration was updated by admin@internal-authz.
Kdump integration is enabled for host hostv01, but kdump is not configured properly on host.
Health check on Host host01 indicates that future attempts to Stop this host using Power-Management are expected to fail.
Health check on Host host01 indicates that future attempts to Start this host using Power-Management are expected to fail.

2. If not could you please try to install fence-agents-all package on different host and execute?
Ans: It just shows "Connection timed out".

So, does it means that it is not support iLo5 now or i configure wrongly?

Regards,
Terry

2018-02-02 15:46 GMT+08:00 Martin Perina <mperina@redhat.com>:


On Fri, Feb 2, 2018 at 5:40 AM, Terry hey <recreationh@gmail.com> wrote:
Dear Martin,

Um..Since i am going to use HPE ProLiant DL360 Gen10 Server to setup oVirt Node(Hypervisor). HP G10 is using ilo5 rather than ilo4. Therefore, i would like to ask whether oVirt power management support iLO5 or not. 

​We don't have any hardware with iLO5 available, but there is a good chance that it will be compatible with iLO4. Have you tried to setup your server with iLO4? Does the Test in Edit fence agent dialog work​? If not could you please try to install fence-agents-all package on different host and execute following:

​​
f
​​
ence_ilo4 -a <IP_ADDRESS> -l <USERNAME> -p <PASSWORD> -v -o status

and share the output?

Thanks

Martin


If not, do you have any idea to setup power management with HP G10?

Regards,
Terry

2018-02-01 16:21 GMT+08:00 Martin Perina <mperina@redhat.com>:


On Wed, Jan 31, 2018 at 11:19 PM, Luca 'remix_tj' Lorenzetto <lorenzetto.luca@gmail.com> wrote:
Hi,

From ilo3 and up, ilo fencing agents are an alias for fence_ipmi. Try using the standard ipmi.

​It's not just an alias, ilo3/ilo4 also have different defaults than ipmilan. For example if you use ilo4, then by default following is used:

 
​lanplus=1
 power_wait=4
 
​So I recommend to start with ilo4 and add any necessary custom options into Options field. If you need some custom
options, could you please share them with us? It would be very helpful for us, if needed we could introduce ilo5 with
different defaults then ilo4

Thanks

Martin


Luca



Il 31 gen 2018 11:14 PM, "Terry hey" <recreationh@gmail.com> ha scritto:
Dear all, 
Did oVirt 4.2 Power management support iLO5 as i could not see iLO5 option in Power Management.

Regards
Terry

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.




--
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.




--
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.




--
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.




--
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.