Installing web100 / ndt
I chose to base my install off a standard RHEL6.2 x64 kickstart. After patching the box was running the 2.6.32-220.13.1.el6.x86_64 kernel. I chose to build on the 2.6.33 kernel from kernel.org as it gave me the least amount of problems. This document provides a minimum amount of instructions for installing these software products. Should you need more info please check the install guides provided with the software.
Building the new kernel
***Note: I installed the libpciaccess-devel package. I'm not sure it was actually required.#cd /usr/src/kernels/Download and extract the new kernel source.#wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.tar.gz#tar -zxvf linux-2.6.33.tar.gz#mv linux-2.6.33 /usr/src/kernels/linux-2.6.33-web100Download the proper web100 kernel patch and extract it somewhere.#wget http://www.web100.org/download/kernel/2.5.28/web100-2.5.28-201003241436.tar.gz#tar -zxvf web100-2.5.28-201003241436.tar.gzPatch the new kernel source#cd /usr/src/kernels/linux-2.6.33-web100#patch -p1 < "path-to-web100-dir"/web100-2.5.28-201003241436.patchCompile the kernel.#make mrproper # Not sure if this step is needed.#make localmodconfig # This will create an upgraded .config based on the current hardware/install. Press enter to all prompts.#make menuconfig
To enable web100 features select the following options: General? --->
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
Device Drivers --->
Networking support --->
Networking options --->
[*]Web100 networking enhancements --->
--- IP: Web100 networking enhancements
[*]Web100: Extended TCP statistics
(384)Web100:Default file permissions (NEW)
(0)Web100:Default gid (NEW)
[*]Web100:Net100 extensions
[*]Web100: Netlink event notification service
***Note: If you need and special network drivers you should add them now.#make -j4 # with -j# being double the cores in the box your compiling on. You may now relax for a while.#make -j4 modules # I don't think this step is required anymore.#make modules_install#make installAt this point if everything went correctly you should have a new web100 enable kernel. Check /boot and /boot/grub/grub.conf to ensure that vmlinuz-2.6.33-web100 and initramfs-2.6.33-web100.img were added properly. If something went wrong you can do a #make clean; make mrproper and start over again. If everything worked reboot, select 2.6.33-web100 from the grub menu. After boot verify your running the correct kernel.
**NOTE. I was getting some erors on boot when trying to start fcoe-target. Since we do not use Fiber chanel over ethernet I just disabled it with #chkconfig fcoe-target off.
Web100 userland.
Download and install the latest web100 userland. It can be found at the bottom of the web100 downloads page.#wget http://www.web100.org/download/userland/version1.8/web100_userland-1.8.tar.gz#tar zxvf web100_userland-1.8.tar.gz #cd web100_userland-1.8#./configure #make#make install#echo /usr/local/lib >> /etc/ld.so.conf.d/web100.conf#ldconfig
Download and install the latest NDTNdt requires the libpcap-devel package to be installed.#rpm -i libpcap-devel-1.0.0-6.20091201git117cb5.el6.x86_64.rpm#wget http://software.internet2.edu/sources/ndt/ndt-3.6.4.tar.gz#tar -zxvf ndt-3.6.4.tar.gz #cd ndt-3.6.4#./configure#make#make install#./conf/create-html.sh # Answer some basic questions to config the static html page that will live here /usr/local/ndt/tcpbw100.html It seems changes can be made directly to it such as changing it to say 10 Gbps link.#./conf/autostart.sh #/etc/init.d/ndt startAt this point the NDT fake-www server should be running on port 7123. In my case I pointed my browser to
http://hostname:7123/
--
JasonC - 2012-05-15