This file contains hidden or 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
#!/bin/sh | |
# This script will monitor another HA node and take over an Elastic IP (EIP) | |
# if communication with the other node fails | |
# High Availability IP variables | |
# Other node's IP to ping and EIP to swap if other node goes down | |
HA_Node_IP=10.0.0.11 | |
EIP=10.0.0.10 | |
#Specify the Secondary Private IP for this node |