Joining nodes to a Subscriber-only group v5.6
If you have no subscriber-only groups in your PGD cluster, you must create the groups following the process in Creating Subscriber-only groups and nodes. After you have created a subscriber-only group, you can join subscriber-only nodes to it.
Joining a node to an existing subscriber-only group
Unlike joining a node to a new subscriber-only group, joining a node to an existing subscriber-only group is a simpler process.
First create the new node as a subscriber-only node. Run the following SQL command on the new node:
or more explicitly with parameter names:
This command creates a new node named so-node-2
on host so-host-2
and configures it as a subscriber-only node.
The node won't be able to join the cluster until joins a group.
In creating a new subscriber-only group, you created a group named sogroup
and added a subscriber-only node called so-node-1
on a host shost-1
.
It used a node in an existing data group to facilitate that join.
But you can't use this new subscriber-only node to add another subscriber-only node.
You must use any active data node that's fully joined to the cluster.
In the creating examples, they use host-one
in the cluster's data group for this task.
You can use the following SQL command on shost-2
to join it to the sogroup
group:
or more explicitly with parameter names: