osdir.com

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

Re: 4.11 without Host-HA framework


Update on this.


I put everything (management, storage and guest VMs) on single NIC so all in same subnet and VM HA failover worked. It took about 6 1/2 minutes with default timers before the VM was responding to a ping after being migrated.


So it looks like it is something with the network setup I am doing.



The manager node hast just a single NIC in the management subnet  - 172.30.3.0/27 and the IP is assigned directly to the NIC.


Each compute node has -


1)  a NIC in the management subnet - 172.30.3.0/27

2) a NIC in the guest VM subnet - 172.30.4.0/25

3) a NIC in the storage subnet - 172.30.5.0/28  (NFS server is also in this subnet)


None of the NICs are vlan aware but the ports they connect to on the switch are in different vlans.


3 bridges are used on each node - cloudbr0 for management, cloudbr1 for guest VMs and cloudbr2 for storage.  Only the ifcfg-cloudbr1 configuration references a default gateway because I read somewhere that is what should be used and I seemed to remember I had trouble with SSVM until I did this.


When setting up the cloud I exclude the already used management IPs on the nodes from the range you enter as I had issues with the system VMs picking up IPs already in use.


Same reasoning behind storage ie. I exclude IPs already used for NFS server and compute nodes.


Can anyone see where any of the above could be causing an issue ?


Many thanks for any help given



________________________________
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