<?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: MySQL Switch project</title>
	<atom:link href="/2013/10/mysql-switch-project/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/</link>
	<description>Almost crazy about Opensource / Free  information.</description>
	<lastBuildDate>Fri, 25 Oct 2013 15:37:31 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7</generator>
	<item>
		<title>By: mark</title>
		<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/comment-page-1/#comment-2420</link>
		<dc:creator><![CDATA[mark]]></dc:creator>
		<pubDate>Fri, 25 Oct 2013 15:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=1048#comment-2420</guid>
		<description><![CDATA[Your right a full proxy would be better.  And JonV said ScaleArc does what I&#039;m looking for and he is 110% right. I&#039;ve used ScaleArc and it is a dream. I&#039;ve also tried DRDB with HeartBeat for automated failover and MMM and tungsten and more. Most are good and solve a problem. I just want to change servers without touching any application and without changing the MySQL version I&#039;m using. Dreaming? But it&#039;s so vivid.]]></description>
		<content:encoded><![CDATA[<p>Your right a full proxy would be better.  And JonV said ScaleArc does what I&#8217;m looking for and he is 110% right. I&#8217;ve used ScaleArc and it is a dream. I&#8217;ve also tried DRDB with HeartBeat for automated failover and MMM and tungsten and more. Most are good and solve a problem. I just want to change servers without touching any application and without changing the MySQL version I&#8217;m using. Dreaming? But it&#8217;s so vivid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/comment-page-1/#comment-2419</link>
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Fri, 25 Oct 2013 15:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=1048#comment-2419</guid>
		<description><![CDATA[Absolutly! ScaleArc for the win! I was even using ScaleArc until a couple of months ago and I would LOVE to have it back! ScaleArc is a DREAM Product. It already does everything I&#039;m wishing for with MySWITCH and so much more. (If you could see me now, picture a cartoon character of me with starts in my eyes reading ScaleArc.)

As for the rest, I think your half right. I&#039;ve done this for other services like DNS and HTTP. It has to be done before the packet is routed in IP-Tables. The receiving server doesn&#039;t care about the MAC address the packet came from?  Maybe I could call this thing a MyRouter (I think that&#039;s taken.) Anyway like with routers, the MAC addresses don&#039;t matter.

Source 10.0.0.1     10.0.0.1     10.0.0.1       10.0.0.1     10.0.0.1
Dest   10.0.1.1 --&gt; 10.0.1.1 NAT 10.0.2.1 Route 10.0.2.1 --&gt; 10.0.2.1 Received 

The receiver gets the packet and the only thing that is changed is the destination address so it returns the packet back to the source. It would seem a bit confusing that the answer came from a different IP then it was talking to. So yes, this doesn&#039;t work through some stateful firewall&#039;s and routers. Maybe to make this work it would have to do a double NAT and both the source and destination address would have to be fixed and translated or maybe it would have to be stateful.  Being a DBA now I&#039;m a little fussy on my TCP-IP so I&#039;ll leave this part at - I made it work before?]]></description>
		<content:encoded><![CDATA[<p>Absolutly! ScaleArc for the win! I was even using ScaleArc until a couple of months ago and I would LOVE to have it back! ScaleArc is a DREAM Product. It already does everything I&#8217;m wishing for with MySWITCH and so much more. (If you could see me now, picture a cartoon character of me with starts in my eyes reading ScaleArc.)</p>
<p>As for the rest, I think your half right. I&#8217;ve done this for other services like DNS and HTTP. It has to be done before the packet is routed in IP-Tables. The receiving server doesn&#8217;t care about the MAC address the packet came from?  Maybe I could call this thing a MyRouter (I think that&#8217;s taken.) Anyway like with routers, the MAC addresses don&#8217;t matter.</p>
<p>Source 10.0.0.1     10.0.0.1     10.0.0.1       10.0.0.1     10.0.0.1<br />
Dest   10.0.1.1 &#8211;> 10.0.1.1 NAT 10.0.2.1 Route 10.0.2.1 &#8211;> 10.0.2.1 Received </p>
<p>The receiver gets the packet and the only thing that is changed is the destination address so it returns the packet back to the source. It would seem a bit confusing that the answer came from a different IP then it was talking to. So yes, this doesn&#8217;t work through some stateful firewall&#8217;s and routers. Maybe to make this work it would have to do a double NAT and both the source and destination address would have to be fixed and translated or maybe it would have to be stateful.  Being a DBA now I&#8217;m a little fussy on my TCP-IP so I&#8217;ll leave this part at &#8211; I made it work before?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/comment-page-1/#comment-2418</link>
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Fri, 25 Oct 2013 14:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=1048#comment-2418</guid>
		<description><![CDATA[MySQLd_ms is good. Unforchantly, I have applications written in lots more then PHP. If all my programs where PHP I&#039;d still have to go to each application/server and make the change in coordination with the database change.]]></description>
		<content:encoded><![CDATA[<p>MySQLd_ms is good. Unforchantly, I have applications written in lots more then PHP. If all my programs where PHP I&#8217;d still have to go to each application/server and make the change in coordination with the database change.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/comment-page-1/#comment-2417</link>
		<dc:creator><![CDATA[mark]]></dc:creator>
		<pubDate>Fri, 25 Oct 2013 14:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=1048#comment-2417</guid>
		<description><![CDATA[The MySQL proxy project is mostly abandoned. I tested it about two years ago and it wouldn&#039;t even hold up to MySQL slap. I wrote about this in my blog. MySQL Proxy also does a little more the I need. That OK but I&#039;m looking for a switch not a Proxy.]]></description>
		<content:encoded><![CDATA[<p>The MySQL proxy project is mostly abandoned. I tested it about two years ago and it wouldn&#8217;t even hold up to MySQL slap. I wrote about this in my blog. MySQL Proxy also does a little more the I need. That OK but I&#8217;m looking for a switch not a Proxy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/comment-page-1/#comment-2415</link>
		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Thu, 24 Oct 2013 22:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=1048#comment-2415</guid>
		<description><![CDATA[Is it perhaps similar to MySQL Proxy http://dev.mysql.com/downloads/mysql-proxy/ ?]]></description>
		<content:encoded><![CDATA[<p>Is it perhaps similar to MySQL Proxy <a href="http://dev.mysql.com/downloads/mysql-proxy/" rel="nofollow">http://dev.mysql.com/downloads/mysql-proxy/</a> ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: profiles.google.com/10047852389…</title>
		<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/comment-page-1/#comment-2414</link>
		<dc:creator><![CDATA[profiles.google.com/10047852389…]]></dc:creator>
		<pubDate>Thu, 24 Oct 2013 20:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=1048#comment-2414</guid>
		<description><![CDATA[Check out php.net/mysqlnd_ms which pretty much has all you want but is a driver based approach.]]></description>
		<content:encoded><![CDATA[<p>Check out php.net/mysqlnd_ms which pretty much has all you want but is a driver based approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JonV</title>
		<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/comment-page-1/#comment-2413</link>
		<dc:creator><![CDATA[JonV]]></dc:creator>
		<pubDate>Thu, 24 Oct 2013 20:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=1048#comment-2413</guid>
		<description><![CDATA[If you skip your idea of using (almost) direct server return (not changing source address), this already exists; commercially at least.  I believe ScaleArc can do this.

Now, the problem with your idea that&#039;s quite similar to direct server return.. it won&#039;t work.

The reply will be coming from an IP that the client making the query has not established a connection with.

You would either need to be a full proxy, or you&#039;d need to do the translation at layer 2 (MAC address).  If you do the latter (which is direct server return), you need to leave the destination IP alone and configure the final destination (server mysql is on) to reply to that IP (but not advertise it).

The latter would likely break if you have a stateful firewall between the application servers and the database servers as well.]]></description>
		<content:encoded><![CDATA[<p>If you skip your idea of using (almost) direct server return (not changing source address), this already exists; commercially at least.  I believe ScaleArc can do this.</p>
<p>Now, the problem with your idea that&#8217;s quite similar to direct server return.. it won&#8217;t work.</p>
<p>The reply will be coming from an IP that the client making the query has not established a connection with.</p>
<p>You would either need to be a full proxy, or you&#8217;d need to do the translation at layer 2 (MAC address).  If you do the latter (which is direct server return), you need to leave the destination IP alone and configure the final destination (server mysql is on) to reply to that IP (but not advertise it).</p>
<p>The latter would likely break if you have a stateful firewall between the application servers and the database servers as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mysqlha.blogspot.com/</title>
		<link>http://www.mysqlfanboy.com/2013/10/mysql-switch-project/comment-page-1/#comment-2412</link>
		<dc:creator><![CDATA[mysqlha.blogspot.com/]]></dc:creator>
		<pubDate>Thu, 24 Oct 2013 17:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=1048#comment-2412</guid>
		<description><![CDATA[I think a good proxy implementation would provide a great foundation for this. However, I am not sure we have that in open source.]]></description>
		<content:encoded><![CDATA[<p>I think a good proxy implementation would provide a great foundation for this. However, I am not sure we have that in open source.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
