check the LIC before adding HA
introduction
The LIC (Larg's Internet Cluster) is complete enough to test. It is not fully operational because there is no HA (High Availability).
Request a page from the LIC. Send a request for a web page from xcl01 to ics01. Request an echo from the Internet. Send an ICMP (Internet Control Message Protocol) echo request from ics01 to the Internet. If all is well, I won't notice ifw01 doing its traffic cop job.
request a web page from ics01
The first test is one hop from the firewall to the web server.
- Open a CLI on the ifw01 host.
- Use su to switch to the root account.
- Check the host file with a web client.
issalarg@ifw01:~$ lynx -dump http://192.168.0.7/infrastructure/host1 ics01 issalarg@ifw01:~$
check activity logs
The web server records all requests in its activity logs.
- Open a CLI on the ics01 host.
- Use su to switch to the root account.
- check the activity log
ics01:~# tail /var/log/apache2/access.log 192.168.0.3 - - [13/Oct/2010:14:32:20 +0100] "GET /infrastructure/host1 HTTP/1.0" 200 6 "-" "Lynx/2.8.7dev.9 libwww-FM/2.14 SSL-MM/1.4.1" ics01:~# - Close the CLI.
ping an Internet host
- Open a CLI on the host ics01.
- Ping
ifw01.
issalarg@ics01:~$ ping -c 3 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=1.27 ms 64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=0.170 ms 64 bytes from 192.168.0.1: icmp_req=3 ttl=64 time=1.23 ms --- 192.168.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.170/0.890/1.270/0.510 ms issalarg@ics01:~$ - Ping
xcl01.
issalarg@ics01:~$ ping -c 3 200.0.0.1 PING 200.0.0.1 (200.0.0.1) 56(84) bytes of data. 64 bytes from 200.0.0.1: icmp_req=1 ttl=63 time=1.33 ms 64 bytes from 200.0.0.1: icmp_req=2 ttl=63 time=1.30 ms 64 bytes from 200.0.0.1: icmp_req=3 ttl=63 time=1.30 ms --- 200.0.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 1.304/1.314/1.333/0.043 ms issalarg@ics01:~$ - Ping an Internet host. I picked a server that is guaranteed to be ready and waiting for my call.
issalarg@ics01:~$ ping -c 3 www.google.co.uk PING www.l.google.com (64.233.183.147) 56(84) bytes of data. 64 bytes from nf-in-f147.google.com (64.233.183.147): icmp_seq=1 ttl=241 time=28.2 ms 64 bytes from nf-in-f147.google.com (64.233.183.147): icmp_seq=2 ttl=241 time=23.2 ms 64 bytes from nf-in-f147.google.com (64.233.183.147): icmp_seq=3 ttl=241 time=23.9 ms --- www.l.google.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 23.299/25.173/28.260/2.206 ms issalarg@ics01:~$
- Close the CLI.
troubleshoot
wrong IP address
I speled the IP address wrong.
issalarg@ifw01:~$ lynx -dump http://192.168.0.4/infrastructure/host1 Looking up 192.168.0.4 Making HTTP connection to 192.168.0.4 Alert!: Unable to connect to remote host. lynx: Can't access startfile http://192.168.0.4/infrastructure/host1 issalarg@ifw01:~$
lost packets
Ping returns nothing. Is the ifw01 Internet gateway set up correctly? How about the xcl01 Internet gateway?

