On 07/29/2015 04:43 PM, m.r...@5-cent.us wrote:
> Anyone know about this? Googling, all I can find is mongodb's 3.x manual,
> nothing for the 2.4 we get from epel.
> 
> What I need to do, CentOS 6.6, is start it as a service, not a user, and
> have it do sharding. I see examples of how to start it as a user... but I
> can't find if there's a syntax for /etc/mongodb.conf to tell it that, and
> I don't want to have to edit /etc/init.d/mongod....
> 
> Clues for the poor?

Use the packages from the official MongoDB repo and not the packages
from epel. MongoDB is rather buggy and you always want to run recent
versions. The last version I ran in a sharded setup was 2.6.5 and that
contained some rather ugly bugs that resulted in no proper balancing
happening between the shards and replica sets becoming confused about
the number of servers that were members of a set.

Regards,
  Dennis

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to