webhosting setup

Hi, i was wondering if someone could help me with a server setup. i wanted to make my servers redundent so i mirrored 2 drives and it has a redundent PS. what should i do incase the network goes down? i was thinking of putting another server in another data center and using it as a backup server incase the main sever goes down.

let me know what i should do..
thank you
willlkAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michael WorshamStaff Infrastructure ArchitectCommented:
Redundant web hosting is more of a infrastructure and environmental setup than anything. Adding in another data center is better for disaster recovery means, but not always a plus for load balancing needs.

You will need to look at making, at a minimum, two of each environment: web server and database server. Depending on your Linux operating system, there are different routes you can take for doing this. Think more along the lines of 'load balancing' than 'disaster recovery' for redundancy.

0
willlkAuthor Commented:
how would i setup the hosting accounts on one server and the databases on another? Cpanel and WHM only use on server right? or can i cluster servers together?
0
Michael WorshamStaff Infrastructure ArchitectCommented:
First off, do you rightfully own the machines or is this part of a 'shared' hosting environment?

If its the latter, redundancy isn't really an option. Redundancy is geared more to those that have dedicated server hosting needs. You will need hard access to the boxes to run scripts from the command line, either as sudo or root directly.

One of the first things I recommend is putting together a project plan of what you are wanting to do -- based on the number of web sites you are looking at hosting, modules each web server will be handling (i.e. PHP, Drupal, Joomla, etc), the type of databases you are going to handle (i.e. Oracle, MySQL, Postgres, etc).

---

Currently where I am working on a contract, our web servers are running three RHEL 5 with GFS (Global File System) Apache/PHP web servers. We also have two MySQL database servers setup utilizing a master --> slave replication for its databases. All of these sites are hooked into a RAID-5 SAN environment for web data and database storage needs.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

TintinCommented:
Ideally you'd have a load balancing switch in front of your servers.  This could be configured to do load balancing and/or failover.

However, that's probably not an option for you, so the next best option is probably to use DNS with a low TTL (time to live) setting, so that if your primary server goes down, you can switch the DNS to point to your secondary server.

As for synchronisation between the servers, it depends a little on the data you have, but you'll probably find a scheduled rsync every hour will suffice.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
willlkAuthor Commented:
if i was to put a load balancer would the backup server have to be the same specs or can it be a little dumbed down?
0
TintinCommented:
The backup server can be any spec you like.  It's up to you as to how close you want it to be in terms of your primary server.
0
willlkAuthor Commented:
do you think its ok for now to use the one server for hosting? should i just wait till the server is really being used?
0
TintinCommented:
>do you think its ok for now to use the one server for hosting?

That's a question for you to answer.  How reliable is the hardware, the network?  How critical is the application/website?

If you think there is any risk and you can't afford any major outages, then wait until you have a failover setup in place.
0
willlkAuthor Commented:
thank you for your help everyone! :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.