Wednesday, September 26, 2012

Mongo Replica Set/Sharding configuration

Make sure selinux is disabled, run >sestatus

This is bad:

[dc@localhost ~]$ sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          disabled
Policy version:                 24
Policy from config file:        targeted
[dc@localhost ~]$

This is good:

[dc@localhost repl]$ sestatus
SELinux status:                 disabled
[dc@localhost repl]$

2 separate laptops; install mongo and run the following script:

No comments:

Post a Comment