[SERVER-17339] mongod.conf - YAML conversion question.... Created: 20/Feb/15 Updated: 02/Mar/15 Resolved: 02/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | Aaron Clements | Assignee: | Ramon Fernandez Marina |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
We were on 2.4.9 in a non-sharded 3-node cluster.I upgraded it to 2.6.7 by simply replacing the needfuls in /usr/bin.Everything worked fine, but it flagged me for --rest.So I tried flipping to YAML, but I had to flip back. Here is our working configuration file:
Here is what I converted it to:
When I start up, the repl set is gone and the databases don't show up. I think the problem is that net:bindIP is where I was expecting to place the domain name of the server, but I can only use 127.0.0.1? Anyway, when I put the old config file back in place, it works fine. |
| Comments |
| Comment by Ramon Fernandez Marina [ 02/Mar/15 ] |
|
c.aaron.clements, the issue is indeed setting bindIP to 127.0.0.1, as that will prevent the members of your replica set from talking to each other. Please see the documentation for bindIp. Also, please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. Regards, |
| Comment by Aaron Clements [ 20/Feb/15 ] |
|
My actual question was how we use an FQDN in the 2.6 config format? |