Subutai Minio Blueprint

Subutai Minio Blueprint to install MinIO in distributed mode.

wizard

How to enable https

Add port mapping to all containers: external port is https 443 and internal port is 9199, ssl_backend should be enabled, provide a custom SSL certificate in the following single file format:

Example:

portmapping

SSL certificate format:

-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----

-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----

NOTE:

  1. Minio is designed to deploy once and forget. You can not add new disks to an existing configuration.
  2. Minio does not support the addition of new nodes (only repair downed nodes)
  3. Clusters continue to operate as long as (nodes_count / 2) + 1 nodes are running

Useful

MinIO Client (mc) provides a modern alternative to UNIX commands like ls, cat, cp, mirror, diff, find etc.

Add a node to the mc client:

mc config host add minio http://node-ip:9199 accessKey secretKey

Get information about a cluster with mc:

mc admin info minio

Sync a minio node with mc:

mc admin heal -r minio

Add a bucket (a la S3) with mc:

mc mb minio/mybucket

How to fix a dead node:

  1. Fix its corrupted disk

  2. Make sure the minio service has started and is running

  3. Sync minio node with cmd:

mc admin heal -r minio