<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.victorsawma.com/styles/rss.css" type="text/css"?>
<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"
>
 <channel>
  <title>Victor&#039;s Blog about the Web, Security and Life</title>
  <link>http://www.victorsawma.com/1_victors_blog_about_the_web_security_and_life</link>
  <description> The web for me is a hobby where standards and best practices are daily bread. Security is a concern that everybody must be aware of its details for IT in general, and the web in particular, to be a safer place. My life, on the other hand, is that of a regular Lebanese citizen where politics and social issues are discussed on a daily basis. I hope you enjoy reading my blog and make sure to drop me a comment about any topic you find interesting. 
</description>
  <pubDate>Mon, 08 Mar 2010 14:16:09 +0000</pubDate>
  <generator>http://www.lifetype.net</generator>
    <item>
   <title>IEEE High Availability Database Workshop</title>
   <description>
    &lt;p&gt;
Today, I guided a workshop about high-availability database solutions at NDU. The workshop went for 6 straight hours (from 9:30 till 15:30) and was attended by more than 50 students from various universities in Lebanon. The workshop was organized by the NDU IEEE branch in collaboration with the Computer Science Club. 
&lt;/p&gt;
&lt;p&gt;
I started the workshop with a general overview of availability issues in Database solutions. Then, I moved to a more detailed description of Database Replication and Database Clustering before moving forward to the hands-on implementation that included the following:
&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;How-to install / configure MySQL Cluster on Centos&lt;/li&gt;
	&lt;li&gt;How-to configure a database for asynchronous data replication&lt;/li&gt;
	&lt;li&gt;How-to configure a Cluster for real-time synchronous data mirroring&lt;/li&gt;
	&lt;li&gt;How-to configure load-balancing using the &amp;quot;balance&amp;quot; tool and Linux VFS (overview)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
The unique thing behind this workshop was the ability to achieve a working solution that includes a Cluster Manager, 2 Cluster Nodes, 2 Cluster API nodes and a load-balancer while using only 3 server machines.
&lt;/p&gt;
&lt;p&gt;
The solution architecture was simple and included the following machines:
&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&amp;nbsp;192.168.0.1: this machine acted as the load balancer and the cluster manager. All requests to database operations in applications have to go through this machine which will, in turn, forward them to either 192.168.0.2 or 192.168.0.3.
	&lt;ul&gt;
		&lt;li&gt;A slightly different solution will be to use Linux VFS to share a load-balanced IP address (e.g. 192.168.0.10) on 192.168.0.2 and 192.168.0.3. In this case, application database operations will have to go to the shared IP address (192.168.0.10) &lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;192.168.0.2: this machine acted as a cluster node and a MySQL API node.&lt;/li&gt;
	&lt;li&gt;192.168.0.3: this machine acted as a cluster node and a MySQL API node.&lt;/li&gt;
&lt;/ul&gt;
   </description>
   <link>http://www.victorsawma.com/1_victors_blog_about_the_web_security_and_life/archive/101_ieee_high_availability_database_workshop.html</link>
   <comments>http://www.victorsawma.com/1_victors_blog_about_the_web_security_and_life/archive/101_ieee_high_availability_database_workshop.html</comments>
   <guid>http://www.victorsawma.com/1_victors_blog_about_the_web_security_and_life/archive/101_ieee_high_availability_database_workshop.html</guid>
      <dc:creator>victor</dc:creator>
      
    <category>Web</category>
      
    <category>Programming</category>
      
    <category>Software</category>
         <pubDate>Sun, 13 Dec 2009 08:41:04 +0000</pubDate>
   <source url="http://www.victorsawma.com/1_victors_blog_about_the_web_security_and_life/feeds/rss20">Victor&#039;s Blog about the Web, Security and Life</source>
     </item>
   </channel>
</rss>