Danté's Inferno

Music, Photography, Motorsports & Politics

Danté's Inferno header image 1

Cisco & ProCurve Layer 3 Switches

March 23rd, 2012 · No Comments

These are some sanitized notes on configuring ProCurve Layer 3 Switches to a Cisco Layer 3 Switch. The Cisco Switch is configured to do intervlan routing. If there isn’t a route on the switch, then it forwards the traffic to a real Cisco Router!

ProCurve 2910 Layer 3 Switch

show running-config
Running configuration:

; J9145A Configuration Editor; Created on release #W.14.38

hostname "procurve-2910-1"
time timezone -5
module 1 type J9145A
ip default-gateway 192.168.16.1
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-4,6-9,11-13,15-24
   ip address 192.168.16.30 255.255.252.0
   no untagged 5,10,14
   exit
vlan 4
   name "VLAN4"
   untagged 5,14
   tagged 7
   no ip address
   exit
vlan 8
   name "VLAN8"
   untagged 10
   tagged 8
   no ip address
   exit
vlan 16
   name "VLAN16"
   tagged 16
   no ip address
   exit
ip timep manual 192.168.12.1
spanning-tree

Cisco 3560 Layer 3 Switch

show running-config
Building configuration...

Current configuration : 3676 bytes
!
! Last configuration change at 20:06:49 EST Sun Jan 1 2012
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname catalyst-3560-1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$D5/v*r3289y&^%^%$ejff93((((hiHDHF
enable password redhat
!
username PrivUserName privilege 15 secret 5 $1$/cUX$3XUtk7334879349348rqf
!
!
no aaa new-model
clock timezone EST -5
system mtu routing 1500
ip routing
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet0
 ip address 192.168.12.2 255.255.252.0
 no ip route-cache cef
 no ip route-cache
!
interface GigabitEthernet0/1
 description "To 2901 Router"
 no switchport
 ip address 192.168.20.1 255.255.252.0
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
 description "To Direct Connect Server vlan4"
 switchport access vlan 4
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
 description "TRUNK to Procurve 1 port 7 on both"
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 4
 switchport mode trunk
!
interface GigabitEthernet0/8
 description "TRUNK to Procurve 2 port 7"
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 4
 switchport mode trunk
!
interface GigabitEthernet0/9
 description "TRUNK to Procurve 1 port XX Vlan8"
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 8
 switchport mode trunk
!
interface GigabitEthernet0/10
 description TRUNK to Procurve 2  port XX Vlan8
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 8
 switchport mode trunk
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
 description To Direct Connect WS vlan8
 switchport access vlan 8
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
!
interface GigabitEthernet0/16
 description Trunk to Procurve 1 for Vlan16 MGMT
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 16
 switchport mode trunk
!
interface GigabitEthernet0/17
 description Trunk to Procurve 2 for Vlan16 MGMT
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 16
 switchport mode trunk
!
interface GigabitEthernet0/18
 description To Direct Access MGMT Vlan 16
 switchport access vlan 16
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/19
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
!
interface GigabitEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface GigabitEthernet1/3
!
interface GigabitEthernet1/4
!
interface TenGigabitEthernet1/1
!
interface TenGigabitEthernet1/2
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan4
 description "Server vlan vlan4"
 ip address 192.168.4.1 255.255.252.0
!
interface Vlan8
 description "WorkStation_Vlan_8"
 ip address 192.168.8.1 255.255.252.0
!
interface Vlan16
 description Management_Vlan_16
 ip address 192.168.16.1 255.255.252.0
!
interface Vlan24
 description "Switch Management Vlan 24"
 ip address 192.168.24.1 255.255.252.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.20.2
ip http server
ip http secure-server
!
ip sla enable reaction-alerts
snmp-server community public RO
!
!
line con 0
line vty 0 4
 password PASSWORD
 login
line vty 5 15
 password PASSWORD
 login
!
ntp clock-period 36027182
ntp peer 24.124.0.251 prefer
end

Cisco 2901 Core Router

show running-config
Building configuration...

Current configuration : 5737 bytes
!
! Last configuration change at 00:56:56 UTC Mon Jan 2 2012 by admin
! NVRAM config last updated at 21:29:10 UTC Sun Jan 1 2012 by admin
! NVRAM config last updated at 21:29:10 UTC Sun Jan 1 2012 by admin
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname rOUTER
!
boot-start-marker
boot system flash0:c2900-universalk9-mz.SPA.151-4.M3.bin
boot-end-marker
!
!
logging buffered 51200 warnings
enable secret 5 $YEF*&efuhfe*UHe*&&&e(9***
enable password redhat
!
no aaa new-model
!
no ipv6 cef
ip source-route
ip cef
!
!
!
!
!
ip domain name yourdomain.com
multilink bundle-name authenticated
!
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-3784501552
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-3784501552
 revocation-check none
 rsakeypair TP-self-signed-3784501552
!
!
crypto pki certificate chain TP-self-signed-3784501552
 certificate self-signed 01
  30820253 308201BC A0030201 02020101 300D0609 2A864886 F70D0101 04050030 

  E12AD51C 495F847A 713C5248 F4975966
  B163A703 7DD99193 E7F6CD89 569D499C FB66520F EB781F
  	quit
license udi pid CISCO2901/K9 sn FTX152682W2
!
!
username admin privilege 15 secret 5 $1$jmeWUHEFFUIEF87yr8732ry87qhrf
!
!
ip ssh version 2
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 description "primary router interface 126.10.20.1"
 ip address 126.10.20.1 255.0.0.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 description "To Catalyst 3550 intervlan switch"
 ip address 192.168.20.2 255.255.252.0
 duplex auto
 speed auto
!
ip forward-protocol nd
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip default-network 126.0.0.0
ip route 0.0.0.0 0.0.0.0 126.10.20.20
ip route 126.0.0.0 255.0.0.0 126.10.20.20
ip route 192.168.0.0 255.255.0.0 126.10.20.20
ip route 192.168.4.0 255.255.252.0 192.168.20.1
ip route 192.168.8.0 255.255.252.0 192.168.20.1
ip route 192.168.16.0 255.255.252.0 192.168.20.1
!
access-list 23 permit 10.10.10.0 0.0.0.7
!
!
!
control-plane
!
!
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------

Cisco Configuration Professional (Cisco CP) is installed on this device
and it provides the default username "cisco" for  one-time use. If you have
already used the username "cisco" to login to the router and your IOS image
supports the "one-time" user option, then this username has already expired.
You will not be able to login to the router with this username after you exit
this session.

It is strongly suggested that you create a new username with a privilege level
of 15 using the following command.

username <myuser> privilege 15 secret 0 <mypassword>

Replace <myuser> and <mypassword> with the username and password you want to
use.

-----------------------------------------------------------------------
^C
banner login ^C
-----------------------------------------------------------------------
Cisco Configuration Professional (Cisco CP) is installed on this device.
This feature requires the one-time use of the username "cisco" with the
password "cisco". These default credentials have a privilege level of 15.

YOU MUST USE CISCO CP or the CISCO IOS CLI TO CHANGE THESE  PUBLICLY-KNOWN
CREDENTIALS

Here are the Cisco IOS commands.

username <myuser>  privilege 15 secret 0 <mypassword>
no username cisco

Replace <myuser> and <mypassword> with the username and password you want
to use. 

IF YOU DO NOT CHANGE THE PUBLICLY-KNOWN CREDENTIALS, YOU WILL NOT BE ABLE
TO LOG INTO THE DEVICE AGAIN AFTER YOU HAVE LOGGED OFF.

For more information about Cisco CP please follow the instructions in the
QUICK START GUIDE for your router or go to http://www.cisco.com/go/ciscocp
-----------------------------------------------------------------------
^C
!
line con 0
 login local
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 privilege level 15
 login local
 transport input telnet ssh
line vty 5 15
 privilege level 15
 login local
 transport input telnet ssh
!
scheduler allocate 20000 1000
end

→ No CommentsTags: Tech Tips

How to determine zone type for Solaris 10 container

January 9th, 2012 · No Comments

Click on this link. It tells you how to use pkgcond:

http://nilesh-joshi.blogspot.com/2009/08/how-to-tell-if-server-is-global-or-non.html

Click This 2

That’s all!

→ No CommentsTags: Tech Tips

Linux Routing

October 6th, 2011 · No Comments

Ubuntu 11.04 Network Manager with 2 Interfaces

Lately I’ve been using my T-Mobile Jet Stick Broadband to connect to the Internet from my current customer. The reason for this is mainly that I’m not allowed to put my laptop on their network for security reason (and HIPPA, probably).

This morning I setup the HP ILO2 service processor on a DL380 G5 that I’m rebuilding with Oracle Linux 5.2 and wanted to be able to connect to directly to the ILO2 via the physical Ethernet port in my laptop. Additionally, I needed to simultaneously connected to the Internet via the T-Mobile stick.

For some reason, no matter the order I put the interfaces in, Network-Manager would always set the preferred routing over the physical cable!. Since that is only connected to a single ILO2, without a switch or router in between, that’s pretty useless as it tries to route all IP traffic via the ILO2!

So, I decided to plug both things in, then manipulate the routing table. Hopefully, here are all the commands to share:

Initial Routing Table

Routing table with the T-Mobile plugged in and with the ethernet plugged in. You can see the entry for the T-Mobile has an Iface entry of ppp0 (point-to-point) and the HP ILO2 has the interface of eth0.

netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
126.10.8.0      0.0.0.0         255.255.252.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         126.10.8.33     0.0.0.0         UG        0 0          0 eth0

The important thing to notice is the default gateway, Flags=UG, is 126.10.8.33, which is the IP address of the HP ILO2 device. Not what we need!

Step 1: Remove that weird 169.254.0.0 entry

sudo route del -net 169.254.0.0/16
[sudo] password for dante:
dante@dexter:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
126.10.8.0      0.0.0.0         255.255.252.0   U     1      0        0 eth0
0.0.0.0         126.10.8.33     0.0.0.0         UG    0      0        0 eth0

Step 2: Now remove the UG route

sudo route del -net 0.0.0.0 netmask 0.0.0.0 gw  126.10.8.33 eth0
dante@dexter:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
126.10.8.0      0.0.0.0         255.255.252.0   U     1      0        0 eth0

Step 3: Add 10.64.64.64 as the default gateway

sudo route add -net 0.0.0.0 netmask 0.0.0.0 gw 10.64.64.64 ppp0
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
126.10.8.0      0.0.0.0         255.255.252.0   U     1      0        0 eth0
0.0.0.0         10.64.64.64     0.0.0.0         UG    0      0        0 ppp0

Step 4: Check traceroute for internet and lan

dante@dexter:!$traceroute -n 126.10.8.33
traceroute to 126.10.8.33 (126.10.8.33), 30 hops max, 60 byte packets

dante@dexter:~$ traceroute -n 74.1.46.163
traceroute to 74.1.46.163 (74.1.46.163), 30 hops max, 60 byte packets
 1  10.168.187.42  96.535 ms  96.455 ms  96.419 ms
 2  10.168.187.45  96.386 ms  96.354 ms  96.242 ms
 3  10.168.187.68  96.204 ms  106.176 ms  106.149 ms
 4  10.168.187.49  106.124 ms  106.099 ms  106.078 ms
 5  10.170.206.5  106.058 ms  89.680 ms  89.613 ms
 6  10.170.206.10  89.580 ms  89.517 ms  89.484 ms
 7  10.161.59.13  89.454 ms  89.424 ms  99.408 ms
 8  10.176.188.194  99.377 ms  99.288 ms  89.795 ms
 9  10.176.188.150  89.728 ms  89.697 ms  89.666 ms
10  4.53.73.145  99.592 ms  99.476 ms  89.621 ms
11  * * *
12  166.90.203.2  89.443 ms  89.290 ms  89.255 ms
13  192.168.7.14  89.590 ms  89.474 ms  89.441 ms
14  74.1.46.161  99.324 ms  109.329 ms  109.300 ms
15  74.1.46.163  119.147 ms  109.635 ms  109.556 ms

→ No CommentsTags: Tech Tips

Some thoughts on Seth Godin’s Recession Piece

September 29th, 2011 · No Comments

I was just reading one of Seth’s blog entries, refered to my by Lighting Essentials via his facebook page. Seth’s blog post can be found at: The forever recession (and the coming revolution) Trackback at “http://www.typepad.com/services/trackback/6a00d83451b31569e2015391e6aa1b970b”.

I basically agree with most of Seth’s points about the death of the Industrial Revolution and the decline of the proximity workers who could demand higher wages. In fact, this is something near and dear to my heart and I really don’t understand why there are no governments in the world, AFAIK, that are actually dealing with this.

I went to a trade show with some brass at Ford Motor Company way back in 1993. This event was to show the brass the new and improved machinery to use in plants to make components of automobiles. The thing that struck me most was when a vendor told us:

The beauty of these new products is that they only require a basic 8th grade education. By basic, I mean, the worst schools in the US, if a person gets through 8th grade he/she is fully capable of operating this machine at peak efficiency!

The VP from Ford looked at me and said,

That’s fine and dandy for the bottom line, but what the hell are we going to do with all the people we put out of work…no one has a plan for that eventuality!

Wow!This was 1993, and you know what, we still don’t have a plan!

It’s fine and dandy for Seth to say that if you have a connection, you have a factory. But that works for maybe 10% of the world’s population. You figure another 10% is basically agrarian, so what the hell do we, the remaining 80%, do for a living? How do we earn money so we can spend it on the 10% factory owners with their single laptop and the 10% of the folks that want to feed us????

It’s painfully obvious to me that the whole ‘Higher Education’ will save us, is a crock. Mind you, I’m a strong believer in education as long as it’s education that teaches you how to think, how to solve problems, how to better communicate, how to have empathy and spirituality, but that ain’t what we got anymore. Higher education became an industry.

I communicate daily with college grads with some real world experience (>5 years) world-wide on almost a daily basis, and they haven’t learned the basics of how to learn! Great, as long as someone produces a manual, but who are we going to get to produce that manual? Some factory on a laptop operated by some unknown person with no references or credibility??? And who’s going to have a job to pay for this manual, so that the factory owner can afford their laptop and government subsidized Internet and electricity and health benefits????

Why is it only a handful of people world-wide are even asking this question???

→ No CommentsTags: Uncategorized

Tomcat Thread Starvation Issue

August 3rd, 2011 · 2 Comments

Here are the issues we are having:

Tomcat stress tests show that Tomcat reaches max_threads, then hangs, no more connections are made. System must be restarted to allow further processing.

Package Versions:

Apache: Apache HTTP Server Version 2.2 – prefork with mpm
Tomcat: 6.0.20
JK Connector: Same as whatever is bundled in with Apache 2.2 (from customer)
Solaris Solaris 10 10/09 s10s_u8wos_08a SPARC

Current? Startup CommandLine

JAVA_OPTS="-Xss128k -Xms1024m -Xmx2564m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -verbose:gc -XX:+PrintGCDetails -XX:SurvivorRatio=6 -XX:NewSize=512M -XX:MaxNewSize=512M -XX:+DisableExplicitGC -Xloggc:gclog_tomcat.txt -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled"

Apache Version Info

sh-3.00# ./httpd -V
Server version: Apache/2.2.17 (Unix)
Server built:   Nov  4 2010 07:26:31
Server's Module Magic Number: 20051115:25
Server loaded:  APR 1.4.2, APR-Util 1.3.10
Compiled using: APR 1.4.2, APR-Util 1.3.10
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/apache2_cgems"
 -D SUEXEC_BIN="/usr/apache2_cgems/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

prstat output when hung

   PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID

 13030 ems       43  20 0.2 0.0 0.1 6.8  29 0.0  15   6  1K   0 java/349
 13030 ems      3.3 0.5 0.1 0.0 0.1 0.5  95 0.0   4   0 328   0 java/364
 13030 ems      2.9 0.5 0.0 0.0 0.0  62  34 0.0  10   0 353   0 java/344
 13030 ems      2.8 0.5 0.0 0.0 0.0 0.3  96 0.0   4   0 316   0 java/377
 13030 ems      2.2 0.1 0.0 0.0 0.0  28  70 0.0   4   0  19   0 java/10194
 13030 ems      2.0 0.1 0.0 0.0 0.0  34  64 0.0   4   0  20   0 java/10132
 13030 ems      2.0 0.1 0.0 0.0 0.0  49  49 0.0   3   0  16   0 java/10166
 13030 ems      2.0 0.1 0.0 0.0 0.0  38  60 0.0   3   0  16   0 java/10123
 13030 ems      1.9 0.1 0.0 0.0 0.0  36  62 0.0   3   0  18   0 java/10157
 13030 ems      1.9 0.1 0.0 0.0 0.0  38  60 0.0   3   0  17   0 java/10143
 13030 ems      1.8 0.1 0.0 0.0 0.0  39  59 0.0   3   0  17   0 java/10126
 13030 ems      1.8 0.1 0.0 0.0 0.0  35  63 0.0   3   0  18   0 java/10174
 13030 ems      1.8 0.1 0.0 0.0 0.0  33  65 0.0   3   0  17   0 java/10133
 13030 ems      1.8 0.1 0.0 0.0 0.0  36  62 0.0   3   0  17   0 java/10145
 13030 ems      1.8 0.1 0.0 0.0 0.0  39  59 0.0   3   0  17   0 java/10162
 13030 ems      1.7 0.1 0.0 0.0 0.0  50  48 0.0   3   0  16   0 java/10208
 13030 ems      1.7 0.1 0.0 0.0 0.0  43  55 0.0   3   0  16   0 java/10211
 13030 ems      1.7 0.1 0.0 0.0 0.0  47  51 0.0   3   0  15   0 java/10137
 13030 ems      1.6 0.1 0.0 0.0 0.0  35  63 0.0   3   0  16   0 java/10152
 13030 ems      1.6 0.1 0.0 0.0 0.0  34  65 0.0   3   0  16   0 java/10067
 13030 ems      1.6 0.1 0.0 0.0 0.0  48  50 0.0   3   0  15   0 java/10191
 13030 ems      1.6 0.1 0.0 0.0 0.0  40  59 0.0   3   0  15   0 java/10148
 13030 ems      1.5 0.0 0.0 0.0 0.0  37  62 0.0   3   0  15   0 java/10173
 13030 ems      1.5 0.1 0.0 0.0 0.0  33  66 0.0   3   0  15   0 java/9973
 13030 ems      1.5 0.0 0.0 0.0 0.0  44  54 0.0   3   0  14   0 java/10165
 13030 ems      1.5 0.0 0.0 0.0 0.0  53  45 0.0   2   0  13   0 java/10150
 13030 ems      1.4 0.0 0.0 0.0 0.0  40  58 0.0   3   0  14   0 java/10076
 13030 ems      1.4 0.1 0.0 0.0 0.0  41  58 0.0   3   0  14   0 java/10006
 13030 ems      1.3 0.0 0.0 0.0 0.0  67  31 0.0   2   0  12   0 java/10207
 13030 ems      1.3 0.0 0.0 0.0 0.0  38  60 0.0   3   0  14   0 java/9924
 13030 ems      1.3 0.0 0.0 0.0 0.0  41  58 0.0   2   0  13   0 java/10080
 13030 ems      1.3 0.0 0.0 0.0 0.0  45  54 0.0   3   0  13   0 java/9991
 13030 ems      1.2 0.1 0.0 0.0 0.0  40  59 0.0   3   0  13   0 java/9869
 13030 ems      1.2 0.0 0.0 0.0 0.0  42  56 0.0   2   0  13   0 java/10037
 13030 ems      1.2 0.0 0.0 0.0 0.0  60  39 0.0   2   0  11   0 java/10210
 13030 ems      1.2 0.0 0.0 0.0 0.0  50  48 0.0   2   0  12   0 java/10113
 13030 ems      1.2 0.1 0.0 0.0 0.0  45  54 0.0   3   0  12   0 java/9964
 13030 ems      1.2 0.0 0.0 0.0 0.0  57  42 0.0   2   0  10   0 java/10206
 13030 ems      0.8 0.4 0.1 0.0 0.0  98 0.1 0.0  27   0  29   0 java/108
Total: 1 processes, 828 lwps, load averages: 17.17, 22.55, 22.69

workers.properties

# Define 1 real worker using ajp13
worker.list=worker1,worker2,worker3,worker4
worker.maintain=10

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8019
worker.worker1.lbfactor=1
worker.worker1.connection_pool_size=1
worker.worker1.connection_pool_timeout=10
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
worker.worker1.cache_timeout=10

# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8019
worker.worker2.lbfactor=1
worker.worker2.connection_pool_size=1
worker.worker2.connection_pool_timeout=10
worker.worker2.socket_keepalive=1
worker.worker2.socket_timeout=300
worker.worker2.cache_timeout=10

# Set properties for worker3 (ajp13)
worker.worker3.type=ajp13
worker.worker3.host=localhost
worker.worker3.port=8019
worker.worker3.lbfactor=1
worker.worker3.connection_pool_size=1
worker.worker3.connection_pool_timeout=10
worker.worker3.socket_keepalive=1
worker.worker3.socket_timeout=300
worker.worker3.cache_timeout=10

# Set properties for worker4 (ajp13)
worker.worker4.type=ajp13
worker.worker4.host=localhost
worker.worker4.port=8019
worker.worker4.lbfactor=1
worker.worker4.connection_pool_size=1
worker.worker4.connection_pool_timeout=10
worker.worker4.socket_keepalive=1
worker.worker4.socket_timeout=300
worker.worker4.cache_timeout=10

httpd.conf

[Read more →]

→ 2 CommentsTags: Tech Tips