[MOVED] Problems with power management option
[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?
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
