[SERVER-12039] I want to enable oplog on standalone mongod server ,not for single node replica set. Created: 11/Dec/13 Updated: 12/Jul/18 Resolved: 11/Dec/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Stability |
| Affects Version/s: | 2.4.8 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Rajnish Kumar | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 12 |
||
| Participants: |
| Description |
|
Hi Team, like other RDBMS oracle,mysql ,we can enable binary log to a single node as well . |
| Comments |
| Comment by Ramon Fernandez Marina [ 12/Jul/18 ] | |
|
chiruuzumaki, please see Dan's last comment: you can configure a one-node replica set; see the documentation. You can also use mtools. Regards, | |
| Comment by chiranjeevi medicharla [ 11/Jul/18 ] | |
|
there is no use of adding true for me
| |
| Comment by Daniel Pasette (Inactive) [ 10/May/16 ] | |
|
Hi mallikarjuna.siraguppi@hpe.com,
However, if you want to enable the oplog, you should be able to configure a single node replset as well, which would be the better approach. | |
| Comment by Mallikarjuna Siraguppi [ 10/May/16 ] | |
|
I am using a YAML file as configuration file, and an error is thrown at the database start. MongoDB version 2.6 | |
| Comment by Sasitha Sonnadara [ 07/Jan/16 ] | |
|
adding master: true in mongod.conf in mongodb 3.x doesn't work!! | |
| Comment by Daniel Pasette (Inactive) [ 27/Sep/15 ] | |
|
you can just include the following in your config file: | |
| Comment by Ashu Vashishat [ 27/Sep/15 ] | |
|
Hi Eliot How can I get the same result using config file ? replSet=rs0 which is giving error in log file : , storage: { dbPath: "/home/lxg/mongo_dbs/oplog_demo" }, systemLog: { destination: "file", logAppend: true, path: "/home/lxg/mongo_dbs/logs/mongod.log" } } | |
| Comment by Rajnish Kumar [ 11/Dec/13 ] | |
|
Hi Eliot, | |
| Comment by Rajnish Kumar [ 11/Dec/13 ] | |
|
Thanks For your Quick Response . | |
| Comment by Eliot Horowitz (Inactive) [ 11/Dec/13 ] | |
|
You can use "--master" to get an oplog on a standalone server. |