{"id":45326,"date":"2026-06-26T14:54:00","date_gmt":"2026-06-26T12:54:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=45326"},"modified":"2026-06-26T12:02:52","modified_gmt":"2026-06-26T10:02:52","slug":"mongodb-dmk-2-5-0-sharding-support-and-new-features","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/","title":{"rendered":"MongoDB DMK 2.5.0 : Sharding support and new features"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this blog, I will present the new features introduced with the latest release (<strong>2.5.0<\/strong>) of the MongoDB DMK.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The DMK is a set of standardized tools that aims at easing the work of DBAs by having dbi&#8217;s best practices embedded in common scripts across all the database servers of an organization.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">dbi services provides the&nbsp;<a href=\"https:\/\/www.dbi-services.com\/fr\/produits\/dmk-management-kit\/\" target=\"_blank\" rel=\"noreferrer noopener\">DMK<\/a>&nbsp;(<em>Database Management Kit<\/em>) to its customers for multiple technologies: Oracle, Postgres, MongoDB, etc. This toolkit is provided&nbsp;<strong>free of charge<\/strong>&nbsp;to all clients who work with dbi services on a consulting project.<\/p>\n\n\n\n<h2 id=\"h-new-features-of-the-mongodb-dmk-in-2-5-0\" class=\"wp-block-heading\">New features of the MongoDB DMK in 2.5.0<\/h2>\n\n\n\n<h3 id=\"h-sharding-support\" class=\"wp-block-heading\">Sharding support<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The biggest addition in DMK 2.5.0 is&nbsp;<strong>full sharding support<\/strong>. DMK can now create, start, stop, restart, and display the status of every component of a sharded MongoDB cluster: config server replica sets, shard replica sets, and&nbsp;<code>mongos<\/code>&nbsp;routers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Internally, <strong>instance management was refactored<\/strong> into a class hierarchy: a\u00a0<code>MongoInstance<\/code>\u00a0base class handles what is common to all MongoDB processes (URI construction,\u00a0<code>mongosh<\/code>\u00a0command execution, status gathering), and\u00a0<code>MongodInstance<\/code>\u00a0\/\u00a0<code>MongosInstance<\/code>\u00a0extend it for their respective types. From a day-to-day usage perspective, this is transparent: you use the same\u00a0<code>dmk_db_ctl.py<\/code>\u00a0and\u00a0<code>dmk_status.py<\/code>\u00a0commands for all instance types.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A few behaviours are specific to&nbsp;<code>mongos<\/code>: stopping a&nbsp;<code>mongos<\/code>&nbsp;router uses&nbsp;<code>SIGTERM<\/code>&nbsp;instead of the&nbsp;<code>--shutdown<\/code>&nbsp;command (which&nbsp;<code>mongos<\/code>&nbsp;does not support), and trying to back up a&nbsp;<code>mongos<\/code>&nbsp;instance now raises an explicit error, since&nbsp;<code>mongos<\/code>&nbsp;processes hold no data. In a sharded configuration, the underlying shards should be backed up instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>New configuration templates<\/strong> for each sharding component type are available in\u00a0<code>$DMK_HOME\/templates\/dbcreate\/<\/code>, in both forked (no systemd) and non-forked (systemd-managed) variants. A dedicated systemd unit file template (<code>mongos.service.template<\/code>) was also added for\u00a0<code>mongos<\/code>\u00a0routers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Three new generic JavaScript scripts in&nbsp;<code>$DMK_HOME\/js\/<\/code>&nbsp;handle the initialization steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>csrs_initiate.js<\/code>\u00a0\u2014 initiate a config server replica set<\/li>\n\n\n\n<li><code>rs_initiate.js<\/code>\u00a0(updated) \u2014 initiate a shard or standalone replica set, now with optional arbiter support<\/li>\n\n\n\n<li><code>sh_addshards.js<\/code>\u00a0\u2014 register shards in the cluster via a\u00a0<code>mongos<\/code>\u00a0router<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">All three receive their parameters via the&nbsp;<code>mongosh<\/code>&nbsp;<code>--eval<\/code>&nbsp;flag, keeping them reusable across any cluster topology:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# Initiate the config server replica set\nmongosh 127.0.0.1:27017 \\\n  --eval &quot;var rsName=&#039;csrs&#039;; var rsHosts=&#x5B;&#039;127.0.0.1:27017&#039;,&#039;127.0.0.1:27018&#039;,&#039;127.0.0.1:27019&#039;];&quot; \\\n  $DMK_HOME\/js\/csrs_initiate.js\n\n# Initiate shard 1 with an arbiter\nmongosh 127.0.0.1:27020 \\\n  --eval &quot;var rsName=&#039;rs1&#039;; var rsHosts=&#x5B;&#039;127.0.0.1:27020&#039;,&#039;127.0.0.1:27021&#039;]; var arbiterHost=&#039;127.0.0.1:27022&#039;;&quot; \\\n  $DMK_HOME\/js\/rs_initiate.js\n\n# Add all shards from a mongos router\nmongosh 127.0.0.1:27030 \\\n  --eval &quot;var shards=&#x5B;&#039;rs1\/127.0.0.1:27020,127.0.0.1:27021&#039;,&#039;rs2\/127.0.0.1:27023,127.0.0.1:27024&#039;,&#039;rs3\/127.0.0.1:27026,127.0.0.1:27027&#039;];&quot; \\\n  $DMK_HOME\/js\/sh_addshards.js\n<\/pre><\/div>\n\n\n<h3 id=\"h-new-nbsp-check-status-nbsp-option-in-nbsp-dmk-db-ctl-py\" class=\"wp-block-heading\">New&nbsp;<code>--check-status<\/code>&nbsp;option in&nbsp;<code>dmk_db_ctl.py<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The&nbsp;<code>dmk_db_ctl.py<\/code>&nbsp;script now accepts a&nbsp;<code>--check-status<\/code>&nbsp;flag. When provided, it polls the instance after the start, stop, or restart command to confirm the instance has reached the expected state. This was the default behaviour until now, which led to unwanted errors when setting up DMK.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ndmk_db_ctl.py -i mdb01 -a start --check-status\ndmk_db_ctl.py -i mdb01 -a stop --check-status\ndmk_db_ctl.py -i mdb01 -a restart --check-status\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Without this flag, the script returns immediately after issuing the command. It should be noted that when using the&nbsp;<code>restart<\/code>&nbsp;option, the status will be checked after stopping the instance. Otherwise, if the instance is still running when the start was issued, the restart could silently succeed without actually restarting anything.<\/p>\n\n\n\n<h3 id=\"h-changes-made-to-nbsp-dmk-status-py\" class=\"wp-block-heading\">Changes made to&nbsp;<code>dmk_status.py<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Colored status output.<\/strong>\u00a0<code>STARTED<\/code>\u00a0is now displayed in green,\u00a0<code>STOPPED<\/code>\u00a0in red \u2014 making it easier to spot unhealthy instances at a glance. To disable colors (for log files, CI pipelines, or terminals that don\u2019t support ANSI), set\u00a0<code>COLORED_STATUS=no<\/code>\u00a0in your local configuration file (<code>dmkl<\/code>) by uncommenting the following line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># var::COLORED_STATUS::=::nowarn::no::  # Disable colored status output in dmk_status.py (yes\/no)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CSV output.<\/strong>\u00a0The table view now supports CSV export via the\u00a0<code>--csv<\/code>\u00a0option, useful for piping output to other tools or exporting to a file:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# Export status as semicolon-delimited CSV\n&amp;gt; dmk_status.py -t -a --csv &quot;;&quot;\nInstance;Status;Version;Port;Bind IPs\nmdb01;STARTED;8.0.26;27417;127.0.0.1\nmdb02;STARTED;8.0.26;27418;127.0.0.1\nmdbcfg01;STARTED;8.0.26;27017;127.0.0.1\nmdbmgs01;STARTED;8.0.26;27030;127.0.0.1\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The session view (<code>sess<\/code>) supports the same option.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Process-only check.<\/strong>&nbsp;The new&nbsp;<code>-p<\/code>&nbsp;\/&nbsp;<code>--process<\/code>&nbsp;option performs a quick process presence check without connecting to MongoDB. This is faster and does not require credentials, making it useful for lightweight health checks:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ndmk_status.py -t -a --process\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Improved version display.<\/strong>&nbsp;The&nbsp;<code>-mv<\/code>&nbsp;option now shows all installed MongoDB versions side by side in a single table instead of separate blocks, making it much easier to compare binary versions across multiple installations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Session display refactoring.<\/strong>&nbsp;Session data gathering was moved into the instance class, and the display logic (including filtering and formatting) was centralized in&nbsp;<code>dmk_status.py<\/code>. This also fixes the&nbsp;<code>--include-inactive<\/code>&nbsp;flag, which was not working correctly in the previous release.<\/p>\n\n\n\n<h3 id=\"h-new-nbsp-update-mongo-conf-py-nbsp-script\" class=\"wp-block-heading\">New&nbsp;<code>update_mongo_conf.py<\/code>&nbsp;script<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The new&nbsp;<code>update_mongo_conf.py<\/code>&nbsp;script modifies MongoDB configuration file parameters from the command line using dot-notation for nested keys, without manually editing YAML:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# Enable TLS on an existing instance\nupdate_mongo_conf.py mdb01 net.tls.mode requireTLS\nupdate_mongo_conf.py mdb01 net.tls.certificateKeyFile \/u01\/app\/mongodb\/admin\/mdb01\/secret\/server.pem\n<\/pre><\/div>\n\n\n<h3 id=\"h-new-nbsp-set-uri-py-nbsp-script\" class=\"wp-block-heading\">New&nbsp;<code>set_uri.py<\/code>&nbsp;script<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The new&nbsp;<code>set_uri.py<\/code>&nbsp;script generates and persists a&nbsp;<code>MONGO_URI<\/code>&nbsp;in the local DMK configuration for a given instance. It supports both standalone and replica set connection strings:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# Standalone\nset_uri.py mdb01 sa 127.0.0.1:27017\n\n# Replica set\nset_uri.py mdbrs01 rs 127.0.0.1:27411,127.0.0.1:27412,127.0.0.1:27413 rs1\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The resulting URI is stored in the local configuration file and available as&nbsp;<code>$MONGO_URI<\/code>&nbsp;in the instance context.<\/p>\n\n\n\n<h3 id=\"h-improvements-to-nbsp-dmk-dbcreate-py\" class=\"wp-block-heading\">Improvements to&nbsp;<code>dmk_dbcreate.py<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>dmk_dbcreate.py<\/code>&nbsp;now reads the&nbsp;<code>[instance_name]<\/code>&nbsp;section from the local DMK configuration file when creating an instance, so instance-specific variables defined in your local config are picked up automatically. Empty values for&nbsp;<code>MONGO_BACKUP<\/code>,&nbsp;<code>MONGO_JOURNAL<\/code>, and&nbsp;<code>MONGO_LOG<\/code>&nbsp;are also now accepted \u2014 directories are only created for paths that are explicitly set.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The&nbsp;<code>storageEngine<\/code>&nbsp;key was removed from all YAML configuration templates. WiredTiger is the only storage engine available in MongoDB Community Edition, making the field redundant.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A new&nbsp;<code>mongod.service.template_fork<\/code>&nbsp;systemd unit (<code>Type=simple<\/code>, delegating start\/stop to&nbsp;<code>dmk_db_ctl.py<\/code>) was also added, alongside the existing&nbsp;<code>mongod.service.template<\/code>&nbsp;that runs&nbsp;<code>mongod<\/code>&nbsp;in the foreground.&nbsp;<code>dmk_dbcreate.py<\/code>&nbsp;generates the&nbsp;<code>mongod<\/code>&nbsp;unit for&nbsp;<code>mongod<\/code>&nbsp;instances and the&nbsp;<code>mongos<\/code>&nbsp;unit for routers.<\/p>\n\n\n\n<h3 id=\"h-installation-improvements\" class=\"wp-block-heading\">Installation improvements<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Auto-creation of&nbsp;<code>.bash_profile<\/code>.<\/strong>&nbsp;If the&nbsp;<code>.bash_profile<\/code>&nbsp;of the&nbsp;<code>mongodb<\/code>&nbsp;user does not contain the DMK block, DMK now creates it automatically from the template on first sourcing. If the file already exists with a DMK block, only that block is updated in place (with a backup created first). This removes a manual step from first-time installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>DMK temp files.<\/strong>&nbsp;The&nbsp;<code>dmk_env.sh<\/code>&nbsp;file used to source instance environments is now written to&nbsp;<code>$DMK_HOME\/tmp\/<\/code>&nbsp;rather than&nbsp;<code>\/tmp<\/code>, keeping temporary DMK files within the DMK directory tree.<\/p>\n\n\n\n<h3 id=\"h-security-improvements\" class=\"wp-block-heading\">Security improvements<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The default&nbsp;<code>bindIp<\/code>&nbsp;in all DMK configuration templates was changed from&nbsp;<code>0.0.0.0<\/code>&nbsp;to&nbsp;<code>127.0.0.1<\/code>. This is a safer default for freshly created instances that limits network exposure from the start.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A new&nbsp;<code>MONGO_TLS_CERTIFICATE_KEY_FILE<\/code>&nbsp;environment variable allows specifying a custom client certificate for DMK connections. This is useful for instances secured with&nbsp;<code>serverAuth<\/code>-only TLS, where the default certificate path may not be the right client certificate to use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">New TLS templates for replica sets (<code>mongo_conf_rs_tls.yaml<\/code>,&nbsp;<code>mongo_conf_rs_tls_fork.yaml<\/code>,&nbsp;<code>mongo_conf_rs_keyfile.yaml<\/code>) were also added.<\/p>\n\n\n\n<h3 id=\"h-aliases-and-environment-variables-added-in-dmk-2-5-0\" class=\"wp-block-heading\">Aliases and environment variables added in DMK 2.5.0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">New aliases in DMK 2.5.0:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>mglogrotate<\/code>: rotate the MongoDB log file (<code>db.adminCommand({ logRotate: 1 })<\/code>).<\/li>\n\n\n\n<li><code>certrotate<\/code>: rotate the TLS certificate of an instance (<code>db.rotateCertificates()<\/code>).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">New environment variables:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>COLORED_STATUS<\/code>: set to\u00a0<code>no<\/code>\u00a0to disable colored status output in\u00a0<code>dmk_status.py<\/code>. Enabled by default.<\/li>\n\n\n\n<li><code>MONGO_TLS_CERTIFICATE_KEY_FILE<\/code>: custom client TLS certificate path for DMK connections.<\/li>\n\n\n\n<li><code>MONGO_URI<\/code>: the MongoDB connection URI, now easily managed with\u00a0<code>set_uri.py<\/code>.<\/li>\n\n\n\n<li><code>INSTANCE_NAMING_CONVENTION<\/code>: the regular expression used to validate instance names. This variable is now\u00a0<strong>optional<\/strong>\u00a0\u2014 if not set, no naming convention is enforced.<\/li>\n<\/ul>\n\n\n\n<h3 id=\"h-bug-fixes\" class=\"wp-block-heading\">Bug fixes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A few notable bugs were fixed in this release:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Quoted values<\/strong>\u00a0in the MongoDB configuration file (viewed with\u00a0<code>vic<\/code>\u00a0\/\u00a0<code>dmkc<\/code>) could cause the DMK environment to fail loading due to unescaped double quotes. This is now handled correctly.<\/li>\n\n\n\n<li><strong>Restart<\/strong>\u00a0could silently succeed without actually restarting the instance if it was still running. The stop phase now always waits for the instance to be fully stopped first.<\/li>\n\n\n\n<li><strong><code>--include-inactive<\/code><\/strong>\u00a0flag in the session view was not working correctly and has been fixed.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"h-upgrading-from-an-earlier-version-of-dmk\" class=\"wp-block-heading\">Upgrading from an earlier version of DMK<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you are upgrading from DMK 2.4.0, replace the DMK folder with the new one:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncd \/u01\/app\/mongodb\/local\nmv dmk .dmk_old\nunzip \/path\/to\/dmk_mongodb-2.5.0.zip\ndmk\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If you are upgrading from DMK 2.3.x or earlier, read the&nbsp;<a href=\"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-4-0-new-features\/\" target=\"_blank\" rel=\"noreferrer noopener\">release notes of DMK 2.4.0<\/a>&nbsp;first.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, I will present the new features introduced with the latest release (2.5.0) of the MongoDB DMK. The DMK is a set of standardized tools that aims at easing the work of DBAs by having dbi&#8217;s best practices embedded in common scripts across all the database servers of an organization. dbi services provides [&hellip;]<\/p>\n","protected":false},"author":152,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3788],"tags":[4133,559,1142,3571,2961,972,1526,917],"type_dbi":[4134,3779,3847,3842,3407,4136,4135,4137],"class_list":["post-45326","post","type-post","status-publish","format-standard","hentry","category-mongodb","tag-2-5-0","tag-dmk","tag-management","tag-mongo","tag-mongodb","tag-new","tag-release","tag-sharding","type-2-5-0","type-dmk","type-management","type-mongo","type-mongodb","type-new","type-release","type-sharding"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.8 (Yoast SEO v27.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>MongoDB DMK 2.5.0 : Sharding support and new features - dbi Blog<\/title>\n<meta name=\"description\" content=\"Discover what&#039;s new in the latest MongoDB DMK 2.5.0 release: new features to help you manage your MongoDB databases more efficiently !\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MongoDB DMK 2.5.0 : Sharding support and new features\" \/>\n<meta property=\"og:description\" content=\"Discover what&#039;s new in the latest MongoDB DMK 2.5.0 release: new features to help you manage your MongoDB databases more efficiently !\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-26T12:54:00+00:00\" \/>\n<meta name=\"author\" content=\"Julien Delattre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julien Delattre\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/\"},\"author\":{\"name\":\"Julien Delattre\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/764ab019cc9dec42655b4c6b9b8e474e\"},\"headline\":\"MongoDB DMK 2.5.0 : Sharding support and new features\",\"datePublished\":\"2026-06-26T12:54:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/\"},\"wordCount\":1218,\"commentCount\":0,\"keywords\":[\"2.5.0\",\"DMK\",\"Management\",\"Mongo\",\"mongodb\",\"New\",\"release\",\"Sharding\"],\"articleSection\":[\"MongoDB\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/\",\"name\":\"MongoDB DMK 2.5.0 : Sharding support and new features - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-06-26T12:54:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/764ab019cc9dec42655b4c6b9b8e474e\"},\"description\":\"Discover what's new in the latest MongoDB DMK 2.5.0 release: new features to help you manage your MongoDB databases more efficiently !\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/mongodb-dmk-2-5-0-sharding-support-and-new-features\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MongoDB DMK 2.5.0 : Sharding support and new features\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/764ab019cc9dec42655b4c6b9b8e474e\",\"name\":\"Julien Delattre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"caption\":\"Julien Delattre\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/juliendelattre\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"MongoDB DMK 2.5.0 : Sharding support and new features - dbi Blog","description":"Discover what's new in the latest MongoDB DMK 2.5.0 release: new features to help you manage your MongoDB databases more efficiently !","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/","og_locale":"en_US","og_type":"article","og_title":"MongoDB DMK 2.5.0 : Sharding support and new features","og_description":"Discover what's new in the latest MongoDB DMK 2.5.0 release: new features to help you manage your MongoDB databases more efficiently !","og_url":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/","og_site_name":"dbi Blog","article_published_time":"2026-06-26T12:54:00+00:00","author":"Julien Delattre","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julien Delattre","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/"},"author":{"name":"Julien Delattre","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e"},"headline":"MongoDB DMK 2.5.0 : Sharding support and new features","datePublished":"2026-06-26T12:54:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/"},"wordCount":1218,"commentCount":0,"keywords":["2.5.0","DMK","Management","Mongo","mongodb","New","release","Sharding"],"articleSection":["MongoDB"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/","url":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/","name":"MongoDB DMK 2.5.0 : Sharding support and new features - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2026-06-26T12:54:00+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e"},"description":"Discover what's new in the latest MongoDB DMK 2.5.0 release: new features to help you manage your MongoDB databases more efficiently !","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-dmk-2-5-0-sharding-support-and-new-features\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"MongoDB DMK 2.5.0 : Sharding support and new features"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e","name":"Julien Delattre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","caption":"Julien Delattre"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/juliendelattre\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/45326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/152"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=45326"}],"version-history":[{"count":5,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/45326\/revisions"}],"predecessor-version":[{"id":45333,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/45326\/revisions\/45333"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=45326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=45326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=45326"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=45326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}