diff --git a/docs/distributed/README.md b/docs/distributed/README.md index 59dafe7af..968693cbc 100644 --- a/docs/distributed/README.md +++ b/docs/distributed/README.md @@ -44,9 +44,12 @@ To start a distributed Minio instance, you just need to pass drive locations as - Disks used for Minio distributed should be fresh with no pre-existing data. - The IP addresses and drive paths below are for demonstration purposes only, you need to replace these with the actual IP addresses and drive paths/folders. - Servers running distributed Minio instances should be less than 3 seconds apart. You can use [NTP](http://www.ntp.org/) as a best practice to ensure consistent times across servers. +- Running Distributed Minio on Windows is experimental as of now. Please proceed with caution. Example 1: Start distributed Minio instance with 1 drive each on 8 nodes, by running this command on all the 8 nodes. +#### GNU/Linux and macOS + ```shell export MINIO_ACCESS_KEY= export MINIO_SECRET_KEY= @@ -55,11 +58,23 @@ minio server http://192.168.1.11/export1 http://192.168.1.12/export2 \ http://192.168.1.15/export5 http://192.168.1.16/export6 \ http://192.168.1.17/export7 http://192.168.1.18/export8 ``` +#### Windows + +```cmd +set MINIO_ACCESS_KEY= +set MINIO_SECRET_KEY= +minio.exe server http://192.168.1.11/C:/data http://192.168.1.12/C:/data ^ + http://192.168.1.13/C:/data http://192.168.1.14/C:/data ^ + http://192.168.1.15/C:/data http://192.168.1.16/C:/data ^ + http://192.168.1.17/C:/data http://192.168.1.18/C:/data +``` ![Distributed Minio, 8 nodes with 1 disk each](https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/Architecture-diagram_distributed_8.png) Example 2: Start distributed Minio instance with 4 drives each on 4 nodes, by running this command on all the 4 nodes. +#### GNU/Linux and macOS + ```shell export MINIO_ACCESS_KEY= export MINIO_SECRET_KEY= @@ -73,6 +88,21 @@ minio server http://192.168.1.11/export1 http://192.168.1.11/export2 \ http://192.168.1.14/export3 http://192.168.1.14/export4 ``` +#### Windows + +```cmd +set MINIO_ACCESS_KEY= +set MINIO_SECRET_KEY= +minio.exe server http://192.168.1.11/C:/data1 http://192.168.1.11/C:/data2 ^ + http://192.168.1.11/C:/data3 http://192.168.1.11/C:/data4 ^ + http://192.168.1.12/C:/data1 http://192.168.1.12/C:/data2 ^ + http://192.168.1.12/C:/data3 http://192.168.1.12/C:/data4 ^ + http://192.168.1.13/C:/data1 http://192.168.1.13/C:/data2 ^ + http://192.168.1.13/C:/data3 http://192.168.1.13/C:/data4 ^ + http://192.168.1.14/C:/data1 http://192.168.1.14/C:/data2 ^ + http://192.168.1.14/C:/data3 http://192.168.1.14/C:/data4 +``` + ![Distributed Minio, 4 nodes with 4 disks each](https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/Architecture-diagram_distributed_16.png) ## 3. Test your setup