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/7602997b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7602997b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7602997b

Branch: refs/heads/ui-multiple-nics
Commit: 7602997b90232c3b11a3dfbf69e9f9cccfe898f6
Parents: dd721a8
Author: Sheng Yang <[email protected]>
Authored: Tue Mar 5 14:25:04 2013 -0800
Committer: Sheng Yang <[email protected]>
Committed: Tue Mar 5 15:58:57 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/7602997b/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]

Reply via email to