Setting up Cluster Configuration using an existing web server as a Primary Node?

Posted by RapidWebs on Ask Ubuntu See other posts from Ask Ubuntu or by RapidWebs
Published on 2013-07-02T16:02:26Z Indexed on 2013/07/02 17:15 UTC
Read the original article Hit count: 268

Thanks in advance for any help which is issued!

I am having a slight issue, and need help with the decision making process when it comes to setting up my Cluster Configuration, consisting on a line of Ubuntu Servers (12.04).

We currently have a Primary node, which resides in the US within a Datacenter, but we are going to be using this for all serious bandwidth and resource intensive websites, and through a configuration of Virtualmin + Webmin, will be setup as a sort of pseudo-cluster, using Virtualmins Cluster Modules.

Anyways, on to the issue:

We also have a business line setup locally, with three servers. here are their specs:

  • Intel P4 2.4 ghz, 1GB Ram, 110 gb sata, Ubuntu 12.04*

  • AMD 1.3 ghz, 512MB Ram, 20 GB IDE

  • P3 Xeon 800mhz (dual physical processors), 1GB Ram, 3 * 25 GB Raid Configuration (one in use for host operating system).

  • The first machine is currently IN USE and is serving virtual hosts off a sub-domain.

My question is this: How can I integrate the Secondary node (which will be the Primary node per say, in this smaller configuration...) which is currently in use, into the cluster configuration w/ the other two servers for:

  • Sharing Resources
  • Redundancy (HA?)
  • NFS /w the two Raid Disks

without having the FORMAT the secondary node, and start fresh moving all my services in to a DRBD network drive or something similar, and than restoring all active virtualmin's Virtual hosts.

the idea is that I want minimal downtime to people currently being served from server2.mywebsite.com, and from what I understand, all services need to be on a NFS so that they can be mounted on demand and accessed from the other machine taking over (i.e. Heartbeat + DRBD Config.)

but my issue is that i already have all these services installed to their default directory structure:

how can i most easily setup this NFS and HA system, move all my desires services to this new drive, and do it with minimal down time, and without breaking Virtualmin and everything else on my server?

even just some pointers, a thread i could read, or a step by step check list or run down of commands i could issue to get started would be great!

thanks!

© Ask Ubuntu or respective owner

Related posts about server

Related posts about raid