VMs HA not working with Ceph
Hi, I have build new infra with Ceph storage everything working well. But VMs HA not working. Can anyone guide me. Regards Pradeep Kumar
Re: VMs HA not working with Ceph
Hello Guys, We are also struggling with this HA thing any guidance will be highly appreciated. Regards, Ranjit On Thu, 1 Dec 2022 at 20:50, pspa...@hotmail.com wrote: > Hi, > I have build new infra with Ceph storage everything working well. > But VMs HA not working. Can anyone guide me. > > Regards Pradeep Kumar
Re: VMs HA not working with Ceph
Hello Pradeep, Ranjit, As far as I know, you need to have an NFS primary storage and OOBM configured. There is a PR that provides a solution to have HA for RBD, but it's not merged yet - https://github.com/apache/cloudstack/pull/5862. I hope the links below will help you https://docs.cloudstack.apache.org/en/latest/adminguide/reliability.html#ha-enabled-hosts https://cwiki.apache.org/confluence/display/CLOUDSTACK/Out-of-band+Management+for+CloudStack https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/#Host-HA_on_KVM_host Best regards, Slavka On Fri, Dec 2, 2022 at 9:02 AM Ranjit Jadhav wrote: > Hello Guys, > > We are also struggling with this HA thing any guidance will be highly > appreciated. > > Regards, > Ranjit > > On Thu, 1 Dec 2022 at 20:50, pspa...@hotmail.com > wrote: > > > Hi, > > I have build new infra with Ceph storage everything working well. > > But VMs HA not working. Can anyone guide me. > > > > Regards Pradeep Kumar >
Re: VMs HA not working with Ceph
Not so sure but links refers to HA in RBD primary storage and they mention VM HA that is more related to https://docs.cloudstack.apache.org/en/latest/adminguide/reliability.html?highlight=HA#ha-enabled-virtual-machines HA-Enabled Virtual Machines The user can specify a virtual machine as HA-enabled. By default, all virtual router VMs and Elastic Load Balancing VMs are automatically configured as HA-enabled. When an HA-enabled VM crashes, CloudStack detects the crash and restarts the VM automatically within the same Availability Zone. HA is never performed across different Availability Zones. CloudStack has a conservative policy towards restarting VMs and ensures that there will never be two instances of the same VM running at the same time. The Management Server attempts to start the VM on another Host in the same cluster. HA features work with iSCSI or NFS primary storage. HA with local storage is not supported. Is there any PR related to this? From: Slavka Peleva Date: Friday, 2 December 2022, 2:57 AM To: users@cloudstack.apache.org Subject: Re: VMs HA not working with Ceph Hello Pradeep, Ranjit, As far as I know, you need to have an NFS primary storage and OOBM configured. There is a PR that provides a solution to have HA for RBD, but it's not merged yet - https://github.com/apache/cloudstack/pull/5862. I hope the links below will help you https://docs.cloudstack.apache.org/en/latest/adminguide/reliability.html#ha-enabled-hosts https://cwiki.apache.org/confluence/display/CLOUDSTACK/Out-of-band+Management+for+CloudStack https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/#Host-HA_on_KVM_host Best regards, Slavka On Fri, Dec 2, 2022 at 9:02 AM Ranjit Jadhav wrote: > Hello Guys, > > We are also struggling with this HA thing any guidance will be highly > appreciated. > > Regards, > Ranjit > > On Thu, 1 Dec 2022 at 20:50, pspa...@hotmail.com > wrote: > > > Hi, > > I have build new infra with Ceph storage everything working well. > > But VMs HA not working. Can anyone guide me. > > > > Regards Pradeep Kumar >
Re: VMs HA not working with Ceph
Hello, For HA to work you need to: 1 - add a service offering with "HA" box enabled 2 - you need to have some NFS storage for the heartbeat/fencing mechanism - you don't need to use it for VMs, but it needs to be present and it needs to be super reliable or hypervisors might reboot if they see it goes away - this behaviour can be customised if you want to (and know what you are doing): https://github.com/apache/cloudstack/blob/a63b2aba7aa3948f78d280a356c550c6638a137b/scripts/vm/hypervisor/kvm/kvmheartbeat.sh#L162 HTH --- Nux www.nux.ro On 2022-12-02 07:02, Ranjit Jadhav wrote: Hello Guys, We are also struggling with this HA thing any guidance will be highly appreciated. Regards, Ranjit On Thu, 1 Dec 2022 at 20:50, pspa...@hotmail.com wrote: Hi, I have build new infra with Ceph storage everything working well. But VMs HA not working. Can anyone guide me. Regards Pradeep Kumar