php - Multiple Azure Virtual Machines on same Cloud Service -
i have cloud service on azure
, on cloud service, have 2 vms
. , have apache
, php
, mysql
, phpmyadmin
installed on both. both vms lie on same availability set well.
if cloud service dns
hello.cloudapp.net
, access phpmyadmin going hello.cloudapp.net/phpmyadmin
, create database, vm create database on?
one of two, depending on whichever 1 load balancer decides send to.
the problem having separate instance of mysql local each vm. instead, need create shared data context between 2 instances; mysql cluster looks promising.
Comments
Post a Comment