Skip to content

Commit

Permalink
Pacemaker vars for mariadb
Browse files Browse the repository at this point in the history
  • Loading branch information
dchirikov committed Jul 25, 2016
1 parent 5d75fba commit adda66b
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions configuration/controller-master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ POSTDIR="controller"
# NOTE: Those are basenames, without any extension -- not the actual name of the
# script files themselves.
#tested:
#controller-master \
#pacemaker-master \
#controller-master \
#pacemaker-master \
#luna-master

POSTLIST=( \
luna-master
mariadb-master
)


Expand Down Expand Up @@ -68,8 +69,16 @@ PACEMAKER_SLAVE_HOST=${CTRL2_IP}
#-----------------------------------------------------------
# luna-master
#-----------------------------------------------------------

MONGODB_FLOATING_HOST=${CTRL_IP}
MONGODB_MASTER_HOST=${CTRL1_IP}
MONGODB_SLAVE_HOST=${CTRL2_IP}

#-----------------------------------------------------------
# mariadb-master
#-----------------------------------------------------------
MARIADB_REP_USER=sql_replication
MARIADB_REP_MASTER_HOST=${CTRL1_IP}
MARIADB_REP_SLAVE_HOST=${CTRL2_IP}
PACEMAKER_MONITOR_USER=pacemaker
PACEMAKER_MONITOR_DB=pacemaker
# PACEMAKER_MONITOR_USER_PASS=

0 comments on commit adda66b

Please sign in to comment.