You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: doc/quick-start-user-guide.md
+11-11
Original file line number
Diff line number
Diff line change
@@ -51,29 +51,29 @@ $ mkdir -p /var/lib/gd2
51
51
```
52
52
53
53
**Create a config file:** This is optional but if your VM/machine has multiple network interfaces, it is recommended to create a config file. The config file location can be passed to Glusterd2 using the `--config` option.
54
-
Glusterd2 will also pick up conf files named `glusterd.{yaml|json|toml}` if available in `/etc/glusterd2/` or the current directory.
55
-
56
-
```yaml
57
-
$ cat conf.yaml
58
-
workdir:"/var/lib/gd2"
59
-
peeraddress:"192.168.56.101:24008"
60
-
clientaddress:"192.168.56.101:24007"
61
-
etcdcurls:"http://192.168.56.101:2379"
62
-
etcdpurls:"http://192.168.56.101:2380"
54
+
Glusterd2 will also pick up conf file named `glusterd2.toml` if available in `/etc/glusterd2/` or the current directory.
55
+
56
+
```toml
57
+
$ cat conf.toml
58
+
workdir ="/var/lib/gd2"
59
+
peeraddress ="192.168.56.101:24008"
60
+
clientaddress ="192.168.56.101:24007"
61
+
etcdcurls ="http://192.168.56.101:2379"
62
+
etcdpurls ="http://192.168.56.101:2380"
63
63
```
64
64
65
65
Replace the IP address accordingly on each node.
66
66
67
67
**Start glusterd2 process:** Glusterd2 is not a daemon and currently can run only in the foreground.
Copy file name to clipboardExpand all lines: glusterd2/config.go
+5-2
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ func parseFlags() {
44
44
flag.String("workdir", "", "Working directory for GlusterD. (default: current directory)")
45
45
flag.String("localstatedir", "", "Directory to store local state information. (default: workdir)")
46
46
flag.String("rundir", "", "Directory to store runtime data. (default: workdir/run)")
47
-
flag.String("config", "", "Configuration file for GlusterD. By default looks for glusterd2.(yaml|toml|json) in [/usr/local]/etc/glusterd2 and current working directory.")
47
+
flag.String("config", "", "Configuration file for GlusterD. By default looks for glusterd2.toml in [/usr/local]/etc/glusterd2 and current working directory.")
0 commit comments