cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: refs/heads/4.1 - CLOUDSTACK-1521: Stop services after switch to BACKUP
Date Wed, 06 Mar 2013 00:46:14 GMT
Updated Branches:
  refs/heads/4.1 7e12ffe4d -> 73d7b53f1


CLOUDSTACK-1521: Stop services after switch to BACKUP


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/73d7b53f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/73d7b53f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/73d7b53f

Branch: refs/heads/4.1
Commit: 73d7b53f18e657a67aa6caee09b70afde1f432b9
Parents: 7e12ffe
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Tue Mar 5 14:25:04 2013 -0800
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Tue Mar 5 16:46:00 2013 -0800

----------------------------------------------------------------------
 .../config/root/redundant_router/backup.sh.templ   |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/73d7b53f/patches/systemvm/debian/config/root/redundant_router/backup.sh.templ
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/root/redundant_router/backup.sh.templ b/patches/systemvm/debian/config/root/redundant_router/backup.sh.templ
index 03111b5..7a1bd44 100644
--- a/patches/systemvm/debian/config/root/redundant_router/backup.sh.templ
+++ b/patches/systemvm/debian/config/root/redundant_router/backup.sh.templ
@@ -28,6 +28,7 @@ fi
 echo To backup called >> [RROUTER_LOG]
 [RROUTER_BIN_PATH]/disable_pubip.sh >> [RROUTER_LOG] 2>&1
 echo Disable public ip $? >> [RROUTER_LOG]
+[RROUTER_BIN_PATH]/services.sh stop >> [RROUTER_LOG] 2>&1
 [RROUTER_BIN_PATH]/primary-backup.sh backup >> [RROUTER_LOG] 2>&1
 echo Switch conntrackd mode backup $? >> [RROUTER_LOG]
 echo Status: BACKUP >> [RROUTER_LOG]


Mime
View raw message