1 OS Installation (text environment)
  • Boot from CD-ROM, we use text model install
Type Linux text to install under text environment
  • Choose a language: English Keyboard Type: us Installation Method: Local CDROM
  • Partition
 
Mount point
File System type
Size(MB)
 
swap
2048
/boot
ext3
100
/
ext3
5120
/data1
ext2
All available   
 
 
 
 
 
  • Set IP address for eth0 and eth1
     eth0: 192.0.17.100/255.255.255.0
     eth1: 192.1.3.100/255.255.255.0
  • Selection Customize software selection then select the needed packages:
Administration Tools
Development Tools
Editors
FTP Server
GNOME Desktop Environment
Graphical Internet
KDE Desktop
Kernel Development
Network Servers
Printing Supportt
Server Configuration Tools
       Web Server
       Windows File Server
       X Windows System
2 Configuration for NetBench
2.1 Server configuration
  • Login as root, open in terminal, add user admin, delete password of root
[root@ntsvr ~]# adduser admin
[root@ntsvr ~]# passwd –d root
  • Edit the rc.localhosts and sysctl file.
[root@ntsvr ~]# cd  /etc
[root@ntsvr etc]#vi  rc.local
Add one line: setterm –powersave off –blank 0
[root@ntsvr etc]#vi hosts
Add one line: 192.0.17.1 controller
[root@ntsvr etc]#vi  sysctl.conf
   Set net.ipv4.ip_forword=1
[root@ntsvr ~]#service network start
 
  • Select Firewall Configuration
Security Level: Disabled   SELinux Disabled
  • Select System service
Disable ip6tables, iptables and sendmail
  • Edit fstab file
[root@ntsvr ~]#df /*check /data1 and remember where /data1 mount*/
[root@ntsvr ~]#umount  /data1
[root@ntsvr ~]#vi /etc/fstab
 
[root@ntsvr ~]#mke2f –b 2048 –i 65536 –m  0  /dev/sda5
[root@ntsvr ~]#mount  /data1
[root@ntsvr ~]#df –k /data1   /*check /data1 where is it ounted
  • Create Default folder in /data1, and then change owner and permission
[root@ntsvr ~]#mkdir /data1/Default
[root@ntsvr ~]#chown admin:admin /data1/Default
[root@ntsvr ~]#chmod 777 /data1/Default
[root@ntsvr ~]#ll /data1
  • Edit smb.conf file
[root@ntsvr ~]#cd /etc/samba
[root@ntsvr samba]#vi smb.conf
Add a line at [global]: null passwords = yes
Change the interfaces setting
Change security=share /*line 101*/
Add few lines at end of the file
     [Default]
     comment = NetBench Share folder
         path = /data1 Default
     read only = no
        public = yes
  • Set the IP address for NIC1 and NIC2
 [root@ntsvr samba]#cd /etc/sysconfig/network-scripts
 [root@ntsvr network-scripts]#ls
[root@ntsvr network-scripts]#cp ifcfg-eth0 ifcfg-eth0:0
[root@ntsvr network-scripts]#cp ifcfg-eth0 ifcfg-eth0:1
[root@ntsvr network-scripts]#cp ifcfg-eth1 ifcfg-eth1:0
[root@ntsvr network-scripts]#vi ifcfg-eth0:0
[root@ntsvr network-scripts]#vi ifcfg-eth0:1
[root@ntsvr network-scripts]#vi ifcfg-eth1:0
 
NIC1
NIC2
DEVICE
eth0
eth0:0
eth0:1
eth1
eth1:0
BROADCAST
192.0.17.255
192.1.1.255
192.1.2.255
192.1.3.255
192.1.4.255
IPADDR
192.0.17.100
192.1.1.100
192.1.2.100
192.1.3.100
192.1.4.100
NETWORK
192.0.17.0
192.1.1.0
192.1.2.0
192.1.3.0
192.1.4.0
  • Change run level 5 to level 3
[root@ntsvr ~]#vi  /etc/inittab
Change id:5:initdefault: to id:3:initdefault: (Change 5 to 3)
            #4:2345:respawn:/sbin/mingetty tty4
      #5:2345:respawn:/sbin/mingetty tty5
      #6:2345:respawn:/sbin/mingetty tty6
  • Restart server
  • To start the samba service
[root@ntsvr ~]# /etc/init.d/smb start
  • Check the samba service whether has been installed
[root@nrsvr~]#rmp –q samba
 
2.2 Client and controller configuration
Client
  • Reboot the clients
  • Press “CTRL+F1” to open the “Remote Run” panel
  • Press ”CTRL+F9” to search the clients in the same group till all the clients can be found
  • Run clients to connect to the controller
Controller
  • Restart controller
  • Set to NetBench controller
  • Launch controller, check all required clients are all connected successfully
3 Run NetBench
  • Start to log on the controller, check all required clients log in correctly, and then press OK
  • Click the “add test suite” icon, and then select test suites from the window appears.
  • Enter a name for the results files and any comments in the comments box.
  • Click OK, and then start to run the test suites.
  • Check the clients status are in green mark or yellow mark.
4 Results
  • Choose View Results from the Results menu at the controller window
  • At the Select Results window, choose the result file produced by the suite.
  • View the results in an Excel workbook by using special Excel marcos.