leofs-adm Command LineΒΆ
leofs-adm makes administrative operations of LeoFS very easy.
Shell | Description |
---|---|
General Commands | |
leofs-adm status [<node>] |
|
leofs-adm whereis <file-path> |
|
LeoFS Storage Cluster Operation | |
leofs-adm detach <storage-node> |
|
leofs-adm suspend <storage-node> |
|
leofs-adm resume <storage-node> |
|
leofs-adm start |
|
leofs-adm rebalance |
|
LeoFS Storage MQ Operation [1.2.0-] | |
leofs-adm mq-stats <storage-node> |
|
leofs-adm mq-suspend <storage-node> <mq-id> |
|
leofs-adm mq-resume <storage-node> <mq-id> |
|
Recover Commands | |
leofs-adm recover-file <file-path> |
|
leofs-adm recover-node <storage-node> |
|
leofs-adm recover-ring <storage-node> |
|
leofs-adm recover-cluster <cluster-id> |
|
Data Compaction Commands | |
leofs-adm compact-start <storage-node> (all|<num-of-targets>) [<num-of-compaction-proc>] |
|
leofs-adm compact-suspend <storage-node> |
|
leofs-adm compact-resume <storage-node> |
|
leofs-adm compact-status <storage-node> |
|
leofs-adm diagnose-start <storage-node> |
|
Disk Usage | |
leofs-adm du <storage-node> |
|
leofs-adm du detail <storage-node> |
|
LeoFS Gateway Operation | |
leofs-adm purge-cache <file-path> |
|
leofs-adm remove-gateway <gateway-node> |
|
LeoFS Manager Maintenance | |
leofs-adm backup-mnesia <backup-filepath> |
|
leofs-adm restore-mnesia <backup-filepath> |
|
leofs-adm update-managers <manager-master> <manager-slave> |
|
leofs-adm dump-ring (<manager-node>|<storage-node>|<gateway-node>) |
|
S3-API Commands - User | |
leofs-adm create-user <user-id> <password> |
|
leofs-adm delete-user <user-id> |
|
leofs-adm get-users |
|
leofs-adm update-user-role |
|
S3-API Commands - Endpoint | |
leofs-adm add-endpoint <endpoint> |
|
leofs-adm delete-endpoint <endpoint> |
|
leofs-adm get-endpoints |
|
S3-API Commands - Bucket | |
leofs-adm add-bucket <bucket> <access-key-id> |
|
leofs-adm delete-bucket <bucket> <access-key-id> |
|
leofs-adm get-buckets |
|
leofs-adm get-bucket <access-key-id> |
|
leofs-adm chown-bucket <bucket> <access-key-id> |
|
leofs-adm update-acl <bucket> <access-key-id> (private | public-read | public-read-write) |
|
Multi Data Center Operation | |
leofs-adm join-cluster <manager-master> <manager-slave> | 1.0.0- Begin to communicate between the local cluster and the remote cluster |
leofs-adm remove-cluster <manager-master> <manager-slave> | 1.0.0- Terminate to communicate between the local cluster and the remote cluster |
leofs-adm cluster-status | 1.0.0- See the current state of cluster(s) |