Re: Automatic KVM host reboot on Primary Storage failure

2014-11-14 Thread Andrija Panic
Hi Marcus, thanks for explaining. maybe a side question: " like storage/host tags to guarantee each host only uses one NFS" - what do you mean by this ? that is, how would you implent this? I know of tags, but I only know how to make sure certain Compute/Disk offerings use certain Compute/Storage

Re: Automatic KVM host reboot on Primary Storage failure

2014-11-14 Thread Marcus
It is there (I believe) because cloudstack is acting as a cluster manager for KVM. It is using NFS to determine if it is 'alive' on the network, and if it is not, it reboots itself to avoid having a split brain scenario where VMs start coming up on other hosts when they are already running on this

Automatic KVM host reboot on Primary Storage failure

2014-11-14 Thread Andrija Panic
Hi guys, I'm wondering why us there a check inside /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh ? I understand that the KVM host checks availability of Primary Storage, and reboots itself if it can't write to storage. But, if we have say, 3 NFS in a cluster, then lot of