osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4.11 without Host-HA framework


Hi Rohit


In an attempt to make things simpler I am now running the management and storage (NFS) across the same NIC with a separate NIC for the guest VMs. So basic networking, one subnet for management/storage and a different one for guest VMs which means two bridges.


I am also just testing VM HA (not Host HA at present)


1 manager and 3 compute nodes. I crash a compute node or pull the power on the node and monitor the management server log.


It reports the ping timeouts and once then after the ping interval * ping timoeut time it marks the host as state Alert in the UI. So far so good.


But it never tries to migrate the VM running on the crashed node.  Not a single message about attempting to restart, nothing.


The VM has been setup with a compute offering with HA enabled.


Any thoughts as to why it is not trying to restart the VM on another of the nodes (there is capacity as one of the nodes has no VMs on it)

.

The only other thing I can try is to use just one NIC for everything and see if I get anywhere with that.


Jon



________________________________
From: Rohit Yadav <rohit.yadav@xxxxxxxxxxxxx>
Sent: 23 May 2018 10:45
To: users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: 4.11 without Host-HA framework

Jon,


In the VM's compute offering, make sure that HA is ticked/enabled. Then use that HA-enabled VM offering while deploying a VM. Around testing - it depends how you're crashing. In case of KVM, you can try to cause host crash (example: echo c > /proc/sysrq-trigger) and see if HA-enabled VMs gets started on a different host.


- Rohit

<https://cloudstack.apache.org>
[https://cloudstack.apache.org/images/monkey-144.png]<https://cloudstack.apache.org/>

Apache CloudStack: Open Source Cloud Computing<https://cloudstack.apache.org/>
cloudstack.apache.org
CloudStack is open source cloud computing software for creating, managing, and deploying infrastructure cloud services






________________________________
From: Jon Marshall <jms.123@xxxxxxxxxxxxx>
Sent: Tuesday, May 22, 2018 8:28:06 PM
To: users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: 4.11 without Host-HA framework

Hi Rohit


Thanks for responding.


I have not had much luck with HA at all.  I crash a server and nothing happens  in terms of VMs migrating to another host. Monitoring the management log file it seems the management server recognises the host has stopped responding to pings but doesn't think it has to do anything.


I am currently running v4.11 with basic network but 3 separate NICs, one for management, one for storage and one for VMs themselves.


Should it make it any difference ie. would it be worth trying to run management and storage over the same NIC ?


I am just lost as to why I see no failover at all whereas others are reporting it works fine.


Jon


________________________________
From: Rohit Yadav <rohit.yadav@xxxxxxxxxxxxx>
Sent: 22 May 2018 12:12
To: users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: 4.11 without Host-HA framework

Hi Jon,


Yes, Host-HA is different from VM-HA and without Host HA enabled a HA enabled VM should be recovered/run on a different host when it crashes. Historically the term 'HA' in CloudStack is used around high availability of a VM.


Host HA as the name tries to imply is around HA of a physical hypervisor host by means of out-of-band management technologies such as ipmi and currently supporting ipmi as OOBM and KVM hosts with NFS storage.


- Rohit

<https://cloudstack.apache.org>
[https://cloudstack.apache.org/images/monkey-144.png]<https://cloudstack.apache.org/>

Apache CloudStack: Open Source Cloud Computing<https://cloudstack.apache.org/>
cloudstack.apache.org
CloudStack is open source cloud computing software for creating, managing, and deploying infrastructure cloud services






________________________________
From: Jon Marshall <jms.123@xxxxxxxxxxxxx>
Sent: Monday, May 21, 2018 8:36:04 PM
To: users@xxxxxxxxxxxxxxxxxxxxx
Subject: 4.11 without Host-HA framework

I keep seeing conflicting information about this in the mailing lists and in blogs etc.

If I run 4.11 without enabling Host HA framework should HA still work if I crash a compute node because my understanding was the new framework was added for certain cases only.

It doesn't work for me but I can find a number of people saying you don't need to enable the new framework for it to work.

Thanks

Jon

rohit.yadav@xxxxxxxxxxxxx
www.shapeblue.com<http://www.shapeblue.com>
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




rohit.yadav@xxxxxxxxxxxxx
www.shapeblue.com<http://www.shapeblue.com>
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue