Clustering Tomcat Server

Clustering Tomcat Server A cluster of two Tomcat is a more Tomcats that are hosted in the same Java application. The main function of cluster Tomcat is to perform replication of open sessions in each cluster of Tomcat, so Tomcat each contain their sessions and their attributes, as well as the attributes of the other […]

Read more
Shorewall Firewall

Installing and configuring Shorewall in CentOS Netfilter is a packet filtering in Linux 2.4.x and 2.6.x kernels Enables packet filtering (network address and port), NAT and other packages. Redesigned and highly improved from the previous kernel 2.2.x, ipchains and ipfwadm kernel 2.0.x. Netfilter is a set of structures within the kernel that allows modules to […]

Read more
Three Tier Architecture Diagram

Three Tier  Architecture Diagram Application Solution is designed to be compliant with web standards, which recommends minimum three tier servers and three network zones for enterprise standard secure applications. The first tier, presentation layer, provides an interface to the user for user interaction, and secure access (https).  This layer is implemented by http servers.  The […]

Read more
Apache Server Load Balancing for Multiple Virtual Hosts Tomcat

Apache Server Load Balancing for Multiple Virtual Hosts Tomcat   apache vi /etc/http/conf/httpd.conf NameVirtualHost *:443 NameVirtualHost *:80 <VirtualHost *:80> ServerName server1.rmohan.com Redirect permanent / https://server1.rmohan.com/ </VirtualHost> <VirtualHost *:443> ServerName server1.rmohan.com SSLProxyEngine On KeepAlive On <Proxy balancer://Cluster> BalancerMember ajp://localhost:18009 disablereuse=On route=jvm1 BalancerMember ajp://localhost:28009 disablereuse=On route=jvm2 </Proxy> ProxyPass / balancer://Cluster/ stickysession=JSESSIONID </VirtualHost> <VirtualHost *:80> ServerName server2.rmohan.comm Redirect […]

Read more
Apache mod_proxy as Load Balancer

Apache mod_proxy  as  Load Balancer This article presents an example of load balancing using Apache2. For example take the host 192.168.1.100 as a balancer, this host will install the apache front end acting for all requests and will balance the load on other hosts. The load is redirected to the host 192.168.1.101,192.168.1.102,192.168.1.103 and 192.168.1.104. Configuring […]

Read more
Performance Benchmarks a Webserver Apache concurrency

Performance Benchmarks a Webserver Apache Benchmark Procedures Tweak include the KeepAlive, KeepAliveTimeout, and MaxKeepAliveRequests settings. Recommended settings, which can all be set in the httpd.conf file, would be: Code: ServerLimit 128 MaxClients 128 KeepAlive On KeepAliveTimeout 2 MaxKeepAliveRequests 100 Testing a stock Apache configuration (MaxClients is 256, ServerLimit is 256, KeepAliveTimeout is 15) using ab […]

Read more
Tomcat

Tomcat The reference is taken from Apache Tomcat 7 Essentials By: Tanuj Khare Tomcat Apache Tomcat is an open source Java-based web and servlet container, which is used to host Java-based applications. It was first developed for Jakarta Tomcat. Due to an increase in demand, it was later hosted as a separate project called Apache […]

Read more
INSTALL SSL Wildcard Certificate MULTIPLE SUBDOMAINS

INSTALL SSL Wildcard Certificate MULTIPLE SUBDOMAINS Some sub-rmohans share the master rmohan’s SSL Wildcard Certificate, like as a.rmohan.com and b.rmohan.com share a SSL Wildcard Certificate of *.rmohan.com. 1. put the certificate to the propel place 2. configure apache a. enable name base virtual host ” NameVirtualHost *:443 ” b. make sure listen 443 port ” […]

Read more
LVM

LVM First LVM Setup 1) fdisk /dev/sdb WARNING: DOS-compatible mode is deprecated. It’s strongly recommended to switch off the mode (command ‘c’) and change display units to sectors (command ‘u’). Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-13054, default 1): Using default […]

Read more

Hit Counter provided by dental implants orange county