Table of Contents
This section is intended to give system administrators a list of configuration tests to help them toward a working system.
To check the IP tables
iptables -vL
netstat can print network connections, routing tables, interface statistics, masquerade connections, and multi cast memberships. with these command options we list all the TCP/IP connections with reference to the programs that have opened these TCP/IP sockets.
Port 32768 and 32768 is used by the NFS layer within D-Cache which is based upon rpc, this service is essential for rpc.
Port 111,1939 and 33808 is used by portmapper which is also involved in the rpc dependencies of D-Cache.
Port 34075 is for postmaster listening to requests for the Postgres database for D-Caches SRM application.
33823 is used for internal D-cache communication.
2811 is used to Communicate to the the client.
8443 is the SRM port.
2288 is used the web interface to D-Cache.
22223 is used for the D-Cache admin interface.
22125 is used for the D-Cache Dcap Protocole.
22128 is used for the D-Cache GSI enabled Dcap Protocole.
22158 is used for the D-Cache admin interface.
33080, 22128, 22125 is used for D-Cache in some way but I am not sure what.
Since D-cache is built around a replacement of NFS to manage the file system rpc is deeply coupled to D-Cache here is a dump of rpcinfo -p on a combined pool and admin node.
[root@dev01 oms]# rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 32768 status 100024 1 tcp 32768 status 391002 2 tcp 32786 sgi_fam 100005 1 udp 816 mountd 100003 2 udp 2049 nfs 100021 1 udp 33073 nlockmgr 100021 3 udp 33073 nlockmgr 100021 4 udp 33073 nlockmgr 100021 1 tcp 33808 nlockmgr 100021 3 tcp 33808 nlockmgr 100021 4 tcp 33808 nlockmgr
Giving a list of RPC services registered through the rpcbind daemon.
#hostname dev07.gridpp.rl.ac.uk #netstat -tap #netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:32768 *:* LISTEN 2844/rpc.statd tcp 0 0 *:33257 *:* LISTEN 18074/java tcp 0 0 *:gmond *:* LISTEN 3166/gmond tcp 0 0 *:33099 *:* LISTEN - tcp 0 0 *:22125 *:* LISTEN 18238/java tcp 0 0 *:22223 *:* LISTEN 18324/java tcp 0 0 localhost.localdo:32783 *:* LISTEN 3134/xinetd tcp 0 0 *:sunrpc *:* LISTEN 2825/portmap tcp 0 0 *:22128 *:* LISTEN 18820/java tcp 0 0 *:2288 *:* LISTEN 18499/java tcp 0 0 *:5555 *:* LISTEN 4148/dc_server tcp 0 0 localhost.localdoma:ipp *:* LISTEN 2970/cupsd tcp 0 0 *:postgres *:* LISTEN 3474/postmaster tcp 0 0 *:31416 *:* LISTEN 3223/boinc tcp 0 0 localhost.localdom:smtp *:* LISTEN 3257/sendmail: acce tcp 0 0 *:8443 *:* LISTEN 18901/java tcp 0 0 *:gsiftp *:* LISTEN 18740/java tcp 0 0 dev07.gridpp.rl.a:33257 dev07.gridpp.rl.a:33287 ESTABLISHED 18074/java tcp 0 0 dev07.gridpp.rl.a:33257 dev07.gridpp.rl.a:33290 ESTABLISHED 18074/java tcp 0 0 localhost.loca:postgres localhost.localdo:33305 ESTABLISHED 18974/postgres: srm tcp 0 0 dev07.gridpp.rl.a:33257 dev07.gridpp.rl.a:33293 ESTABLISHED 18074/java tcp 0 0 dev07.gridpp.rl.a:22125 dev07.gridpp.rl.a:33307 CLOSE_WAIT 18238/java tcp 0 0 dev07.gridpp.rl.a:33257 dev06.gridpp.rl.a:34508 ESTABLISHED 18074/java tcp 13 0 localhost.localdo:22223 localhost.localdo:33282 CLOSE_WAIT 18324/java tcp 0 0 localhost.loca:postgres localhost.localdo:33295 ESTABLISHED 18937/postgres: srm tcp 0 0 dev07.gridpp.rl.a:33260 dev07.gridpp.rl.a:33257 ESTABLISHED 18157/java tcp 0 0 dev07.gridpp.rl.a:33263 dev07.gridpp.rl.a:33257 ESTABLISHED 18238/java tcp 0 0 dev07.gridpp.rl.a:33272 dev07.gridpp.rl.a:33257 ESTABLISHED 18499/java tcp 0 0 dev07.gridpp.rl.a:33266 dev07.gridpp.rl.a:33257 ESTABLISHED 18324/java tcp 0 0 dev07.gridpp.rl.a:33269 dev07.gridpp.rl.a:33257 ESTABLISHED 18412/java tcp 13 0 localhost.localdo:22223 localhost.localdo:33279 CLOSE_WAIT 18324/java tcp 0 0 dev07.gridpp.rl.a:33290 dev07.gridpp.rl.a:33257 ESTABLISHED 18820/java tcp 0 0 dev07.gridpp.rl.a:33293 dev07.gridpp.rl.a:33257 ESTABLISHED 18901/java tcp 0 0 dev07.gridpp.rl.a:33287 dev07.gridpp.rl.a:33257 ESTABLISHED 18740/java tcp 0 0 dev07.gridpp.rl.a:33257 dev07.gridpp.rl.a:33260 ESTABLISHED 18074/java tcp 0 0 dev07.gridpp.rl.a:33257 dev07.gridpp.rl.a:33263 ESTABLISHED 18074/java tcp 0 0 dev07.gridpp.rl.a:33257 dev07.gridpp.rl.a:33266 ESTABLISHED 18074/java tcp 0 0 dev07.gridpp.rl.a:33257 dev07.gridpp.rl.a:33269 ESTABLISHED 18074/java tcp 0 440 localhost.localdo:33674 localhost.localdom:6011 ESTABLISHED 598/xterm tcp 0 0 dev07.gridpp.rl.a:33257 dev07.gridpp.rl.a:33272 ESTABLISHED 18074/java tcp 0 0 localhost.localdo:33295 localhost.loca:postgres ESTABLISHED 18901/java tcp 0 0 localhost.localdo:33305 localhost.loca:postgres ESTABLISHED 18901/java tcp 0 0 localhost.localdo:33718 localhost.localdom:6012 ESTABLISHED 1875/xterm
#hostname dev06.gridpp.rl.ac.uk #netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:32768 *:* LISTEN 2882/rpc.statd tcp 0 0 localhost.localdom:6017 *:* LISTEN 25709/9 tcp 0 0 localhost.localdo:32808 *:* LISTEN 3164/xinetd tcp 0 0 *:gmond *:* LISTEN 3220/gmond tcp 0 0 *:sunrpc *:* LISTEN 2863/portmap tcp 0 0 *:ssh *:* LISTEN 3150/sshd tcp 0 0 localhost.localdoma:ipp *:* LISTEN 20572/cupsd tcp 0 0 *:31416 *:* LISTEN 3277/boinc tcp 0 0 localhost.localdom:6011 *:* LISTEN 27003/1 tcp 0 0 *:gsiftp *:* LISTEN 3140/ftpd: acceptin tcp 0 0 localhost.localdom:6012 *:* LISTEN 24801/3 tcp 0 0 localhost.localdom:6013 *:* LISTEN 30270/4 tcp 0 0 localhost.localdom:6014 *:* LISTEN 963/5 tcp 0 0 localhost.localdo:34790 localhost.localdom:6017 ESTABLISHED 25786/xterm tcp 0 0 localhost.localdo:34797 localhost.localdom:6017 ESTABLISHED 26202/xterm tcp 0 0 localhost.localdom:6014 localhost.localdo:34097 ESTABLISHED 963/5 tcp 0 0 localhost.localdom:6013 localhost.localdo:34350 ESTABLISHED 30270/4 tcp 0 0 localhost.localdom:6014 localhost.localdo:34603 ESTABLISHED 963/5 tcp 0 0 localhost.localdom:6011 localhost.localdo:34805 ESTABLISHED 27003/1 tcp 0 0 localhost.localdom:6012 localhost.localdo:34801 ESTABLISHED 24801/3 tcp 0 0 localhost.localdom:6017 localhost.localdo:34790 ESTABLISHED 25709/9 tcp 0 304 localhost.localdo:34799 localhost.localdom:6015 ESTABLISHED 26363/xterm tcp 0 0 localhost.localdom:6017 localhost.localdo:34797 ESTABLISHED 25709/9 tcp 0 0 localhost.localdo:34614 localhos:x11-ssh-offset ESTABLISHED 18488/nedit tcp 0 0 dev06.gridpp.rl.ac.:ssh ratatosk.esc.rl.ac:1133 ESTABLISHED 25709/9 tcp 0 0 dev06.gridpp.rl.ac.:ssh escpc06.esc.rl.ac:52979 ESTABLISHED 27003/1 tcp 0 0 dev06.gridpp.rl.ac.:ssh escpc06.esc.rl.ac:32987 ESTABLISHED 963/5 tcp 0 0 dev06.gridpp.rl.a:34508 dev07.gridpp.rl.a:33257 ESTABLISHED 6525/java