[/map {"- map/map "}) [/map/topicref {"- map/topicref "}) [/map/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicmeta/navtitle {"- topic/navtitle "}) Administrating the Dgraph with the Dgraph Gateway Command Utility (navtitle][/map/topicref/topicmeta/linktext {"- map/linktext "}) Administrating the Dgraph with the Dgraph Gateway Command Utility (linktext][/map/topicref/topicmeta/shortdesc {"- map/shortdesc "}) This section describes the Dgraph Gateway commands (`endeca-cmd`) used for Dgraph nodes. (shortdesc] (topicmeta][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) About the Dgraph Gateway Command Utility (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) About the Dgraph Gateway Command Utility (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The Dgraph Gateway has a command-line interface that lists Dgraph nodes, allocates bulk load port, provides version information, and performs cache warming operations for the Dgraphs. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Global options for host, port, and context root (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Global options for host, port, and context root (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The command utility has several global options that allow you to specify the host, port, and context root of the Dgraph Gateway. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Allocating a bulk load port (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Allocating a bulk load port (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The `allocate-bulk-load-port` operation returns a host name for the leader node and the port used for the internally-used Bulk Load Interface. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Returning version information (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Returning version information (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The `version` command lists the version of the Dgraph Gateway and the version of the Dgraph nodes (if the Dgraph nodes are currently running). (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Listing Dgraph nodes (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Listing Dgraph nodes (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The `list-compute-nodes` operation returns a list of running Dgraph nodes in a cluster. This includes both leader and follower nodes. The operation does not list Dgraphs that are stopped. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Returning Dgraph session information (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Returning Dgraph session information (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The `dump-session` operation returns session information from a Dgraph for a specified session ID. (Dgraph Gateway tracks which Dgraph instance is processing a request for a particular session.) (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Warming the Dgraph cache (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Warming the Dgraph cache (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The `warm-cache` command warms each Dgraph cache for all Dgraph instances in a cluster. (shortdesc] (topicmeta] (topicref] (topicref] (map]