[SERVER-4775] Followed build process but instead of getting primary and replica sets = getting all primary sets that cannot talk to eachother Created: 25/Jan/12  Updated: 15/Aug/12  Resolved: 03/Mar/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Bug Priority: Blocker - P1
Reporter: Richard Chen Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: build
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

To Whom this may concern,

Followed build process but instead of getting primary and replica sets we are getting getting all primary sets that cannot talk to eachother. Tried both DNS and IP's and getting the same result. Please respond to developers@xen.com or this thread. Thanks!

  • Xen


 Comments   
Comment by Eliot Horowitz (Inactive) [ 25/Jan/12 ]

Something seems like it was configured wrong at the beginning.
rs.conf() should never be null for example

hard to tell what happened with limited info

Comment by Richard Chen [ 25/Jan/12 ]

FYI - Two of the boxes see each other now. Had to wipe out the data on the replica. This seems contrary to documentation?

Comment by Richard Chen [ 25/Jan/12 ]

null on all of them

Comment by Eliot Horowitz (Inactive) [ 25/Jan/12 ]

Can you send rs.conf() from each box?

Comment by Richard Chen [ 25/Jan/12 ]

Here is how we are installing Mongo on all machines:

> apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
> echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" > /etc/apt/sources.list.d/10gen.list

> apt-get -y update

> apt-get -y install mongodb-10gen

This installation looks completely fine when the servers are run in single-machine mode (i.e. not a RS).

We are not having any network problems. All of the machines are running ubuntu with permissive firewalls on their internal NICs (which are the NICs being specified in the RS config) and they can definitely see port 27017 on each box.

We start each mongo using:

> mongod -vvv --maxConns 4096 --logpath /logs/mongo.log --logappend --dbpath /mongo/data --config /etc/mongodb.conf --replSet MongoRS/10.0.1.114:27017,10.0.1.56:27017

Comment by Richard Chen [ 25/Jan/12 ]

Are you having network or firewall problems?
No network issues ~ all the boxes can see each other

How are you starting each mongod process (what are the command line arguments)?
We are modifying config that comes with mongo package to enable REST and replica set

Are you building mongodb from source or using a package installer?
We are using official 10gen Debian/Ubuntu repository

Comment by Scott Hernandez (Inactive) [ 25/Jan/12 ]

Are you having network or firewall problems? How are you starting each mongod process (what are the command line arguments)?

Are you building mongodb from source or using a package installer?

Generated at Thu Feb 08 03:06:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.