Creating a Red Hat Cluster: Part 5
Welcome back to LINternUX, for our last article of this series on how to build a working Red Hat cluster. So far we have a working cluster, but it only move the IP from server to server. In this article, we will put in place everything so that we have an FTP and a web service that will be fully redundant within our cluster. In our previous article, we have create a GFS filesystem under the mount point “/cadmin”, this is where we will put our scripts, configuration files and log used for our cluster. The content of the “/cadmin” filesystem can be downloaded here, it include all the directories structure and scripts used in our cluster articles. After this article, you will have a fully configured cluster, running an ftp and a web service. We will have a lot to do, so let’s begin.
FTP prerequisite
We need to make sure that the ftp server “vsftpd” is installed on every server in our cluster. You can check if it is installed by typing the following command ;
root@gandalf:~# rpm -q vsftpd
vsftpd-2.0.5-16.el5_5.1
root@gandalf:~#
If is not installed, we need to run the following command to instal it on the servers where it’s not installed ;
root@bilbo:~# yum install vsftpd
We must make sure the vsftpd is not started and doesn’t start upon reboot. To do so use the following commands on all servers;
root@bilbo:~# service vsftpd stop
Shutting down vsftpd: [FAILED]
root@bilbo:~# chkconfig vsftpd off
Recent Comments