HA cluster on 2VPS servers.

Hi there,

I am new to clusters. I'm trying to configure a 2 node High availability cluster with 2 VPS servers.

Please any body explain how that can be done?

Regards,

Naveen.

4 Replies

http://www.linux-ha.org/wiki/MainPage / http://www.howtoforge.com/high_availabi … eat_centos">http://www.howtoforge.com/highavailabilityheartbeatcentos / http://www.howtoforge.com/high-availabi … ebian-etch">http://www.howtoforge.com/high-availability-load-balancer-haproxy-heartbeat-debian-etch

Something from that? Otherwise you'll have to inform us of what you tried/what exactly you are looking for and what issues you're having.

Hi Nivini,

I have two linodes in different locations, So i am planning to create a HA cluster using heartbeat.

I just want to know is it possible?

If yes,Please provide the procedure.

Regards,

Naveen.

Like I said, read the links I provided. If you're having issues you'll have to give more inforatmion. E.g. what you tried, and what doesn't work. Also more information about your actual setup will be needed

You mentioned you have servers in different facilities, so I will mention the following since it may be useful.

Imagine you had a Linode in Fremont and a Linode in Newark both serving the same site. You could use Amazon Route 53's latency-based routing and health checks (and short TTLs) to achieve the following: Under normal circumstances, users from the Western US and Asia Pacific would be directed to your Fremont Linode, and users from the Eastern US and Europe would be directed to your Newark Linode. If either Linode went down, after about 2 minutes of failed health checks, all users would be sent to the working Linode. Once the failed Linode came back online, users would once again be automatically sent to both servers, depending on their location.

I'm not sure how else you would achieve any sort of high availability configuration across multiple datacenters without using DNS to direct users to the appropriate facilities, and this is now relatively easy to set up with Route 53.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct