To add Dgraph nodes to a running data domain, use the endeca-cmd rescale-dd command, or the rescaleDataDomain operation of the Manage Web Service.
Each data domain cluster consists of zero or one leader node and zero or more follower nodes. When you create a data domain, you use the data domain profile that determines the total number of Dgraph nodes, whether the data domain is read-only (and thus does not have a leader node), and the number of follower nodes.
You can add Dgraph follower nodes to a data domain that is either enabled or disabled. Adding follower nodes does not affect the Endeca Server query processing for the data domain hosted on these nodes.
When you add follower nodes, this changes the profile of the specific data domain. However, the domain profile that was used to initially create this data domain does not change.
If the number of follower nodes is zero, this indicates that the data domain consists of one leader node that is also configured to handle regular queries, in addition to handling update requests. If the number of follower nodes is 1, this means that the total number of nodes in the data domain is 2.
To add follower nodes to a data domain:
If the Endeca Server cluster that hosts this data domain has a sufficient number of nodes, the operation succeeds and adds an additional Dgraph follower node.
If the number of Endeca Server nodes available to host additional data domain nodes is not sufficient, an error message is issued.