Hi Bong,

I agree with Christian in that the DRBD (RAID-1 over LAN) + Heartbeat
would be the top-of-mind suggestion for your requirement. Applied
somewhat literally, you end up with the unfortunate situation of having
one server sitting idly, possibly even failing without anyone noticing,
until one day its services are needed.

What you may therefore want to explore would be adding virtualization
(LXC, OpenVZ, etc) and having two DRBD partitions: one for the web
server container and its data, and another for the database server
container and its data. Have one server act as the primary for the web
server container and its related DRBD partition, whilst the other acts
as the primary for the database server container and its related DRBD
partition.

You maximise both servers, whilst ensuring that both are working: if one
fails you'll notice since you'll be operating at half your capacity, but
you will still be operating because DRBD and Heartbeat will kick in,
with the remaining server running both containers.

I hope this helps, and good luck.

Kind regards,
Jijo

--
Federico Sevilla III, CISM, CISSP, PMP, MACS CP
Chief Executive Officer
F S 3 Consulting Inc.
http://www.fs3.ph

On 01/03/13 20:08, Christian Foronda wrote:
> Hi Bong,
>
> I usually do DRBD+Heartbeat for HA setup. DRBD for realtime sync (aka
> network RAID1) and Heartbeat for communication between the two servers.
>
> http://www.linux-ha.org/wiki/Heartbeat
> http://www.drbd.org/
>
> Hope this helps.
>
> Regards,
> - CF
>
> On Mar 1, 2013, at 2:48 PM, Caloocan Gangsta <[email protected]
> <mailto:[email protected]>> wrote:
>
>> Hi Holden,
>>
>> Ok, here's the requirements.
>>
>> I have 2 servers with identical specs.
>> 1U server with single processor
>> 2 sata hardrives each having 1 terabyte capacity.(Raid1 or volgroup
>> whichever is preferable)
>>
>> Application that will run are the following:
>> Php webserver, Mysql
>>
>>
>> Both servers should replicate each other, if one server fail, the
>> other server take over and the services are still running.
>>
>> Thanks,
>>
>> Bong
>>
>> ------------------------------------------------------------------------
>> *From:* Holden Hao <[email protected] <mailto:[email protected]>>
>> *To:* Caloocan Gangsta <[email protected]
>> <mailto:[email protected]>>; Philippine Linux Users' Group (PLUG)
>> Technical Discussion List <[email protected]
>> <mailto:[email protected]>>
>> *Sent:* Friday, March 1, 2013 10:22 AM
>> *Subject:* Re: [plug] HIgh availability requirements
>>
>> On Thu, Feb 28, 2013 at 11:13 PM, Caloocan Gangsta
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>>     Hi Pluggers,
>>
>>     Would like to get your suggestion and howtos in providing high
>>     availability on my two server that will host Apache, i need to
>>     have a redundant connectivity even one of the server will fail.
>>
>>
>> Not that I am an expert on this, but your question is too general.
>>  What is your application?  What is its current setup?  Perhaps with
>> more details people can provide answers.
>>
>>
>> Holden 
>>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to