分类: LINUX
2009-12-08 16:44:26
System Names
$control The control machine, running Linux. This machine may be the same as
the development machine
$host
The test machine, with ESX installed, which hosts the driver under test
$aux
An auxiliary machine, with ESX installed, which supports tests on the $host system
System configuration
l
Control
machine:
X86 microprocessor architecture(the ddk and test suite
rpm is for x86)
DVD
drive
100 GB
of free disk space
A trusted Ethernet NIC for connecting to the control network
(control‐net)
NOTE VMware recommends using a gigabit NIC
and switch to improve the performance of the test infrastructure, which copies
large files across the network for some tests.
Software
need to install:
Install
ddk (ddk_devtools/devkits_toolchain/vib_suite )
Install
ddk_test_suite(tar the package and run ./INSTALL)
Build
Netperf
A valid in the /etc/hosts file ?(10.17.234.100 dev.eng.ihv.com dev)
l
Host
machine:
A
server using the x86 microprocessor architecture and listed on the VMware ESX
Compatibility List
100 GB
of disk space
A DVD
drive
A
trusted Ethernet NIC for connecting to the control network (control‐net)
install vmware esx4.0
install ddk test
suite
A valid
hostname in the /etc/hosts file
Network Information
$host :
hostname = host.eng.ihv.com: ip addr = 10.17.234.1
$aux :
hostname = aux.eng.ihv.com: ip addr = 10.17.234.10
$control
: hostname = dev.eng.ihv.com: ip addr = 10.17.234.100
Entries
in /etc/hosts for $host, $aux and $control:
127.0.0.1 localhost.localdomain localhost
10.17.234.1
host.eng.ihv.com test
10.17.234.10
aux.eng.ihv.com aux
10.17.234.100
dev.eng.ihv.com dev
Install driver at host
machine: refer to ddk_developers_guide.pdf
1.
Mount
driver disk: mount –o loop mv94xx.iso /root/driver
2.
Cd
/root/drvier
3.
Esxupdate
--bundle=offline-bundle/offline-bundle.zip --nodeps --nosigcheck
--maintenancemode --nocache update
4.
Reboot
5.
Verify
that your driver is loaded.
If it is
not, load the driver using the command
vmkload_mod
Run ddk test suite
Notes:
must stop iptables and firewall first, if not control machine cannot connect
host.
Hostname :/etc/hosts is the host nare dns related
/etc/sysconfig/network is the real hostname