curl -H 'Cache-Control: no-cache' -s https://raw.githubusercontent.com/wspecs/box-setup/master/build.sh | sudo -E bash
This set up is to install a mysql group on multiple instances.
cd ~
bash
curl -H 'Cache-Control: no-cache' -s https://raw.githubusercontent.com/wspecs/box-setup/master/database.sh -o build.sh
chmod +x build.sh
export DATABASE_SERVERS="10.108.0.2 10.108.0.3 10.108.0.4"
export GROUP_PASSWORD="change-me"
export UNIQUE_ID=0ce4aada-7966-4e0d-bf7d-4484f16f6fe3
export FLOATING_IP=192.168.0.1
export DO_TOKEN=do-token
export SERVERS_PRIVATE_IPS=$DATABASE_SERVERS
./build.sh
rm build.sh
curl -H 'Cache-Control: no-cache' -s https://raw.githubusercontent.com/wspecs/box-setup/master/hello.sh | sudo -E bash
cd ~
bash
curl -H 'Cache-Control: no-cache' -s https://raw.githubusercontent.com/wspecs/box-setup/master/ha.sh -o build.sh
chmod +x build.sh
export FLOATING_IP=192.168.0.1
export DO_TOKEN=do-token
export SERVERS_PRIVATE_IPS="10.108.0.2 10.108.0.3 10.108.0.4"
./build.sh
rm build.sh