11556SrgrimesHow to prepare initiator virtual machines for iSCSI target testing 21556Srgrimes------------------------------------------------------------------ 31556Srgrimes 41556Srgrimes1. Install operating systems. 51556Srgrimes 61556Srgrimes - FreeBSD: Use default settings for everything. Don't install 71556Srgrimes ports from the system installer, use "portsnap fetch extract" 81556Srgrimes after installation instead. 91556Srgrimes 101556Srgrimes - Fedora: Change the environment to "Minimal install". 111556Srgrimes 121556Srgrimes - Solaris: Use defaults. 131556Srgrimes 141556Srgrimes2. Install required software. 151556Srgrimes 161556Srgrimes - FreeBSD: install from ports, with 'make install BATCH=1': 171556Srgrimes benchmarks/bonnie++ 181556Srgrimes benchmarks/iozone 191556Srgrimes benchmarks/postmark 201556Srgrimes databases/postgresql92-server 211556Srgrimes databases/postgresql92-contrib 221556Srgrimes 231556Srgrimes - Fedora: 241556Srgrimes yum install btrfs-progs bonnie++ postgresql-server postgresql-contrib iscsi-initiator-utils 251556Srgrimes chkconfig iscsid on 261556Srgrimes chkconfig iscsi on 271556Srgrimes 281556Srgrimes After that, install iozone and postmark from source; they are not 291556Srgrimes provided by Fedora; download sites: 301556Srgrimes 311556Srgrimes http://www.iozone.org/src/current/iozone3_397.tar 321556Srgrimes http://www.gtlib.gatech.edu/pub/debian/pool/main/p/postmark/postmark_1.53.orig.tar.gz 331556Srgrimes 341556Srgrimes To build iozone, use "make linux". Copy the 'postmark' and 'iozone' binaries 351556Srgrimes to /usr/local/bin/. 361556Srgrimes 371556Srgrimes - Solaris: 381556Srgrimes Install gcc: 391556Srgrimes 401556Srgrimes pkg install gcc-45 411556Srgrimes pkg install system/header 421556Srgrimes 431556Srgrimes After that, install bonnie++, iozone, and postmark from source; download sites: 441556Srgrimes 451556Srgrimes http://www.coker.com.au/bonnie++/experimental/bonnie++-1.97.tgz 4637317Sphk http://www.iozone.org/src/current/iozone3_397.tar 4737317Sphk http://www.gtlib.gatech.edu/pub/debian/pool/main/p/postmark/postmark_1.53.orig.tar.gz 4837317Sphk 4937317Sphk To build iozone, use "make Solaris10gcc". Copy the 'bonnie++', 'postmark', and 'iozone' 5037317Sphk binaries to /usr/bin/. 5137317Sphk 521556Srgrimes Fetch the binary PostgreSQL distribution from the link below and untar to /usr/postgres/: 5337317Sphk 541556Srgrimes http://ftp.postgresql.org/pub/binary/v9.2.3/solaris/solaris11/i386/postgresql-9.2.3-S11.i386-32.tar.bz2 55 563. Run the test script. 57 58 ./iscsi-test.sh 59 60