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
Copy file name to clipboardExpand all lines: README.md
+53-72Lines changed: 53 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,54 +1,28 @@
1
1
# MooseFS Docker Cluster
2
2
3
-
This is a sample configuration of a multiple node MooseFS cluster on Docker using Debian Stretch. It consists of a master server with a CGI, 4 chunkservers and one client machine. After a successful installation you have a fully working MooseFS cluster to play with its amazing features.
3
+
This is a basic configuration of a multiple nodes MooseFS cluster based on the Debian Buster Docker image. It consists of a master server, a CGI server, 4 chunk servers, and one client. After a successful installation, you will have a fully working MooseFS cluster to play with its amazing features.
4
4
5
5
# Updates
6
6
7
-
New features:
8
-
- specify storage size per chunkserver (env: **SIZE**, default: 10)
9
-
- specify label per chunkserver (env: **LABEL**, default: *empty*)
10
-
- switched to *debian:stretch* as base image
11
-
- example with 4 chunkservers (labels: M, MB, MB, B)
12
-
- MooseFS disks are now mounted as volumes
7
+
- All moosefs processes are now correctly handling signals.
8
+
- Metadata and data are now persistent and mounted as volumes.
9
+
- TEST and PROD moosefs master metadata behavior defined by MFS_ENV variable.
10
+
- Specify storage size per chunk server (env: **SIZE**) default not defined. Depends on your local storage free space.
11
+
- Specify label per chunk server (env: **LABEL**, default: *empty*).
12
+
- Switched to *debian:buster* as a base image.
13
+
- Example with 4 chunk servers (labels: M, MB, MB, B).
13
14
14
15
# Cluster configurations
15
16
16
-
In this repository you will find 2 sample configurations which you can run to try MooseFS.
17
-
18
-
## 4 Chunkservers + Client
19
-
20
-
Build and run in background:
21
-
22
-
```
23
-
docker-compose build
24
-
docker-compose up -d
25
-
```
26
-
27
17
**File docker-compose.yml**
28
18
29
-
- master with CGI [http://172.20.0.2:9425](http://172.20.0.2:9425)
Your MooseFS Docker cluster is persistent. It means all files you created in the /mnt/moosefs folder will remain there even after turning containers off.
124
-
MooseFS disks are now mounted in host `./data` directory.
125
-
126
-
# Warning
127
-
128
-
Chunkservers are paired with Master server, so if you destroy the machine with master server you will not be able to access your data. Data will still be there in volumes (`./data` directory) but chunkservers will not want to connect to the new Master server.
129
-
110
+
All data and metadata files are stored in the host `./data` directory.
0 commit comments