Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11871

Steps to rollback from CSRS to SCCC

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.2.20
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Last comment by Customer:
      true

      Description

      ----------------------------

      Original Description

      Currently we have the documents to upgrade from SCCC to CSRS. However, we don't have a full document on downgrading from CSRS to SCCC.

      Some steps are documented in the downgrade document (downgrade from 3.2 to 3.0) - Prepare CSRS Config Servers for downgrade. However this is not a complete list. It would be nice if we can document the full steps. The steps look like:

      1. Disable the Balancer..
      2. Check the minOpTimeUpdaters value..
      3. Prepare CSRS Config Servers for downgrade..
        • If there is any requirement to rollback to the original servers/MMAPv1, after all the nodes in the cluster are stopped in Step c and before Step d to start the SCCC members, dump the config database from a CSRS member (running on standalone mode) and restore to the SCCC members with --drop option.
      4. Clear per-shard sharding recovery information..
        • Note that if the cluster is running with authentication enabled, it's needed to grant the proper privilege to the administrator user, in order to remove the minOpTimeRecovery document from the admin.system.version collection. Please replace USER with the proper administrator user.

          use admin;
           
          db.createRole({
            role: "downgrade_csrs",
            privileges: [
               { resource: { db: "admin", collection: "system.version"}, actions: [ "remove" ] },
            ],
            roles: [  ]
          });
           
          db.grantRolesToUser("USER", ["downgrade_csrs"]);
          

      5. Restart all the shard mongod instances.
      6. Start the mongos pointing to SCCC
      7. (Optional) The local database can be drop from the SCCC members if exists.

      ----------------------------

      Description

      Scope of changes (files that need work and how much)

      Impact to other docs outside of this product

      MVP (work and date?)

      Resources (e.g. Scope Docs, Invision)

        Attachments

          Activity

            People

            Assignee:
            isabella.siu Isabella Siu (Inactive)
            Reporter:
            linda.qin Linda Qin
            Participants:
            Last commenter:
            Githook User Githook User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              3 years, 14 weeks, 5 days ago
              Date of 1st Reply: