<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Neuron Ring&#039;s Blog &#187; Computer</title>
	<atom:link href="http://blogs.neuronring.com/error_handler.php/blogs/category/computer/feed/?404;http://blogs.neuronring.com:80/blogs/category/computer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.neuronring.com</link>
	<description>The Variable,&#34;Change&#34;, is always &#34;Constant&#34; - Neuron Ring</description>
	<lastBuildDate>Fri, 19 Mar 2010 09:36:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HP Serviceguard Configuration Guide- serviceguard cluster commands, cmviewcl, cmhaltpkg, cmrunpkg</title>
		<link>http://blogs.neuronring.com/blogs/computer/unix-and-linux/hp-serviceguard-configuration-serviceguard-cluster-commands-cmviewcl-cmhaltpkg-cmrunpkg/</link>
		<comments>http://blogs.neuronring.com/blogs/computer/unix-and-linux/hp-serviceguard-configuration-serviceguard-cluster-commands-cmviewcl-cmhaltpkg-cmrunpkg/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 09:36:16 +0000</pubDate>
		<dc:creator>R Gopinath</dc:creator>
				<category><![CDATA[Unix and Linux]]></category>

		<guid isPermaLink="false">http://blogs.neuronring.com/?p=472</guid>
		<description><![CDATA[HP Serviceguard
HP Serviceguard was the very first solution for high availability clustering software. Serviceguard uses resource virtualization to ensure that critical applications, databases, or services are continually up and running. Users typically don’t care which server they run their application on—they just want to make sure that application is running. Serviceguard hides the details of [...]]]></description>
			<content:encoded><![CDATA[<h2>HP Serviceguard</h2>
<p>HP Serviceguard was the very first solution for high availability clustering software. Serviceguard uses resource virtualization to ensure that critical applications, databases, or services are continually up and running. Users typically don’t care which server they run their application on—they just want to make sure that application is running. Serviceguard hides the details of which server an application is actually running on at any given time, which means it can move applications between servers on the fly.</p>
<p style="text-align: center;"><img class="size-medium wp-image-474  aligncenter" title="hp-serviceguard" src="http://blogs.neuronring.com/wp-content/uploads/2010/03/hp-serviceguard-300x195.jpg" alt="hp-serviceguard" width="300" height="195" /></p>
<p> </p>
<h2><span style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%">What is a Serviceguard cluster?</span></h2>
<p>Any host system running in a Serviceguard cluster is called an <strong>active node</strong>. Under normal conditions, a fully operating Serviceguard cluster<strong> </strong>monitors the health of the cluster&#8217;s components on all its active nodes.Most Serviceguard packages are failover packages. When you configure a<strong> </strong>failover package, you specify which active node will be the <strong>primary node </strong>where the package will start, and one or more other nodes, called<strong> adoptive nodes</strong>, that can also run the package.<strong> </strong></p>
<h2>Creating a Serviceguard  cluster</h2>
<p>Before you configure the cluster, you will need to create a volume group on the shared disks, so that Service Guard can create a “Cluster Lock Disk”.</p>
<p style="text-align: center;"><img class="size-medium wp-image-475  aligncenter" title="serviceguard-configuration" src="http://blogs.neuronring.com/wp-content/uploads/2010/03/serviceguard-configuration-300x151.gif" alt="serviceguard-configuration" width="300" height="151" /></p>
<p> </p>
<p>On testnode1</p>
<p> <strong># pvcreate /dev/rdsk/c0t4d0</strong></p>
<p><strong># pvcreate /dev/rdsk/c1t4d0</strong></p>
<p><strong># mkdir /dev/vg01</strong></p>
<p><strong># mknod /dev/vg01/group c 64 0&#215;010000</strong></p>
<p><strong># vgcreate vg01 /dev/dsk/c0t4d0 /dev/dsk/c1t4d0</strong></p>
<p><strong># mkdir /etc/cmcluster/maps</strong></p>
<p><strong># vgexport –p –s –m vg01 /etc/cmcluster/maps/vg01</strong></p>
<p><strong> </strong>On testnode2</p>
<p> <strong># mkdir /dev/vg01</strong></p>
<p><strong># mknod /dev/vg01/group c 64 0&#215;010000</strong></p>
<p><strong># mkdir /etc/cmcluster/maps</strong></p>
<p><strong># rcp testnode1:/etc/cmcluster/maps/vg01 /etc/cmcluster/maps/vg01</strong></p>
<p><strong># vgimport –s –m /etc/cmcluster/maps/vg01 vg01</strong></p>
<p><strong># vgchange –a y vg01</strong></p>
<p><strong># vgchange –a n vg01</strong></p>
<p>You can now go ahead and create the cluster.</p>
<p><strong># cd /etc/cmcluster</strong></p>
<p><strong># cmquerycl –v –C cmclconfig.ascii –n testnode1 -n testnode2</strong></p>
<p>After creating this file, you will need to edit it to suit your cluster. You will need to</p>
<p>alter the following lines:</p>
<p> <strong># vi cmclconfig.ascii</strong></p>
<p><strong> </strong>CLUSTER_NAME simeon1</p>
<p>NODE_NAME testnode1</p>
<p>NETWORK_INTERFACE lan0</p>
<p>HEARTBEAT_IP 192.168.100.101</p>
<p>NETWORK_INTERFACE lan1</p>
<p>HEARTBEAT_IP 164.39.8.92</p>
<p>NETWORK_INTERFACE lan2</p>
<p>NODE_NAME testnode2</p>
<p>NETWORK_INTERFACE lan0</p>
<p>HEARTBEAT_IP 192.168.100.102</p>
<p>NETWORK_INTERFACE lan1</p>
<p>HEARTBEAT_IP 164.39.8.93</p>
<p>NETWORK_INTERFACE lan2</p>
<p>HEARTBEAT_INTERVAL 2000000</p>
<p>NODE_TIMEOUT 5000000</p>
<p>MAX_CONFIGURED_PACKAGES 10</p>
<p> To check that there are no mistakes in the file, use the check command.</p>
<p> <strong># cmcheckconf –C /etc/cmcluster/cmclconfig.ascii</strong></p>
<p><strong> </strong>To apply the configuration file, usr the apply command.</p>
<p> <strong># cmapplyconf –C /etc/cmcluster/cmclconfig.ascii</strong></p>
<p> You are now ready to startup the cluster.</p>
<p>On testnode1</p>
<p><strong># vgchange –a n vg01</strong></p>
<p><strong># cmruncl –v</strong></p>
<p><strong># cmviewcl –v</strong></p>
<p><strong># vgchange –c y vg01</strong></p>
<p>On Both nodes</p>
<p><strong># netstat -in</strong></p>
<p><strong># vi /etc/rc.config.d/cmcluster</strong></p>
<p>AUTOSTART_CMCLD=1</p>
<p>On testnode1</p>
<p><strong># cmhaltcl –v</strong></p>
<p><strong># vgchange –a n vg01</strong></p>
<h2>Creating a basic package</h2>
<p>Serviceguard packages group together applications and the services and resources they depend on. The typical Serviceguard package is a failover package that starts on one node but can be moved (“failed over”) to another if necessary.</p>
<p>Creating or modifying a package requires the following broad steps:</p>
<p>1. Generate the package ASCII file</p>
<p>2. Edit the package ASCII file</p>
<p>3. Generate the package control script</p>
<p>4. Edit the package control script</p>
<p>5. Distribute the control script to the cluster nodes</p>
<p>6. Apply the package ASCII file</p>
<p>Once the cluster is up and running, we can create a package to run in it. This package will run an “xclock” on a client PC, and mount a file system, using the IP Address 164.39.8.101 The first step is to make a logical volume.</p>
<p>On node1</p>
<p><strong># vgchange –a e vg01</strong></p>
<p><strong># lvcreate –L 20 vg01</strong></p>
<p><strong># lvextend –m 1 /dev/vg01/lvol1</strong></p>
<p><strong># newfs –F vxfs /dev/vg01/rlvol1</strong></p>
<p><strong># mkdir /pkg_1</strong></p>
<p><strong># vi /etc/fstab</strong></p>
<p>#/dev/vg01/lvol1 /pkg_1 vxfs delaylog 0 2 # MC/SG</p>
<p><strong># vgchange –a n vg01</strong></p>
<p><strong># vgexport –p –s –m vg01 /etc/cmcluster/maps/vg01</strong></p>
<p>On Node 2</p>
<p><strong># vgexport vg01</strong></p>
<p><strong># mkdir /dev/vg01</strong></p>
<p><strong># mknod /dev/vg01/group c 64 0&#215;010000</strong></p>
<p><strong># vgimport –s –m /etc/cmlcuster/maps/vg01 vg01</strong></p>
<p><strong># mkdir /pkg_1</strong></p>
<p><strong># vi /etc/fstab</strong></p>
<p>#/dev/vg01/lvol1 /pkg_1 vxfs delaylog 0 2 # MC/SG</p>
<p>Now we can make the package.</p>
<p>On Node1</p>
<p><strong># cd /etc/cmcluster</strong></p>
<p><strong># mkdir pkg_1</strong></p>
<p><strong># cd pkg_1</strong></p>
<p><strong># cmmakepkg –p pkg_1.conf</strong></p>
<p>The file pkg_1.conf will need to be edited to suit.</p>
<p><strong># vi pkg_1.conf</strong></p>
<p>PACKAGE_NAME pkg_1</p>
<p>NODE_NAME testnode1</p>
<p>NODE_NAME testnode2</p>
<p>RUN_SCRIPT /etc/cmcluster/pkg_1/pkg_1.cntl</p>
<p>RUN_SCRIPT_TIMEOUT NO_TIMEOUT</p>
<p>HALT_SCRIPT /etc/cmcluster/pkg_1/pkg_1.cntl</p>
<p>HALT_SCRIPT_TIMEOUT NO_TIMEOUT</p>
<p>SERVICE_NAME pkg_1_service</p>
<p>SUBNET 164.39.8.0</p>
<p>Add the IP address that will be used for the package in the hosts file.</p>
<p><strong># vi /etc/hosts</strong></p>
<p>164.39.8.101 pkg_1 xclock</p>
<p><strong># cmmakepkg –s pkg_1.cntl</strong></p>
<p>The file pkg_1.cntl will need to be edited to suit</p>
<p><strong># vi pkg_1.cntl</strong></p>
<p>VG[0]=&#8221;vg01&#8243;</p>
<p>LV[0]=&#8221;/dev/vg01/lvol1&#8243;; FS[0]=&#8221;/pkg_1&#8243;; FS_MOUNT_OPT[0]=&#8221;"</p>
<p>IP[0]=&#8221;164.39.8.101&#8243;</p>
<p>SUBNET[0]=&#8221;164.39.8.0&#8243;</p>
<p>SERVICE_NAME[0]=&#8221;pkg_1_service&#8221;</p>
<p>SERVICE_CMD[0/etc/cmcluster/pkg_1/service_pkg_1"</p>
<p>#SERVICE_RESTART[0]=&#8221;"</p>
<p>function customer_defined_run_cmds</p>
<p>{</p>
<p># ADD customer defined run commands.</p>
<p>if [ $(hostname) = "testnode1" ]</p>
<p>then COLOUR=&#8221;blue&#8221;</p>
<p>else COLOUR=&#8221;red&#8221;</p>
<p>fi</p>
<p>/usr/bin/X11/xclock -bg &#8220;$COLOUR&#8221; -update 1 –display \</p>
<p>164.39.11.232:0.0 &amp;</p>
<p>test_return 51</p>
<p>}</p>
<p>function customer_defined_halt_cmds<br />
{</p>
<p># ADD customer defined halt commands.</p>
<p>if</p>
<p>ps -ef |grep -v grep |grep -q &#8220;xclock&#8221;</p>
<p>then</p>
<p>kill -9 $(ps -ef |grep -v grep |grep &#8220;xclock&#8221;|cut -c10-14)</p>
<p>fi</p>
<p>test_return 52</p>
<p>}</p>
<p><strong># vi pkg_1_service</strong></p>
<p>#!/usr/bin/sh</p>
<p>#This is a script to monitor that xclock is running</p>
<p>while true</p>
<p>do</p>
<p>if</p>
<p>ps -ef |grep -v grep |grep -q &#8220;xclock&#8221;</p>
<p>then</p>
<p>sleep 5</p>
<p>else</p>
<p>echo &#8220;Package xclock failed at $(date) from node \</p>
<p>$(hostname) &gt; /etc/cmcluster/pkg_1/pkg_1.cntl.log”</p>
<p>exit 99</p>
<p>fi</p>
<p>done</p>
<p><strong># chmod u+x pkg_1_servce</strong></p>
<p><strong># cd /etc/cmcluster</strong></p>
<p><strong># rcp –r testnode1:/etc/cmcluster/pkg_1</strong></p>
<p><strong> </strong>On node 1</p>
<p><strong># cmcheckconf -P pkg_1.conf</strong></p>
<p><strong># cmapplyconf –P pkg_1.conf</strong></p>
<p><strong># cmmodpkg –e –n testnode1 -n testnode2 pkg_1</strong></p>
<p><strong># cmviewcl –v –p pkg_1</strong></p>
<p><strong># cmhaltpkg pkg_1</strong></p>
<p><strong># cmviewcl –v|more</strong></p>
<p><strong># tail /etc/cmcluster/pkg_1/pkg_1.log</strong></p>
<p><strong># tail /var/adm/syslog/syslog.log</strong></p>
<h2>Starting and stopping a Serviceguard Package</h2>
<p>Normally, when a cluster starts up, the packages configured as part of the cluster will start up on their configured nodes. You may need to start a package manually after it has been halted manually. You can do this either in Serviceguard Manager or on the Serviceguard command line.</p>
<p>If you want to stop a package, use the following commands</p>
<p><strong># cmviewcl –v –p &lt;package name&gt;</strong></p>
<p><strong># cmahalt &lt;package name&gt;</strong></p>
<p><strong># cmviewcl –v –p &lt;package name&gt;</strong></p>
<p>You halt a Serviceguard package when you wish to bring the package out of use but wish the node to continue in operation. You can halt a package using Serviceguard Manager or on the Serviceguard command line. Halting a package has a different effect than halting the node. When you halt the node, its failover packages may switch to adoptive nodes.</p>
<p>If you want to start a package, then use the following commands</p>
<p><strong># cmviewcl –v –p &lt;package name&gt;</strong></p>
<p><strong># cmmodpkg –e &lt;package name&gt;</strong></p>
<p><strong>OR</strong></p>
<p><strong># cmrunpkg –n &lt;host name&gt; &lt;package name&gt;</strong></p>
<p><strong># cmmodpkg –e &lt;package name&gt;</strong></p>
<h2>Deleting a Serviceguard Package</h2>
<p>To delete a package, use the following commands</p>
<p> <strong># cmdeleteconf -p &lt;package name&gt;</strong></p>
<h2>Stopping and starting the Serviceguard Cluster</h2>
<p>The cmhaltcl command can be used to halt the entire cluster. This command causes all nodes in a configured cluster to halt their Serviceguard daemons. You can use the -f option to force the cluster to halt even when packages are running.</p>
<p>To stop the cluster, use the following commands</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">The cmhaltcl command can be used to halt the entire cluster. This command causes all nodes in a configured cluster to halt their Serviceguard daemons. You can use the -f option to force the cluster to </span><span style="font-size: 10pt; line-height: 115%; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">halt even when packages are running.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"><span style="font-size: 10pt; line-height: 115%; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"> </span></p>
<p>To stop the cluster, use the following commands</p>
<p><strong># cmiewcl –v</strong></p>
<p><strong># cmhaltcl</strong></p>
<p><strong>OR</strong></p>
<p><strong># cmhaltcl –f</strong></p>
<p>To start the cluster: -</p>
<p><strong># cmruncl –v</strong></p>
<p><strong># cmviewcl –v</strong></p>
<h2>Automatically Restarting the Serviceguard Cluster</h2>
<p>You can configure your cluster to automatically restart after an event, such as a long-term power failure, which brought down all nodes in the cluster. This is done by setting AUTOSTART_CMCLD to 1 in the</p>
<p>/etc/rc.config.d/cmcluster file.</p>
<h2>Stopping and starting a node in the Serviceguard Cluster</h2>
<p>Starting a node will not cause any active packages to be moved to the new node. However, if a package is DOWN, has its switching enabled, and is able to run on the new node, that package will automatically run there.</p>
<p>To stop a node in the cluster</p>
<p><strong># cmhaltnode –n &lt;node name&gt;</strong></p>
<p><strong># cmviewcl –v</strong></p>
<p><strong># vi /etc/rc.config.d/cmcluster</strong></p>
<p>AUTOSTART_CMCLD=0</p>
<p>To start a node in the cluster.</p>
<p><strong># cmrunnode –n &lt;name name&gt;</strong></p>
<p><strong># cmviewcl –v</strong></p>
<p><strong># vi /etc/rc.config.d/cmcluster</strong></p>
<p>AUTOSTART_CMCLD=1</p>
<h2>Deleting a cluster</h2>
<p>When there are no packages left in the cluster, and you want to delete the  cluster, use the following commands.</p>
<p><strong># vgchange –c n vg01</strong></p>
<p><strong># cmhaltcl –f</strong></p>
<p><strong># cmdeleteconf –c &lt;cluster_name&gt;</strong></p>
<p><strong># vgchange –a y vg01</strong></p>
<p><strong># lvremove /dev/vg01/lvol1</strong></p>
<p><strong># vgremove vg01</strong></p>
<p><strong># rm –r /dev/vg01</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.neuronring.com/blogs/computer/unix-and-linux/hp-serviceguard-configuration-serviceguard-cluster-commands-cmviewcl-cmhaltpkg-cmrunpkg/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Apple iPad Success or Failure ?</title>
		<link>http://blogs.neuronring.com/blogs/computer/hot-technologies/apple-ipad-success-or-failure/</link>
		<comments>http://blogs.neuronring.com/blogs/computer/hot-technologies/apple-ipad-success-or-failure/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 11:44:48 +0000</pubDate>
		<dc:creator>R Gopinath</dc:creator>
				<category><![CDATA[Hot Technologies]]></category>

		<guid isPermaLink="false">http://blogs.neuronring.com/?p=468</guid>
		<description><![CDATA[Apple iPad is the most innovative product launched in Feb,2010. Well, before its growth there are many criticisms and debates about the product. I am giving my views after analysis.
There are very less chances for the product to get failed.  The crispy features in the ipad announces its success and wrote a foreword for the [...]]]></description>
			<content:encoded><![CDATA[<p>Apple iPad is the most innovative product launched in Feb,2010. Well, before its growth there are many criticisms and debates about the product. I am giving my views after analysis.</p>
<p>There are very less chances for the product to get failed.  The crispy features in the ipad announces its success and wrote a foreword for the &#8220;iPad&#8217;s Success Story&#8221;</p>
<p>iPad is the super idea  to access the Web,Photos,Videos,E-mail etc.,</p>
<h2>Features of  Apple ipad</h2>
<h3>Safari Browser</h3>
<p>The tablet has a large multi-touch screen which has the option to switch to portrait  and landscape view.</p>
<h3>Strengths of iPad</h3>
<p>No multitasking, no USB port, no Flash, no camera – that’s iPad for you. Still the device has speed, portability, style, simplicity and above all price going for it.</p>
<p>The iPad seems to have come in with a clearcut and flawless strategy to capture the market. By cutting out on expensive features such as the camera, Apple is set to penetrate the market on the price flank.</p>
<h3>Price of iPad</h3>
<p>The price of iPad starts at $499.  So that a middle class can afford buying it. I accept it is not economic for all. <img src='http://blogs.neuronring.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h3>Great Features of iPad</h3>
<p><strong>LED-Backlit IPS Display</strong> &#8211; This has 9.6 inches of LED display that you can&#8217;t image even. So working on this would be great.</p>
<p><strong>Multi-Touch Screen &#8211; </strong>This is similar to the one we see in iPhone.</p>
<p><strong>Light Weight</strong> &#8211; Apple iPad weighs just 1.5 pounds and 0.5 inch thin.</p>
<p><strong>Very long battery life &#8211; </strong>This graphical tablet deserves the long battery life. The battery lasts almost for 10 hours.</p>
<p><strong>Numerous Applications &#8211; </strong>There are about 140,000 applications available in this great magic box.</p>
<p>You can write and send email, text messages</p>
<p>With the Apple iPad you can store all your information personal or for work.</p>
<p>You can listen to music or watch a movie when you have nothing to do.</p>
<p>And of course you can browse the internet.</p>
<p><strong>Facebook &#8211; </strong>This comes with you where ever you go. Connect to your friends in one touch.</p>
<p><strong>You Tube -</strong>  The iPad has the built in you tube video organiser where you can play videos in landscape mode. In this mode the video automatically switches to fullscreen view.</p>
<p><strong>Handy iPod and iTunes &#8211; </strong>You can still feel the pleasure of iPod and the power of iTunes. Buletooth headphones are supported.</p>
<p><strong>iBookStore &#8211; </strong>This is apple&#8217;s online bookstore. You can just read or buy books and keep it in your shelf just in one touch.</p>
<p> </p>
<p><a href="http://www.apple.com/ipad/">http://www.apple.com/ipad/</a></p>
<p>Regards,<br />
R.Gopinath</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.neuronring.com/blogs/computer/hot-technologies/apple-ipad-success-or-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql error #1226 user has exceeded max_questions</title>
		<link>http://blogs.neuronring.com/blogs/computer/troubleshooting/mysql-error-1226-user-has-exceeded-max_questions/</link>
		<comments>http://blogs.neuronring.com/blogs/computer/troubleshooting/mysql-error-1226-user-has-exceeded-max_questions/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 16:59:26 +0000</pubDate>
		<dc:creator>R Gopinath</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://blogs.neuronring.com/?p=450</guid>
		<description><![CDATA[Problem Statement:
mysql error #1226
The problem that everyone faces with very old databases. The reason for this error is when the database user connects to the server for several times, there are many possibilities of database lock.
1. The user connection may not have terminated properly.
2. Or the maximum connection limit specified for that particular user may have exceeded [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline;">Problem Statement:</span></strong></p>
<h2 style="font-size: 1.5em;">mysql error #1226</h2>
<p>The problem that everyone faces with very old databases. The reason for this error is when the database user connects to the server for several times, there are many possibilities of database lock.</p>
<p>1. The user connection may not have terminated properly.</p>
<p>2. Or the maximum connection limit specified for that particular user may have exceeded from the limit.</p>
<p>To resolve this mysql error #1226. we have to configure the database properly.</p>
<p>Mostly people using the wordpress CMS need to change the wp_options table.</p>
<p>Usually this situation happens sometimes due to server overloading or user exceeding max_connections_per_hour.</p>
<p><span style="text-decoration: underline;"><strong>Solution:</strong></span></p>
<p>But there are many instances for us that we can&#8217;t wait for such a long time to update the tables and databases and we may need to seek help from others.</p>
<p>During that critical time, this solution helps you much from avoiding the downtime of your website.</p>
<p>Once i faced a similar problem and my website was down for 1 week. It was a drastic situation and i lost all my page rank.</p>
<p>But i came forward with a quick and simple solution.</p>
<p>Follow these simple steps to solve <strong>&#8216;user has exceeded max_questions&#8217; problem</strong></p>
<p>1. Your database must have a user &#8216;A&#8217; using which you have configured your wordpress blog.</p>
<h4>2. Now the problem is that user &#8216;A&#8217; has exceeded maximum_questions resource (current value: 40)</h4>
<p>3.  Create a new user &#8216;B&#8217; in your database through your domain control panel  and update the same user name you wp-config.php file in  wordpress installation directory.</p>
<p>4.  Now you got the problem fixed in few minutes. It will not disturb the database or the posts you have in your wordpress or phpbb.</p>
<h4>For phpbb  users &#8216;mysql error #1226 user has exceeded max_questions&#8217;</h4>
<p>1.  Follow the same steps above and update the config.php file in your phpbb installation directory.</p>
<p>The issue is solved.  This may be a simple two-lined solution but powerful.</p>
<p>Keep away your worries and enjoy blogging. if any clarifications revert back to gopi@neuronring.com.</p>
<p>Regards,</p>
<p>R.Gopinath</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.neuronring.com/blogs/computer/troubleshooting/mysql-error-1226-user-has-exceeded-max_questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>High Availability Clustering–Types and Advantages</title>
		<link>http://blogs.neuronring.com/blogs/computer/unix-and-linux/high-availability-clustering-types-and-advantages/</link>
		<comments>http://blogs.neuronring.com/blogs/computer/unix-and-linux/high-availability-clustering-types-and-advantages/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 16:45:22 +0000</pubDate>
		<dc:creator>R Gopinath</dc:creator>
				<category><![CDATA[Unix and Linux]]></category>

		<guid isPermaLink="false">http://blogs.neuronring.com/?p=387</guid>
		<description><![CDATA[What does High Availability mean?
In terms of computers HA means a system design protocol which ensures the availability of a resource in a given amount of time or any terms of measurement.
HA-Clustering and Failover
This is a computer cluster implemented for making a resource available all the time or reducing the downtime of the resource. For [...]]]></description>
			<content:encoded><![CDATA[<h2>What does High Availability mean?</h2>
<p>In terms of computers HA means a system design protocol which ensures the availability of a resource in a given amount of time or any terms of measurement.</p>
<h2>HA-Clustering and Failover</h2>
<p>This is a computer cluster implemented for making a resource available all the time or reducing the downtime of the resource. For example, an application server serving the user requests continuously and in come point of time it stopped responding. In that time the users waiting for a response from the server should not get disappointed.</p>
<p>Here comes the clustering technology, the cluster configuration in the network transfers or redirects the user requests to the backup server. This process is called Failover.</p>
<div id="attachment_389" class="wp-caption aligncenter" style="width: 266px"><img class="size-medium wp-image-389" title="High-availability-clusters" src="http://blogs.neuronring.com/wp-content/uploads/2009/10/High-availability-clusters-256x300.gif" alt="High-availability-clustering" width="256" height="300" /><p class="wp-caption-text">High-availability-clustering</p></div>
<h2>The Clustering Software</h2>
<p>The clustering software plays main role in the successful functioning of the HA-Clusters. Everyone have a question of who maintains the information and transactions processed by the First Machine.</p>
<p>Yes, the clustering software does that for us. It will copy the last good known configuration <strong>from</strong> the machine which failed to complete its duty <strong>to</strong> the machine which is ready to serve for us.</p>
<h2>Heart Beat of Clustering</h2>
<p>HA clusters use a private Heart-Beat network. This network is responsible for monitoring the health status of all the nodes in the cluster.</p>
<div id="attachment_390" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-390" title="HA-Clustering" src="http://blogs.neuronring.com/wp-content/uploads/2009/10/HA-Clustering-300x208.png" alt="HA-Clustering" width="300" height="208" /><p class="wp-caption-text">HA-Clustering-Heart Beat</p></div>
<h2>Split-Brain in Cluster network</h2>
<p>The term “Split-Brain” technically explains the following scenario. When all the private network link goes down but the individual cluster nodes are still running, there is a possibility of confusion. Each node in the cluster may think that other node is down and will supply duplicate data. So this is a tedious configure the network to avoid split-brains.</p>
<h2>Cluster Node Configurations</h2>
<p><strong> </strong>These are the available clustering node configurations</p>
<p><strong> </strong>1.<strong> </strong><strong>Active/Active – </strong>Traffic is directed to another existing node or balanced across all other nodes</p>
<p>2.<strong> </strong><strong>Active/Passive</strong> <strong>–</strong> A complete new node is served when primary node fails</p>
<p>3.  <strong>N+1</strong> – Serving a complete new node in the place of primary node and the new node    in the cluster must be capable of handling any services which the primary node handled with/without any special additional software.</p>
<p>4. <strong>N+M</strong> – Here more than one dedicated nodes are served for handling failovers.<br />
This   may require high cost and maintenance<strong>.</strong></p>
<p>5. <strong>N-to-1</strong> – Here the backup node is serving temporarily until the primary node is brought back online. Then the running services are transferred to primary node.</p>
<p>6. <strong>N-to-N &#8212; </strong>A combination of Active/Active and N+M clusters, N to N clusters.</p>
<h2>Requirements for a High Availability Clustering Environment</h2>
<p><strong> </strong></p>
<p>The HA-Clustering is widely used technology in Data centers and Industries where adaptive infrastructure is required. This requires high investment hence this is called as costly technology.</p>
<p>Below given are the minimum requirements for setting up a HA Clustered Environment.</p>
<ol>
<li>You must be having suitable advanced application which is capable to support HA-C. Not all the applications can run in High Availability Environment.</li>
<li>The application should be capable of running its own multiple instances.</li>
<li>The application you are using in HA-C must have command line utility. i.e ability to control the app through command line interface by executing some commands.</li>
<li>The application should have the capability of using Storage Area Network (SAN).</li>
</ol>
<p>The application must be capable of storing the data in a SAN, so that even a crash occurs the other back-up node can use the saved-state of information.</p>
<h2>Applications of HA Clustering Technology</h2>
<p>So, where is this clustering more useful and applied ? HA Clustering is used for</p>
<p>1. Critical databases</p>
<p>2. File sharing networks</p>
<p>3. Business Applications</p>
<p>4. E-Commerce Websites</p>
<p><img class="aligncenter size-medium wp-image-391" title="oracle-real-application-clusters-RAC" src="http://blogs.neuronring.com/wp-content/uploads/2009/10/oracle-real-application-clusters-RAC-300x211.jpg" alt="oracle-real-application-clusters-RAC" width="300" height="211" /></p>
<h2>Some famous HA-Clustering products</h2>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="226" valign="top"><strong><span style="color: #333399;">Vendor </span></strong></td>
<td width="190" valign="top"><strong><span style="color: #333399;">Product Name </span></strong></td>
<td width="175" valign="top"><strong><span style="color: #333399;">Supported</span></strong><strong><span style="color: #333399;"> Platforms</span></strong></td>
</tr>
<tr>
<td width="226" valign="top"><strong>Hewlett-Packard</strong></td>
<td width="190" valign="top"><strong>HP ServiceGuard </strong><strong> </strong></td>
<td width="175" valign="top"><strong>HP-UX, Linux</strong></td>
</tr>
<tr>
<td width="226" valign="top"><strong>IBM </strong></td>
<td width="190" valign="top"><strong>High Availability Cluster </strong></td>
<td width="175" valign="top"><strong>AIX, Linux</strong></td>
</tr>
<tr>
<td width="226" valign="top"><strong>Open –Source </strong></td>
<td width="190" valign="top"><strong>Linux-HA </strong><strong> </strong></td>
<td width="175" valign="top"><strong>Linux</strong></td>
</tr>
<tr>
<td width="226" valign="top"><strong>Microsoft</strong></td>
<td width="190" valign="top"><strong>Microsoft Cluster Server (MSCS)</strong></td>
<td width="175" valign="top"><strong>Windows server 2008</strong></td>
</tr>
<tr>
<td width="226" valign="top"><strong>Red Hat </strong></td>
<td width="190" valign="top"><strong>Red Hat Cluster Suite</strong></td>
<td width="175" valign="top"><strong>Linux</strong></td>
</tr>
</tbody>
</table>
<p><strong>My next update in HA-Clustering would be about configuring the HA clusters in live environment.</strong></p>
<p><strong></strong></p>
<p><strong>Wait for a couple days&#8230;.</strong></p>
<p>Regards,<br />
R.Gopinath</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.neuronring.com/blogs/computer/unix-and-linux/high-availability-clustering-types-and-advantages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
