How To Setup Cluster/High Available Server
Nov 7, 2009
i have ideas about clustering server with spread country/datacenter.
example: i have 5 Server spread around the world, server 1 in US, server 2 in German, and other country for next server.
server 1 will be main server, when server 1 down, it will goes to server 2, and continue to the next server.
all site/file and other stuff will be mirror on all server.
so it will be 100% Uptime!, and never LOSS anything!.
and my question is how to do that, maybe someone expert want to share with me.
View 11 Replies
ADVERTISEMENT
Feb 23, 2008
I have started to move my websites over to my UK Colocation But would like a little guidence on what the best solution would be.
I would like to build up a Server Cluster that will handle all of my sites really and also have redundancy, so If 1 server goes down the other Web/SQL/Whatever server will be used instead.
I have websites ranging from large forums to streaming & download websites.
Should I got for a setup for example:
X Web Servers + X Database Servers
Connected to X Storage (see link below)
Connecting the Web Servers in something like a a round robin config or use a Load Balancer / Other
OR Should I setup multiple:
Web Server + Database Server + Media Server
OR another config?
Below are my current setups
Current UK Setup (Colocation)
Web Server
Quad Core, 8GB Ram, 250gb HDD Raid 1
Quad Core, 8GB Ram, 250gb HDD Raid 1 (just ordered)
SQL Server
Quad Core, 4GB Ram, 250gb HDD Raid 10
Storage Server
HP StorageWorks NAS 1200s 1TB (just Ordered)
Link: [url]
Current US Setup (Dedicated Servers)
Web Server
Quad Core x2, 8GB Ram, 3TB HDD
SQL Server
Quad Core x2, 8GB Ram, 1TB HDD
Media Server
Quad Core x2, 8GB Ram, 3TB HDD
Dual Core, 4GB Ram, 3TB HDD
Backup Server
Dual Core, 2GB Ram, 1TB HDD
View 5 Replies
View Related
Jul 7, 2009
Hi there, i have few question for the best suited DNS Setup for our compagny.
We have tree server located in montreal.
Two are running web services, one of them is only for dns ( home server ).
Two main server have Whm/Cpanel.
One run Cpanel Dns only.
Main server have 7 ips each
Dns server, only have 1
Let say we use domain xxx.com
Right now we have ns1/ns2/ns3/ns4 point to server1
ns5/ns6/ns7 point to server2
We have no Nameserver that point to our dns only server for now.
I'd like to advoid runing DNS Service on all of them, maybe having two slave one master would be fine. Question: What would be the best suited dns setup with my current config for best responding time and fast replication?
View 0 Replies
View Related
Mar 13, 2008
I work in a DC and am looking for a better way to deal with clients who have multiple servers hosted with us.
Heres the scenario. Client buys a server or two at the beginning, with a HW firewall or they are clustered together and require their own switch and down the road, they like what we do and want to buy more servers.
However, we've been selling other servers and the only way we would be able to accommodate them would be to run a cross connect to another cab with their new server in it. Hopefully you can see where I am going with this.
This can keep happening multiple times and with multiple clients. and eventually you can end up with spider web of cable everywhere .
My thought of doing it right but more work would be to schedule down time with a client and migrate all the HW to a new cabinet where they can grow.
Weve also been tossing around ideas like getting projected growth from clients and setting aside space for them to having dedicated cluster cabinets.
how do other DCs handle situations like this?
View 11 Replies
View Related
Jun 15, 2008
if I could get some input on this. Currently I'm running an Opteron 246, 2GB RAM with 2TB bandwidth/mo. I run a single site which is currently 99% HTML, along with an invision forum which is fairly popular. I get about 300-400k pageviews per day.
Right now the server is able to handle this stuff without much of a problem, and the average CPU load is between .5 and 3 (after a TON of tweaking!) - the only exception is when the forum db is being backed up/optimized, which isn't a huge problem since it happens during the off hours.
The problem is that I'm running out of bandwidth quickly, and need to come up with some kind of solution soon. My current provider offers bandwidth at $1/GB, which to me seems crazy compared to other providers, so that's not really an option.
I was thinking about switching to a more affordable provider and upgrading hardware, but I'm not sure what the best approach would be. I'm in the process of moving my HTML content over to a PHP-powered CMS, so I need to make sure whatever I do can handle that... What might be a decent setup for a site like mine which consumes a lot of bandwidth and will probably need more CPU power in the near future for PHP/MySQL stuff?
View 8 Replies
View Related
Jun 17, 2008
This is clearly the next logical step in hosting. Consider what RAID1 did for hard drive availability. Worried about your disk failing? No problem - throw in a duplicate. From a user/admin perspective the mirrored disks appear as one, highly reliable disk. Every modern OS supports this, even cheap motherboards support it, with a minimal amount of configuration.
The perfect high availability cluster should be completely transparent. Think about it... What if clustered hardware allowed you to manage a single instance of your chosen server OS with no worries about hardware/network/power failure?
The closest you can get to this finding a host that will give you a dual power supply server connected to different power feeds, dual network cards connected to different switches, and hot-swappable mirrored hard drives. This solution still doesn't give you any protection from CPU, memory, or motherboard failure.
I want a solution that is as simple to configure and manage as simple RAID1 mirroring.
View 14 Replies
View Related
Aug 10, 2007
I already have a VPS with Knownhost but since i'm hosting a critical application i really need High Availability.
Could anyone recommend a company that can provide me this?
I rent a VPS with them + pay additional tax and they conf a VPS Cluster.
The application is PHP + Mysql based. Everything is stored on MySQL and the PHP is only changed when there is a upgrade. Also, PHP is compiled with Ioncube ( doesn't know if this matters ).
View 10 Replies
View Related
Oct 3, 2008
creating a setup that will host a site which is expected to receive 50-60K visitors in the first few hours after its launch. The site is membership based and the backend (member system) runs on PHP5-MySQL5.
Here is what I have thought of until now.
Site's sales page (which also happens to be the first page that visitors hit) hosted with Amazon S3 service. All public media files are off loaded to amazon S3 service to keep the number of requests on the hosted setup to minimum.
At the front we can have a high performance firewall like Cisco ASA 5520 followed by two dedicated load balancers in Active/Active state.
Behind the load balancers we have 3 front end servers acting as web-servers. These have SAS disks, 4GB RAM, RAID 1 setup, Dual Xeon Quad core processors each.
Behind the front end servers - we have a dedicated load balancer for the database cluster.
The database cluster consists of 3 Storage/API nodes and one of the front end servers acts as the management node. Each storage node has 8GB RAM, Dual Xeon Quad core processors, 4x RAID 10, SAS setup.
The private network is on a GigaLan.
Do you see any possible/obvious flaw in this design or anything that should be added/subtracted from the setup?
View 14 Replies
View Related
Feb 20, 2008
I have a cPanel server with 4GB RAM
My server hangs time to time, once or twice a day. This is the last status when it happens.
Server Load 75.90 (2 cpus)
Memory Used 92 %
Swap Used 65.78 %
When I was still inside SSH when it happens, the processes I can see inside "top" are a lot of httpd processes.
So I "killall -9 httpd", I had to do it 30~40 times
#killall -9 httpd
#killall -9 httpd
#killall -9 httpd
x 30~40 times until no pid process found & the server load is back to normal.
Before that, I check httpd fullstatus, they look very normal, same goes to what I see inside WHM Apache status & cpu usage status.
At first I thought it was a memory problem after consulting with a server admin, so I replaced all 4GB new ram stick (such a waste)
View 12 Replies
View Related
Oct 31, 2009
My server is very slow, High CPU, High Apache load....
I got a new server and i had setup a script on it.
No server tweaks has been done.
I run a filehosting site so it gets very slow when traffic is high.
Here is some info:
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4135 filedip 19 0 12812 8892 2212 R 18.9 0.4 0:00.74 index.cgi
3140 apache 15 0 22624 9604 2768 S 17.3 0.5 1:54.45 httpd
3556 apache 15 0 22792 9592 2768 S 17.3 0.5 0:43.53 httpd
3739 apache 15 0 22672 9556 2744 S 17.3 0.5 1:09.67 httpd
3884 apache 15 0 22664 9560 2744 S 17.3 0.5 0:23.98 httpd
3474 apache 15 0 22672 9572 2756 R 16.1 0.5 1:34.09 httpd
3548 apache 15 0 22792 9560 2740 S 16.1 0.5 1:33.67 httpd
3991 apache 15 0 22640 9588 2756 S 15.1 0.5 0:22.44 httpd
3475 apache 15 0 22672 9580 2756 S 13.2 0.5 1:31.42 httpd
3493 apache 15 0 22664 9592 2768 S 12.9 0.5 1:15.52 httpd
3769 apache 15 0 22664 9580 2756 S 12.9 0.5 0:45.19 httpd
3638 apache 15 0 22664 9576 2756 S 12.3 0.5 0:32.82 httpd
3724 apache 16 0 22664 9580 2756 R 12.3 0.5 0:34.25 httpd
3626 apache 15 0 22672 9580 2756 S 11.7 0.5 0:52.54 httpd
4023 apache 16 0 22792 9560 2740 R 11.3 0.5 0:13.16 httpd
3882 apache 15 0 22664 9576 2756 S 10.1 0.5 0:38.56 httpd
3005 apache 15 0 22672 9588 2768 R 9.1 0.5 2:06.61 httpd
I dont know much about server managment...
how to fix this so server doesnt go slow?
View 6 Replies
View Related
Jul 2, 2009
I have a site that is eating up my server resources and need to know what the best solution for this is. I'm thinking of getting another server just for mysql but do not know what specs the server should be to handle the current traffic/database load and have the site run smoothly without slowing down to a snail's pace.
An alternative is to get another server just for the videos being served and leave the database and html on the current server. This is where I'm stuck and don't know what route to take with this.
My current server stats:
Dual Xeon 5130
4GB RAM
250GB
50 Mbit/sec
CentOS 3.9
Website traffic stats:
15,000 visitors/day
150,000 pageviews/day
Serving videos
I've attached screenshots of top and bandwidth usage per day. Hopefully with this information you could tell me if I need another server or if there are any things I can do to the current server to help things move faster.
View 13 Replies
View Related
Jul 27, 2006
I´m running 4 servers on a cpanel - dns - cluster.
- 1 running cpanel (srv01)
- 3 running cpanel-dns-only (cluster01 - cluster03)
My DNS config is:
srv01 - dns1.domain.com
cluster01 - dns2.domain.com
I ´ve setup on srv01:
- cluster01 (synchronize changes)
- cluster02 (standalone)
- cluster03 (standalone)
On cluster01:
- srv01 (synchronize changes)
- cluster02 (standalone)
- cluster03 (standalone)
And on cluster02 and cluster03, I did something like that:
- srv01 (synchronize changes)
- cluster01 (synchronize changes)
- cluster03 (standalone)
And
- srv01 (synchronize changes)
- cluster01 (synchronize changes)
- cluster02 (standalone)
1. So, is that correct?
2. It seems that when I click on 'syncronize all DNS records on all the servers' only cluster01 and srv01 got all the DNS records. So is it normal?
Yet If I add a domain on cluster02 for example, where I need to add the DNS? cluster02 named.conf or on cluster01/srv01?
View 1 Replies
View Related
Feb 1, 2009
when cluster server will be avalaible?
and I'm curious about the space and bandwidth of this service
View 6 Replies
View Related
Aug 27, 2007
i am going to use with hsphere preferently i want to use Dell blade server 1955 with exchange and sharepoint, cause the low HD capacity i will like to add and HD array could be NAS or SAN,
View 10 Replies
View Related
May 27, 2007
put together a high availability cluster for a PHP + MySQL based app to run on a LAN. We're going to use Linux, and cost is a major consern. The app itself doesn't use / need too much resources, as it will only be accessed by 2 / 3 people at a time, so I'm using the following:
2 identical PC's with:
3Ghz PIV CPU
1GB RAM
2x SATAII 160GB HDD space setup as RAID 1
10/100 Mbps LAN NIC's, on a 100MB 8 port switch
Up to now I have been running MySQL-Max 5.0.15 to run a MySQL master-master replication server, which works fine, but the setup involved a lot of manual work, and downloading of the right binaries.
Furthermore I used Linux Heartbeat todo auto switchover between the two servers & RSYNC to sync the application files between the two. This has been working fine untill one of the server's HDD's failed recently corrupting both HDD's
So, I need a better way of doing this, and want to meet the following requirements:
If 1 HDD fails on either server, the server still needs to be able to run without a problem.
Replacing a HDD & rebuilding the RAID array should be easy to manage, preferabbly over the net.
Setting up a cluster should be easy to manage, both for the MySQL DB server & the files that need to be synced between the two machines Re-installing the server should be easy todo as well.
For No.1 I have been thinking of setting up RAID 5 with 4x HDD's - how reliable / safe / redundant is this?
For No. 4 I have been thinking of using something like sysimager to backup the server once setup, but will / can it recreate the RAID array upon restoration? The MySQL DB & PHP files are being backed up to a removable HDD on a daily basis.
The client is 700Km's away, so we can't just drop-in to fix things as often as we like. Thus redundancy is of utter importance. Currently I'm running Suse 9.3, simply due to the fact that it's easy enough to tell the client over the phone howto do things with YaST. Suse 10.1 will be used for the new setup, but I could also use Fedora Core 5, and have also been thinking of using SME server 7.0.
View 1 Replies
View Related
Sep 1, 2007
Was thinking about running an email server for some local businesses, so they can out source their IT systems (cheaper).
Now setting up a mail server, say running DirectAdmin is normally fine.
However this is a "mission critical" service to these guys, so I want 9.9999% uptime !
I was thinking of getting a few VPS's around 384MB RAM, 20GB HDD spec in the same DC but on different nodes and setting up a cluster...
And then I thought..... How the hell do I do that..? WHT must know.....
View 10 Replies
View Related
Jul 9, 2007
I have 4 dedicated servers in 1and1 and i want to create a server cluster for windows media services to stabilize the server load. i tried to add the second server details in the first server's windows media services and it always says, access denied message.
how can i give permissions to create a server cluster for windows media services? i didn't installed any additional firewalls in the servers and i am using this for only Windows media services so IIS is disabled. my configuration and server details are below...
Windows 2003 Standard edition 64 bit
Athlon
64x2 3800+
2 x 2,0GHz
1 GB Ram
View 3 Replies
View Related
Jan 12, 2006
I'm working on a huge project that will take like 2 months or so to release. The thing is, as I expect, this site is going to grow massively. My question is, How can I handle lot of traffic and give lot of space to my users? With a load balancing right? or server cluster? my question is? how does this work? where do I get it? what are the prices like?
All info on it is appreciated, i want to start with one from day one, so I can handle the grownth of the site once it happens.
View 2 Replies
View Related
Jun 16, 2008
I have a small dns cluster with 4 servers, the problem is that when i want to update a dns registry one of them doesnt sync, i have to try like 6 or 8 times to get that server to sync with all the others, and im concern because the one who gets trouble to sync is my secondary dns server
View 2 Replies
View Related
Oct 23, 2008
my current servers are part of this mess with Alphared:
[url]
what I'm looking for:
static content main server:
average cpu, average ram
15-20gb data tops, but could use a fast drive
need about 6tb/m of higher quality bandwidth
2 machine cluster for forums
only thing on this will be vBulletin forums.
current database is about 6gb (~7 million posts)
averaging about 800 members active per 15 mins
this isn't for a business, so it all comes out of my pocket. however, after the $#@! with Alphared I do recognize the importance of a good host and I am willing to put money toward that as needed. however, my goal is in the $600-$800/m range for everything.
is that price range doable? if not, what is a reasonable price for what I'm asking? and can anyone recommend reliable hosts (especially one that can correctly setup the cluster for the forums).
View 3 Replies
View Related
Jul 11, 2009
Could nameservers be setup in cpanel/WHM between multiple VPS so they could be used across them all or would that require dedicated servers?
View 5 Replies
View Related
Nov 24, 2008
Currently, I run cPanel servers for my clients and also host my company website on them. However, I now wish to place my company website on a seperate system running ISP Manager, and in order to connect the servers to my DNS I presume that I would have to use DNS clustering.
Here is my question - how would I create a DNS cluster between cPanel and ISP Manager? Anyone know how?
View 1 Replies
View Related
Apr 9, 2008
We have a quad code with 8GB ram dedicated for one website, but still the load goes through the roof and crashes the server. The site has one vB forum (with minimum hacks), and a custom CMS for the front pages which uses a minimum of queries.
I'm not an expert, but it would seem like mySQL is the one that crashes. When the site crashes and someone browse the site, you can see the "could not connect to mySQL through socket" error message. At that point the load just skyrocket (been up to 4-500), and then the server crashes and has to be rebooted.
* Is our only option to make some sort of cluster?
* Could upgrading to i.eg Apache 2.x or installing an op code cacher like xCache help?
* Is it possible to run the databases from RAM to save IO (so it only writes to the HDD on update/insert/delete etc)?
I have root access, so if you need me to run more commands to look up statistics, just let me know.
Server Specs: ...
View 6 Replies
View Related
Feb 4, 2015
I've added a new Apache/MySQL node to our PPA cluster and we'd like to be able to host a single subscription on that node for the Apache webhosting and MySQL databases for that subscription while allowing that subscription to utilized the rest of the shared resources in the cluster, such as mail, DNS, etc. I'm looking for the best way to go about doing that.
I guess one simple way would be to set the new server to 'ready to provide' and set the rest to not ready, add the "linux shared hosting" hosting subscription to the customer account, then switch the new server to not ready and the rest back to ready. That works fine I suppose in a small cluster, but there has to be a better way. Is there a way to craft a service template that restricts subscribers to a particular node for Apache + MySQL and leaves them to rest of the "regular" nodes in the cluster for other services?
View 1 Replies
View Related
Nov 14, 2014
This is my free -m
total used free shared buffers cached
Mem: 1998 1903 95 0 45 542
-/+ buffers/cache: 1315 683
Swap: 2662 36 2625
Not good ....
I got 5 wordpress and 5 statics website on this server and 100 visitors by 24H00 each day.
Question 1 : Why the memory is so low and the swap so high ?
Question 2 : Why i don't find high usage process in top command ?
Question 3 How can i resolve this problem ?
View 2 Replies
View Related
Apr 22, 2009
I just want to use a server for file sharing, it will have nginx and that's it. I'm looking at centos, or freebsd, but I been using centos forever now and I'm not sure how to use freebsd, should I just stay with centos?
Do I tell my hosting provider to just install the OS and give me ssh action and that's it? Don't install any control panels or any other stuff? I want one domain and one subdomain on it though and ftp action.
View 8 Replies
View Related