<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>donbulinux</author_name>
  <author_url>https://blog.hatena.ne.jp/donbulinux/</author_url>
  <blog_title>AR ホームベーカリー</blog_title>
  <blog_url>https://donbulinux.hatenablog.jp/</blog_url>
  <categories>
    <anon>MongoDB</anon>
  </categories>
  <description>本番がレプリカ環境なので、ローカルも同じ様にレプリカ構築したい場合があると思われる。 (mongoid の option に replica_set: rs1 とか書く時) MongoDB は複数プロセスやホストを用意しなくても雑にレプリカを用意できる。 コンフィグの用意 レプリケーションの名前を設定する。 /etc/mongo/mongod.conf macOS で brew 経由で入れたら /opt/homebrew/etc/mongod.conf あたり。 ... net: bindIp: 127.0.0.1 ipv6: false replication: replSetName: &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdonbulinux.hatenablog.jp%2Fentry%2F2023%2F02%2F27%2F005500&quot; title=&quot;MongoDB の単体運用環境で雑にレプリカを作成する - AR ホームベーカリー&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>2023-02-27 00:55:00</published>
  <title>MongoDB の単体運用環境で雑にレプリカを作成する</title>
  <type>rich</type>
  <url>https://donbulinux.hatenablog.jp/entry/2023/02/27/005500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
