{"id":32731,"date":"2021-11-18T13:30:59","date_gmt":"2021-11-18T19:30:59","guid":{"rendered":"https:\/\/www.filecloud.com\/blog\/?p=32731"},"modified":"2022-09-11T02:44:48","modified_gmt":"2022-09-11T07:44:48","slug":"how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2","status":"publish","type":"post","link":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/","title":{"rendered":"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-32745\" src=\"https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2021\/11\/MongoDB-Update-3.6-4.2-Banner-1-300x169.jpg\" alt=\"MongoD\" width=\"300\" height=\"169\" srcset=\"https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2021\/11\/MongoDB-Update-3.6-4.2-Banner-1-300x169.jpg 300w, https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2021\/11\/MongoDB-Update-3.6-4.2-Banner-1-1024x576.jpg 1024w, https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2021\/11\/MongoDB-Update-3.6-4.2-Banner-1-768x432.jpg 768w, https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2021\/11\/MongoDB-Update-3.6-4.2-Banner-1-1536x864.jpg 1536w, https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2021\/11\/MongoDB-Update-3.6-4.2-Banner-1-2048x1152.jpg 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\"><\/p>\n<p>At FileCloud, we\u2019re always working to make sure our systems are upgraded to the highest possible standard.<\/p>\n<p>With our\u00a0<a href=\"https:\/\/www.filecloud.com\/supportdocs\/fcdoc\/latest\/server\/release-notes\/filecloud-server-21-1-release-notes\" class=\"broken_link\">21.1 update<\/a>, FileCloud MongoDB has been upgraded from 3.6 to 4.2.<\/p>\n<p>For standalone installations, the script will automatically upgrade the version, as it includes compatibility checks and issues. Prior to web node upgrades, the MongoDB cluster will need to be upgraded manually.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_63 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Below_are_the_steps_to_upgrade_MongoDB_Servers_in_Linux\" title=\"Below are the steps to upgrade MongoDB Servers in Linux:\">Below are the steps to upgrade MongoDB Servers in Linux:<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_1_Set_Feature_Compatibility_to_36\" title=\"Step 1: Set Feature Compatibility to 3.6\">Step 1: Set Feature Compatibility to 3.6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_2_Upgrade_Secondary_Nodes_to_40\" title=\"Step 2: Upgrade Secondary Nodes to 4.0\">Step 2: Upgrade Secondary Nodes to 4.0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_3_Stepdown_current_primary_as_secondary\" title=\"Step 3: Stepdown current primary as secondary\">Step 3: Stepdown current primary as secondary<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_4_Upgrade_the_last_server_to_40\" title=\"Step 4: Upgrade the last server to 4.0\">Step 4: Upgrade the last server to 4.0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_5_Set_Feature_Compatibility_to_40_in_the_current_Primary_Server\" title=\"Step 5: Set Feature Compatibility to 4.0 in the current Primary Server\">Step 5: Set Feature Compatibility to 4.0 in the current Primary Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_6_Upgrade_Secondary_Nodes_from_40_to_42_one_by_one_using_the_below_commands\" title=\"Step 6: Upgrade Secondary Nodes from 4.0 to 4.2 one by one using the below commands:\">Step 6: Upgrade Secondary Nodes from 4.0 to 4.2 one by one using the below commands:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_7_Stepdown_current_primary_as_secondary\" title=\"Step 7: Stepdown current primary as secondary\">Step 7: Stepdown current primary as secondary<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_8_Run_command_in_Step_6_to_upgrade_all_the_MongoDB_servers_to_42\" title=\"Step 8: Run command in Step 6 to upgrade all the MongoDB servers to 4.2\">Step 8: Run command in Step 6 to upgrade all the MongoDB servers to 4.2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_9_Set_Feature_Compatibility_to_42_in_the_current_Primary_Server\" title=\"Step 9: Set Feature Compatibility to 4.2 in the current Primary Server\">Step 9: Set Feature Compatibility to 4.2 in the current Primary Server<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Below_are_the_steps_to_upgrade_MongoDB_Servers_in_Windows\" title=\"Below are the steps to upgrade MongoDB Servers in Windows:\">Below are the steps to upgrade MongoDB Servers in Windows:<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_1_Set_Feature_Compatibility_to_36-2\" title=\"Step 1: Set Feature Compatibility to 3.6\">Step 1: Set Feature Compatibility to 3.6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_2_Upgrade_Secondary_Nodes_to_40-2\" title=\"Step 2: Upgrade Secondary Nodes to 4.0\">Step 2: Upgrade Secondary Nodes to 4.0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_3_Stepdown_current_primary_as_secondary-2\" title=\"Step 3: Stepdown current primary as secondary\">Step 3: Stepdown current primary as secondary<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_4_Upgrade_the_last_server_to_40-2\" title=\"Step 4: Upgrade the last server to 4.0\">Step 4: Upgrade the last server to 4.0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_5_Set_Feature_Compatibility_to_40_in_the_current_Primary_Server-2\" title=\"Step 5: Set Feature Compatibility to 4.0 in the current Primary Server\">Step 5: Set Feature Compatibility to 4.0 in the current Primary Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_6_Upgrade_Secondary_Nodes_from_40_to_42_one_by_one_using_the_below_commands-2\" title=\"Step 6: Upgrade Secondary Nodes from 4.0 to 4.2 one by one using the below commands:\">Step 6: Upgrade Secondary Nodes from 4.0 to 4.2 one by one using the below commands:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_7_Stepdown_current_primary_as_secondary-2\" title=\"Step 7: Stepdown current primary as secondary\">Step 7: Stepdown current primary as secondary<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_8_Run_command_in_Step_6_to_upgrade_all_the_MongoDB_servers_to_42-2\" title=\"Step 8: Run command in Step 6 to upgrade all the MongoDB servers to 4.2\">Step 8: Run command in Step 6 to upgrade all the MongoDB servers to 4.2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#Step_9_Set_Feature_Compatibility_to_42_in_the_current_Primary_Server-2\" title=\"Step 9: Set Feature Compatibility to 4.2 in the current Primary Server\">Step 9: Set Feature Compatibility to 4.2 in the current Primary Server<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Below_are_the_steps_to_upgrade_MongoDB_Servers_in_Linux\"><\/span>Below are the steps to upgrade MongoDB Servers in Linux:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Set_Feature_Compatibility_to_36\"><\/span>Step 1: Set Feature Compatibility to 3.6<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>mongo \u2013host {IP address of Primary} \u00a0\u2013eval \u201cdb.adminCommand( { setFeatureCompatibilityVersion: \u20183.6\u2019 } )\u201d<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_2_Upgrade_Secondary_Nodes_to_40\"><\/span>Step 2: Upgrade Secondary Nodes to 4.0<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>In Linux versions, you can use the command filecloudcp -m40 which should help you upgrade the MongoDB from 3.6 to 4.0<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_3_Stepdown_current_primary_as_secondary\"><\/span>Step 3: Stepdown current primary as secondary<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>rs.stepDown()<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_4_Upgrade_the_last_server_to_40\"><\/span>Step 4: Upgrade the last server to 4.0<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h4><span class=\"ez-toc-section\" id=\"Step_5_Set_Feature_Compatibility_to_40_in_the_current_Primary_Server\"><\/span>Step 5: Set Feature Compatibility to 4.0 in the current Primary Server<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>mongo \u2013host {IP address of Primary} \u201cdb.adminCommand( { setFeatureCompatibilityVersion: \u20184.0\u2019 } )\u201d<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_6_Upgrade_Secondary_Nodes_from_40_to_42_one_by_one_using_the_below_commands\"><\/span>Step 6: Upgrade Secondary Nodes from 4.0 to 4.2 one by one using the below commands:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>filecloudcp -m42<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_7_Stepdown_current_primary_as_secondary\"><\/span>Step 7: Stepdown current primary as secondary<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>rs.stepDown()<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_8_Run_command_in_Step_6_to_upgrade_all_the_MongoDB_servers_to_42\"><\/span>Step 8: Run command in Step 6 to upgrade all the MongoDB servers to 4.2<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h4><span class=\"ez-toc-section\" id=\"Step_9_Set_Feature_Compatibility_to_42_in_the_current_Primary_Server\"><\/span>Step 9: Set Feature Compatibility to 4.2 in the current Primary Server<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>mongo \u2013host {IP address of Primary} \u201cdb.adminCommand( { setFeatureCompatibilityVersion: \u20184.2\u2019 } )\u201d<\/p>\n<p>After upgrading the MongoDB servers, you can run the command filecloudcp -u on all the web servers which should help you to upgrade the FileCloud webservers to the latest version.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Below_are_the_steps_to_upgrade_MongoDB_Servers_in_Windows\"><\/span>Below are the steps to upgrade MongoDB Servers in Windows:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Download the file <a href=\"https:\/\/patch.codelathe.com\/tonidocloud\/live\/scripts\/fc\/filecloudcp.ps1\">here<\/a> and place it under Xampp\\htdocs\\resources\\tools<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Set_Feature_Compatibility_to_36-2\"><\/span>Step 1: Set Feature Compatibility to 3.6<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>mongo \u2013host {IP address of Primary} \u00a0\u2013eval \u201cdb.adminCommand( { setFeatureCompatibilityVersion: \u20183.6\u2019 } )\u201d<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_2_Upgrade_Secondary_Nodes_to_40-2\"><\/span>Step 2: Upgrade Secondary Nodes to 4.0<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>In Linux versions, you can use the command Xampp\\htdocs\\resources\\tools\\filecloudcp -m40 which should help you upgrade the MongoDB from 3.6 to 4.0<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_3_Stepdown_current_primary_as_secondary-2\"><\/span>Step 3: Stepdown current primary as secondary<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>rs.stepDown()<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_4_Upgrade_the_last_server_to_40-2\"><\/span>Step 4: Upgrade the last server to 4.0<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h4><span class=\"ez-toc-section\" id=\"Step_5_Set_Feature_Compatibility_to_40_in_the_current_Primary_Server-2\"><\/span>Step 5: Set Feature Compatibility to 4.0 in the current Primary Server<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>mongo \u2013host {IP address of Primary} \u201cdb.adminCommand( { setFeatureCompatibilityVersion: \u20184.0\u2019 } )\u201d<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_6_Upgrade_Secondary_Nodes_from_40_to_42_one_by_one_using_the_below_commands-2\"><\/span>Step 6: Upgrade Secondary Nodes from 4.0 to 4.2 one by one using the below commands:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Xampp\\htdocs\\resources\\tools<em>\\filecloudcp -m42<\/em><\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_7_Stepdown_current_primary_as_secondary-2\"><\/span>Step 7: Stepdown current primary as secondary<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>rs.stepDown()<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_8_Run_command_in_Step_6_to_upgrade_all_the_MongoDB_servers_to_42-2\"><\/span>Step 8: Run command in Step 6 to upgrade all the MongoDB servers to 4.2<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h4><span class=\"ez-toc-section\" id=\"Step_9_Set_Feature_Compatibility_to_42_in_the_current_Primary_Server-2\"><\/span>Step 9: Set Feature Compatibility to 4.2 in the current Primary Server<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>mongo \u2013host {IP address of Primary} \u201cdb.adminCommand( { setFeatureCompatibilityVersion: \u20184.2\u2019 } )\u201d<\/p>\n<p>After upgrading the MongoDB servers, you can run the command filecloudcp -u on all the web servers which will help you to upgrade the FileCloud webservers to the latest version.<\/p>\n<p>In case of any issues with the upgrade, please feel free <a href=\"https:\/\/www.filecloud.com\/filecloud-support\/\">to open a ticket<\/a> with our support team at support@filecloud.com<\/p>\n<p><strong>Article written by Nandakumar Chitrasuresh<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>At FileCloud, we\u2019re always working to make sure our systems are upgraded to the highest possible standard. With our\u00a021.1 update, FileCloud MongoDB has been upgraded from 3.6 to 4.2. For standalone installations, the script will automatically upgrade the version, as it includes compatibility checks and issues. Prior to web node upgrades, the MongoDB cluster will [&hellip;]<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[24,1734,1733,1553],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.13 (Yoast SEO v20.13) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2 - FileCloud blog<\/title>\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.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2\" \/>\n<meta property=\"og:description\" content=\"At FileCloud, we\u2019re always working to make sure our systems are upgraded to the highest possible standard. With our\u00a021.1 update, FileCloud MongoDB has been upgraded from 3.6 to 4.2. For standalone installations, the script will automatically upgrade the version, as it includes compatibility checks and issues. Prior to web node upgrades, the MongoDB cluster will [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/\" \/>\n<meta property=\"og:site_name\" content=\"FileCloud blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/tonidopage\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-18T19:30:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-11T07:44:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2021\/11\/MongoDB-Update-3.6-4.2-Banner-1-300x169.jpg\" \/>\n<meta name=\"author\" content=\"Megan Barnard\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@getfilecloud\" \/>\n<meta name=\"twitter:site\" content=\"@getfilecloud\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Megan Barnard\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/\"},\"author\":{\"name\":\"Megan Barnard\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/#\/schema\/person\/ebf9621fb68158968094965dfa5890fe\"},\"headline\":\"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2\",\"datePublished\":\"2021-11-18T19:30:59+00:00\",\"dateModified\":\"2022-09-11T07:44:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/\"},\"wordCount\":461,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.filecloud.com\/blog\/#organization\"},\"keywords\":[\"filecloud\",\"FileCloud 21.1\",\"MongoDB\",\"Update\"],\"articleSection\":[\"Enterprise File Sharing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/\",\"url\":\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/\",\"name\":\"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2 - FileCloud blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.filecloud.com\/blog\/#website\"},\"datePublished\":\"2021-11-18T19:30:59+00:00\",\"dateModified\":\"2022-09-11T07:44:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.filecloud.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/#website\",\"url\":\"https:\/\/www.filecloud.com\/blog\/\",\"name\":\"FileCloud blog\",\"description\":\"Topics on Private cloud, On-Premises, Self-Hosted, Enterprise File Sync and Sharing\",\"publisher\":{\"@id\":\"https:\/\/www.filecloud.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.filecloud.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/#organization\",\"name\":\"FileCloud\",\"url\":\"https:\/\/www.filecloud.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2016\/02\/filecloud_logo_comparison.jpg\",\"contentUrl\":\"https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2016\/02\/filecloud_logo_comparison.jpg\",\"width\":155,\"height\":40,\"caption\":\"FileCloud\"},\"image\":{\"@id\":\"https:\/\/www.filecloud.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/tonidopage\",\"https:\/\/twitter.com\/getfilecloud\",\"https:\/\/www.linkedin.com\/company\/codelathe\",\"https:\/\/www.pinterest.com\/filecloud\/filecloud\/\",\"https:\/\/www.youtube.com\/channel\/UCbU5gTFdNCPESA5aGipFW6g\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/#\/schema\/person\/ebf9621fb68158968094965dfa5890fe\",\"name\":\"Megan Barnard\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.filecloud.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/48d3b7e3077e77ad6e0813f1737f72d4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/48d3b7e3077e77ad6e0813f1737f72d4?s=96&d=mm&r=g\",\"caption\":\"Megan Barnard\"},\"description\":\"Content Marketing Strategist\",\"sameAs\":[\"1\",\"https:\/\/www.linkedin.com\/in\/megan93ward\/\"],\"url\":\"https:\/\/www.filecloud.com\/blog\/author\/megan\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2 - FileCloud blog","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.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/","og_locale":"en_US","og_type":"article","og_title":"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2","og_description":"At FileCloud, we\u2019re always working to make sure our systems are upgraded to the highest possible standard. With our\u00a021.1 update, FileCloud MongoDB has been upgraded from 3.6 to 4.2. For standalone installations, the script will automatically upgrade the version, as it includes compatibility checks and issues. Prior to web node upgrades, the MongoDB cluster will [&hellip;]","og_url":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/","og_site_name":"FileCloud blog","article_publisher":"https:\/\/www.facebook.com\/tonidopage","article_published_time":"2021-11-18T19:30:59+00:00","article_modified_time":"2022-09-11T07:44:48+00:00","og_image":[{"url":"https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2021\/11\/MongoDB-Update-3.6-4.2-Banner-1-300x169.jpg"}],"author":"Megan Barnard","twitter_card":"summary_large_image","twitter_creator":"@getfilecloud","twitter_site":"@getfilecloud","twitter_misc":{"Written by":"Megan Barnard","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#article","isPartOf":{"@id":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/"},"author":{"name":"Megan Barnard","@id":"https:\/\/www.filecloud.com\/blog\/#\/schema\/person\/ebf9621fb68158968094965dfa5890fe"},"headline":"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2","datePublished":"2021-11-18T19:30:59+00:00","dateModified":"2022-09-11T07:44:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/"},"wordCount":461,"commentCount":0,"publisher":{"@id":"https:\/\/www.filecloud.com\/blog\/#organization"},"keywords":["filecloud","FileCloud 21.1","MongoDB","Update"],"articleSection":["Enterprise File Sharing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/","url":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/","name":"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2 - FileCloud blog","isPartOf":{"@id":"https:\/\/www.filecloud.com\/blog\/#website"},"datePublished":"2021-11-18T19:30:59+00:00","dateModified":"2022-09-11T07:44:48+00:00","breadcrumb":{"@id":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.filecloud.com\/blog\/how-to-perform-mongodb-upgrade-for-high-availability-from-3-6-to-4-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.filecloud.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Perform MongoDB Upgrade for High Availability from 3.6 to 4.2"}]},{"@type":"WebSite","@id":"https:\/\/www.filecloud.com\/blog\/#website","url":"https:\/\/www.filecloud.com\/blog\/","name":"FileCloud blog","description":"Topics on Private cloud, On-Premises, Self-Hosted, Enterprise File Sync and Sharing","publisher":{"@id":"https:\/\/www.filecloud.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.filecloud.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.filecloud.com\/blog\/#organization","name":"FileCloud","url":"https:\/\/www.filecloud.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.filecloud.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2016\/02\/filecloud_logo_comparison.jpg","contentUrl":"https:\/\/www.filecloud.com\/blog\/wp-content\/uploads\/2016\/02\/filecloud_logo_comparison.jpg","width":155,"height":40,"caption":"FileCloud"},"image":{"@id":"https:\/\/www.filecloud.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/tonidopage","https:\/\/twitter.com\/getfilecloud","https:\/\/www.linkedin.com\/company\/codelathe","https:\/\/www.pinterest.com\/filecloud\/filecloud\/","https:\/\/www.youtube.com\/channel\/UCbU5gTFdNCPESA5aGipFW6g"]},{"@type":"Person","@id":"https:\/\/www.filecloud.com\/blog\/#\/schema\/person\/ebf9621fb68158968094965dfa5890fe","name":"Megan Barnard","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.filecloud.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/48d3b7e3077e77ad6e0813f1737f72d4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d3b7e3077e77ad6e0813f1737f72d4?s=96&d=mm&r=g","caption":"Megan Barnard"},"description":"Content Marketing Strategist","sameAs":["1","https:\/\/www.linkedin.com\/in\/megan93ward\/"],"url":"https:\/\/www.filecloud.com\/blog\/author\/megan\/"}]}},"_links":{"self":[{"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/posts\/32731"}],"collection":[{"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/comments?post=32731"}],"version-history":[{"count":15,"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/posts\/32731\/revisions"}],"predecessor-version":[{"id":34422,"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/posts\/32731\/revisions\/34422"}],"wp:attachment":[{"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/media?parent=32731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/categories?post=32731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.filecloud.com\/blog\/wp-json\/wp\/v2\/tags?post=32731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}