Table of contents

This page was imported from the opsmanual on github.gds. It hasn’t been reviewed for accuracy yet. View history in old opsmanual

Resync a Mongo database

To resync a member of a mongo cluster, run our force_resync fabric script:

fab {env name} -H {host name} mongo.force_resync

The mongo.force_resync command checks that you are not trying to perform a resync on the primary member.

If you need to resync the primary member, first resync all of the secondary members that require a resync, then:

  1. Run mongo.step_down_primary:

    fab {env name} -H {host name} mongo.step_down_primary
  2. Run mongo.force_resync against the former primary member

You can run mongo.status at any time to see the status of the cluster:

fab {env name} -H {host name} mongo.status
This page is owned by #2ndline and needs to be reviewed