1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-17 03:31:53 +00:00

Fix el glustetr

This commit is contained in:
David Young
2020-06-03 15:43:56 +12:00
parent 148eeaa996
commit fc0a0a8d31

View File

@@ -78,8 +78,7 @@ docker run \
On a single node (doesn't matter which), run ```docker exec -it glusterfs-server bash``` to launch a shell inside the container. On a single node (doesn't matter which), run ```docker exec -it glusterfs-server bash``` to launch a shell inside the container.
From the node, run From the node, run `gluster peer probe <other host>`.
```gluster peer probe <other host>```
Example output: Example output:
@@ -138,6 +137,7 @@ From one other host, run ```docker exec -it glusterfs-server bash``` to shell in
### Mount gluster volume ### Mount gluster volume
On the host (i.e., outside of the container - type ```exit``` if you're still shelled in), create a mountpoint for the data, by running ```mkdir /var/data```, add an entry to fstab to ensure the volume is auto-mounted on boot, and ensure the volume is actually _mounted_ if there's a network / boot delay getting access to the gluster volume: On the host (i.e., outside of the container - type ```exit``` if you're still shelled in), create a mountpoint for the data, by running ```mkdir /var/data```, add an entry to fstab to ensure the volume is auto-mounted on boot, and ensure the volume is actually _mounted_ if there's a network / boot delay getting access to the gluster volume:
``` ```
mkdir /var/data mkdir /var/data
MYHOST=`hostname -s` MYHOST=`hostname -s`