clone a mongo RS and rename RS!!

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.4
    • Component/s: Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, i have 7 nodes cluster (5 data + 2 arbiters). I want to clone the RS then rename clone to new RS name. Each node in RS is 400GB.

      can you provide the optimize option to clone the db and rename RS.

      I shutdown one of the data node and copied data files to remote hosts. i remove all local.* file and got this message when I initiate new RS

      > rs.initiate(repl);
      {
              "ok" : 0,
              "errmsg" : "couldn't initiate : member slcdbx1274-3.slc.ebay.com:27017 has data already, cannot initiate set.  All members except initiator must be empty."
      }
      

            Assignee:
            Ramon Fernandez
            Reporter:
            Nam Tang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: