Skip to content

Commit

Permalink
Merge pull request #195 from ant-media/refactor-mongo-db
Browse files Browse the repository at this point in the history
Update cluster-installation.md
  • Loading branch information
Mohit-3196 authored Jan 11, 2024
2 parents f39d758 + 382d387 commit 39b7ccc
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ Then run it and the latest version of MongoDB will be installed. If you run it w
```shell
./install_mongodb.sh
```
If you run it with the --auto-create parameter, then authentication will be enabled.

If you run it with the **--auto-create** parameter, then authentication will be enabled. It will generate a random username and password for your MongoDB server.

```shell
./install_mongodb.sh --auto-create
```

After MongoDB 4.4, if the amount of open files ulimit is below 64000, you may encounter a startup error. For this, add the following lines under `/etc/security/limits.conf`

Expand All @@ -63,8 +68,6 @@ mongodb hard nofile 65535

We set 0.0.0.0 in the mongodb.conf. It means ```listen on every available network interface```. If you don't have a firewall, you will accept all connections from everywhere to your MongoDB server. We recommend adding security credentials to your MongoDB instance with the following commands.

If you want to enable authentication, you can still automate it using the `mongodb_install.sh ----auto-create` script. It will generate a random username and password

## Install the origin and edge groups

You can easily switch AMS from ```standalone``` mode to ```cluster``` mode or vice versa. Let's switch AMS from standalone mode to cluster mode.
Expand Down

0 comments on commit 39b7ccc

Please sign in to comment.