<div>Hi,</div>
<div>Hello to all !</div>
<div> </div>
<div>will you please guide me how can do a practice of clustrign as well as loadbalancer for testing enviorment can all of you please guide me what are the basic requirements </div>
<div> </div>
<div>i have three centos machine apache,Mysql and postfix is runing on these machines</div>
<div> </div>
<div> </div>
<div>-- <br><font color="#888888"><b><span style="COLOR: rgb(51,51,153)">Regards.</span></b><span style="COLOR: rgb(51,51,153)">.//</span><br style="COLOR: rgb(51,51,153)"><span style="COLOR: rgb(51,51,153)">Anuj Singh Chauhan</span><br style="COLOR: rgb(51,51,153)">
<span style="COLOR: rgb(51,51,153)">(Voice): 09013203509</span></font><b><br></b><br><br><br></div>
<div class="gmail_quote">On Tue, Feb 15, 2011 at 10:30 PM, <span dir="ltr"><<a href="mailto:linux-cluster-request@redhat.com">linux-cluster-request@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send Linux-cluster mailing list submissions to<br>       <a href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br>       <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>or, via email, send a message with subject or body 'help' to<br>
       <a href="mailto:linux-cluster-request@redhat.com">linux-cluster-request@redhat.com</a><br><br>You can reach the person managing the list at<br>       <a href="mailto:linux-cluster-owner@redhat.com">linux-cluster-owner@redhat.com</a><br>
<br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Linux-cluster digest..."<br><br><br>Today's Topics:<br><br>  1. Re: Cluster with shared storage on low budget (Gordan Bobic)<br>
  2. Re: Cluster with shared storage on low budget (Jeff Sturm)<br>  3. Re: Cluster with shared storage on low budget (Gordan Bobic)<br>  4. Re: Cluster with shared storage on low budget (Bob Peterson)<br><br><br>----------------------------------------------------------------------<br>
<br>Message: 1<br>Date: Tue, 15 Feb 2011 13:31:42 +0000<br>From: Gordan Bobic <<a href="mailto:gordan@bobich.net">gordan@bobich.net</a>><br>To: linux clustering <<a href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a>><br>
Subject: Re: [Linux-cluster] Cluster with shared storage on low budget<br>Message-ID: <<a href="mailto:4D5A803E.5090106@bobich.net">4D5A803E.5090106@bobich.net</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>Nikola Savic wrote:<br>> Gordan Bobic wrote:<br>>> Something else just occurs to me - you mentioned MySQL. You do realize<br>>> that the performance of it will be attrocious on a shared cluster file<br>
>> system (ANY shared cluster file system), right? Unless you only intend<br>>> to run mysqld on a single node at a time (in which case there's no<br>>> point in putting it on a cluster file system).<br>
><br>>   MySQL Master and Slave(s) will run on single node. No two MySQL<br>> instances will run on same set of data. Shared storage for MySQL data<br>> should enable easier movement of MySQL instance between nodes. Eg. when<br>
> MySQL master needs to be moved from one node to other, I assume it would<br>> be easier with DRBD, because I would "only" need to stop MySQL on one<br>> node and start it on other configured to use same set of data.<br>
<br>There is a better way to do that. Run DRBD in active-passive mode, and<br>grab the fail-over scripts from heartbeat. Then set up a dependency in<br>cluster.conf that will handle a combined service of DRBD disk (handling<br>
active/passive switch), file system (mounting the fs once the DRBD<br>becomes active locally, and mysql. You define them as dependant on each<br>other in cluster.conf by suitable nesting.<br><br>> Additionally, floating IP address assigned to MySQL master would need to<br>
> be re-assigned to new node.<br><br>You can make that IP a part of the dependency stack mentioned above.<br><br>> Slaves would also need to be restarted to<br>> connect to new master. Even without floating IP used only my MySQL<br>
> Master, slaves and web application can easily be reconfigured to use new<br>> IP. Do you see problem in this kind of setup?<br><br>If the IP fails over and the FS is consistent you don't need to change<br>any configs - MySQL slaves will re-try connecting until they succeed.<br>
Just make sure your bin-logs are on the same mount as the rest of MySQL,<br>since they have to fail over with the rest of the DB.<br><br>Gordan<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 15 Feb 2011 10:55:43 -0500<br>
From: Jeff Sturm <<a href="mailto:jeff.sturm@eprize.com">jeff.sturm@eprize.com</a>><br>To: linux clustering <<a href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a>><br>Subject: Re: [Linux-cluster] Cluster with shared storage on low budget<br>
Message-ID:<br>       <64D0546C5EBBD147B75DE133D798665F0855C0F4@hugo.eprize.local><br>Content-Type: text/plain; charset="us-ascii"<br><br>> -----Original Message-----<br>> From: <a href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</a><br>
[mailto:<a href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</a>]<br>> On Behalf Of Gordan Bobic<br>> Sent: Tuesday, February 15, 2011 7:05 AM<br>><br>> Volume resizing is, IMO, over-rated and unnecessary in most cases,<br>
except where data<br>> growth is quite mind-boggling (in which case you won't be using MySQL<br>anyway).<br><br>We actually resize volumes often.  Some of our storage volumes have 30<br>LUNs or more.  We have so many because we've virtualized most of our<br>
infrastructure, and some of the hosts are single-purpose hosts.<br><br>We don't want to allocate too more storage in advance, simply because<br>it's easier to grow than to shrink.  Stop the host, grow the volume,<br>
e2fsck/resize2fs, start up and go.  Much nicer than increasing disk<br>capacity on physical hosts.<br><br>CLVM works well for this, but that's about all it's good for IMHO.  I<br>prefer to use the SAN's native volume management over CLVM when<br>
available.<br><br>Haven't tried DRBD yet but I'm really tempted... it sounds like it has<br>come a long way since its modest beginnings.<br><br>-Jeff<br><br><br><br><br><br>------------------------------<br><br>Message: 3<br>
Date: Tue, 15 Feb 2011 16:17:03 +0000<br>From: Gordan Bobic <<a href="mailto:gordan@bobich.net">gordan@bobich.net</a>><br>To: linux clustering <<a href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a>><br>
Subject: Re: [Linux-cluster] Cluster with shared storage on low budget<br>Message-ID: <<a href="mailto:4D5AA6FF.8080608@bobich.net">4D5AA6FF.8080608@bobich.net</a>><br>Content-Type: text/plain; charset=windows-1252; format=flowed<br>
<br>Jeff Sturm wrote:<br>>> -----Original Message-----<br>>> From: <a href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</a><br>> [mailto:<a href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</a>]<br>
>> On Behalf Of Gordan Bobic<br>>> Sent: Tuesday, February 15, 2011 7:05 AM<br>>><br>>> Volume resizing is, IMO, over-rated and unnecessary in most cases,<br>> except where data<br>>> growth is quite mind-boggling (in which case you won't be using MySQL<br>
> anyway).<br>><br>> We actually resize volumes often.  Some of our storage volumes have 30<br>> LUNs or more.  We have so many because we've virtualized most of our<br>> infrastructure, and some of the hosts are single-purpose hosts.<br>
><br>> We don't want to allocate too more storage in advance, simply because<br>> it's easier to grow than to shrink.  Stop the host, grow the volume,<br>> e2fsck/resize2fs, start up and go.  Much nicer than increasing disk<br>
> capacity on physical hosts.<br><br>Seems labour and downtime intensive to me. Maybe I'm just used to<br>environments where that is an unacceptable tradeoff vs. ?40/TB for storage.<br><br>Not to mention that it makes you totally reliant on SAN level<br>
redundancy, which I also generally deem unacceptable except on very high<br>end SANs that have mirroring features.<br><br>Additionally, considering you can self-build a multi-TB iSCSI SAN for a<br>few hundred ?/$/? which will have volume growing ability (use sparse<br>
files for iSCSI volumes and write a byte to a greater offset), I cannot<br>really see any justification whatsoever for using LVM with SAN based<br>storage.<br><br>> Haven't tried DRBD yet but I'm really tempted... it sounds like it has<br>
> come a long way since its modest beginnings.<br><br>Not sure how far back you are talking about but I have been using it in<br>production in both active-active and active-passive configurations since<br>at least 2007 with no problems. From the usage point of view, the<br>
changes have been negligible.<br><br>Gordan<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Tue, 15 Feb 2011 11:24:26 -0500 (EST)<br>From: Bob Peterson <<a href="mailto:rpeterso@redhat.com">rpeterso@redhat.com</a>><br>
To: linux clustering <<a href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a>><br>Subject: Re: [Linux-cluster] Cluster with shared storage on low budget<br>Message-ID:<br>       <<a href="mailto:263367529.33108.1297787066881.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com">263367529.33108.1297787066881.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com</a>><br>
<br>Content-Type: text/plain; charset=utf-8<br><br>----- Original Message -----<br>| We don't want to allocate too more storage in advance, simply because<br>| it's easier to grow than to shrink. Stop the host, grow the volume,<br>
| e2fsck/resize2fs, start up and go. Much nicer than increasing disk<br>| capacity on physical hosts.<br><br>These might be good for ext3/4, but with gfs and gfs2 you can lvresize<br>and gfs2_grow while the lv is mounted.  In fact, we expect it.<br>
Just make sure the vg has the clustered bit set (vgchange -cy) first.<br><br>Regards,<br><br>Bob Peterson<br>Red Hat File Systems<br><br><br><br>------------------------------<br><font color="#888888"><br>--<br>Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br><br>End of Linux-cluster Digest, Vol 82, Issue 19<br>
*********************************************<br></font></blockquote></div><br><br clear="all"><br>