[DOCS-467] Page on troubleshooting replica sets needs additional information Created: 30/Aug/12  Updated: 04/Oct/12  Resolved: 03/Oct/12

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: William Zola Assignee: Bob Grabar
Resolution: Done Votes: 0
Labels: replication, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:
Days since reply: 11 years, 19 weeks, 6 days ago

 Description   

The page on troubleshooting Replica Sets needs additional information.

Things to include are:

1) Running 'rs.status()' on all nodes in the set to check the status of replication
2) Running 'db.printReplicationInfo()' on all nodes in the set to check the size of the oplog
3) Running 'db.printSlaveReplicationInfo()' on all nodes in the set to check the replication delay
4) Using 'mongo' to test the connection from every node to every other node (both directions)

Some notes about this last:

  • There must be connectivity from every node to every other node in order for replication to work
  • Problems with networking or firewall rules can prevent this connectivity, and hence prevent replication from working
  • Given that there are three nodes in the set, one node running on each of hosts A, B, and C, the process would be:
    • On host A:
      • Run "$ mongo --host B --port 27017"
      • Run "$ mongo --host C --port 27017"
    • Repeat the process on hosts B & C (each trying to connect to the other two hosts)
    • If any of the connections fails, there's a networking or firewall issue that needs to be diagnosed separately


 Comments   
Comment by auto [ 04/Oct/12 ]

Author:

{u'date': u'2012-10-04T16:22:22-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: edits: DOCS-467
Branch: master
https://github.com/mongodb/docs/commit/02f5e28e38f6b9624403596a2551c8e2025e229f

Comment by auto [ 04/Oct/12 ]

Author:

{u'date': u'2012-10-04T16:19:06-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-467
Branch: master
https://github.com/mongodb/docs/commit/ab2858c714b11361354e99422e637702d85e98a2

Comment by auto [ 04/Oct/12 ]

Author:

{u'date': u'2012-10-03T12:10:34-07:00', u'email': u'bob.grabar@10gen.com', u'name': u'Bob Grabar'}

Message: DOCS-467 minor: review edits
Branch: master
https://github.com/mongodb/docs/commit/68f50ee218e8ba1da1a8b7de7d22e1f51532aa88

Comment by auto [ 04/Oct/12 ]

Author:

{u'date': u'2012-10-02T15:15:24-07:00', u'email': u'bob.grabar@10gen.com', u'name': u'Bob Grabar'}

Message: DOCS-467 new info on repl set troubleshooting
Branch: master
https://github.com/mongodb/docs/commit/20bd361045f3a699f87c26ec0a7d63dcde512f96

Comment by Sam Kleinman (Inactive) [ 03/Oct/12 ]

Revise according to comments: https://github.com/mongodb/docs/pull/278

Generated at Thu Feb 08 07:38:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.