Simple script to reconfigure nutcracker (twemproxy) when Sentinels triggers a failover