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
-
Complete this step according to your cluster configuration:
- If your cluster is installed to a local file system:
- Install
IBM® Spectrum
Conductor on a management or
compute host. See Installing to a local environment.
- Join the host to the
cluster:
egoconfig join primary_host
- If you are adding a compute host, proceed to the next step to start the host.
If you are adding a management host and have failover enabled, run egoconfig
mghost:
egoconfig mghost shared_location
- Start the host:
egosh ego start
- If your cluster is installed to a shared file system:
- Copy the files that set the environment for your management or compute host
and link the Elastic Stack harvesting directory to a unique directory on your shared file system.
See steps 10 and 11 in Installing IBM Spectrum Conductor to a shared environment.
- If you are adding a management host, you must regenerate certificates for
all tiers for this new management host. For details on how to generate certificates, see:
- For cluster management console, generate SSL certificate for tier
1 files, using one of these methods:
- For instance groups, generate SSL certificates for
tier 2 services and tier 3 Spark drivers, using one of these methods:
- If you are adding a compute host, proceed to the next step to start the
host. If you are adding a management host, run egoconfig
mghost:
egoconfig mghost shared_location
- Start the
host:
egosh ego start
-
Verify that the host has joined the cluster:
-
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
-
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:
- From the cluster management console, go to .
- For the elk-elasticsearch-data service, click .
- 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.
- Click Save.
- Start the cluster:
egosh ego start all