Adding a host to a cluster

You can add a management host or a compute host to a cluster. When you add a management host, configure host failover so that the system services fail over to a different management host if the primary host fails.

Before you begin

If you are adding a management host to the cluster, it must be of the same type as the existing management hosts and you must stop all services and shut down the cluster:
egosh service stop all
egosh ego shutdown all

Procedure

  1. Complete this step according to your cluster configuration:
  2. Verify that the host has joined the cluster:
    1. Log on as cluster administrator by using the egosh user logon command. For example, to log on using the default Admin user account, enter:
      egosh user logon -u Admin -x Admin
    2. Check that the host is running:
      egosh resource list
      Note: It can take a few minutes to show that the newly add host has joined.

What to do next

If you add more than five management hosts, edit the elk-elasticsearch-data service profile to set the maximum number of instances to the number of management hosts. Then, restart the cluster:
  1. From the cluster management console, go to System & Services > EGO Services > Service Profiles.
  2. For the elk-elasticsearch-data service, click Actions > Open Profile.
  3. Increase the sc:MaxInstances parameter value to be one higher than its previous value. For example, if the previous value was 5, change it to 6.
  4. Click Save.
  5. Start the cluster:
    egosh ego start all