Configuring CES protocol service IP addresses
Protocol services are made available through Cluster Export Services (CES) protocol service IP addresses. These addresses are separate from the IP addresses that are used internally by the cluster.
mmces address add --ces-node Node1 --ces-ip 192.168.6.6
After
adding all desired CES protocol service IP addresses, verify the configuration: mmces address list
Use mmces
address add --ces-ip 192.168.6.6 to add an IP address to
the CES IP address pool. The IP address will be assigned to a CES
node according to the CES "Address distribution policy".mmces address add --ces-ip 192.168.6.6 --ces-group group1
The group assignment can be changed by issuing the following
command:mmces address change --ces-ip 192.168.6.6 --ces-group group2
The
group assignment can be removed by issuing the following
command:mmces address change --ces-ip 192.168.6.6 --remove-group
A CES address that is associated with a group must be assigned only to a node that is also associated with the same group. A node can belong to multiple groups while an address cannot.
As an example, consider a configuration with three nodes. All three nodes can host addresses on subnet A, and two of the nodes can host addresses on subnet B. The nodes must have existing non-CES IP address of the same subnet configured on the interfaces intended to be used for the CES IPs. Also four addresses are defined, two on each subnet.
Node1: groups=subnetA,subnetB
Node2: groups=subnetA,subnetB
Node3: groups=subnetA
Address1: subnetA
Address2: subnetA
Address3: subnetB
Address4: subnetB
In this example, Address1 and Address2 can be assigned to any of the three nodes, but Address3 and Address4 can be assigned to only Node1 or Node2.
If an address is assigned to a group for which there are no healthy nodes, the address will remain unassigned until a node in the same group becomes available.
Addresses without a group assignment can be assigned to any node. Therefore, it is necessary to use a group for each subnet when multiple subnets exist.
For more information, see mmces command.