apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2k stars 1.09k forks source link

KV Host HA/instance HA with shared mountpoint #9750

Open nomisunrider opened 1 day ago

nomisunrider commented 1 day ago
ISSUE TYPE
COMPONENT NAME

KV Host HA/instance HA

CLOUDSTACK VERSION

N/A

CONFIGURATION

N/A

OS / ENVIRONMENT

KVM

SUMMARY

Host HA support for shared mountpoint.

Many VMware users looking at Cloudstack have FC/iSCSI block storage devices for their VMs. Has there been any investigation/are there any plans to add KVM HA support for shared mountpoint using clustered filesystems such as OCFS2/GFS2?

NuxRo commented 18 hours ago

I do not think so, but for now as a workaround one could just run a small (but solid) NFS storage. You can even keep it disabled in Cloudstack so it doesn't get used by the VMs.

Looking at /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh it doesn't seem like modifying it for shared mountpoint would be too difficult.

nomisunrider commented 14 hours ago

That workaround would be for enabling HA hosts, but would not give any HA instances, correct? As I read the documentation I understand the instances must be hosted on NFS storage, so not sure what the workaround would really achieve.

Thank you