[MOVED] Problems with power management option

Latest response

[Note: The Groups area will soon be archived. This topic has been moved to the new community discussion area, so head over and check it out.]

 

Hi there,

I new pretty new to RHEV and still learning. I came across this problem and so far I haven't been able to find a solution. I have three HP blade servers (running via HP c7000 blade chasis) on which I have installed Hypervisors. I created cluster, data center, added storage via RHEV Manager and it is all working pretty fine. I can migrate virtual machines from one host to another manually. VMs even migrate automatically is I put one host into a maintenance mode.

My problem is with high availability, or with enabling power management on my hosts. I try to enable it, type in an IP address, username, password and choose iLO as type. When I test it, I get "unable to connect/login to fencing device". I can access iLO directly, via internet explorer and I can ping that address, so I know it is working and I have the correct username and password. I tried using secure and without secure and different port numbers (22, 443...) but no luck. The fact that I get the same problem on all three hosts is telling me that I am doing something wrong somewhere, so if anyone can point me in the right direction it would be greatly appreciated. Maybere there is something that needs to be configured on iLO interface? Or it has to do with the fact that these are blade servers? Any clues would be awesome!

thanks

Dino

Responses

Hey Emil,

Sorry you're having issues with the Power Managment (I had issues also ;-)

Did you test connecting to the ILO from the RHEV-Manager host itself?  (I couldn't deduce if you only tried from your workstation - and in the case of my company, our ILOMs are on a separate subnet and we need firewalls rules enabled).  Also - did you try to select the SSL option for the ILO connection when you tested?

We use Dell, but I assume they are somewhat similar and we had to actually check a box to enable the IPMI over LAN functionality.  I don't know if that is necessary, or if the Power Management functionality is handled using some other mechanism of the ILO.

 

Hola Emil,

First, ensure you have properly set an administrator user inside iLO, which has privileges to start/stop/reboot the server, then ensure you have enabled ssh or telnet on ILO.

Second, connect through putty or else to iLO, and test your user/password.

Third, ensure you have fence-xxx packages installed, i usually install hosts instead of hypervisor, many things are not yet ready and have the ability to change stuff is better for me.

Fourth, test the connection with your method on your hosts to iLO, find the correct script, usually starts with fence_xxx (ilo, ilo2, etc), view the help (-h) and test the connection.

Something to note here, happened before, if you have iLO version 2 or 3 or 4, they behave differently. If you are working with 2, then you can use the type ilo as it appears on the manager screen, but if is 3+ it will work with ipmilan, at least that's what i've used before without troubles.

Hope it helps, please let us know how it goes.

Buena suerte!!

RHEV-M does not directly connect to the fencing device to perform power management operations. Instead, RHEV-M chooses one of the active hypervisor in the cluster as a proxy to do the fence command. Eg, if hyp1 and hyp2 are hypervisor and we request hyp2 to be fenced, RHEV-M will contact hyp1 and tell it to contact the fencing device of hyp2 and fence it. This means, hyp1 should be able to reach fencing device of hyp1 over the network. If there are more than two hypervisors in the cluster, then RHEV-M choose a random host as a proxy and we don't control over it (upto 3.1, we have some control in 3.2). This means, for fencing operations to always be successful, each hypervisor would be able to reach the fencing device of all other hypervisors.

Have you made sure that your hypervisors can contac the fencing device directly?

firstly, thank you all for suggestions...

@James Radtke
I can access iLO from RHEV-M server, no problems. Tried with and without SSL option, same result. IPMI over LAN is enabled already.

@Oxiel Enrique Contreras Vargas
- admin account is OK. I tested it using SSH and via the web browser. Telnet is not working?
- used putty to connect via SSH and I connect just fine, so username and password are fine.
- I don't understand your third point. What do you mean fence_xxx package???Where to install it? On a hypervisor host? How do I do that?
- I tried to test it on one of the hosts - the syntax I am using is : fence_ilo -a hostname-ilo -l username -p password -o status but I receive the same error: Unable to connect/login to fencing device.
- I am using iLO v3 so I tried with ipmilan parameter, still, the same problem occurs.

@Sadique Puthen
From one RHEV host (say hv01) I can  ping iLO interface of the other two (hv02 and hv03)...is that enough of the test? As I mentioned above, I run command fence_ilo -a hostname-ilo -l username -p password -o status on one of the hosts, trying to connect to its own fencing device and the other two and it still fails...

Can you please run below command from hv01 against the fence device of hv02?

# fence_ipmilan -a <ip-addr-ilo-of-hv02> -l <username> -p <password> -o status -P -T 4

Getting status of IPMI:10.50.1.106...Chassis power = On

Done

Wow! for the first time I see a good status! On all three! But it is still failing via RHEV-Manager...I set ipmilan as type, should I type anything in the "Options" box?

Yes, select ipmilan and add the below to options box without quotes.

"lanplus power_wait=4"

You sir are a life saver!!!! Thanks alot - it si working fine on all three hosts! I just need to test the HA feature now!

Thank you once again!!!!

+1. Thanks for the tips!

Awesome! Great to see you got this resolved quickly.

Thanks Sadique - I (obviously) did not realize that they hypervisors actually make the contact to ILO - that is good to know!

I've migrated this discussion over to the new area here: https://access.redhat.com/site/discussions/451533
 

If anyone wants to add to it, please do so there.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.