Adding a node to a cluster

The following steps are required to add a node to a cluster that will host partitions.

  1. Install the node.

  2. Start the node.

  3. Deploy the application.

  4. Discover all nodes in the partition definitions that will be defined on this node.

  5. Define all partitions that will be hosted on this node - active and replicas.

  6. Enable the partitions on the node.

  7. Enable application requests.

The rest of this section describes how to define and enable partitions on the new node.

Partitions can be automatically defined by the application or manually by the administrator. Figure 6.7, “Defining a partition” shows the definition of partition XX with these properties:

The partition has a single replica node B that uses Synchronous replication.

The partition definition dialog is accessed from the node screen on which the partition should be defined.

Defining a partition

Figure 6.7. Defining a partition


When the partition definition is completed, the partition is in an Initial state on the active node as shown in Figure 6.8, “Initial partition state”.

Initial partition state

Figure 6.8. Initial partition state


The Enable button on the High Availability tab is used to change the partition state to Active. When the partition state transitions to Active all object migrations required to enable the partition have completed. At this point any partitions defined on the node are now active in the cluster with objects being maintained between the active node and any defined replica nodes. Figure 6.9, “Partitions on active node” shows partition XX as Active on node A.

Partitions on active node

Figure 6.9. Partitions on active node


These commands can also be used to perform the same functionality:

administrator servicename=A define partition name=XX activenode=A replicas=B
administrator servicename=A join cluster

Figure 6.10, “Partition on replica node” shows partition XX on the replica node B. The partition is also Active on replica node B.

Partition on replica node

Figure 6.10. Partition on replica node


The partition information for partition XX on node B can also be displayed using this command:

administrator servicename=B display partition name="XX"