severalnines.com Owncloud HA tutorial.
I've been following along with this tutorial:
[1]: http://www.severalnines.com/blog/high-availability-file-sync-and-share-deploying-owncloud-galera-cluster-mysql-and-glusterfs
I've followed the tutorial and used the same setting apart from the ip adresses so my host file on all hosts looks like this:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.11.12.110 virtual-ip owncloud
10.11.12.111 haproxy1
10.11.12.112 haproxy2 clustercontrol
10.11.12.101 owncloud1 web1 mysql1
10.11.12.102 owncloud2 web2 mysql2
10.11.12.103 owncloud3 web3 mysql3
I've deployed the SQL cluster with the Severalnines deployment script, added haproxy and keepalive to haproxy1 and haproxy2. glusterFS seams to work and I've added the Owncloud files to the gulsterfs volume which can be accessed by apache on owncloud1, 2 and 3.
But when I run the owncloud setup from owncloud1 like stated in the tutorial it wont bind to the mySQL cluster on the virtual-ip. But if I run:
mysql -uadmin -p -h 10.11.12.100
on any other machine in the cluster apart from haproxy1 and 2
One last thing, I'm new to HA setups and I dont quite understand the virtual IP used with haproxy. is the VIP the address outside machines use to contact owncloud/sql server and should it be NATed/routed/something in our gateway/firewall (we use Sonicwall)?
In advance, thank you!
Please sign in to leave a comment.
Comments
0 comments