- Red Hat Satellite 6.5
- Can I provide a different location apart from /var/tmp while upgrading the MongoDB storage engine to WiredTiger?
- You can make the following edits to change the path from /var/tmp to desired while upgrading the MongoDB storage engine to WiredTiger:
# vi /usr/share/katello-installer-base/hooks/pre/31-mongo_storage_engine.rb export_dir = '/var/tmp/mongodb_engine_upgrade' <<======= Change /var/tmp/mongodb_engine_upgrade to your desired path. .. mongodb_backup = '/var/tmp/mongodb_backup' <<======= Change /var/tmp/mongodb_engine_upgrade to your desired path.
# vi /usr/share/katello-installer-base/hooks/pre_validations/30-mongo_storage_engine.rb total_space = `df -k --output=avail /var/tmp`.split("\n").last.to_i <<==== Change this part(/var/tmp) of the line to desired path.
# satellite-installer --upgrade-mongo-storage-engine
Red Hat Bugzilla 1769159 has been created to request this as a user option during the invocation of
# satellite-installer --upgrade-mongo-storage-engine. To record your request for this feature please create a case and reference this article.
- Red Hat Satellite
- Customize or extend
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.