This document gives some introduction to configurations in Nebula Graph.
For the path and usage of local configuration files for Nebula Graph services, see:
Most configurations are gflags. You can get all the gflags and the explanations by the following command.
$ ./nebula-metad --help $ ./nebula-graphd --help $ ./nebula-storaged --help $ ./nebula-console --help
Besides, you can get the values of running flags by
curl-ing from the services.
$ curl 127.0.0.1:19559/flags # From Meta $ curl 127.0.0.1:19669/flags # From Graph $ curl 127.0.0.1:19779/flags # From Storage
We suggest that you change configurations from local configure files. To change configurations from local files, follow these steps:
--local_config=trueto each configuration file. The configuration files are stored in
/usr/local/nebula/etc/by default. If you have customized your Nebula Graph installation directory, the path to your configuration files is
- Save your modification to the files.
- Restart the Nebula Graph services.
Remember to add
--local_config=true to each configuration file.
To make your modifications take effect, restart all the Nebula Graph services.
Legacy version compatibility¶
curl commands and parameters in Nebula Graph v2.x. are different from Nebula Graph v1.x. Those
curl commands in v1.x are deprecated now.