Re: Cloudstack Host HA

2024-02-09 Thread Jayanth Reddy
Hi,
Last time I tried this (like more than a year ago) this worked. Do you have 
IPMI (power management) credentials set for the hosts? Usually the Host HA 
undergoes multiple state transitions of concluding a host head, shoot the node 
in the head and finally restart the VMs on other host.

This also needs a few global settings enabled for the Host and instance HA.

 
https://docs.cloudstack.apache.org/en/latest/adminguide/reliability.html#ha-enabled-hosts
https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/




Thanks,
Jayanth

Get Outlook for Android


From: fa...@boccaciccio.it 
Sent: Friday, February 9, 2024 2:05:57 pm
To: users@cloudstack.apache.org 
Subject: Cloudstack Host HA

Hi all,

I have a question about host HA.
I have a cluster with KVM (QEMU emulator version 6.2.0) with NFS(v3)
primary storage.

I have dedicated 1 host in this cluster for HA but, when I tried to
shutting down another host in order to test HA functionality, it stops
with error: "Failed to get shared "write" lock Is another process using
the image".
Also, if I try to restart manually the VMs on any hosts, it fails with
the same error.
If I restart the hosts where the VMs were running, I'm able to start
them back with no issues

I made some investigation on this and found out this old issue
(https://github.com/apache/cloudstack/pull/4567) which made me tought
that this should be already sorted.

What am I doing wrong?
Thanks in advance,
Br,
F



Re: Cloudstack Host HA

2024-02-09 Thread Wei ZHOU
fyi

https://github.com/apache/cloudstack/issues/8613

-Wei

On Fri, 9 Feb 2024 at 09:35,  wrote:

> Hi all,
>
> I have a question about host HA.
> I have a cluster with KVM (QEMU emulator version 6.2.0) with NFS(v3)
> primary storage.
>
> I have dedicated 1 host in this cluster for HA but, when I tried to
> shutting down another host in order to test HA functionality, it stops
> with error: "Failed to get shared "write" lock Is another process using
> the image".
> Also, if I try to restart manually the VMs on any hosts, it fails with
> the same error.
> If I restart the hosts where the VMs were running, I'm able to start
> them back with no issues
>
> I made some investigation on this and found out this old issue
> (https://github.com/apache/cloudstack/pull/4567) which made me tought
> that this should be already sorted.
>
> What am I doing wrong?
> Thanks in advance,
> Br,
> F
>


Re: Cloudstack Host HA

2024-02-06 Thread Daan Hoogland
fabio, I saw a new github issue for a similar nfs issue, was that
yours (i.e. are you cdfgallo)?

In your description below, it seems to me you are confusing host HA
and VM HA, the two are different and do not mix well. There are
technical reasons for that. I have not tested (limitation of warrantee
;) but have you tried using nfs4?

On Mon, Feb 5, 2024 at 1:06 PM  wrote:
>
> Hi all,
>
> I have a question about host HA.
> I have a cluster with KVM (QEMU emulator version 6.2.0) with NFS(v3)
> primary storage.
>
> I have dedicated 1 host in this cluster for HA but, when I tried to
> shutting down another host in order to test HA functionality, it stops
> with error: "Failed to get shared "write" lock Is another process using
> the image".
> Also, if I try to restart manually the VMs on any hosts, it fails with
> the same error.
> If I restart the hosts where the VMs were running, I'm able to start
> them back with no issues
>
> I made some investigation on this and found out this old issue
> (https://github.com/apache/cloudstack/pull/4567) which made me tought
> that this should be already sorted.
>
> What am I doing wrong?
> Thanks in advance,
> Br,
> F



-- 
Daan