You can add new Dgraph nodes to BDD to expand your Dgraph cluster.
To add a new Dgraph node:
./bdd-admin.sh stop [-t <minutes>]
Property | Description |
---|---|
DGRAPH_ SERVERS | The hostnames of all Dgraph servers. Add the new node to this list. Be sure to use its FQDN. |
DGRAPH_ THREADS | The number of threads the Dgraph starts with. Verify that this setting is still accurate. It should be the number of CPU cores on the Dgraph nodes minus the number required to run HDFS and any other Hadoop services. |
DGRAPH_CACHE | The size of the Dgraph cache. Verify that this setting is still accurate. It should either be 50% of the machine's RAM or the total amount of free memory, whichever is larger. |
DGRAPH_ENABLE_ CGROUP | Enables cgroups for the Dgraph. This must be set to TRUE if you created a Dgraph cgroup. You must also set DGRAPH_CGROUP_NAME. |
DGRAPH_CGROUP_ NAME | The name of the cgroup that controls the Dgraph. This is required if DGRAPH_ENABLE_CGROUP is set to TRUE. |
NFS_GATEWAY_ SERVERS | The hostnames of all NFS Gateway nodes. If you installed the NFS Gateway service on the new node, add its FQDN to this list. |
./bdd-admin.sh publish-config bdd <path>Where <path> is the absolute path to the updated copy of bdd.conf.
./bdd-admin.sh start
Administrator's Guide · Version 1.4.0 · October 2016
Copyright © 2015, 2016 Oracle and/or its affiliates. All rights reserved.