mirror of
https://github.com/minio/minio.git
synced 2025-11-13 07:11:44 -05:00
config/main: Re-write config files - add to new config v3
- New config format.
```
{
"version": "3",
"address": ":9000",
"backend": {
"type": "fs",
"disk": "/path"
},
"credential": {
"accessKey": "WLGDGYAQYIGI833EV05A",
"secretKey": "BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF"
},
"region": "us-east-1",
"logger": {
"file": {
"enable": false,
"fileName": "",
"level": "error"
},
"syslog": {
"enable": false,
"address": "",
"level": "debug"
},
"console": {
"enable": true,
"level": "fatal"
}
}
}
```
New command lines in lieu of supporting XL.
Minio initialize filesystem backend.
~~~
$ minio init fs <path>
~~~
Minio initialize XL backend.
~~~
$ minio init xl <url1>...<url16>
~~~
For 'fs' backend it starts the server.
~~~
$ minio server
~~~
For 'xl' backend it waits for servers to join.
~~~
$ minio server
... [PROGRESS BAR] of servers connecting
~~~
Now on other servers execute 'join' and they connect.
~~~
....
minio join <url1> -- from <url2> && minio server
minio join <url1> -- from <url3> && minio server
...
...
minio join <url1> -- from <url16> && minio server
~~~
This commit is contained in:
24
vendor/vendor.json
vendored
24
vendor/vendor.json
vendored
@@ -89,8 +89,8 @@
|
||||
},
|
||||
{
|
||||
"path": "github.com/minio/minio-go",
|
||||
"revision": "a4c6c439feb53e1aad083f0a3f0083a047092c17",
|
||||
"revisionTime": "2016-03-10T10:12:11-08:00"
|
||||
"revision": "ec610a695d37f1f04b9516a91857bfca007e3740",
|
||||
"revisionTime": "2016-03-19T15:53:30-07:00"
|
||||
},
|
||||
{
|
||||
"path": "github.com/minio/miniobrowser",
|
||||
@@ -126,26 +126,6 @@
|
||||
"path": "gopkg.in/check.v1",
|
||||
"revision": "11d3bc7aa68e238947792f30573146a3231fc0f1",
|
||||
"revisionTime": "2015-07-29T10:04:31+02:00"
|
||||
},
|
||||
{
|
||||
"path": "gopkg.in/mgo.v2",
|
||||
"revision": "f402e3a216db333ae6b3ba68b9152a34a0bc6984",
|
||||
"revisionTime": "2015-10-05T19:07:38-07:00"
|
||||
},
|
||||
{
|
||||
"path": "gopkg.in/mgo.v2/bson",
|
||||
"revision": "f402e3a216db333ae6b3ba68b9152a34a0bc6984",
|
||||
"revisionTime": "2015-10-05T19:07:38-07:00"
|
||||
},
|
||||
{
|
||||
"path": "gopkg.in/mgo.v2/internal/sasl",
|
||||
"revision": "f402e3a216db333ae6b3ba68b9152a34a0bc6984",
|
||||
"revisionTime": "2015-10-05T19:07:38-07:00"
|
||||
},
|
||||
{
|
||||
"path": "gopkg.in/mgo.v2/internal/scram",
|
||||
"revision": "f402e3a216db333ae6b3ba68b9152a34a0bc6984",
|
||||
"revisionTime": "2015-10-05T19:07:38-07:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user