目录
1. 本文目的
以太网测试软件IxChariot配合Endpoint,可以实现两台PC机网卡之间带宽的测试。在window平台下Endpoint软件的安装方法比较简单,网上的介绍资料也挺多,但是在Linux系统下的介绍资料非常的稀少,软件安装后也不知道如何使用,本文重点介绍了在Linux系统下安装Endpoint软件的具体方法和使用时的注意事项。
2. Endpoint5.1使用方法
2.1 Endpoint5.1的安装
Endpoint5.1下载地址:http://download.netiq.com/products/pe/endpoints/endlnxr.tar.Z
安装软件前,先将当前用户切换至超级用户root,接着将压缩文件endlnxr.tar.Z拷贝至目录~/下并进行解压:
# tar -Zxvf endlnxr.tar.Z
# cd endlnxr
# ls
endpoint.install temp
# chmod 777 endpoint.install
# ./endpoint.install accept_license
(注:上方命令后方的参数accept_license一定要添加!)
安装成功后出现下方提示:
You have accepted the terms and conditions of the license agreement.
Any running copies of endpoint are being stopped now.
Notice! To have the endpoint start when your system reboots,
you must update your system rc scripts.
If your Linux system uses 'rc.local', add the following line
to the 'rc.local' file:
/usr/local/NetIQ/endpoint 1>>/var/local/endpoint.console 2>&1 &
Do not forget the ampersand (&) at the end of the line; without it,
the boot process will not continue and you may be unable to log in
at the console.
The endpoint install directory now uses /usr/local/NetIQ instead of
/usr/local/Ganymede. If your rc.local referenced /usr/local/Ganymede,
you should change it to use the new directory.
If your Linux system supports System V-style rc scripts,
copy /usr/local/NetIQ/rc2exec.lnx to the appropriate places.
For example, with Red Hat Linux 5.0, you might run these commands:
cp /usr/local/NetIQ/rc2exec.lnx /etc/rc.d/init.d/endpoint
ln -fs /etc/rc.d/init.d/endpoint /etc/rc.d/rc2.d/S81endpoint
ln -fs /etc/rc.d/init.d/endpoint /etc/rc.d/rc3.d/S81endpoint
ln -fs /etc/rc.d/init.d/endpoint /etc/rc.d/rc6.d/K81endpoint
For Red Hat Linux 5.2 or later, the recommended commands are:
cp /usr/local/NetIQ/rc2exec.lnx /etc/rc.d/init.d/endpoint
/sbin/chkconfig endpoint reset
Starting the NetIQ Endpoint.
Installation of endpoint was successful.
根据上方提示,要使endpoint在下次开机时自动启动,首先需要在脚本文件'rc.local'里添加以下代码:
1>>/var/local/e /usr/local/NetIQ/endpoint ndpoint.console 2>&1 &
该脚本目录为:/etc/rc.d/rc.local
其次,需要进行如下操作:
cp /usr/local/NetIQ/rc2exec.lnx /etc/rc.d/init.d/endpoint
ln -fs /etc/rc.d/init.d/endpoint /etc/rc.d/rc2.d/S81endpoint
ln -fs /etc/rc.d/init.d/endpoint /etc/rc.d/rc3.d/S81endpoint
ln -fs /etc/rc.d/init.d/endpoint /etc/rc.d/rc6.d/K81endpoint
到这里,endpoint5.1的安装环节告一段落。
2.2 Endpoint5.1的开启
# cd /usr/local/NetIQ/
# ls
cmpfiles endl.txt endpoint.ini endpoint.remove rc2exec.lnx
echr.msg endpoint endpoint.ini.newest fmtlog README
# chmod 777 endpoint
# ./endpoint
以上命令输入后,终端会出现如下提示:
Processing INI file (/usr/local/NetIQ/endpoint.ini).
ENDPOINT
Performance Endpoint, Version 5.1 (Retail)
Copyright (c) NetIQ Corporation, 1995-2006.
U.S. Patents 5,838,919, 5,881,237, 5,937,165, 6,061,725, 6,397,359,
and 6,408,335.
Other Patents Pending.
Build 8149
Endpoint INI information in use:
All available protocols are enabled.
All consoles may run tests on this endpoint.
Security Auditing: NONE
Audit filename: /usr/local/NetIQ/endpoint.aud
Support for IP Multicast is enabled.
Support for disabling and enabling TCP's Nagle Algorithm is available.
Support for disabling and enabling generation of the UDP checksum is available.
Support for IP Multicast is enabled.
Support for disabling and enabling TCP's Nagle Algorithm is available.
Support for disabling and enabling generation of the UDP checksum is available.
Support for TCP protocol has been started.
Support for TCP-IPv6 protocol has been started.
出现以上提示后,说明endpoint5.1已经正常运行了,这时打开Windows系统端的IxChariot软件,即可进行网卡带宽的测试。
说明:在端口中结束endpoint进程,可使用快捷键Ctrl+C,接着输入y,最后回车!
2.3 卸载Endpoint5.1
# cd /usr/local/NetIQ/
# ls
cmpfiles endl.txt endpoint.ini endpoint.remove rc2exec.lnx
echr.msg endpoint endpoint.ini.newest fmtlog README
# /usr/local/NetIQ/endpoint -k
# chmod 777 endpoint.remove
# ./endpoint.remove
3. 注意事项
IxChariot软件测试时,工作站那边的IP无法识别时,可能的原因如下:
(1)Endpoint的版本与当前IxChariot的不匹配;
(2)操作系统的防火墙没有关,关之。
ubuntu系统下关闭防火墙的命令:sudo ufw disable
4. 参考
(1)用Chariot/Endpoint进行无线吞吐量测量 - CSDN博客
http://blog.csdn.net/forsiny/article/details/4871310
(2)Linux系统下Endpoint5.1使用说明书 - CSDN博客
http://blog.csdn.net/snaking616/article/details/79096431
(3)教你如何开启/关闭ubuntu防火墙 - Nicat - 博客园
https://www.cnblogs.com/kluan/p/5993767.html