1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

B #5358: stop an start oneflow on leader change

This commit is contained in:
Javi Fontan 2017-09-08 17:42:45 +02:00
parent da6c776e0d
commit 3421457604

View File

@ -23,10 +23,12 @@ leader)
sudo arping -c 1 -A -I $INTERFACE ${IP%%/*}
sleep 1
done
oneflow-server start
;;
follower)
sudo ip address del $IP dev $INTERFACE
oneflow-server stop
;;
*)