From 45ef9ed362221b73ec7d2a725c2de077694b13ee Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Fri, 23 Jan 2015 17:26:37 +0100 Subject: [PATCH] MT#11063 Sync with bootenv: MT#10959 on proxy nodes set local replication ( second MySQL RO instance ) Change-Id: I36dbbc5251b45dac3d93dfbb2d7ee0d36520b363 --- deployment.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deployment.sh b/deployment.sh index d289014..4bd62e2 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1605,9 +1605,10 @@ EOT case "$CROLE" in proxy) - if chroot $TARGET service mysql start 2 ; then + if grml-chroot $TARGET /etc/init.d/mysql start 2 ; then logit "Configuring MySQL second instance" - chroot $TARGET ngcp-sync-constants -r -s + chroot $TARGET /usr/share/ngcp-ngcpcfg/helper/check-for-mysql 10 2 + chroot $TARGET ngcp-sync-constants -r -s --local-repl else logit "Can't start MySQL second instance" fi