Skip to main content
9 events
when toggle format what by license comment
Nov 14, 2016 at 21:58 answer added mautematico timeline score: 1
Jun 13, 2016 at 5:49 comment added viren @Stennie i am not replacing Arbiter to secondary. I am removing it and adding fully data node. As per your suggestion i will use initial sync only as it will give more balanced accuracy for data. Could you please ass this as Answer so that i will close it.
Jun 10, 2016 at 12:11 comment added Stennie I'm still not entirely clear what you're trying to do. Are you referring to rsync (the command line file-copying tool) or MongoDB replication initial sync? Are you replacing one member of the replica set or two (an arbiter and/or secondary)? Per my original comment, you should not use rsync on a running deployment. Initial sync is the normal process where you would rs.add() a new secondary. You cannot convert an arbiter into a secondary, as arbiters do not have any data.
Jun 10, 2016 at 4:24 comment added viren @Stennie i have updated the question. My query is if i do not rsync and replace arbiter first with new machine with same host name will it rsync data from primary. Then i can go ahead with secondary with same procedure.
Jun 10, 2016 at 4:22 history edited viren CC BY-SA 3.0
mongo version 3.2
Jun 9, 2016 at 13:49 comment added Stennie What version of MongoDB and (if 3.0+, what storage engine) are you using? In general you should not copy or rsync files from a running deployment as this is likely to introduce data inconsistency if files are being written to. You would be much safer reversing your first two steps: stop the existing secondary and then rsync the data files.
S Jun 9, 2016 at 12:02 history edited Andriy M CC BY-SA 3.0
grammar, formatting
Jun 9, 2016 at 11:05 review Suggested edits
S Jun 9, 2016 at 12:02
Jun 9, 2016 at 10:50 history asked viren CC BY-SA 3.0