<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Replica Sets Part 2: What are Replica Sets?</title>
	<atom:link href="http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/</link>
	<description>kristina chodorow&#039;s blog</description>
	<lastBuildDate>Fri, 07 Jun 2013 16:34:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: ehcache.net</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-4020</link>
		<dc:creator>ehcache.net</dc:creator>
		<pubDate>Thu, 17 Mar 2011 15:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-4020</guid>
		<description><![CDATA[&lt;strong&gt;Replica Sets Part 2: What are Replica Sets?...&lt;/strong&gt;

you want to jump right into trying out replica sets, see Part 1: Master-Slave is so 2009. Replica sets are basically just master-slave with automatic failover. The idea is: you have a master and one or more slaves. If the master goes down, one of the s...]]></description>
		<content:encoded><![CDATA[<p><strong>Replica Sets Part 2: What are Replica Sets?&#8230;</strong></p>
<p>you want to jump right into trying out replica sets, see Part 1: Master-Slave is so 2009. Replica sets are basically just master-slave with automatic failover. The idea is: you have a master and one or more slaves. If the master goes down, one of the s&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3844</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 17 Nov 2010 22:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3844</guid>
		<description><![CDATA[Thank you!]]></description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Fer</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3843</link>
		<dc:creator>Eric Fer</dc:creator>
		<pubDate>Wed, 17 Nov 2010 21:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3843</guid>
		<description><![CDATA[Congratulations for your post.
You did a great explanation. Even mongodb.org doesn&#039;t have a text so clear and to the point.]]></description>
		<content:encoded><![CDATA[<p>Congratulations for your post.<br />
You did a great explanation. Even mongodb.org doesn&#8217;t have a text so clear and to the point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3826</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 25 Oct 2010 15:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3826</guid>
		<description><![CDATA[The PHP driver is installed wherever your PHP code is running (your application server).  If you are running your application server on a single machine that goes down, your website will go down and it won&#039;t really matter what your database is doing.  The remaining replica set members will failover and choose a new master, but no one will be connecting to it.]]></description>
		<content:encoded><![CDATA[<p>The PHP driver is installed wherever your PHP code is running (your application server).  If you are running your application server on a single machine that goes down, your website will go down and it won&#8217;t really matter what your database is doing.  The remaining replica set members will failover and choose a new master, but no one will be connecting to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bo</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3824</link>
		<dc:creator>Bo</dc:creator>
		<pubDate>Sat, 23 Oct 2010 08:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3824</guid>
		<description><![CDATA[Thanks Kristina, you are being very helpful.

My last question to you is, what if the physical machine, that hosts the primary that is the mongodb and the php driver, is shut down for some reason? Then the php driver, who is as you say responsible for redirecting to a new master, not able to do so - what happens then? ]]></description>
		<content:encoded><![CDATA[<p>Thanks Kristina, you are being very helpful.</p>
<p>My last question to you is, what if the physical machine, that hosts the primary that is the mongodb and the php driver, is shut down for some reason? Then the php driver, who is as you say responsible for redirecting to a new master, not able to do so &#8211; what happens then? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3815</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 21 Oct 2010 15:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3815</guid>
		<description><![CDATA[You need each PHP install you&#039;re using to have the latest driver installed, so you probably need to upgrade it on each app server you&#039;re using. 

The driver is responsible for redirecting to a new master.  When you connect to the database using &quot;replicaSet&quot; =&gt; true, the driver will make a note of all of the members of the set.  If the master goes down, it&#039;ll try connecting to the others.  You can print your connection (Mongo) object to see all of the members it knows about.]]></description>
		<content:encoded><![CDATA[<p>You need each PHP install you&#8217;re using to have the latest driver installed, so you probably need to upgrade it on each app server you&#8217;re using. </p>
<p>The driver is responsible for redirecting to a new master.  When you connect to the database using &#8220;replicaSet&#8221; =&gt; true, the driver will make a note of all of the members of the set.  If the master goes down, it&#8217;ll try connecting to the others.  You can print your connection (Mongo) object to see all of the members it knows about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bo</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3810</link>
		<dc:creator>Bo</dc:creator>
		<pubDate>Thu, 21 Oct 2010 06:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3810</guid>
		<description><![CDATA[Hi Kristina

New driver installed, but I&#039;m afraid it did not solve anything. Must be something wrong with my setup, my secondary and arbiter does not have any domain attached only the primary and there is no DNS magic between them only mongoDB that connects the 3.

Should all 3 mongoDBs have the latest PHP driver installed?

What is reponsible for redirecting to new master if server that holds the current master mongoDB is killed?]]></description>
		<content:encoded><![CDATA[<p>Hi Kristina</p>
<p>New driver installed, but I&#8217;m afraid it did not solve anything. Must be something wrong with my setup, my secondary and arbiter does not have any domain attached only the primary and there is no DNS magic between them only mongoDB that connects the 3.</p>
<p>Should all 3 mongoDBs have the latest PHP driver installed?</p>
<p>What is reponsible for redirecting to new master if server that holds the current master mongoDB is killed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3804</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 19 Oct 2010 14:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3804</guid>
		<description><![CDATA[Yes, you can install the driver manually by downloading the source from Github, then running: 
&lt;pre&gt;
$ phpize &amp;&amp; ./configure &amp;&amp; sudo make install
&lt;/pre&gt;
from the command line.]]></description>
		<content:encoded><![CDATA[<p>Yes, you can install the driver manually by downloading the source from Github, then running: </p>
<pre>
$ phpize &amp;&amp; ./configure &amp;&amp; sudo make install
</pre>
<p>from the command line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bo</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3803</link>
		<dc:creator>Bo</dc:creator>
		<pubDate>Mon, 18 Oct 2010 21:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3803</guid>
		<description><![CDATA[Again thanks for answering (that quick).

I tried to do a manual installation following your advice but for some reason I cannot use PECL/phpize. I then tried to (re)install PEAR with lynx -source http://pear.php.net/go-pear &#124; php but ran into a lot of error messages along the lines of &quot;Warning: include_once(PEAR.php): failed to open stream: No such file or directory in - on line 682
&quot; - is there another failproof way of installing the driver manually? Sorry for taking up your time with all these questions :)]]></description>
		<content:encoded><![CDATA[<p>Again thanks for answering (that quick).</p>
<p>I tried to do a manual installation following your advice but for some reason I cannot use PECL/phpize. I then tried to (re)install PEAR with lynx -source <a href="http://pear.php.net/go-pear" rel="nofollow">http://pear.php.net/go-pear</a> | php but ran into a lot of error messages along the lines of &#8220;Warning: include_once(PEAR.php): failed to open stream: No such file or directory in &#8211; on line 682<br />
&#8221; &#8211; is there another failproof way of installing the driver manually? Sorry for taking up your time with all these questions <img src='http://www.kchodorow.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.kchodorow.com/blog/2010/08/02/replica-sets-part-2-what-are-replica-sets/comment-page-1/#comment-3802</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 18 Oct 2010 15:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=516#comment-3802</guid>
		<description><![CDATA[I think there were some issues with failover in 1.0.10 of the PHP driver.  I&#039;ll be releasing 1.0.11 soon, but you could try the latest code (http://github.com/mongodb/mongo-php-driver) and see if that works better for you.

It will throw MongoConnectionExceptions until a new master is elected, but once it is the driver should failover.]]></description>
		<content:encoded><![CDATA[<p>I think there were some issues with failover in 1.0.10 of the PHP driver.  I&#8217;ll be releasing 1.0.11 soon, but you could try the latest code (<a href="http://github.com/mongodb/mongo-php-driver" rel="nofollow">http://github.com/mongodb/mongo-php-driver</a>) and see if that works better for you.</p>
<p>It will throw MongoConnectionExceptions until a new master is elected, but once it is the driver should failover.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
