Possible to run multiple fronted HA RAFT leader/follower hook scripts?


#1

Hi,

I have successfully deployed a HA frontend cluster and VIP handoff works correctly using the RAFT_LEADER_HOOK and RAFT_FOLLOWER_HOOK sections in the frontend server /etc/one/oned.conf. But now I am interested in running some other frontend post-election scripts as hooks.

Is it possible to add multiple other scripts to the /var/lib/one/remotes/hooks/raft directory on frontend servers and call them via multiple RAFT_LEADER and RAFT_FOLLOWER hook entries in oned.conf? Or will I just have to modify the default raft/vip.sh script and track changes to that file between ONE version upgrades?

Thanks,
Dave