private void haEnableSetup() {
    if(HA_ENABLE) {
      Map<String, Set<String>> serviceHostComponents = hostComponents.get(componentServiceMap.get("ZKFC"));
      if (serviceHostComponents != null) {
        for(String host : serviceHostComponents.keySet()) {
          Set<String> hostHostComponents = serviceHostComponents.get(host);
          if(hostHostComponents != null && hostHostComponents.contains("NAMENODE")) {
            hostHostComponents.add("ZKFC");
          }
        }
      }
    }
  }
Create a cluster definition.

@param stateProvider  the state provider
contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java