linkedin / ambry

Distributed object store
https://github.com/linkedin/ambry/wiki
Apache License 2.0
1.74k stars 275 forks source link

Data Migration #1335

Open crazyJerk opened 4 years ago

crazyJerk commented 4 years ago

Hello,Our project uses ambry as the file storage. Now we want to migrate the file data to a new server. I can't find the relevant data storage path. What should I do? Thank you

dniq commented 4 years ago

I'm not sure what data path you're referring to. If this is the path where the data is stored on the ambry-server node - it is specified in PartitionLayout.json file for each individual partition and its replica.

If you're talking about 'path to migrate data from one server to another' - the easiest and most reliable path is to add new server(s) as replica(s) to existing partitions, deploy ambry-server to the new servers and let them replicate. Once the replication have caught up - you can then remove the old server(s) from the clustermap.

— Regards - Dmitry

On Dec 9, 2019, at 8:03 AM, crazyJerk notifications@github.com wrote:

Hello,Our project uses ambry as the file storage. Now we want to migrate the file data to a new server. I can't find the relevant data storage path. What should I do? Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/linkedin/ambry/issues/1335?email_source=notifications&email_token=ACL2XW7XQXFGADSR2QEDZ6TQXZT5TA5CNFSM4JYLR5BKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H7D32SQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACL2XWZJJEJY6MQHNPO7EFLQXZT5TANCNFSM4JYLR5BA.