Adding a partition to a node

Partitions can be dynamically added to nodes either by the application or by the administrator. The steps to add a new partition to an active node are identical to the steps defined in the section called “Adding a node to a cluster” to add a new node to the cluster, specifically:

  1. Define the partition as show in Figure 6.7, “Defining a partition”.

  2. Enable the partition on the active node using the Enable button on the High Availability tab as shown in Figure 6.11, “Adding a new partition”.

These commands can also be used to define and enable a new partition:

administrator servicename=A define partition name="YY" activenode=A replicas=C
administrator servicename=A join cluster

Notice that the Partition State for the new partition is Initial (see Figure 6.11, “Adding a new partition”). The Initial partition state indicates that an enable needs to be done on this node to activate the new partition.

Adding a new partition

Figure 6.11. Adding a new partition