> On my log cloudstack is showing that the vm's are restarted after he > ditects the host in down state,but physically the vm's are not started .
Need to investigate this, can you post the logs somewhere so we can take a look? In addition, can you verify if the host (host_id in table vm_instance) where CS thinks the VM is running is the same as the host where the VMs is in halted state? Regards, Somesh -----Original Message----- From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com] Sent: Saturday, August 15, 2015 5:41 AM To: users@cloudstack.apache.org Cc: prapul cool Subject: Re: Urgent Issue : Cloudstack VM HA not working Hi , I'm working on FC as primary storage ,can that be related to this issue ? On my log cloudstack is showing that the vm's are restarted after he ditects the host in down state,but physically the vm's are not started . on my xenserver i have all the xenserver patches installed. 2015-08-15 9:21 GMT+03:00 Remi Bergsma <rberg...@schubergphilis.com>: > Hi, > > Next to CloudStack reporting Up, also double check the management log en > verify it can actually connect to the hypervisor and talk to it. 4.4.2 had > issues with these kind of things. > > What patches have you installed on xenserver? > > Can you put the mgt logs somewhere so we can take a look? > > Please consider upgrading as unfortunately 4.4.2 wasn't our best release. > The latest 4.4.4 is great and has 100+ bugs fixed. I am not saying it will > fix this, but it would be better anyway. > > Regards, Remi > > > On 14 Aug 2015, at 23:36, Somesh Naidu <somesh.na...@citrix.com> wrote: > > >> in the cloudDB its running > > > > That would explain why HA did not trigger on the VM. > > > > Is the host marked as "Up", as in connected to CS? > > > > Regards, > > Somesh > > > > > > -----Original Message----- > > From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com] > > Sent: Friday, August 14, 2015 5:23 PM > > To: users@cloudstack.apache.org > > Cc: prapul cool > > Subject: Re: Urgent Issue : Cloudstack VM HA not working > > > > hi, > > > > On the xencenter its halted and in the cloudDB its running. > > The vmsync process is not getting any information about the VM. > > > > 2015-08-14 18:46 GMT+03:00 Somesh Naidu <somesh.na...@citrix.com>: > > > >> Fedi, > >> > >> I am assuming VM has HA flag set in its Compute Offering. > >> > >> When you stop the VM from XenCenter, what state is it in XenSever > (halted > >> or does it disappear) and in Cloud DB (Running or Stopped)? What does > >> vmsync for that host do with this VM (look at management server logs for > >> this)? > >> > >> Regards, > >> Somesh > >> > >> -----Original Message----- > >> From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com] > >> Sent: Friday, August 14, 2015 7:59 AM > >> To: users@cloudstack.apache.org > >> Cc: prapul cool > >> Subject: Re: Urgent Issue : Cloudstack VM HA not working > >> > >> Hi, > >> > >> thanks for your replys, > >> but all those links are basically discribing how to do the pool-master > >> failover (i already made those the configuration of xenserver ha ). > >> but in my case i'm not recovering from a slave faillure ,even when i > stop a > >> vm from xencenter ,cloudstack do not start it as described in the > >> documentation. > >> > >> Best regards. > >> > >> 2015-08-14 12:26 GMT+03:00 Remi Bergsma <rberg...@schubergphilis.com>: > >> > >>> Hi, > >>> > >>> This may also be of help: > >> > http://blog.remibergsma.com/2015/05/23/making-xenserver-and-cloudstack-sing-and-dance-together-again/ > >>> > >>> I’d also consider upgrading to 4.4.4. I just did a 4.4.2 -> 4.4.4 > upgrade > >>> and it went without issues. It has many fixes over 4.4.2. > >>> > >>> Regards, > >>> Remi > >>> > >>> > >>> On 14 Aug 2015, at 08:05, prapul cool > <prapul_cool2...@yahoo.com.INVALID > >>> <mailto:prapul_cool2...@yahoo.com.INVALID>> wrote: > >>> > >>> Hi ,From Xenserver6.2 onwards, you need to enabled native HA at pool > >> level > >>> for cloudstack HA to work.please refer the link for more details. > >>> http://www.shapeblue.com/xenserver-native-ha-with-cloudstack/ > >>> Regards, > >>> Prapul sriram, > >>> Cloud Architect, > >>> PSI Cloud Solutions, > >>> Psiclouds.com<http://Psiclouds.com>. > >>> > >>> > >>> On Friday, 14 August 2015 3:31 AM, Fedi Ben Ali < > >>> ben.ali.fe...@gmail.com<mailto:ben.ali.fe...@gmail.com>> wrote: > >>> > >>> > >>> hello , > >>> > >>> > >>> I'm working on cloudstack 4.4.2 and xenserver 6.2 cluster with 5 > hosts, i > >>> deployed many virtual machines with compute offerings having ha > feature > >>> enabled. > >>> > >>> But when i stops one of the pools hosts , happens all VM steel set to > >>> running on cloudstack and no ha is done. > >>> > >>> Even when i stop a vm from the inside (setting command init 0 ) > >> ,cloudstack > >>> suppose to restart the VM ,but he is not doing so. > >>> > >>> This is very weird but can any one help ,this sooo urgent . > >>> > >>> Thx > >> >