<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>matsukaz</author_name>
  <author_url>https://blog.hatena.ne.jp/matsukaz/</author_url>
  <blog_title>matsukaz's blog</blog_title>
  <blog_url>https://matsukaz.hatenablog.com/</blog_url>
  <categories>
    <anon>MongoDB</anon>
  </categories>
  <description>MongoDB 1.6.5で発生した問題です。それ以外のバージョンで発生するかは不明です。公式サイトのAdding shardsにて、ReplicaSetをShardとして追加する場合は、replicaSetName/[:port][,serverhostname2[:port],...], というコマンドで少なくとも1つのサーバを指定するようにと説明されてます。 &gt; db.runCommand( { addshard : &quot;foo/&lt;serverhostname&gt;[:&lt;port&gt;]&quot; } );1つ指定すれば、あとで勝手に他のサーバも追加してくれる、という仕様みたい。実際、以前はそれでうまくい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmatsukaz.hatenablog.com%2Fentry%2F20110526%2F1306421924&quot; title=&quot;MongoDBでReplicaSetをaddShardする際の注意点 - matsukaz&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-05-26 23:58:44</published>
  <title>MongoDBでReplicaSetをaddShardする際の注意点</title>
  <type>rich</type>
  <url>https://matsukaz.hatenablog.com/entry/20110526/1306421924</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
