1. Automation scripts use information from the framework to generate the file topology.json, which is made available to the instance.
  2. If the server is not present in the topology JSON file, remove it from the topology, as follows:
    remove-defunct-server --topologyFilePath /path/to/topology.json \
      --ignore-online \
      --serverInstanceName instance-name
      --retryTimeoutSeconds 120

    For the sake of simplicity, LDAP bind options are omitted.