Last active
December 20, 2015 02:19
-
-
Save therobot/67bae18b5acb0ba78925 to your computer and use it in GitHub Desktop.
Config file of my HA Elastic ip cluster
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
logging{ | |
to_logfile: yes | |
logfile: /var/log/corosync.log | |
} | |
totem { | |
version: 2 | |
secauth: on | |
interface { | |
member { | |
memberaddr: 10.34.184.243 | |
} | |
member { | |
memberaddr: 10.33.167.102 | |
} | |
ringnumber: 0 | |
bindnetaddr: 10.34.184.243 | |
mcastport: 694 | |
ttl: 1 | |
} | |
transport: udpu | |
token: 10000 | |
} | |
service { | |
# Load the Pacemaker Cluster Resource Manager | |
ver: 0 | |
name: pacemaker | |
} |
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
node ip-10-33-167-102 | |
node ip-10-34-184-243 | |
primitive elasticip ocf:aws:elasticip \ | |
op start interval="0" timeout="300s" \ | |
op monitor interval="20s" timeout="20s" on-fail="restart" \ | |
op stop interval="0" timeout="300s" | |
primitive email ocf:heartbeat:MailTo \ | |
params email="ops@.com" \ | |
op monitor interval="10" timeout="10" depth="0" | |
group ha elasticip email \ | |
meta target-role="Started" | |
property $id="cib-bootstrap-options" \ | |
stonith-enabled="false" \ | |
no-quorum-policy="ignore" \ | |
dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \ | |
cluster-infrastructure="openais" \ | |
expected-quorum-votes="2" \ | |
last-lrm-refresh="1374503795" | |
rsc_defaults $id="rsc-options" \ | |
resource-stickiness="100" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment