-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GeunSam2
committed
Mar 30, 2020
1 parent
97499ed
commit 97e6c07
Showing
5 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
jq .container.docker.image=\"${HAPROXY_IMG_1}\" /etc/mha_script/haproxy.json | \ | ||
. /env.sh | ||
jq .container.docker.image=\"${MHA_HAPROXY_IMG_1}\" /etc/mha_script/haproxy.json | \ | ||
/usr/local/bin/dcos marathon app update ${MHA_HAPROXY_DCOS_NAME} | ||
echo "HAPROXY update to type 1 success" >> /var/log/masterha/MHA.log | ||
echo "DB Master is now ${MHA_DB_1_IP}${MHA_DB_1_PORT}" >> /var/log/masterha/MHA.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
jq .container.docker.image=\"${HAPROXY_IMG_2}\" /etc/mha_script/haproxy.json | \ | ||
. /env.sh | ||
jq .container.docker.image=\"${MHA_HAPROXY_IMG_2}\" /etc/mha_script/haproxy.json | \ | ||
/usr/local/bin/dcos marathon app update ${MHA_HAPROXY_DCOS_NAME} | ||
echo "HAPROXY update to type 2 success" >> /var/log/masterha/MHA.log | ||
echo "DB Master is now ${MHA_DB_2_IP}${MHA_DB_2_PORT}" >> /var/log/masterha/MHA.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters