May 2014
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

Categories

May 2014
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

Tomcat 8 clustering and Load Balancing Redhat Fedora and Centos

Let us build 3 node Tomcat 8 cluster with Apache

web Server – > 192.168.2.40

cluster2 -> 192.168.1.41 cluster3 -> 192.168.1.42

Web server is CLUSTER1

The characteristics of this cluster are:

Session affinity: sessions are associated with single servers. Failover: if a server dies, a connection will be directed to the nearest available server. […]

RHEL / CentOS Linux Install Core Development Tools

[root@cluster1 tomcat-connectors-1.2.40-src]# yum groupinstall ‘Development Tools’ Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.secureax.com * epel: ftp.jaist.ac.jp * extras: kartolo.sby.datautama.net.id * updates: mirror.smartmedia.net.id Setting up Group Process Checking for new repos for mirrors Package 1:make-3.81-20.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package binutils-2.20.51.0.2-5.36.el6.i686 already installed […]

ssh_exchange_identification: Connection closed by remote host

[root@cluster1 ~]# ssh 192.168.1.41 ssh_exchange_identification: Connection closed by remote host

 

Problem is need to check the /etc/hosts.allow /etc/hosts.deny

Just enter;

echo ‘SSHD: ALL’ >> /etc/hosts.allow

It sorted it out for me