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
(cherry picked from commit 3421457604
)
This commit is contained in:
parent
93e3c2c9b2
commit
aa6c3a58a6
@ -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