On Wed, 20 Jun 2012 12:15:31 -0500, Curtis wrote in message <cahtsj_egblolnanudvfuzv7tazbf2ratc4auys1_13ywcor...@mail.gmail.com>:
> An interesting stat (from the perspective of maintaining the list of > mpservers) would be the last time a node was seen alive. Then if a > node is down for too long we could remove it from the list and > recycle the host name. And if the node does come back at some point, > we can add them back in and get them a new host name. > > Curt. ..one one-liner: " root@celsius:~# for p in $(seq -w 14) ;do \ ping -c 3 -w 30 mpserver$p.flightgear.org ;done ", I first tried with a 3 second time-out (-w 3). ..I have these up with a 30 sec time-out, heavy server loads??? root@celsius:~# for p in $(seq -w 14) ;do ping -c 3 -w 30 mpserver$p.flightgear.org ;done PING mpserver01.flightgear.org (85.214.37.14) 56(84) bytes of data. 64 bytes from h1774676.stratoserver.net (85.214.37.14): icmp_req=1 ttl=52 time=63.8 ms 64 bytes from h1774676.stratoserver.net (85.214.37.14): icmp_req=2 ttl=52 time=53.9 ms 64 bytes from h1774676.stratoserver.net (85.214.37.14): icmp_req=3 ttl=52 time=64.7 ms --- mpserver01.flightgear.org ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 53.982/60.854/64.770/4.879 ms PING mpserver02.flightgear.org (74.208.230.119) 56(84) bytes of data. 64 bytes from u15399955.onlinehome-server.com (74.208.230.119): icmp_req=1 ttl=49 time=174 ms 64 bytes from u15399955.onlinehome-server.com (74.208.230.119): icmp_req=2 ttl=49 time=175 ms 64 bytes from u15399955.onlinehome-server.com (74.208.230.119): icmp_req=3 ttl=49 time=175 ms --- mpserver02.flightgear.org ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 174.978/175.393/175.612/0.293 ms PING mpserver03.flightgear.org (85.25.143.10) 56(84) bytes of data. --- mpserver03.flightgear.org ping statistics --- 30 packets transmitted, 0 received, 100% packet loss, time 29230ms PING mpserver04.flightgear.org (109.104.88.212) 56(84) bytes of data. 64 bytes from ds4918.dedicated.turbodns.co.uk (109.104.88.212): icmp_req=1 ttl=50 time=72.3 ms 64 bytes from ds4918.dedicated.turbodns.co.uk (109.104.88.212): icmp_req=2 ttl=50 time=75.9 ms 64 bytes from ds4918.dedicated.turbodns.co.uk (109.104.88.212): icmp_req=3 ttl=50 time=82.3 ms --- mpserver04.flightgear.org ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 72.342/76.898/82.385/4.164 ms PING vps2.ionplasma.net (99.198.122.70) 56(84) bytes of data. 64 bytes from vps2.ionplasma.net (99.198.122.70): icmp_req=1 ttl=49 time=164 ms 64 bytes from vps2.ionplasma.net (99.198.122.70): icmp_req=2 ttl=49 time=159 ms 64 bytes from vps2.ionplasma.net (99.198.122.70): icmp_req=3 ttl=49 time=177 ms --- vps2.ionplasma.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 159.473/167.054/177.386/7.574 ms PING teichmann-sven.de (85.214.194.208) 56(84) bytes of data. 64 bytes from h1983970.stratoserver.net (85.214.194.208): icmp_req=1 ttl=52 time=65.7 ms 64 bytes from h1983970.stratoserver.net (85.214.194.208): icmp_req=2 ttl=52 time=57.5 ms 64 bytes from h1983970.stratoserver.net (85.214.194.208): icmp_req=3 ttl=52 time=61.9 ms --- teichmann-sven.de ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 57.551/61.751/65.724/3.352 ms PING mpserver07.flightgear.org (98.100.234.6) 56(84) bytes of data. --- mpserver07.flightgear.org ping statistics --- 31 packets transmitted, 0 received, 100% packet loss, time 29999ms PING flightgear.mxchange.org (188.138.90.169) 56(84) bytes of data. 64 bytes from zulu289.server4you.de (188.138.90.169): icmp_req=1 ttl=48 time=70.8 ms 64 bytes from zulu289.server4you.de (188.138.90.169): icmp_req=3 ttl=48 time=71.3 ms 64 bytes from zulu289.server4you.de (188.138.90.169): icmp_req=4 ttl=48 time=70.1 ms --- flightgear.mxchange.org ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 3010ms rtt min/avg/max/mdev = 70.177/70.799/71.345/0.526 ms PING mpserver09.daniel-vigano.de (88.198.40.52) 56(84) bytes of data. 64 bytes from kermit.viganolabs.de (88.198.40.52): icmp_req=2 ttl=48 time=63.2 ms 64 bytes from kermit.viganolabs.de (88.198.40.52): icmp_req=3 ttl=48 time=70.4 ms 64 bytes from kermit.viganolabs.de (88.198.40.52): icmp_req=4 ttl=48 time=62.9 ms --- mpserver09.daniel-vigano.de ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 3009ms rtt min/avg/max/mdev = 62.980/65.563/70.476/3.487 ms PING mpserver10.flightgear.org (31.24.249.125) 56(84) bytes of data. 64 bytes from 31.24.249.125: icmp_req=1 ttl=45 time=86.4 ms 64 bytes from 31.24.249.125: icmp_req=2 ttl=45 time=86.5 ms 64 bytes from 31.24.249.125: icmp_req=3 ttl=45 time=87.5 ms --- mpserver10.flightgear.org ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 10287ms rtt min/avg/max/mdev = 86.401/86.842/87.539/0.498 ms PING mpserver11.flightgear.org (193.219.56.151) 56(84) bytes of data. --- mpserver11.flightgear.org ping statistics --- 30 packets transmitted, 0 received, 100% packet loss, time 29231ms PING mpserver12.flightgear.org (62.129.143.50) 56(84) bytes of data. 64 bytes from x1.connectedserver.com (62.129.143.50): icmp_req=3 ttl=52 time=54.4 ms 64 bytes from x1.connectedserver.com (62.129.143.50): icmp_req=4 ttl=52 time=60.0 ms 64 bytes from x1.connectedserver.com (62.129.143.50): icmp_req=5 ttl=52 time=58.5 ms --- mpserver12.flightgear.org ping statistics --- 5 packets transmitted, 3 received, 40% packet loss, time 4002ms rtt min/avg/max/mdev = 54.402/57.645/60.021/2.390 ms PING mpserver13.flightgear.org (194.110.192.244) 56(84) bytes of data. 64 bytes from 194-110-192-244.phpnet.fr (194.110.192.244): icmp_req=1 ttl=51 time=82.6 ms 64 bytes from 194-110-192-244.phpnet.fr (194.110.192.244): icmp_req=2 ttl=51 time=78.9 ms 64 bytes from 194-110-192-244.phpnet.fr (194.110.192.244): icmp_req=4 ttl=51 time=80.8 ms --- mpserver13.flightgear.org ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 3009ms rtt min/avg/max/mdev = 78.906/80.800/82.631/1.556 ms PING mpserver14.flightgear.org (217.150.241.100) 56(84) bytes of data. 64 bytes from sablonier.nine.ch (217.150.241.100): icmp_req=1 ttl=46 time=65.7 ms 64 bytes from sablonier.nine.ch (217.150.241.100): icmp_req=3 ttl=46 time=67.2 ms 64 bytes from sablonier.nine.ch (217.150.241.100): icmp_req=4 ttl=46 time=63.2 ms --- mpserver14.flightgear.org ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 3003ms rtt min/avg/max/mdev = 63.290/65.424/67.236/1.653 ms root@celsius:~# -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel