xref: /freebsd/tools/regression/iscsi/initiator-instructions.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1How to prepare initiator virtual machines for iSCSI target testing
2------------------------------------------------------------------
3
41. Install operating systems.
5
6  - FreeBSD: Use default settings for everything.  Don't install
7    ports from the system installer, use "portsnap fetch extract"
8    after installation instead.
9
10  - Fedora: Change the environment to "Minimal install".
11
12  - Solaris: Use defaults.
13
142. Install required software.
15
16  - FreeBSD: install from ports, with 'make install BATCH=1':
17  	benchmarks/bonnie++
18  	benchmarks/iozone
19  	benchmarks/postmark
20	databases/postgresql92-server
21	databases/postgresql92-contrib
22
23 - Fedora:
24 	yum install btrfs-progs bonnie++ postgresql-server postgresql-contrib iscsi-initiator-utils
25	chkconfig iscsid on
26	chkconfig iscsi on
27
28	After that, install iozone and postmark from source; they are not
29	provided by Fedora; download sites:
30
31	http://www.iozone.org/src/current/iozone3_397.tar
32	http://www.gtlib.gatech.edu/pub/debian/pool/main/p/postmark/postmark_1.53.orig.tar.gz
33
34	To build iozone, use "make linux".  Copy the 'postmark' and 'iozone' binaries
35	to /usr/local/bin/.
36
37 - Solaris:
38	Install gcc:
39
40	pkg install gcc-45
41	pkg install system/header
42
43	After that, install bonnie++, iozone, and postmark from source; download sites:
44
45	http://www.coker.com.au/bonnie++/experimental/bonnie++-1.97.tgz
46	http://www.iozone.org/src/current/iozone3_397.tar
47	http://www.gtlib.gatech.edu/pub/debian/pool/main/p/postmark/postmark_1.53.orig.tar.gz
48
49	To build iozone, use "make Solaris10gcc".  Copy the 'bonnie++', 'postmark', and 'iozone'
50	binaries to /usr/bin/.
51
52	Fetch the binary PostgreSQL distribution from the link below and untar to /usr/postgres/:
53
54	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