Re: KVM HostHA

2018-03-15 Thread Jon Marshall
ubject: Re: KVM HostHA Hi Jon, I have to admit that I have a beginner/mediocre understanding of cloudstack overall (especially the host HA feature). But what works for me should work for everyone. So, to answer your questions: 1) how many compute nodes do you have > I have tested using thr

Re: KVM HostHA

2018-03-15 Thread Parth Patel
-enabled VM has stopped executing and it restarts the HA-enabled VM on another host. Hope this helps. Regards, Parth Patel. > > > > From: Parth Patel <parthpatel2...@gmail.com> > Sent: 14 March 2018 14:36 > To: users@cloudstack.apac

Re: KVM HostHA

2018-03-15 Thread Jon Marshall
not managed to get any failover of VMs no matter what I try Jon From: Parth Patel <parthpatel2...@gmail.com> Sent: 14 March 2018 14:36 To: users@cloudstack.apache.org Subject: Re: KVM HostHA Hi Paul and Adrina, I don't know the functioning of Host-HA fe

Re: KVM HostHA

2018-03-14 Thread Parth Patel
(4.8) - > >> libvirt > >>> get stuck (librbd exception or similar) so agent get's disconnected, > but > >>> VMs are still running fine... (except DB get messed up, all NICs loose > >>> isolation_uri, VR's loose MAC addresses and other IP addresse

Re: KVM HostHA

2018-03-14 Thread Boris Stoyanov
ception or similar) so agent get's disconnected, but >>> VMs are still running fine... (except DB get messed up, all NICs loose >>> isolation_uri, VR's loose MAC addresses and other IP addresses etc...) >>> >>> >>> Thanks >>> Andrija >>> >>> &g

Re: KVM HostHA

2018-03-14 Thread Andrija Panic
; > > > > Thanks > > Andrija > > > > > > > > > > On 14 March 2018 at 10:57, Jon Marshall <jms@hotmail.co.uk> wrote: > > > >> That would make sense. > >> > >> > >> I have another server being used for something else at the moment so I > >&g

Re: KVM HostHA

2018-03-14 Thread Boris Stoyanov
update this thread when I have tested >> >> >> Jon >> >> >> >> From: Paul Angus <paul.an...@shapeblue.com> >> Sent: 14 March 2018 09:16 >> To: users@cloudstack.apache.org >> Subject: RE: KVM HostHA >>

Re: KVM HostHA

2018-03-14 Thread Andrija Panic
Clouds. CSForge is a > framework developed by ShapeBlue to deliver the rapid deployment of a > standardised ... > > > > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > > -Original Message- > From: Jon Marshall <jms...

Re: KVM HostHA

2018-03-14 Thread Jon Marshall
he.org Subject: RE: KVM HostHA I'd need to do some testing, but I suspect that your problem is that you only have two hosts. At the point that one host is deemed out of service, you only have one host left. With only one host, CloudStack will show the cluster as ineligible. It is extremely

RE: KVM HostHA

2018-03-14 Thread Paul Angus
.uk> Sent: 14 March 2018 08:36 To: users@cloudstack.apache.org Subject: Re: KVM HostHA Hi Paul My testing does indeed end up with the failed host in maintenance mode but the VMs are never migrated. As I posted earlier the management server seems to be saying there is no other host that the

Re: KVM HostHA

2018-03-14 Thread victor
just can't get this to work at the moment. If I do eventually get it working I will do a write up for others with same issue :) From: Paul Angus <paul.an...@shapeblue.com> Sent: 14 March 2018 07:45 To: users@cloudstack.apache.org Subject: RE: KVM HostHA Hi

Re: KVM HostHA

2018-03-14 Thread Jon Marshall
:) From: Paul Angus <paul.an...@shapeblue.com> Sent: 14 March 2018 07:45 To: users@cloudstack.apache.org Subject: RE: KVM HostHA Hi Parth, Two answer your questions, VM-HA does not restart VMs on an alternate host if the original host goes down. The management server (without h

RE: KVM HostHA

2018-03-14 Thread Paul Angus
. paul.an...@shapeblue.com  www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue -Original Message- From: Parth Patel <parthpatel2...@gmail.com> Sent: 14 March 2018 05:05 To: users@cloudstack.apache.org Subject: Re: KVM HostHA Hi Paul,

RE: KVM HostHA

2018-03-13 Thread Paul Angus
c: Jon Marshall <jms@hotmail.co.uk> Subject: Re: KVM HostHA Hi Jon and Victor, I think the management server pings your host using ipmi (I really don't hope this is the case). In my case, I did not have OOBM enabled at all (my hardware didn't support it) I think you could disable OOBM an

Re: KVM HostHA

2018-03-13 Thread Parth Patel
compute nodes using ipmitool and if it did not get a response because the > host was down it would fence off that host and move the VMs to an active > compute node. > > > > This is obviously too simplistic so could someone explain how it is > meant to work and what it is protecting

Re: KVM HostHA

2018-03-13 Thread victor
___ From: Paul Angus <paul.an...@shapeblue.com> Sent: 13 March 2018 07:01 To: users@cloudstack.apache.org Subject: RE: KVM HostHA Hi all, One small note, unplugging the management NIC will only cause an HA event if the storage is running over that NIC al

Re: KVM HostHA

2018-03-13 Thread Jon Marshall
Sent: 13 March 2018 07:01 To: users@cloudstack.apache.org Subject: RE: KVM HostHA Hi all, One small note, unplugging the management NIC will only cause an HA event if the storage is running over that NIC also. Is the storage is over a separate NIC then, the guest VMs will continue to r

Re: KVM HostHA

2018-03-13 Thread Jon Marshall
t;paul.an...@shapeblue.com> Sent: 13 March 2018 07:01 To: users@cloudstack.apache.org Subject: RE: KVM HostHA Hi all, One small note, unplugging the management NIC will only cause an HA event if the storage is running over that NIC also. Is the storage is over a separate NIC then, the guest V

RE: KVM HostHA

2018-03-13 Thread Paul Angus
el2...@gmail.com> Sent: 12 March 2018 17:35 To: users@cloudstack.apache.org Subject: Re: KVM HostHA > > Hi Jon, > > As I said, in my case, making the host HA didn't work but by just > having a HA VM running on host and executing - (WARNING) "echo c > > /proc/sys

Re: KVM HostHA

2018-03-12 Thread Parth Patel
rk > it as down (which it does). > > > I am in testing mode so I think I will just go and pull the power and see > what happens :) > > > Thanks > > > Jon > > > ____________ > From: Paul Angus <paul.an...@shapeblue.com

RE: KVM HostHA

2018-03-12 Thread Paul Angus
Sent: 12 March 2018 15:53 To: users@cloudstack.apache.org Subject: Re: KVM HostHA Hi Paul Thanks for the response. I think I am not understanding how it was meant to work then. My understanding was that the manager used ipmitool to just keep querying the compute nodes as to their status so

Re: KVM HostHA

2018-03-12 Thread Jon Marshall
users@cloudstack.apache.org Subject: RE: KVM HostHA Hi Jon, I think that what you guys are finding, is that a controlled host shutdown, which will cause the agent to shutdown cleanly; Is not considered an HA event. I wouldn't expect CloudStack to take any action if you shut down a host, only if the host

RE: KVM HostHA

2018-03-12 Thread Paul Angus
regards, Paul Angus paul.an...@shapeblue.com  www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue -Original Message- From: Jon Marshall <jms@hotmail.co.uk> Sent: 12 March 2018 15:15 To: users@cloudstack.apache.org Subject: Re: KVM HostHA

Re: KVM HostHA

2018-03-12 Thread Jon Marshall
I have the same issue here and am not entirely sure what the behaviour should be. I have one manager node and 2 compute nodes running 4.11 with ipmi working correctly. >From the UI under HA - HA Enabled Yes HA State Available HA Provider kvmhaprovider although

Re: KVM HostHA

2018-03-08 Thread Parth Patel
Hi Victor, I too had a similar failover requirement. I also got on the path of making an HA-enabled KVM host in CS 4.9 after doing the same steps you performed but in CS 4.9 where the agent got in "Alert" state but not in "Down" state. However, if your requirement is simply that in case a host

RE: KVM HostHA

2018-03-08 Thread Paul Angus
vic...@ihnetworks.com> Sent: 08 March 2018 08:36 To: users@cloudstack.apache.org; Andrija Panic <andrija.pa...@gmail.com> Subject: Re: KVM HostHA Hello Andrija, Yes I am doing the same test as you mentioned ie unplug NIC in one of the host and observer the action of VM's in that host. Bu

Re: KVM HostHA

2018-03-08 Thread victor
Hell Paul, I am using the default values set by cloudstack and didn't changed those default values. Regards Victor  On 03/07/2018 11:37 PM, Paul Angus wrote: Hi Victor, What parameters do you have for: kvm.ha.activity.check.max.attempts kvm.ha.activity.check.interval

Re: KVM HostHA

2018-03-08 Thread victor
Hello Andrija, Yes I am doing the same test as you mentioned ie unplug NIC in one of the host and observer the action of VM's in that host. But in my test the VM's didn't get started in another host. Regards Victor On 03/07/2018 11:52 PM, Andrija Panic wrote: Hi Victor, zero experience

Re: KVM HostHA

2018-03-07 Thread Andrija Panic
Hi Victor, zero experience here with 4.11 in general, but what are you expecting to happen ? you powered off a host, so nothing for IPMI driver to do - host is down already, no host HA actions are expected afaik. I guess you might have have wanted to i.e. unplug NIC (cause network issues on

RE: KVM HostHA

2018-03-07 Thread Paul Angus
Hi Victor, What parameters do you have for: kvm.ha.activity.check.max.attempts kvm.ha.activity.check.interval kvm.ha.activity.check.timeout kvm.ha.health.check.timeout kvm.ha.degraded.max.period the logs should show entries relating to these, BUT it's possible that as you performed a clean