<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:59:08 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>[DOCS-9780] Deploy Shard Cluster Clarity</title>
                <link>https://jira.mongodb.org/browse/DOCS-9780</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am unable to follow these instructions to set up a shard without replication.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/docs/blob/master/source/tutorial/deploy-shard-cluster.txt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/blob/master/source/tutorial/deploy-shard-cluster.txt&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It clearly states in the instructions that you should be able to, but if I search through the bug tracker I see evidence you can&apos;t run without a config server replica set.&lt;/p&gt;

&lt;p&gt;I think the page could benefit from separating single instance vs replicated instances.  It raises the learning curve unnecessarily (especially for learning.)  I am happy to do a PR, but have not figured it out myself.&lt;/p&gt;

&lt;p&gt;I am using 3.4 community via APT.&lt;/p&gt;</description>
                <environment></environment>
        <key id="346112">DOCS-9780</key>
            <summary>Deploy Shard Cluster Clarity</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="ravind.kumar">Ravind Kumar</assignee>
                                    <reporter username="ronald.petty">Ronald Petty</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Jan 2017 23:33:04 +0000</created>
                <updated>Mon, 30 Oct 2023 22:24:32 +0000</updated>
                                            <version>3.4.0</version>
                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4940813" author="edu.bot" created="Mon, 31 Oct 2022 16:11:20 +0000"  >&lt;p&gt;Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!&lt;/p&gt;</comment>
                            <comment id="1478736" author="ronald.petty" created="Wed, 18 Jan 2017 04:08:01 +0000"  >&lt;p&gt;Thank you for all the help.  I was able to get the cluster going with your clarification.  If it matters, I still believe having the &apos;abbreviated&apos; version first help as to not conflate best practices with kicking the tires.  Again, that could just be me.&lt;/p&gt;

&lt;p&gt;After getting it running, I recommend adding a brief CRUD example (for loop, etc.) against mongos just to show it is actually working.  I think a full round trip example would be the best bang for someone buck.&lt;/p&gt;

&lt;p&gt;Again thanks for taking the time to clarify and provide advice, I appreciate it.&lt;/p&gt;

&lt;p&gt;Ron&lt;/p&gt;</comment>
                            <comment id="1477661" author="ravind.kumar" created="Tue, 17 Jan 2017 03:12:51 +0000"  >&lt;p&gt;I think I see what you&apos;re looking for. &lt;/p&gt;

&lt;p&gt;I&apos;d be happy to look over this tutorial again and see what improvements can be made. I cannot provide an exact timeframe for this, but its on my radar.&lt;/p&gt;

&lt;p&gt;In the meantime, I can provide quick-and-simple setup instructions for you here. Please use the &lt;tt&gt;mongo&lt;/tt&gt; shell for this.&lt;/p&gt;

&lt;p&gt;For a bare-minimum test system, you can get away with:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;1 &lt;tt&gt;mongod&lt;/tt&gt; running as a Config Server. This &lt;tt&gt;mongod&lt;/tt&gt; &lt;b&gt;must&lt;/b&gt; be deployed as a replica set member. What you can do is just run the &lt;tt&gt;mongod&lt;/tt&gt; with &lt;tt&gt;replSet&lt;/tt&gt; and &lt;tt&gt;configsvr&lt;/tt&gt;, and once the &lt;tt&gt;mongod&lt;/tt&gt; is online, run &lt;tt&gt;rs.initiate()&lt;/tt&gt;. Hit the &apos;Enter&apos; key a few times, you should see the prompt change to &apos;Primary&apos;.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;1 &lt;tt&gt;mongod&lt;/tt&gt; per shard. You can run this as a standalone, with just the &lt;tt&gt;shardsvr&lt;/tt&gt; option. This is the bare minimum, but I don&apos;t recommend it, simply because it makes it difficult to test replication/failover later without taking downtime. Downtime in sharded environments is perilous, especially if you cannot reliably stop reads and writes to the cluster. More commonly, my concern is test systems ending up as production systems (it happens :/ ). Setting up with replication now makes life a bit easier later if thats the case. I recommend here running as a single-member replica set, using the same instructions as above.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;1 &lt;tt&gt;mongos&lt;/tt&gt; for the entire cluster. Just run this using the &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/deploy-shard-cluster/#connect-a-mongos-to-the-sharded-cluster&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;existing instructions&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;That&apos;s just about it - the instructions on that page still apply in general. When I set up a sharding testing environment, I usually go with single-member replica sets for all shards  and the config server.&lt;/p&gt;

&lt;p&gt;The following is a sample of how I might launch a simple test system. &lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Directory Structure:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;~/shardtest/&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;        DBshard1/&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;        DBshard2/&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;        DBconfig1/&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;        DBmongos1/&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;# running each mongod from the appropriate folder.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;# omit --replSet if you want&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongod --dbpath ./ &amp;lt; --port 27100 \&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    --fork --logpath ./dbshard1member1log.txt --shardsvr \&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    --replSet shard1&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;# you must run these mongod instances with replication, since its for the config server.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;# but you only need one for testing, just run rs.initiate()&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongod --dbpath ./ --port 27800 \&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    --fork --logpath ./dbconfig1log.txt \&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    --replSet configserver --configsvr&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;# note: you must have the config server online w/ replication initiated for this to work&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongos --configdb configdbserver/hostname-of-server:27800&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;# After this, connect to the mongos, add your shards, and go from there.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;I hope this is of some help. For any additional guidance, I strongly recommend our &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;google group&lt;/a&gt; as it is a better forum for support and guidance questions. I should note, sharding is a technically complicated and dense subject matter. I am glad you are looking to work through it. From personal experience, if you run into errors launching a &lt;tt&gt;mongod&lt;/tt&gt; or &lt;tt&gt;mongos&lt;/tt&gt;, check the produced logs.&lt;/p&gt;

&lt;p&gt;I also strongly recommend our on demand &lt;a href=&quot;https://university.mongodb.com/courses/M101P/about&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;university courses&lt;/a&gt;. The current course is still open for registration, I believe, and there are many for each language. I linked M101P, but you can see there are many others. The M101 courses cover sharded clusters, deployments, and other important information. I&apos;ve taken the courses myself and found them invaluable. I hope you consider looking into them for adding to your own skillset as well.&lt;/p&gt;</comment>
                            <comment id="1477652" author="ronald.petty" created="Tue, 17 Jan 2017 02:52:04 +0000"  >&lt;p&gt;Hi Ravind,&lt;/p&gt;

&lt;p&gt;You are confirming what I am reading.  The issue I see is there are several ideas being conflated here, single node, replicate set (including single node replica sets,) best practices, test set, etc.  Its a lot of instructions but unclear goal.  I suppose for myself, a rewrite where it kinda flows like this would help procedural people like myself!&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;simplest possible setup (no mention of replication unless it is 100% required - aka single node replica set)&lt;/li&gt;
	&lt;li&gt;why that is not a good approach&lt;/li&gt;
	&lt;li&gt;recommended minimum production set up&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I see much of the above in the article, but when trying to build the smallest test system, I have not been successful at this point.  Let me refocus on what is to be replicated and what is not.  For me, I am not looking for production HA, I am looking for sharding, to instruct how sharding works (not HA.)&lt;/p&gt;

&lt;p&gt;Thanks for your time.&lt;/p&gt;

&lt;p&gt;Ron&lt;/p&gt;</comment>
                            <comment id="1477649" author="ravind.kumar" created="Tue, 17 Jan 2017 02:40:20 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Thank you for filing a DOCS ticket.&lt;/p&gt;

&lt;p&gt;I&apos;m a little confused as to the issue: are you referring to the instructions duplicated below?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For a production deployment, deploys a config server replica set with at&lt;br/&gt;
least three members. For testing purposes, you can create a&lt;br/&gt;
single-member replica set.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Those instructions are specific to the &lt;b&gt;config server&lt;/b&gt; component of the sharded cluster, and are correct as written. You cannot deploy a standalone &lt;tt&gt;mongod&lt;/tt&gt; as a config server. Each &lt;tt&gt;mongod&lt;/tt&gt; in the config server replica set must have both the &lt;tt&gt;configsvr&lt;/tt&gt; and &lt;tt&gt;replSet&lt;/tt&gt; options.&lt;/p&gt;

&lt;p&gt;You also mentioned setting up a &lt;b&gt;shard&lt;/b&gt; as a standalone. A shard can be either a standalone &lt;tt&gt;mongod&lt;/tt&gt; instance, or a replica set. What is important is running the &lt;tt&gt;mongod&lt;/tt&gt; with the &lt;tt&gt;shardsvr&lt;/tt&gt; option.&lt;/p&gt;

&lt;p&gt;The instructions on shards are duplicated below:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For a production deployment, use a replica set with at least three&lt;br/&gt;
members. For testing purposes, you can create a single-member replica&lt;br/&gt;
set.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;You are correct that we don&apos;t specify standalone in this tutorial. This is on purpose, as a standalone &lt;tt&gt;mongod&lt;/tt&gt; does not lend itself towards high availability, which is an important aspect of a sharded cluster. A single-member replica set deployment is relatively straightforward, even compared to a standalone, and has the advantage of easily expanding to a 3 member replica set later. Someone using a standalone in a sharded cluster cannot move to a replicated environment for that shard without taking downtime, which is not ideal. This tutorials goal is a sharded cluster that can work for both testing and production environments without taking downtime for expanding shards or the config server replica sets for high availability.&lt;/p&gt;

&lt;p&gt;It may help to distinguish between a &lt;b&gt;standalone&lt;/b&gt; deployment and a &lt;b&gt;single member replica set&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;A &lt;b&gt;single member replica set&lt;/b&gt; is a &lt;tt&gt;mongod&lt;/tt&gt; running with the &lt;tt&gt;--replSet&lt;/tt&gt; option, but with no other connected members in the replica set. In this state, the single &lt;tt&gt;mongod&lt;/tt&gt; acts as the &lt;b&gt;Primary&lt;/b&gt;. This deployment pattern works for both &lt;b&gt;shards&lt;/b&gt; and the &lt;b&gt;config server replica set&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;A single member replica set is not the same thing as a standalone &lt;tt&gt;mongod&lt;/tt&gt;.  A standalone is not a part of any replica set and cannot be configured to join one without being restarted.&lt;/p&gt;

&lt;p&gt;Hopefully this sheds some light on your concern - if not, it might help if you can provide some additional details as to what you are trying to do, e.g. deploying with only standalones, or majority standalones.&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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 17 Jan 2017 02:40:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 14 weeks, 2 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-1769</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 14 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>ravind.kumar</customfieldvalue>
            <customfieldvalue>ronald.petty</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht1227:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hstsjz:</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_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrzp47:</customfieldvalue>

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