Clustering with Freebsd
Gabor Esperon
gesperon at isncom.com
Wed May 11 09:00:45 PDT 2005
On May 11, 2005, at 10:10 AM, Eric Anderson wrote:
> Dmitriy Kirhlarov wrote:
>
>> Hi Eric!
>> On Wed, 11 May 2005, Eric Anderson wrote:
>>
>>> Dmitriy Kirhlarov wrote:
>>>
>>>
>>>> Hi Brent!
>>>>
>>>> On Fri, 29 Apr 2005, Brent wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> I have a webhosting business all runnning on various Freebsd
>>>>> i386 boxes. I was wondering if there are any good howto's on
>>>>> doing this ? The services id like to cluster are,
>>>>> apache
>>>>> sendmail
>>>>> bind 9.2.3
>>>>> UW imap
>>>>>
>>>>
>>>>
>>>> replace to cyrus imapd.
>>>>
>>>> read about gmirror, carp, ggated.
>>>>
>>>
>>> How would gmirror and ggated help?
>>>
>> Replicate data between two hosts, but it not very fine solution --
>> cached data not replicate to second node, when first node die.
>>
>
> And it would only be for failover, not for load distribution/
> balancing.
>
> We really need a clustered filesystem for FreeBSD..
>
> Eric
>
I using ggated with freevrrpd for cluster failover. The freevrrpd
allow you to define scripts to execute whatever the main host in the
cluster goes down or up, so you can mount and execute startup scripts
for your services (ej: /usr/local/etc/rc.d/apache2.sh start), and
stop the service and umount when the main host goes up again.
More information about the freebsd-cluster
mailing list