Forum Discussion
pgroven_71837
Jan 14, 2008Nimbostratus
The script echoes UP as it should but it does not mark the pools as UP in the GUI template.
This statement w50-[12].c50.domain.com:6802 .ok." says if it sees any page that has
w50-1 or w50-2.domain in it and echoes as up
My original script is correct in that I need it to run a for loop
for i in `seq 1 2`; do
curl -fNs -m ${P_TIMEOUT} http://w50-$i.c50.domain.com:${CAUCHOPORT}${URI} | grep -io "w50-$i"'.c50.domain.com:6802 .ok.' 2>&1 > /dev/null
It should only down the $i for each app server
Each status page will look like the example I posted
1. w50-1.c50.domain.com:6802 (ok)
0
15
15
30
2. w50-2.c50.domain.com:6802 (ok)
0
above is part of one app servers resiin page Each app server will list all of the app servers in the cluster.
as shown below
echo bigpipe pool ${POOL} member 10.50.1.$i up 2>&1 > /dev/null
else
echo bigpipe pool ${POOL} member 10.50.1.$i down 2>&1 > /dev/null
I was not able to get this to work
tcpdump -nni host and port 4000
I tried tcpdump -nni hostname 10.50.0.246:4000
tcpdump: Interface name too long. Vlan names longer than 15 characters must use vlan as the interface name