CLOUDSTACK-4199 Fixed redundant router fail over

When master router down, the back up router is entered into FAIL state
but it supposed to enter into master.
This issue is happening because the the enable_pubip.sh script triying to
ifdown and ifup the eth2 interface. Which is failed. So master.sh script got
failed. Fixed by doing ifdown force
This commit is contained in:
Jayapal 2013-08-20 17:17:15 +05:30
parent ac77660864
commit a5ada3f363
2 changed files with 3 additions and 3 deletions

View File

@ -484,7 +484,7 @@ disable_hvc() {
enable_vpc_rpsrfs() {
local enable=$1
if [ $eanble -eq 0]
if [ $enable -eq 0 ]
then
echo 0 > /etc/rpsrfsenable
else
@ -497,7 +497,7 @@ enable_vpc_rpsrfs() {
enable_rpsrfs() {
local enable=$1
if [ $eanble -eq 0]
if [ $enable -eq 0 ]
then
echo 0 > /etc/rpsrfsenable
return 0

View File

@ -23,7 +23,7 @@ while read i
do
if [ "$i" == "eth2" ]
then
ifdown $i
ifdown $i --force
ifup $i
else
ifconfig $i down