CentOS 5 Server :: Web Server Clustering With Centos5.2
Mar 22, 2009
To clustering my web server so that it becomes Highly available. Its currently running php, apache and mysql with no redundancy in place. I want to be clustered so that if one node goes down then the second one will automatically take over. I have done that with HA in RHEL but I want to use centos clustering solution for this. Also how willl they share the web contents and mysql database among two nodes I have no idea. I have managed a iscsi target to store contents but it doesn't work as expected.
I'm looking to set up a clustered mail server, I kind-of know how I'm going to do it but wanted to check if there was a better way. So we have 3 mail servers, running as EC2 instances on Amazon AWS. We were going to achieve clustering by giving all three a shared EBS storage device to store the mail. The mail would be received by any of the three servers (Via postfix) and could be retrieved from any of the three servers (via dovecot). For receiving mail (SMTP), the domains would have 3 MX records pointing to each of the servers but for sending and retrieving mail (SMTP and POP3/IMAP) the three servers would have one DNS A record with 3 IPs associated (I know when using this method for web-servers, the load gets distributed among the IPs under that record but I'm not sure if this will work for SMTP/POP3/IMAP).
What we want is to have 3 servers that share the load equaly but are completely redundant for all services (POP3, IMAP and SMTP). We also need to be able to scale upwards so if we need to add more servers we can do easily. Also the servers must be perfectly synchronized at all times.
I am facing problem in postfix. I am using centos5.2.My postfix was running well but some strange problem it failed today.after that I wanted to restart postfix service , it does not restrat. But the postfix process is found in the process list( take memory and cpu ). Then i want to reinstall the postfix.The progress bar show it completed but not showing the completed message. I wait long time for the completion message but not display it and not return to command promt.When I cancel the command( ctrl+c) then the following error message is displayed:error: %post(postfix-2.3.3-2.1.el5_2.x86_64) scriptlet failed, signal 2For your information this is the process of installation:
I am trying to see if a can get a centos 5.5 server setup as an smtp store and forward spamfilter by following the Centos Wiki and the freespamfilter.org guide by Mr88Talent at [url], which relates to another linux distro.
The spamfilter is essentially working! however, i have one issue with DCC.
test problem:
I'm not sure if anyone else would be interested in a Centos version of Mr88Talent's tutorial, but a very rough and completely untested first effort is available at the following url: [url]
Any opinions on this setup or just a total slating of everything i have done wrong would be welcome as i don't want to waste time trying to use a setup that is just not going to be practical or reliable to maintain / keep operational.
I have read that yum update can break this type of system - which concerns me.
The intended use of the spamfilter is for a small business (only about twenty e-mail accounts). However, they still need to reliably receive e-mails (hopefully with less spam though).
I would like to install and configure Transparent squid proxy on a gateway server ,but i dont have a local OR intranet DNS server.I am facing issues do that ,regard .My IP series is 192.168.1.1/24
there is any other way to make oracledb on CentOS 5.4 and HP Proliant DL360 G5 Server fast access from a vb application. modified, reconfigured all to make faster but no use
My current project environment setup is having a single server, running on RHEL 5.2, that is constantly receiving incoming data (video and text) over a periodic interval e.g. every 30 minutes. Initial in-house testing projected the server will be generally busy, so we decided to incorporate a second server for load balancing purposes. So now, server A and B will need to be clustered. Once that is done, incoming data will balance out between the two server (or at least that is what I will like to achieve. Note, I'm aware that at the switch side, I'll need to do some additional configuration and that part is covered).
I've been reading on Red Hat Cluster Suite and the Linux Virtual Server (LVS) seems the way to go. However, I noted that the LVS solution require at least a two-tier solution, and that would incur 3 additional servers instead of just 1. So here's my questions:- I looked around and probably know the answer, but I'm gonna ask anyway. Is there a one-tier solution for LVS i.e. have anyone tried or whether it's even feasible. From my reading, it don't seem so but just want another opinion. Is there any other way for me to do the clustering (for load-balancing) without LVS?
Sidenote: I'm currently looking at Ultra Monkey and will be trying out in a while. However, the project I'm doing would be rolled out to live site eventually, and my customer is kind of....particular. I'm just wondering if there's a software/application (that need to be purchased) and comes with support.
I am trying to figure out ho to setup EC2 clustering. I am seeing heartbeat as an option. I need something that will monitor the state of a daemon, and not if a daemon is running. For example, say I want httpd to be high availability. Does heartbeat monitor if httpd is not in a hung state, or does it simply do a ps -e |grep httpd? So my question is, how does heartbeat work?
I have been finding the solution of this problem from last 2 days but i am still unable to get a clue what's happening?I have a virtual dedicated server in godaddy with CENTOS5 operating system. The problem is occurring with the named service. It is becoming dead within 1 hour of starting it./named status gives named is dead but subsys is locked.The issue is their in google but it has no solution.Anybody have a idea what's going on ... i am fed up of starting teh named service again and again.
I am hosting apache service on the CentOS5.4. I configure the Apache in default setting mostly. But keep getting complaints from others about the website download too slow, pdf cannot download at all, flash cannot play smoothly, etc.. But on my own machine, everything works fine. Is there any tool for analyzing this problem?
I added the "@clustering" and "@kvm" keywords to my ks.cfg file but during installation, an error about not being able to find either of these packages popped up and it wasn't installed.
I do see the Cluster and VT directories in my redhat_es5.4 directory along with the Server directory. The rest of the files install just fine.
In doing some net and forum searching, I find a reference to a base.repo file that lists the directories but I'm not sure if it's related to creating a yum repository or if not, should it have been created in the redhat_es5.4 directory.
While I've built kickstarts for several years and am comfortable with the file, this is the first time I'm working with rpms outside the main Server path.
Having issues installing Clustering Software on server: rhel-x86_64-as-4-cluster I am running the following kernel:
The server is up to date with updates, but I am having trouble installing the Clustering software and don�t know what to do now� # uname -r 2.6.9-89.0.25.ELsmp #
I am getting frustrated to the fact that I am in charge of developing a Enterprise class solution for my company and I don't find the right answer on the WWW. I have 3 mail servers that I want them to share a Global File System (GFS) that will be mounted via ISCSI on a RAID1+0 SAN Md3000i device. All the documentation that RHEL offers include the setup of DRDB or VLS Clustering.
My intentions are not to setup clustering on these servers, at least for now, however I want them to share access to the same block device, giving enough write/read access throughput . My question is, have you done something like this ? Do you know of any good Tutorial that you tried, and worked for you ?
Used to work fine, mybb forums and a blog, accidentally chowned everything to wrong account, then back to root, fixed mysql, shell and php and it got back up again yesterday, made a new database and updated some packages using webmin (OpenSSL etc), tried to install virtualmin but qMail blocked it, few hours later out of the blue all our php files download as .bin files, as downloadfile.bin on my android phone but others on our game server reported it downloading too.
We shut off apache for obvious security reasons and are considering to close shop if we cant fix this.
I have installed apache tomcat 5.5.27 in centos5. I edited the server.xml file also. The startup.sh and shutdown.sh commands are working fine. But tomcat is not opening in the browser. Can you suggest me something or tell me the steps involved in installing tomcat. Is admin.tar.gz of apache tomcat required for its working?
I have yum installed mysql 5 on Centos5 and I can successfully run queries through shell.However, I want to now allow external access to mysql via some mysql tools (Mysql Administrator/Mysql Query Browser) which is on some windows machines on the same network.Mysql is running on port 3006.When i try connecting through mysql Admin i get the following:Could not connect to the specified instance.MySQL Error Number 2003Can't connect to MySQL server on 'ipaddress' (10065)If you want to check the network connection, please click the Ping button.Googling this I get the impression its something port related, but I have tried what I have found and still no go.When I ping the server I get:
Start Pinging: Reply from ipaddress: Time=0ms TTL=64 Reply from ipaddress: Time=0ms TTL=64
I'd like to build a server to run CentOS5 to host domains & run Boonex's Dolphin 7. I can't afford the hardware at present, but do have a spare laptop to test with. My two questions:
1) Is is possible to create a build on my laptop, with CentOS, PHP, Dolphin 7, DNS etc, and then create an image to transfer to the future hardware server when constructed? If not, are there alternatives e.g. to copy settings, and then paste then onto the new CentOS install? Anything else I should consider for doing this future move?
2) I presume it's not possible to transfer from 32bit (now) to 64 bit (possibly later) CentOS5?
I want to build a PXE boot server on rhel5/centos5 from which all type of OS(Linux distros,Windows - xp,vista,7) these can be installed on any client on my LAN . I have tried it for some linux distros with TFTP ,but unable to add windows.
i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)
I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.
I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not.
I have a problem with compiling of mod_ruby-1.3.0 After a succesfull configure i get a error in the make, it say "make: *** [apachelib.o] error 1" . Here below you can find the results of de configuring and the make.I was following the roles in Howtoforge " The perfect server - Centos 5.3" everything goes perfect till mod_ruby-1.3.0
./configure.rb --with-apr-includes=/usr/include/apr-1 checking for a BSD compatible install... /usr/bin/install -c checking whether we are using gcc... yes