Skip to content

Commit 39bf6a9

Browse files
Merge pull request #44 from marklogic/feature/CLD-600
CLD-600: Documentation for separate E/D node
2 parents 1be7d53 + 415f367 commit 39bf6a9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,23 @@ kubectl logs pod/terminated-host-pod-name
272272
```
273273

274274
If you are permanently removing the host from the MarkLogic cluster, once the pod is terminated, follow standard MarkLogic administrative procedures using the administrative UI or APIs to remove the MarkLogic host from the cluster. Also, because Kubernetes keeps the Persistent Volume Claims and Persistent Volumes around until they are explicitly deleted, you must manually delete them using the Kubernetes APIs before attempting to scale the hosts in the StatefulSet back up again.
275+
276+
## Deploying a MarkLogic Cluster with Multiple Groups
277+
278+
To deploy a MarkLogic cluster with multiple groups (separate E and D nodes for example) the `bootstrapHostName` and `group.name` must be configured in values.yaml or set the values provided for these configurations using the `--set` flag while installing helm charts.
279+
For example, if you want to create a MarkLogic cluster with three nodes in a "dnode" group and two nodes in an "enode" group, start with the following helm command:
280+
281+
```
282+
helm install dnode-group ./charts/ --set group.name=dnode --set replicaCount=3
283+
```
284+
Once this deployment is complete, a MarkLogic cluster with three hosts should be running.
285+
To add the "enode" group and nodes to the cluster, the `bootstrapHostName` must be set to join the existing MarkLogic cluster. The first host in the other group can be used. For this example, set `bootstrapHostName` to `dnode-group-marklogic-0.dnode-group-marklogic-headless.default.svc.cluster.local` with the following command:
286+
287+
```
288+
helm install enode-group ./charts/ --set group.name=enode --set replicaCount=2 --set bootstrapHostName=dnode-group-marklogic-0.dnode-group-marklogic-headless.default.svc.cluster.local
289+
```
290+
Once this deployment is complete, there will be a new "enode" group with two hosts in the MarkLogic cluster.
291+
275292
# Access the MarkLogic Server
276293

277294
## Service

0 commit comments

Comments
 (0)