On Wed, Apr 26, 2017 at 8:44 AM, knarra <knarra@redhat.com> wrote:
On 04/26/2017 10:39 AM, TranceWorldLogic . wrote:
Hi,

VM have guest agent install but power management is disable.

Just want to confirm my understanding "HA will not work without power management", please say yes or no.
yes.

We have Dell server and it access through idrac, I am not sure how to setup power management for idrac.
I tried with drac5 and drac7 and both case while testing I got error saying "Test failed: [Connection timed out, , ]"
But ping is working from ovirt-engine.

Would you please point me to some link how to setup power management for DELL idrac ?


Thanks,
~Rohit
Hi,
   
    With out configuring powermanagement HA will not work. Below are the steps to setup power management. I do not have the link handy but below are the steps.

4.1 can perform VM HA without power fencing via storage leases, btw.
Y.
 

1) Move the host to maintenance
2) click on edit button -> select Power Management -> select check box 'Enable power management'
3) click on "+" button near Add fence agent
4) In the address field provide IPMI port which is the ip used for accessing your mm console of the server.
5) Provide USERName and password to access the console of that machine.
6) select the correct provider type.
7) click "ok".
   
    you should be able to set it up. AFAIK, drac5 / 7 needs to be used for dell.

Thanks
kasturi.

   


On Tue, Apr 25, 2017 at 10:29 PM, knarra <knarra@redhat.com> wrote:
On 04/25/2017 08:45 PM, TranceWorldLogic . wrote:
Hi,

This is regarding HA VM fail to restart on other host.

I have setup, which has 2 host in a cluster let say host1 and host2.
And one HA VM (with High priority), say vm1.
And also not storage domain is configure on host3 and it available all time.

1> Initially vm1 was running on host2.
2> Then I power OFF host2 to see whether ovirt start vm1 on host1.

I found two result in this case as below:
1> Sometime vm1 retrying to start but retrying on host2 itself.
2> Sometime vm1 move in down state without retrying.

Can anyone explain about this behaviour ? Or Is this an issue ?

Note : I am using Ovirt 4.0.

Thanks,
~Rohit


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

Hi,

      If a host is powered off and if powermanagment is enabled engine will fence the host and restarts it. During this process host residing on the vm  will be shutdown and will be restarted on another node. All the events can be seen in the engine UI.

    Hope you have not missed to enable power management on the hosts.  with out enabling power management even if the vm is marked to be Highly available it will not  be.

    Second thing to check for is if the vm has guest-agent installed on it. If the vm does not have guest-agent installed then it wont be restarted on different host. More info on this can be found at  [1].

 [1] https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35

Thanks

kasturi


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