<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:40:43 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-35718] Facing issue with sharded cluster restore on different server.</title>
                <link>https://jira.mongodb.org/browse/SERVER-35718</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I am trying to restore mongodb sharded cluster deployment from one server to another .&lt;/p&gt;

&lt;p&gt;Current deployment has 2 shards, 3 replica each and config server replica set .one mongos process.&lt;/p&gt;

&lt;p&gt;Took backup from primary shards and config server primary . used fsynclock for same.&lt;/p&gt;

&lt;p&gt;moved the backup to different server . Created new deployment with same replica set name on different ports that the source. Restored shards and then config server . updated config database shards collection with new server details but deployment is not getting started after the restore . getting below error in sh.status.&lt;/p&gt;

&lt;p&gt;&#160; balancer:&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; Currently enabled:&#160; yes&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; Currently running:&#160; no&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; Failed balancer rounds in last 5 attempts:&#160; 5&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; Last reported error:&#160; Could not find host matching read preference { mode: &quot;primary&quot; } for set rs0&lt;br/&gt;
&#160;&lt;/p&gt;

&lt;p&gt;Have tried several times the redirected restore using the link:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/restore-sharded-cluster/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/restore-sharded-cluster/&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;but with no luck .&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Sharded cluster with 2 shards 3 replica set each and config server replica set. One mongos process. All on same server (Linux x86_64)</environment>
        <key id="539825">SERVER-35718</key>
            <summary>Facing issue with sharded cluster restore on different server.</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="5">Cannot Reproduce</resolution>
                                        <assignee username="nick.brewer">Nick Brewer</assignee>
                                    <reporter username="mukhejan">Nitin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 6 May 2018 09:25:49 +0000</created>
                <updated>Wed, 5 Feb 2020 22:48:36 +0000</updated>
                            <resolved>Mon, 6 Aug 2018 20:03:09 +0000</resolved>
                                    <version>3.6.3</version>
                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1928177" author="nick.brewer" created="Thu, 21 Jun 2018 20:31:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mukhejan&quot; class=&quot;user-hover&quot; rel=&quot;mukhejan&quot;&gt;mukhejan&lt;/a&gt; Can you be more specific as to the steps that you&apos;re taking to back up the server, and the actions you&apos;re taking to modify it once it&apos;s brought back up?&lt;/p&gt;

&lt;p&gt;The backup process for a sharded cluster (whether using database dumps or filesystem snapshots) involves stopping the balancer, locking secondary replica set members, and then taking a backup of one replica set member for each shard. Are you using the backup process outlined in our documentation? Specifically:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/backup-sharded-cluster-with-filesystem-snapshots/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/backup-sharded-cluster-with-filesystem-snapshots/&lt;/a&gt;&lt;br/&gt;
 or&lt;br/&gt;
 &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/backup-sharded-cluster-with-database-dumps/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/backup-sharded-cluster-with-database-dumps/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It&apos;d be useful to get a sense of what the cluster configuration looks like before and after the move - specifically output of &lt;tt&gt;rs.conf()&lt;/tt&gt; and &lt;tt&gt;sh.status()&lt;/tt&gt; on both the original and restored cluster, as well as any logs from the restored mongod machines, when they&apos;re first brought up. If you&apos;d prefer, you can use our &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/c86db4a4-f09e-41f5-8f75-a8a4b1e5746b.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;secure upload portal&lt;/a&gt; to provide this information. This is only available to MongoDB employees, and the information provided is automatically removed after a period of time.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Nick&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 30 May 2018 16:30:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 33 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 33 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>nick.brewer</customfieldvalue>
            <customfieldvalue>mukhejan</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htxd4f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htoeen:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htwzdj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>