TT#25451 include ngcp db into r/o replication

* ngcp database contains a 'timezone' table that
      is used in replicated billing database
      and therefore, needs to be also replicated

Change-Id: Iaaa23ff8cece68f4e9944a690bfc47c243d64f9f
changes/79/17679/1
Kirill Solomko 7 years ago
parent 7bf462428e
commit 92cb091bb8

@ -246,7 +246,7 @@ revision_wrapper $(printf '%s\0' *.up | sort -z -n | while IFS= read -r -d "" fi
# for carrier prx* hosts sync master-slave replication for not_replicated statements (if any)
if $RUN_SYNC_DB && ($NOT_REPLICATED_REV_APPLIED || [ -n "$AUTOMATED_INSTALL_MODE" ]); then
if [ -x "$SYNC_DB" ] ; then
PRX_SYNC_DBS="billing carrier kamailio provisioning prosody mysql"
PRX_SYNC_DBS="ngcp billing carrier kamailio provisioning prosody mysql"
EXTRA_SYNC_DB_OPTS=""
if [ -n "$AUTOMATED_INSTALL_MODE" ] ; then
EXTRA_SYNC_DB_OPTS="--local-user=root --init-replication --set-local-grants"

Loading…
Cancel
Save