server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java
public List<String> getServers(final String iClusterName, final String iExclude) {

    final List<String> serverList = getClusterConfiguration(iClusterName).field(SERVERS);
    if (serverList != null) {
      // COPY AND REMOVE ANY NEW_NODE_TAG
      List<String> filteredServerList = new ArrayList<String>(serverList.size());
      for (String s : serverList) {
        if (!s.equals(NEW_NODE_TAG) && (iExclude == null || !iExclude.equals(s)))
          filteredServerList.add(s);
      }
      return filteredServerList;
    }
    return Collections.EMPTY_LIST;
  }
public List<String> getServers(final String iClusterName, final String iExclude) {

    final List<String> serverList = getClusterConfiguration(iClusterName).field(SERVERS);
    if (serverList != null) {
      // COPY AND REMOVE ANY NEW_NODE_TAG
      List<String> filteredServerList = new ArrayList<String>(serverList.size());
      for (String s : serverList) {
        if (!s.equals(NEW_NODE_TAG) && (iExclude == null || !iExclude.equals(s)))
          filteredServerList.add(s);
      }
      return filteredServerList;
    }
    return Collections.EMPTY_LIST;
  }
Returns the server list for the requested cluster cluster excluding any tags like <NEW_NODES> and iExclude if any.

@param iClusterName Cluster name, or null for *
@param iExclude     Node to exclude