Standalone Nebula Graph¶
Standalone Nebula Graph merges the Meta, Storage, and Graph services into a single process deployed on a single machine. This topic introduces scenarios, deployment steps, etc. of standalone Nebula Graph.
The traditional Nebula Graph consists of three services, each service having executable binary files and the corresponding process. Processes communicate with each other by RPC. In standalone Nebula Graph, the three processes corresponding to the three services are combined into one process. For more information about Nebula Graph, see Architecture overview.
Small data sizes and low availability requirements. For example, test environments that are limited by the number of machines, scenarios that are only used to verify functionality.
Do not use standalone Nebula Graph in production environments.
- Single service instance per machine.
- High availability and reliability not supported.
For information about the resource requirements for standalone Nebula Graph, see Software requirements for compiling Nebula Graph.
Currently, you can only install standalone Nebula Graph with the source code. The steps are similar to those of the multi-process Nebula Graph. You only need to modify the step Generate Makefile with CMake by adding
-DENABLE_STANDALONE_VERSION=on to the command. For example:
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/nebula -DENABLE_TESTING=OFF -DENABLE_STANDALONE_VERSION=on -DCMAKE_BUILD_TYPE=Release ..
For more information about installation details, see Install Nebula Graph by compiling the source code.
After installing standalone Nebula Graph, see the topic connect to Service to connect to Nebula Graph databases.
The path to the configuration file for standalone Nebula Graph is
/usr/local/nebula/etc by default.
You can run
sudo cat nebula-standalone.conf.default to see the file content. The parameters and the corresponding descriptions in the file are generally the same as the configurations for multi-process Nebula Graph except for the following parameters.
||The port number of the Meta service.|
||The port number of the Storage Service.|
||The path to Meta data.|
You can run commands to check configurable parameters and the corresponding descriptions. For details, see Configurations.