Sitecore – MongoDB Enable Secure Configuration Options “logAppend”

Posted on

This is very short post that covers how to enable logAppend for your MongoDB replica set as part of the MongoDB Hardening series.

To enable logAppend:

  • Open the Y:\mongodb\mongod.cfg  file
  • Add ‘logAppend: true’ after the ‘path’
    • By default if this is not included on your configuration, the value is false. When true, mongos or mongod appends new entries to the end of the existing log file when the mongos or mongod instance restarts. Without this option, mongod will back up the existing log and create a new file.

  • Restart the MongoDB service

net stop MongoDB

  • Repeat the steps for Secondary & Arbiter servers.

To enable authentication options, please see below links. 

 

Advertisements

2 thoughts on “Sitecore – MongoDB Enable Secure Configuration Options “logAppend”

    […] Enable Secure Configuration Options “logAppend” […]

    Like

    […] Enable Secure Configuration Options “logAppend” […]

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s