Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15803

clone a mongo RS and rename RS!!

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.4
    • Replication
    • None

    Description

      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."
      }

      Attachments

        Activity

          People

            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            nammo Nam Tang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: