HA fixes

- Some fixes in cluster_ha parameters
- Minor refactoring of "cluster" class