Removing a management host from the cluster

Management hosts must be manually deleted if you want to remove them from the cluster.

Before removing a management host from the cluster, stop all services and shutdown the cluster:
egosh service stop all

egosh ego shutdown all

To remove hosts that were added and designated as management hosts using the command egoconfig mghost, you must physically delete the host entries from ego.cluster.cluster_name.

  1. Run egosh ego shutdown to shut down the host.
  2. If you have configured automatic startup during your cluster setup, run egoremoverc.sh as root.

    Running this script prevents automatic startup when the host reboots, which keeps the host from being re-added dynamically to the cluster.

  3. If the host is a primary candidate, run egoconfig masterlist to remove the host from the failover order.
  4. Run egoconfig unsetmghost to remove the host from the management host group.

    Running this command removes the host entry from ego.cluster.cluster_name.

  5. Ensure that the host is removed from the cluster:
    1. Log on to a machine in the cluster that has EGO running.
    2. Run the following command to remove the host: egosh resource remove host_name
    3. Wait the duration defined by EGO_DYNAMIC_HOST_WAIT_TIME in the ego.conf configuration file, and then check if the host has been removed.
  6. Uninstall IBM® Spectrum Conductor on the host. See Uninstalling all packages installed with IBM Spectrum Conductor.
Start the cluster:
egosh ego start all