Cloudstack 4.9 CentOS Template failure - Connection Reset

2017-07-18 Thread Taylor
Hello, I am experiencing an issue while trying to download the CentOS template. It seems the connection is timing out and then failing. To debug I logged into the SSVM and tried running a wget from the nfs directory mounted on that vm. This also failed due to connection reset. Wget will ev

Re: ACS 4.9.2 Management Server and Galera Cluster in CentOS 7

2017-07-18 Thread Ivan Kudryavtsev
Hello, Paul. Yes, I see and realize the aftermath and actually I just haven't realized the thing about get_lock, because main documentation ( http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/management-server/) didn't mention that ACS requirement, and as I said before I wa

RE: ACS 4.9.2 Management Server and Galera Cluster in CentOS 7

2017-07-18 Thread Paul Angus
Hi Ivan, Load balancer is a generic term, it doesn't have to distribute load evenly. In the case of a Galera cluster, it would have a primary galera node to send traffic to, the other nodes would be fail over options. Every production environment should have a failover option for the MySQL da

Re: ACS 4.9.2 Management Server and Galera Cluster in CentOS 7

2017-07-18 Thread Rafael Weingärtner
By failover as requirement, do you mean master-master replication and transparent DB access for ACS? On Tue, Jul 18, 2017 at 1:14 PM, Ivan Kudryavtsev wrote: > Hi, Paul. Thanks for advice. It seems that load balance is not an option > and the failover is the only case. > By the way does anyone t

Re: ACS 4.9.2 Management Server and Galera Cluster in CentOS 7

2017-07-18 Thread Ivan Kudryavtsev
Hi, Paul. Thanks for advice. It seems that load balance is not an option and the failover is the only case. By the way does anyone tried, thought about implementing the case with Zookeeper functionality? As I said, I personally haven't met the situation when load balancing required or even failove

RE: ACS 4.9.2 Management Server and Galera Cluster in CentOS 7

2017-07-18 Thread Paul Angus
Be careful with your load-balancing Ivan - Since CloudStack relies on MySQL’s GET_LOCK and RELEASE LOCK, multi-master isn't supported. http://www.shapeblue.com/how-to-deploy-high-availability-cloudstack-with-mariadb-galera-cluster/ Kind regards, Paul Angus paul.an...@shapeblue.com  www.shape

ACS 4.9.2 Management Server and Galera Cluster in CentOS 7

2017-07-18 Thread Ivan Kudryavtsev
Hello, community. A person asked me whether i have experience of deploying ACS 4.9 with Galera HA cluster and after I answered - "I don't" I decided to try because I was unable to find relevant new article I wrote it as well. It explains how to deploy ACS 4.9.2 to Galera in CentOS 7. I published i

Re: KVM+HA

2017-07-18 Thread ilya musayev
Apology for fragmented messages, in existing framework cloudstack does not know for certain if your VMs are dead, or KVM hypervisor crashed, or its just a network blip, or perhaps you stopped kvm agent (or agent died). It takes a conservative approach and does not re-start the VMs on other hypervis

Re: KVM+HA

2017-07-18 Thread ilya musayev
What share primary storage backend do you have for your VMs? If it is NFS - cloudstack agent writes heartbeat. When issue occurs - the neighbor hosts will check if the hypervisor that failed - still writes to heartbeat file. There are bunch of corner case where cloudstack HA does not kick in - due

Re: KVM+HA

2017-07-18 Thread ilya musayev
Hi Victor We recently rewrote KVM HA framework. Its being merged into latest build. On Tue, Jul 18, 2017 at 5:39 AM, victor wrote: > Hello Guys, > > I am facing the same issue that mentioned in the following url . > > - > > https://issues.apache.org/jira/browse/CLOUDSTACK-3535

KVM+HA

2017-07-18 Thread victor
Hello Guys, I am facing the same issue that mentioned in the following url . - https://issues.apache.org/jira/browse/CLOUDSTACK-3535 - When the host is put in maintenance mode , then ha enabled VM's are automatically migrated to available host. But when the kvm ho