Hot answers tagged

3

The previous Jason answer is working for centos 6.x. For centos 7 and yum-cron package, the config file is /etc/yum/yum-cron.conf. If you wish to exclude some packages from auto-update mechanism, you'll have to add an exclude line, at the bottom of the file, in the base section. Example : [base] exclude = kernel* owncloud* php* httpd* This will override ...


2

We were looking into running Mongo on ZFS and saw that this post raised major concerns about the performance available. Two years on we wanted to see how new releases of Mongo that use WiredTiger over mmap, performed on the now officially supported ZFS that comes with the latest Ubuntu Xenial release. In summary it was clear that ZFS doesn't perform quite ...


1

This is probably not supported. However, I have found a way to rename the shards. Use at your own risk. Basically, the shard name appears in the config servers in the following collections: config.databases, config.chunks, and config.shards. Do a simple update to replace the fields that have the old shard name with the new shard name. You'll have to ...


1

If you want to configure SELINUX for Mongo in simple way - try audit2why on your /var/log/audit/audit.log to see what kinds of violations would have been denied, and build custom policies with audit2allow. It works in 80% of incidents. If you'll still have problems - run audit2why and fix another issues manually. Maybe we can help you on this step.


1

While the above mongodump/drop/mongorestore approach will work fine from a technical perspective, it will require you to take the database offline while you do so, which would be a service-affecting event. If you would like do this without downtime AND if you are using MongoDB Replica Sets[1], you could do so like this: Select a member and stop the ...



Only top voted, non community-wiki answers of a minimum length are eligible