-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do we need Metacat replication in 3.0.0? #1620
Comments
Here is the link to discuss the three Postgresql replication:
Based on the consideration of write performance, reading consistency, data loss, and distance proximity, it seems asynchronous replication is a good choice. |
Here are steps to set up the file sync from
(the file name is /root/.ssh/id_ecdsa) 2 Copy the key to
Paste the key on the last line of this file:
3 Create the
4 Change it to 774
5 Create a cron job every minute
Paste the line:
|
Here are steps to set up the Postgresql replication between Set up firewall on both servers:
Set up the primary server
Set up the secondary server
Note: it took 70 minutes to transfer 185G data
Check the status of replication
3 Check the secondary server:
|
After I setting up both the file and postgres replications in the two servers, it works well - when I uploaded an object to Some issues:
|
We just figured out how to replicate files and database between Metacats. Additionally we have the way using Zookeeper to replicate Solr between CNs. So the Metacat replication between CNs can be replaced by them, which means the old Metacat replication feature can be dropped. @mbjones @artntek @doulikecookiedough What do you think? |
In today's dev meeting, we decided that we could remove the old metacat replication. |
@mbjones @artntek @doulikecookiedough I am going to drop the |
Metacat replication was designed to replicate objects among different Metacat instances. Now we promote the DataONE replication mechanism to replicate objects among the member nodes. From this prospective, Metacat replication is obsoleted. There are also some other issues we need to think about:
However, CNs still use this Metacat replication mechanism to sync objects. We may use some other mechanisms to archive the backup feature:
The text was updated successfully, but these errors were encountered: