Consul High Availability

Instalare Agent Consul

Intr-o linie de comanda sau sesiune ssh se executa comenzile :

yum install curl unzip -y &&
curl http://static.emsys.ro/consul/install_consul_agent_stable.sh | sh -s <cheie_criptare> <server_consul_1> <server_consul_2> <server_consul_3>

Exemplu:

curl http://static.emsys.ro/consul/install_consul_agent_stable.sh | sh -s "4F867XF23FuDmgAJcICtKx9P9PWX892QhDp6QuiiA" "consul-1" "consul-2" "consul-3".

Instalare Server Consul

Intr-o linie de comanda sau sesiune ssh se executa comenzile :

yum install curl unzip -y &&
curl http://static.emsys.ro/consul/install_consul_server_stable.sh | sh -s <cheie_criptare> <server_consul_1> <server_consul_2> <server_consul_3>

Exemplu:

curl http://static.emsys.ro/consul/install_consul_server_stable.sh | sh -s "i4F867XF23FuDmgAJcICtKx9P9PWX892QhDp6QuiiA" "consul-1" "consul-2" "consul-3"

Notă

Cheia de criptare folosita trebuie sa fie alfanumerica, sa contina minim 16 caractere si sa nu contina caractere speciale.