diff --git a/docs/multi-tenancy/README.md b/docs/multi-tenancy/README.md index fecf903a6..0d618ac98 100644 --- a/docs/multi-tenancy/README.md +++ b/docs/multi-tenancy/README.md @@ -2,13 +2,13 @@ This topic provides commands to set up different configurations of hosts, nodes, and drives. The examples provided here can be used as a starting point for other configurations. -1. [Standalone Deployment](#standalone-deployment) -2. [Distributed Deployment](#distributed-deployment) +1. [Standalone Deployment](#standalone-deployment) +2. [Distributed Deployment](#distributed-deployment) 3. [Cloud Scale Deployment](#cloud-scale-deployment) ## 1. Standalone Deployment -To host multiple tenants on a single machine, run one MinIO Server per tenant with a dedicated HTTPS port, configuration, and data directory. +To host multiple tenants on a single machine, run one MinIO Server per tenant with a dedicated HTTPS port, configuration, and data directory. ### 1.1 Host Multiple Tenants on a Single Drive @@ -27,16 +27,16 @@ minio server --address :9003 /data/tenant3 Use the following commands to host 3 tenants on multiple drives: ```sh -minio server --address :9001 /disk1/data/tenant1 /disk2/data/tenant1 /disk3/data/tenant1 /disk4/data/tenant1 -minio server --address :9002 /disk1/data/tenant2 /disk2/data/tenant2 /disk3/data/tenant2 /disk4/data/tenant2 -minio server --address :9003 /disk1/data/tenant3 /disk2/data/tenant3 /disk3/data/tenant3 /disk4/data/tenant3 +minio server --address :9001 /disk{1...4}/data/tenant1 +minio server --address :9002 /disk{1...4}/data/tenant2 +minio server --address :9003 /disk{1...4}/data/tenant3 ``` ![Example-2](https://github.com/minio/minio/blob/master/docs/screenshots/Example-2.jpg?raw=true) ## 2. Distributed Deployment -To host multiple tenants in a distributed environment, run several distributed MinIO Server instances concurrently. +To host multiple tenants in a distributed environment, run several distributed MinIO Server instances concurrently. ### 2.1 Host Multiple Tenants on Multiple Drives (Erasure Code) @@ -45,18 +45,18 @@ Use the following commands to host 3 tenants on a 4-node distributed configurati ```sh export MINIO_ACCESS_KEY= export MINIO_SECRET_KEY= -minio server --address :9001 http://192.168.10.11/data/tenant1 http://192.168.10.12/data/tenant1 http://192.168.10.13/data/tenant1 http://192.168.10.14/data/tenant1 +minio server --address :9001 http://192.168.10.1{1...4}/data/tenant1 export MINIO_ACCESS_KEY= export MINIO_SECRET_KEY= -minio server --address :9002 http://192.168.10.11/data/tenant2 http://192.168.10.12/data/tenant2 http://192.168.10.13/data/tenant2 http://192.168.10.14/data/tenant2 +minio server --address :9002 http://192.168.10.1{1...4}/data/tenant2 export MINIO_ACCESS_KEY= export MINIO_SECRET_KEY= -minio server --address :9003 http://192.168.10.11/data/tenant3 http://192.168.10.12/data/tenant3 http://192.168.10.13/data/tenant3 http://192.168.10.14/data/tenant3 +minio server --address :9003 http://192.168.10.1{1...4}/data/tenant3 ``` -**Note:** Execute the commands on all 4 nodes. +**Note:** Execute the commands on all 4 nodes. ![Example-3](https://github.com/minio/minio/blob/master/docs/screenshots/Example-3.jpg?raw=true) @@ -64,4 +64,4 @@ minio server --address :9003 http://192.168.10.11/data/tenant3 http://192.168.10 ## Cloud Scale Deployment -A container orchestration platform (e.g. Kubernetes, DC/OS, or Docker Swarm) is recommended for large-scale, multi-tenant MinIO deployments. See the [MinIO Deployment Quickstart Guide](https://docs.min.io/docs/minio-deployment-quickstart-guide) to get started with MinIO on orchestration platforms. +A container orchestration platform (e.g. Kubernetes) is recommended for large-scale, multi-tenant MinIO deployments. See the [MinIO Deployment Quickstart Guide](https://docs.min.io/docs/minio-deployment-quickstart-guide) to get started with MinIO on orchestration platforms.