![]() |
||
|
Workpackage 3
|
||
|
Bulk data transfer validations and application
performance monitoring
|
||
| Work Packages |
| DataTag Work package 3 | DataTAG task 3.1 | Network Test and Monitoring Tools | System Tools | ||
System ToolsIn this section some system tools are discussed that are mainly highly related with the typical properties of the Gigabit networks described in the introduction. Check Link Up/Down Daemon for Debian LinuxIntroductionHosts running Linux may crash when a Gigabit link becomes DOWN and still traffic is running. Especially this has been observed when ICMP packets are continuously send. Probably this will be caused by buffer overflows in the AceNIC device driver (an often used driver in Linux). This problem has only been observed with Linux V. 2.4.X kernels, not with V. 2.2.X kernels. Please note that it is a property of some Lambda oriented network equipment to bring all links DOWN when the Lambda connection becomes unavailable. Hosts oriented network equipment generally will keep the other links UP when the external connection becomes unavailable. In normal production situations the software described in this document is in general unnecessary: it is typically intended for these kind of networks. DescriptionThis package contains a Perl daemon which brings an interface down when the link becomes DOWN. When the link is UP again, the interface also will be brought UP. The current UP/DOWN state of the link is read periodically from the system log. Default the check period when the link is DOWN is much larger than when the link is UP. That is to protect the hosts against rapid sequences DOWN - UP - DOWN - ...
Each up/down interface action of the daemon will be logged in the (circular) log
files that are situated in the
The daemon has been written to be used with
Debian (V. 3.0)
Linux with V. 2.4.X kernels.
It is assumed that the Link UP/DOWN state has been logged in the system log.
Default the log files A usage message will be given with the command line:
./Bin/check_link_if_daemon -help
InstallationBecause this package is only useful in special test situations, there is no real system installation procedure provided. Follow the following steps to install this package.
DownloadThe check link daemon tar-gzip archive can be downloaded from this site. Periodic Ping Commands between a Cluster of HostsDescriptionThis package can be used to execute ping commands between a cluster of hosts. At periodic intervals one of the hosts sends a number of ICMP packets (the default is one) to all other hosts in the cluster. The order which host is on turn is determined by the alphabetical order of the hostnames in the cluster. The main reason to develop this package is given by the fact that when UDP only is send to a destination, the destination does not need to answer with any packet. A switch or bridge in between may then forget in his table at which port the destination was connected since it does not see any packets coming back, so it goes in flooding mode. If one ping would be run to that destination through the switch, the switch learns again and for a few minutes the broadcast well not be seen. It never will be seen with TCP since the ACK's keep the bridge relearning. Hence the idea to send periodically ICMP between a cluster of hosts that are typically situated in the same VLAN and connected with the same switch or bridge. The main script in this package is a Perl server script that is responsible for the periodic ping commands to the other hosts in the cluster. Parameters to this script can be supplied with the program arguments and / or a configuration file. Using these parameters a group of cluster hosts are defined by one or more Perl regular expressions that are related to an unique cluster name identifying that cluster.
After startup the server script first tries to identify to which cluster(s) it
belongs. For all clusters a separate process will be spawned to ping the other
hosts in the cluster. The other member hosts of the cluster are found by parsing
the static hosts file
In general the cluster hosts are defined by Perl regular expressions that are
specified in combination with a cluster name. The hosts which are members of a
cluster are determined by parsing the static hosts file Requirements
For non-Linux hosts the
NIKHEF ping is the
required ping command. It can be downloaded from
InstallationThis package can be installed with the following steps.
Remark: Please note that when the configuration file has been modified it will be reread. However, when there are multiple clusters defined, this feature probably will not work well. In that case it is better to restart the server (see above). DownloadThe periodic cluster ping tar-gzip archive can be downloaded from this site. |
||
|
DataTAG is a project sponsored
by the European Commission - EU Grant IST-2001-32459
|
||