diff --git a/patches/systemvm/debian/config/root/redundant_router/backup.sh b/patches/systemvm/debian/config/root/redundant_router/backup.sh index 8efe190028d..989c06907a5 100644 --- a/patches/systemvm/debian/config/root/redundant_router/backup.sh +++ b/patches/systemvm/debian/config/root/redundant_router/backup.sh @@ -23,9 +23,9 @@ then fi echo To backup called >> /root/keepalived.log -/root/redundant_router/disable_pubip.sh +/root/redundant_router/disable_pubip.sh 2>1&>> /root/keepalived.log echo Disable public ip $? >> /root/keepalived.log -/root/redundant_router/primary-backup.sh backup +/root/redundant_router/primary-backup.sh backup 2>1&>> /root/keepalived.log echo Switch conntrackd mode backup $? >> /root/keepalived.log echo Status: BACKUP >> /root/keepalived.log diff --git a/patches/systemvm/debian/config/root/redundant_router/fault.sh b/patches/systemvm/debian/config/root/redundant_router/fault.sh index 62b70c43d16..3c4dccc01a8 100644 --- a/patches/systemvm/debian/config/root/redundant_router/fault.sh +++ b/patches/systemvm/debian/config/root/redundant_router/fault.sh @@ -1,6 +1,6 @@ #!/bin/bash echo To fault called >> /root/keepalived.log -/root/redundant_router/disable_pubip.sh && \ -/root/redundant_router/primary-backup.sh fault +/root/redundant_router/disable_pubip.sh 2>1&>> /root/keepalived.log && \ +/root/redundant_router/primary-backup.sh fault 2>1&>> /root/keepalived.log echo Status: FAULT >> /root/keepalived.log diff --git a/patches/systemvm/debian/config/root/redundant_router/master.sh b/patches/systemvm/debian/config/root/redundant_router/master.sh index 76253c0042f..c4ab5b80b0a 100644 --- a/patches/systemvm/debian/config/root/redundant_router/master.sh +++ b/patches/systemvm/debian/config/root/redundant_router/master.sh @@ -23,9 +23,9 @@ then fi echo To master called >> /root/keepalived.log -/root/redundant_router/enable_pubip.sh +/root/redundant_router/enable_pubip.sh 2>1&>> /root/keepalived.log echo Enable public ip $? >> /root/keepalived.log -/root/redundant_router/primary-backup.sh primary +/root/redundant_router/primary-backup.sh primary 2>1&>> /root/keepalived.log echo Switch conntrackd mode primary $? >> /root/keepalived.log echo Status: MASTER >> /root/keepalived.log