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:
parent
da6c776e0d
commit
3421457604
@ -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
|
||||
;;
|
||||
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user