Masato Taruishi
taru****@users*****
2004年 10月 23日 (土) 02:18:57 JST
=================================================================== RCS file: ultrapossum/module/failover/update-failover,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- ultrapossum/module/failover/update-failover 2004/10/22 09:38:54 1.25 +++ ultrapossum/module/failover/update-failover 2004/10/22 17:18:57 1.26 @@ -167,6 +167,10 @@ echo "E: BACKUP '$BACKUP' is not a slave server" 1>&2 exit 1 fi + if ! include "$BACKUP" "$SLURPDSLAVES $SYNCBACKUPS"; then + echo "E: '$BACKUP' can't become a backup server" 1>&2 + exit 1 + fi val=`getvalue $DIRECTORY/ultrapossum-environ SLURPDSLAVES 2> /dev/null` if test "x$val" != "x" && test "x$val" != "x$SLURPDSLAVES"; then echo "E: unable to change slurpd slave servers when failover environment" 1>&2