Hi Ahmed,

I agree with Swen.
HA is a very big, complex topic. But first off:

# What storage are you using? NFS? Linstor?
# When u set up HA, is it Host HA or VM HA?

My understanding is you cant have Host HA and VM HA at the same time. The most 
common configuration should be just VM HA.

In your tests, make sure you simulate node failure by doing a force Power Off 
(or physically pull the cables to the server, thats what we did). Doing a 
reboot will not trigger HA.

If using NFS, you might consider Out Of Band to be able to use shoot it in the 
head. Tho, im not so familiar with VM HA with NFS. Someone else might be better 
to advise this.

But if using Linstor, you dont have to use OOB. But there are other configs to 
tune which u can find on their website. We use Linstor, and HA works well.

Regards,
Bryan
On 13 Sep 2024 at 5:36 PM +0800, m...@swen.io, wrote:
> I find HA is a really complex topic in CS. What state is your host in after 
> you did the shutdown? Are you able to set the host "Decraded" via UI?
>
> Regards,
> Swen
>
> -----Ursprüngliche Nachricht-----
> Von: Ahmed Awlaqi <aawlaq...@gmail.com>
> Gesendet: Donnerstag, 12. September 2024 16:07
> An: users@cloudstack.apache.org
> Betreff: VM is not migrated to another KVM host when the first goes down
>
> So I have a problem with Cloudstack 4.19.1.1 I have enabled HA in the compute 
> offering and configured out-of-band management in the KVM hosts.
> The thing is when I shutdown a KVM host that has running machines it does not 
> migrate it to the running host
>
>

Reply via email to