mirror of
https://github.com/minio/minio.git
synced 2024-12-26 15:15:55 -05:00
484ba91b08
Migrate to new config format v4. ``` { "version": "4", "credential": { "accessKey": "WLGDGYAQYIGI833EV05A", "secretKey": "BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF" }, "region": "us-east-1", "logger": { "console": { "enable": true, "level": "fatal" }, "file": { "enable": false, "fileName": "", "level": "error" }, "syslog": { "enable": false, "address": "", "level": "debug" } } } ``` This patch also updates [minio cli spec](./minio.md)
41 lines
751 B
Markdown
41 lines
751 B
Markdown
# Server command line SPEC - Fri Apr 1 19:49:56 PDT 2016
|
|
|
|
## Single disk
|
|
Regular single server, single disk mode.
|
|
```
|
|
$ minio server <disk>
|
|
```
|
|
|
|
## Multi disk
|
|
```
|
|
$ minio controller start - Start minio controller.
|
|
```
|
|
Prints a secret token to be used by all parties.
|
|
|
|
Start all servers without disk with `MINIO_CONTROLLER` env set, start in cluster mode.
|
|
```
|
|
$ MINIO_CONTROLLER=<host>:<token> minio server
|
|
```
|
|
|
|
## Minio Controller cli.
|
|
|
|
Set controller host and token.
|
|
```
|
|
$ export MINIO_CONTROLLER=<host>:<token>
|
|
```
|
|
|
|
Create a cluster from the pool of nodes.
|
|
```
|
|
$ minioctl new <clustername> <ip1>:/mnt/disk1 .. <ip16>:/mnt/disk1
|
|
```
|
|
|
|
Start the cluster.
|
|
```
|
|
$ minioctl start <clustername>
|
|
```
|
|
|
|
Stop the cluster
|
|
```
|
|
$ minioctl stop <clustername>
|
|
```
|