Skip to content

Instantly share code, notes, and snippets.

@balamurugana
Created August 11, 2018 05:12
Show Gist options
  • Save balamurugana/4b2e597398638e5770cada4b21bdca7c to your computer and use it in GitHub Desktop.
Save balamurugana/4b2e597398638e5770cada4b21bdca7c to your computer and use it in GitHub Desktop.

Servers

Server1: minio server --address localhost:9001 https://localhost:9001/tmp/minio01/disk0{1..4} https://localhost:9002/tmp/minio02/disk0{1..4} https://localhost:9003/tmp/minio03/disk0{1..4} https://localhost:9004/tmp/minio04/disk0{1..2} https://localhost:9005/tmp/minio05/disk0{1..2}
Server2: minio server --address localhost:9002 https://localhost:9001/tmp/minio01/disk0{1..4} https://localhost:9002/tmp/minio02/disk0{1..4} https://localhost:9003/tmp/minio03/disk0{1..4} https://localhost:9004/tmp/minio04/disk0{1..2} https://localhost:9005/tmp/minio05/disk0{1..2}
Server3: minio server --address localhost:9003 https://localhost:9001/tmp/minio01/disk0{1..4} https://localhost:9002/tmp/minio02/disk0{1..4} https://localhost:9003/tmp/minio03/disk0{1..4} https://localhost:9004/tmp/minio04/disk0{1..2} https://localhost:9005/tmp/minio05/disk0{1..2}
Server4: minio server --address localhost:9004 https://localhost:9001/tmp/minio01/disk0{1..4} https://localhost:9002/tmp/minio02/disk0{1..4} https://localhost:9003/tmp/minio03/disk0{1..4} https://localhost:9004/tmp/minio04/disk0{1..2} https://localhost:9005/tmp/minio05/disk0{1..2}
Server5: minio server --address localhost:9005 https://localhost:9001/tmp/minio01/disk0{1..4} https://localhost:9002/tmp/minio02/disk0{1..4} https://localhost:9003/tmp/minio03/disk0{1..4} https://localhost:9004/tmp/minio04/disk0{1..2} https://localhost:9005/tmp/minio05/disk0{1..2}

Tests

+ minio version
Version: 2018-08-11T04:57:12Z
Release-Tag: DEVELOPMENT.2018-08-11T04-57-12Z
Commit-ID: 8fa104f4287549dc2df5aa50c0fd0316e7186886

+ mc version
Version: 2018-08-11T04:32:07Z
Release-tag: DEVELOPMENT.2018-08-11T04-32-07Z
Commit-id: 22b8ab43bd26c73e3a9037c6d461bfd95307c96d

+ mc config host list
local1:  https://localhost:9001          minio                 minio123                                  S3v4   auto 
local2:  https://localhost:9002          minio                 minio123                                  S3v4   auto 

+ mc --insecure admin info local1
●  localhost:9001
   Uptime : online since 26 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9002
   Uptime : online since 22 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9003
   Uptime : online since 13 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9004
   Uptime : online since 12 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


●  localhost:9005
   Uptime : online since 21 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


+ mc --insecure mb local1/my-test-bucket
Bucket created successfully `local1/my-test-bucket`.

+ mc --insecure admin info local1
●  localhost:9001
   Uptime : online since 26 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 431B, Outgoing 320B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9002
   Uptime : online since 22 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9003
   Uptime : online since 13 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9004
   Uptime : online since 12 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


●  localhost:9005
   Uptime : online since 21 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


+ mc --insecure cp /root/tmp/10-mb-file local1/my-test-bucket/10-mb-file
/root/tmp/10-mb-file:       10.00 MB / 10.00 MB ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 100.00% 19.57 MB/s 0s

+ mc --insecure admin info local1
●  localhost:9001
   Uptime : online since 27 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 10MiB, Outgoing 2.9KiB
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9002
   Uptime : online since 23 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9003
   Uptime : online since 14 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9004
   Uptime : online since 13 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


●  localhost:9005
   Uptime : online since 22 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


+ mc --insecure cp local1/my-test-bucket/10-mb-file local2/my-test-bucket/10-mb-file-2
...test-bucket/10-mb-file:  10.00 MB / 10.00 MB ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 100.00% 10.85 MB/s 0s

+ mc --insecure admin info local1
●  localhost:9001
   Uptime : online since 29 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 10MiB, Outgoing 10MiB
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9002
   Uptime : online since 25 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 10MiB, Outgoing 2.5KiB
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9003
   Uptime : online since 16 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9004
   Uptime : online since 15 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


●  localhost:9005
   Uptime : online since 24 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


+ mc --insecure admin info local2
●  localhost:9002
   Uptime : online since 25 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 10MiB, Outgoing 2.5KiB
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9001
   Uptime : online since 29 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 10MiB, Outgoing 10MiB
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9003
   Uptime : online since 16 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 115KiB
    Disks : 16, 0


●  localhost:9004
   Uptime : online since 15 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


●  localhost:9005
   Uptime : online since 24 seconds ago
  Version : 2018-08-11T04:57:12Z
   Region : 
 SQS ARNs : <none>
    Stats : Incoming 0B, Outgoing 0B
  Storage : Used 90KiB
    Disks : 16, 0


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment