August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

How to setup a load balanced Tomcat cluster using the Apache TomcatConnector – AJP

Two weeks ago, I tested a Barracuda Load Balancer Model 340.

I liked it a lot, all features I needed, quick and easy deployment and administration. No competition for a Citrix VPX 1000 or similar, but it would for sure fulfill all my requirements.

Nevertheless I wanted see if it is possible to save some […]

Configure Squid with Dansguardian

Scenario-: 1. Configure squid Server 2. Configure Dan guardian 3. Configure Iptables 4. Configure Proxy server as a router.Our purpose of proxy server is to sharing internet connection for web browsing performance & configures Dan guardian for content and site blocking.A. Allow Internal to all user with restricted web site and content. B. Allow limited […]

Apache server load balancing with Multiple Tomcat Clustering- :

Load Balancing -: Load balancer accept request from external client and forward them to one of the available Backend servers according to a scheduling algorithm. We can use dedicated hardware and any load balancing software for load balancing Mod_proxy_balancer- : Apache web server’s module of mod_proxy_balancer the apache module developed to provide to load balancing […]

RHCS(Red Hat Cluster Suite) quorum disk

Methods to deal with split-brain situation: 1. Redundant heartbeat path network port communication plus serial port communication 2. I/O fencing Remaining nodes separate failed node from its storage either by shutdown/reboot power port or storage port 3. Quorum disk Quorum disk is a kind of I/O fencing, but the reboot action is executed by failed […]

GFS (Global File System) quickstart

What is GFS? GFS allow all nodes to have direct CONCURRENT write access to the same shared BLOCK storage. For local file system e.g ext3, A shared BLOCK storage can be mounted in multiple nodes, but CONCURRENT write access is not allowed For NFS, the CONCURRENT write access is allowed, but it is not direct […]

Find process causing high iowait Disk Space issues

Disk Space issues

mpstat -P ALL

cat /proc/interrupts

iostat -kd 1iostat -c -tiostat -c -t 2 10 iostat -c 3 iostat -d 5iostat -x 1

sar -b

vmstat -S M 2 5

Find process causing high iowait

netstat -autpn | grep :80netstat -autpn | grep :3306netstat -nanetstat -an|grep :80|sort|morenetstat -an|grep ESTABLISHEDnetstat -ntu | awk ‘{print […]