mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Gateway to Remote Object Storage (markdown)
parent
0fcc0b475d
commit
4445a61f39
|
@ -1,6 +1,6 @@
|
||||||
# Intro
|
# Intro
|
||||||
|
|
||||||
The [[Mount Remote Storage]] feature can mount one remote storage folder in one single bucket.
|
The [[Mount Remote Storage]] feature can mount one folder in a remote object store bucket.
|
||||||
|
|
||||||
However,
|
However,
|
||||||
* You may have multiple buckets in one cloud storage.
|
* You may have multiple buckets in one cloud storage.
|
||||||
|
@ -10,14 +10,15 @@ How to synchronize them automatically?
|
||||||
|
|
||||||
# Design of Gateway to Remote Object Store
|
# Design of Gateway to Remote Object Store
|
||||||
|
|
||||||
The `weed filer.remote.gateway -createBucketAt=cloud1` process does these jobs:
|
The `weed filer.remote.gateway -createBucketAt=cloud1` process can mirror local changes to remote object storage, i.e.:
|
||||||
|
|
||||||
* Local new buckets will be automatically mounted to the remote storage specified in `-createBucketAt`
|
* Local new buckets will be automatically mounted to the remote storage specified in `-createBucketAt`
|
||||||
* Local deleted buckets will be automatically deleted in its remote storage.
|
* Local deleted buckets will be automatically deleted in its remote storage.
|
||||||
* All local changes under `/buckets` are uploaded to its remote storage.
|
* All local changes under `/buckets` are uploaded to its remote storage.
|
||||||
|
|
||||||
# Setup Steps
|
# Setup Steps
|
||||||
|
|
||||||
## 1. Mount all existing remote buckets as local buckets
|
## 1. (Optional) Mount all existing remote buckets as local buckets
|
||||||
|
|
||||||
If there are some existing buckets, run this to mount all of them as local buckets and synchronize their metadata to the local SeaweedFS cluster.
|
If there are some existing buckets, run this to mount all of them as local buckets and synchronize their metadata to the local SeaweedFS cluster.
|
||||||
|
|
||||||
|
@ -48,7 +49,7 @@ $ weed filer.remote.gateway -createBucketAt=cloud1 -createBucketWithRandomSuffix
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 3. Cache or uncache
|
## 3. (Optional) Cache or uncache
|
||||||
|
|
||||||
Run these commands as needed to speed up access or to release disk spaces.
|
Run these commands as needed to speed up access or to release disk spaces.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue