Skip to content

Instantly share code, notes, and snippets.

@trentster
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trentster/91cdc259ff91e29809fc to your computer and use it in GitHub Desktop.
Save trentster/91cdc259ff91e29809fc to your computer and use it in GitHub Desktop.
[root@5a846f46-5aea-4e09-8f08-4999dc4c11d8 ~]# leofs-adm status
[System config]
System version : 1.1.1
Cluster Id : leofs_1
DC Id : dc_1
Total replicas : 1
# of successes of R : 1
# of successes of W : 1
# of successes of D : 1
# of DC-awareness replicas : 0
ring size : 2^128
Current ring hash : a945d4e2
Prev ring hash : a945d4e2
[Multi DC replication settings]
max # of joinable DCs : 2
# of replicas a DC : 1
[Node(s) state]
-------+--------------------------+--------------+----------------+----------------+----------------------------
type | node | state | current ring | prev ring | updated at
-------+--------------------------+--------------+----------------+----------------+----------------------------
S | storage_0@127.0.0.1 | running | a945d4e2 | a945d4e2 | 2014-08-30 13:08:10 +0000
G | gateway_0@127.0.0.1 | running | a945d4e2 | a945d4e2 | 2014-08-30 13:15:59 +0000
[root@5a846f46-5aea-4e09-8f08-4999dc4c11d8 ~]# sniffle-admin config show
Storage
General Section
Key Value
-------------------- --------------------------------------------------
storage.general.back s3
S3 Section
Key Value
-------------------- --------------------------------------------------
storage.s3.general_b fifo
storage.s3.port 7443
storage.s3.access_ke 486969ef0d7487488072
storage.s3.snapshot_ fifo-snapshots
storage.s3.host fifo.mycloud.net
storage.s3.secret_ke acc07635034394aa694792620403509e8be89225
storage.s3.image_buc fifo-images
[root@5a846f46-5aea-4e09-8f08-4999dc4c11d8 ~]# leofs-adm get-endpoints
endpoint | created at
-----------------+---------------------------
fifo.mycloud.net | 2014-08-30 11:59:59 +0000
localhost | 2014-08-30 11:56:31 +0000
s3.amazonaws.com | 2014-08-30 11:56:31 +0000
[root@5a846f46-5aea-4e09-8f08-4999dc4c11d8 ~]# ping -a fifo.mycloud.net
fifo.mycloud.net (10.1.1.242) is alive
[root@5a846f46-5aea-4e09-8f08-4999dc4c11d8 ~]# ping -a fifo.fifo.mycloud.net
fifo.fifo.mycloud.net (10.1.1.242) is alive
[root@5a846f46-5aea-4e09-8f08-4999dc4c11d8 ~]# ping -a fifo-images.fifo.mycloud.net
fifo-images.fifo.mycloud.net (10.1.1.242) is alive
[root@5a846f46-5aea-4e09-8f08-4999dc4c11d8 ~]# ping -a fifo-snapshots.fifo.mycloud.net
fifo-snapshots.fifo.mycloud.net (10.1.1.242) is alive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment