Refactor cluster_ha to use data structures for fencing

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>