Server Clustering
Aug 25, 2007
I am trying to setup a server cluster for my client and was thinking about load balancer.
Currently he has 4 Servers and 1 VPS.
4 Servers are in the same datacenter while VPS isn't.
Now from my thoughts about the system load, I have decided to setup like this:
VPS being the load balancer
2 Servers being the Apache
1 Server being Storage server
1 Server being MySQL
This will be hosting two forums that has very high concurrent access.
Now the problem is VPS has only 200GB/mo bandwidth while he needs about 800GB total.
My question is is there anyway to load balance the servers without the traffic going
like this:
LoadBalancer-->Apache Servers-->LoadBalancer-->USER
If the traffic goes like that then VPS needs to have about 1600GB bandwidth and will have network bottlenecks.
I would like the traffic to go like the following:
LoadBalancer-->Apache Servers-->USERS
View 7 Replies
ADVERTISEMENT
Jun 20, 2008
Im going to start to plan to build a new hosting setup within my business and aim to slowly move away from the shared hosting scene and move into clustered (web hosting)
Now im not great with words so i am sorry if any of this doesnt make sence.
Im looking to build a setup using 5+ Dedicated servers, using a cluster config and using something like plesk on top to offer high availability hosting. As i understand it using a clustered setup will provide a much higher chance of keeping 99.9/100% uptime as it eliminates a single point of failure.
But what im un sure on and what ive not learnt about yet is what is needed to make this work, what kind of software is involved and how would the Hard-drive arrangement work. For example
If each server had 5 Hdd's in Raid5 totaling 1TB Space and there was a total of 5 servers, would there still be 1TB space overall of does it work slightly different to that?
View 7 Replies
View Related
May 24, 2009
I'm not into Dns Clustering that much all I know is some articles and threads about how to do it, and the benefits
Anyway I decided to give it a try 1st with minimum fees
so I want to host my Main domain website on a VPS, as it don't need much resources and using it as a Primary Dns Server
and use my current server as a Slave DNS server that is contain most of my client sites
It's logically possible as I see but..
Is there any Disadvantage? if exist what is it?
Do I have to make both on the same DC?
Will it affect my Slave DNS Server Performance, Stability and Load?
View 0 Replies
View Related
May 25, 2009
What are the pros and cons of setting of a DNS cluster over multiple VPSes?
View 1 Replies
View Related
Apr 28, 2008
I just set up a cPanel DNS Cluster today. Followed the guide, and everything didnt according to my plan. As in, setup went fine, setting it up went fine too. But I do not think I understood how this solution works in real... or atleast I had assumed it to work in a different way.
So for my questions...
1) How and where do I edit the DNS Zones. On the local system or the DNS dedicated server?
2) How do I create nameservers for this dedicated DNS server? Not the registrar part, but the A record and NS record part.
3) Small doubt, not a big one. Does the DNS server have to be in stand alone mode or synchronized mode?
View 6 Replies
View Related
Jul 18, 2007
I'm currently using Cpanel on all our web hosting machines (total of 6 machines). Each runs its own DNS but also uses the Cpanel cluster feature to sync between all machines.
This has got to the point where DNS updates will not stay, the machines get very lagged etc etc. Now I have put 2 more machines online to do nothing but DNS.
What is the best way to set this up?
View 5 Replies
View Related
Sep 9, 2007
Our server is going down due to several reasons. We decided use load balancing or clustering solution. What are the main difference between load balancing and clustering?
View 5 Replies
View Related
May 5, 2008
I am working on setting up a few servers that run cPanel and the usual software, minus any sort of DNS server. These servers are setup to sync all DNS records over to a cPanel "Dns Only" (ns1.domain.com), which in turn syncs all its records to a backup DNS server (ns2.domain.com).
In other words:
[Domain registrar]
| |
[NS1]--Sync-->[NS2]
|
(Sync to NS1)
|
Cpanel Web Server
Now, say something happens to NS1 and the sever goes completely offline (i.e. power supply dies, CPU goes bad, etc.), which of the following scenarios would actually happen:
1) Because the registrar lists both NS1 and NS2 as NS records, NS1 would time out and the DNS lookup would look to the secondary DNS (NS2) for the record.
2) The registrar would randomly give out NS1 OR NS2 because of round robin, and if NS1 is given to a client as the result of a DNS lookup, the site will appear down, however if the client happens to be referred to NS2, the site would appear online.
3) The site would be down no matter what.
So, if someone with knowledge on the subject wouldn't mind enlightening me as to which of those would actually take place in the event of a failure on NS1, and maybe some suggestions as to keeping the DNS truely "redundant", then I would greatly appreciate it.
And Im aware that there are many 3rd party services that will take care of the DNS records and make them redundant (DYNDNS, DNSMadeEasy, etc) But I would prefer to keep the DNS in our full control.
View 6 Replies
View Related
Feb 28, 2008
Is there any alternative to ZendPlatform's session clustering? ZendPlatform seems to be very easy to manage.
View 0 Replies
View Related
Oct 23, 2007
I have been searching and searching for a solution. We are currently using one single vps to host some of our clients. We are finding more and more that we need to have some redundancy.
I have looked at using DNS failover using RSYNC/mysql replication etc with two servers, but just dont like the idea.
I have also looked at hosts like imountain etc that use h-sphere. I dont like this setup because services are split onto single machines. For example mail is done on one single server, therefor if that server is down, mail is down.
What I am looking for:
I am trying to stay in a budget of 150/month or less.
I would like to get one of the two options here:
option 1: two vps's or dedi's that technically act as one(a true cluster) then on top of that is OS and control panel and done. This solution doesnt allow for whole datacenter outages, or network issues.
option 2: Two geographically placed vps or dedi's that are somehow either load balanced, or failover.
Ultimately our goal is to have high uptime, but we dont really have much server load.
Basically failover is ok as loads are always low anyway, but if we are paying big $$ it would be nice to have it load balanced.
Please let me know if my expectations are way to high or my price is way too low. I need to find a solution here somehow and if I cant find anything will most likely just go with DNS failover.
View 14 Replies
View Related
Nov 6, 2007
I am going to build a clustering system for a customer. It's around 15 servers running apache, mysql and mail. Wondering which switch do you recommend for that? I am using a HP Procurve 2524 for another smaller system, but customers face to slow performance *sometimes*
For the feature, dont need much. Dont need routing feature (Layer3 switch?), just to connect all of them into a clustering system.
View 5 Replies
View Related
Mar 29, 2009
I have a 2 cPanel DNSonly cluster setup for all our hosting operations.
However, we are adding a Windows Domain Forest (for Outlook "push-mail") for this the windows server needs to be its own DNS server. We are also planning to host sites on the windows server (no control panel).
Is there any way that I can allow cPanel to use Windows DNS as the new "cluster" and update/delete/add records of DNS to the windows machines?
Same would apply to this question, we are thinking about adding a Directadmin test box, but we want to keep our NS1 and NS2 cluster so they all work with it. Is it possible? What is the feature called if you can't elaborate on it so I can research it?
View 1 Replies
View Related
Sep 21, 2007
So would the load times be noticeably longer if I ran load balancers, and then had my web servers nfs mounted to file servers / san and connecting over the network to database servers? It seems like a lot of network overhead to deal with.
View 2 Replies
View Related
Jun 14, 2008
I'd like to get your recommendations on how I should approach this problem. I posted this in another part of the forum, but I feel that this is a more appropriate place for it.
Problem:
How to handle large amounts of traffic with for a social network website? If a user uploads a photo or video, how does it become accessible on all of the server? If traffic is expected to be about 500,000 visitors a day, how many machines do you think I should use?
Possible Solution:
I've come up with the following possible infrastructure.
One load balancer. The load balancer has 3 PHP/Apache servers behind it. Behind each of the PHP/Apache servers is a (slave) MySQL server, from which data is read. Behind the slave MySQL servers, there is 1 master MySQL server, which handles all of the database writes. The master MySQL and slave MySQL servers are synced up, so data is up to date.
The actual photo and video files are not stored in the database, only the links to them is stored in the database (to keep the database small). The photo and video reside in a central location (like a SAN or NAS), which is accessible by all of the 3 PHP/Apache webservers.
Questions:
1. How many machines do you think will be able to handle photo and video uploads for 500,000 visitors a day?
2. Is having a SAN with Terabytes of RAIDED disk space an available option?
3. If a SAN or NAS is not an option, does anyone have any ideas on how to make sure all of the web servers have access to the same photos and videos? Is rsync a viable solution?
4. Which hosting provider do you think I should go with?
5. Is clustering what I need? What is clustering and how will it address my concerns?
View 1 Replies
View Related
Jun 14, 2008
I'd like to get your recommendations on how I should approach this problem.
Problem:
How to handle large amounts of traffic with for a social network website? If a user uploads a photo or video, how does it become accessible on all of the server? If traffic is expected to be about 500,000 visitors a day, how many machines do you think I should use?
Possible Solution:
I've come up with the following possible infrastructure.
One load balancer. The load balancer has 3 PHP/Apache servers behind it. Behind each of the PHP/Apache servers is a (slave) MySQL server, from which data is read. Behind the slave MySQL servers, there is 1 master MySQL server, which handles all of the database writes. The master MySQL and slave MySQL servers are synced up, so data is up to date.
The actual photo and video files are not stored in the database, only the links to them is stored in the database (to keep the database small). The photo and video reside in a central location (like a SAN or NAS), which is accessible by all of the 3 PHP/Apache webservers.
Questions:
1. How many machines do you think will be able to handle photo and video uploads for 500,000 visitors a day?
2. Is having a SAN with Terabytes of RAIDED disk space an available option?
3. If a SAN or NAS is not an option, does anyone have any ideas on how to make sure all of the web servers have access to the same photos and videos? Is rsync a viable solution?
4. Which hosting provider do you think I should go with?
5. Is clustering what I need? What is clustering and how will it address my concerns?
View 11 Replies
View Related
May 23, 2008
I currently have a server (Xeon 1x5310, 4gb RAM, 4x500gb hdd in Raid 10) with Windows 2003. Now do to a project I'm looking at installing Windows 2008 and upgrading to 2x5310 and 16gb of RAM on my server.
I'm looking to create a virtualized test environment for development of a new web service I'm working on. What I'm looking to develop right now is 2 file servers, 3 web servers, 3 MS SQL database servers and 1 DNS server (would prefer but not sure if hardware can handle it. Virtualization would be ideal as this is very similar to what we believe will we have when we launch the service.
I have a few questions I'm hoping you might be able to answer:
1) With the upgraded hardware specs, should it be able to handle the load if I assign each virtual entity 1 core with 2gb of RAM each?
2) I would like to create each of the multiple servers in a cluster (ie cluster of webservers) as this is how it will be in production. But, I've never worked with clusters before so:
a) where can I learn about clustering windows 2008 servers?
b) is this possible to do in a virtualized environment?
3) How does MS work the licensing? I want to have each server running Windows 2008 and 2-3 of them running SQL Server 2005.
a) Do they charge extra for each virtualized server?
b) Does this mean I have to purchase 3 complete copies of SQL Server or is there a way I can pay a low license fee for use in a non-commercial, non-production environment?
4) Does anyone see any problems with this setup or have any suggestions for me?
* I do have money available to spend on a good solution, so if you have suggestions that cost please let me know. I just thought virtualization would be the way to go as the project will be in development for at least a year with no public access.
** I realize that Hyper-V hasn't been released yet (that I know of) so information on it might be limited
View 2 Replies
View Related
May 8, 2007
I've got a VPS which is serving as the main server for a number of sites. Web Server, SSH Server, and Mail Server.
What I've got running:
Apache2, PHP5, MySQL5, Dovecot, Postfix
One of the sites is a growing forum with a MASSIVE photo album. This is the site where I notice the most slowness.
Changing the server software is not an option - Only optimization.
Quote:
Originally Posted by httpd.conf
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 8
MinSpareServers 8
MaxSpareServers 13
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 50
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
Include conf.d/*.conf
User apache
Group apache
Quote:
Originally Posted by my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
View 8 Replies
View Related
Mar 7, 2009
I looked a lot - can not find solution ....
I want to transfer a file from [url]to [url]or [url]Without it will pass my localcomputer (slow upload)
It can be also a script i will install like this one - this is only for images
[url](remote)
View 7 Replies
View Related
Oct 16, 2013
I have Plesk 11.5 (service provider mode) on a Windows 2008 server IIS7.Most of my sites are developed in .asp and therefore i use a custom 500-100.asp error page that check s the IP of the visitor then displays either a friendly error, or if its my IP a full error of what has happened (it also emails me the error). This allows me to debug pages easily whilst developing and to keep an eye on anyone trying SQL Injection hacks on my sites (as the error and email also have session variables and IP address).I dont have root access to the server as it is a Webfusion dedicated server.I have following the Plesk documentation -
1) Switch on custom errors for the subscription
2) Look in virtual directories and navigate to error documents
3) Find the error in question (500:100) and change it to point at either a file or URL
FILE - I had the data centre add in the 500-100.asp error page in to the virtual template so that my page is available in the list of virtual files - this didn't work but that maybe because its not a static page??
URL - when i add the path it says its incorrect, if i add a fully qualified address, it accepts it but it doesn't work.give me a specific example of the URL that can be entered relative to the root as the format in the documentation isn't accepted. The last step is to restart IIS which is also an issue as i cant seem to do this from the Plesk panel..It is as if it isn't catching the 500:100 error, and only catching the general 500 error??
View 1 Replies
View Related
Nov 21, 2006
I am currently running Google Analytics/Urchin 5 (v5.7.02), on a server, the server has started to act up, (on its last legs etc) and now I am trying to transfer the Urchin Software to a new server, where it would work effectively.
However upon installing the urchin software on the new server and running it (localhost:9999), I am presented with An Action Items Page, and these following choices
Obtain Demo License
Buy License
Activate Pre-Purchased License
I choose ‘Activate Pre-Purchased License’ pop in the Serial number and complete the registration then…
---------------------------------------------------------
Urchin Licensing Center -- Error!
An error has occured during your transaction, please use the back button and correct the problem. The specific error message is:
• Unable to generate a license. Some possible reasons:
Your serial code is currently active <<< How do I disable it and use it on another server?
---------------------------------------------------------
So all I want to do is deactivate the serial and reactivate it on another server.
Does anyone have experience with this or a similar problem or have a solution to this problem. Any help be most appriciated.
Or even a Contact Number so that i can get some one over the phone!
View 2 Replies
View Related
Nov 7, 2009
This is the scenario, domain.com are setup on server1, however server2 also has the same profile of domain.com as we use ns3 and ns4 using domain.com. This works fine with the nameserver setup on server2.
However I encounter problems as the emails from server2 won't reach server1 as there are duplicate profile on server2.
My question is how do I setup the DNS in cpanel/whm from server2 so the emails from server2 will reach server1?
Server1 (www.domain.com)
ns1.domain.com
ns2.domain.com
Server2
ns3.domain.com
ns4.domain.com
View 6 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
May 12, 2009
Remote Spamassassin for Multiple Smartermail Server
I want to setup Remote Spamassassin(On Linux) for Multiple Smartermail servers. I want to the setup the spamassassin on a linux box
How i can setup this with multiple smartermail servers.
View 6 Replies
View Related
Jul 4, 2007
what is the fast and best way?
View 4 Replies
View Related