Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Remove reference to old (unsupported) MongoDB versions (#1299)
Browse files Browse the repository at this point in the history
* Remove reference to old MongoDB versions

* Update installation/manual-installation/mongo-replicas/README.md

* Update installation/manual-installation/mongo-replicas/README.md
  • Loading branch information
sampaiodiego authored and geekgonecrazy committed May 17, 2019
1 parent 12bfbeb commit c1558a8
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions installation/manual-installation/mongo-replicas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,9 @@

Rocket.Chat uses the [MongoDB replica set](http://docs.mongodb.org/manual/replication/) to improve performance via Meteor Oplog tailing.

To configure the replica set:
**Note** please check release notes to ensure you are using a compatible version of Mongo

## For older MongoDB versions (2.4 and below)

Append `replSet=rs01` into `mongod.conf` file:

```bash
echo replSet=rs01 | sudo tee -a /etc/mongod.conf
```

## For new MongoDB versions (2.6 and above)

Using YAML syntax add this section into `mongod.conf`:
To configure the replica set add this section into `mongod.conf`:

```bash
echo -e "replication:\n replSetName: \"rs01\"" | sudo tee -a /etc/mongod.conf
Expand Down

0 comments on commit c1558a8

Please sign in to comment.