1 | $Id: vboxtxs-readme.txt 52776 2014-09-17 14:51:43Z vboxsync $
|
---|
2 |
|
---|
3 |
|
---|
4 | VirtualBox Test eXecution Service
|
---|
5 | =================================
|
---|
6 |
|
---|
7 | This readme briefly describes how to install the Test eXecution Service (TXS)
|
---|
8 | on the various systems.
|
---|
9 |
|
---|
10 | There are currently two transport options for the TXS:
|
---|
11 |
|
---|
12 | - The default is to use it in TCP server mode, i.e. the test script needs
|
---|
13 | to know the guest's IP and therefore requires guest additions to be
|
---|
14 | installed as well. (Please use the latest stable additions compatible with
|
---|
15 | the VBox host versions you intend to test.)
|
---|
16 |
|
---|
17 | - The alternative is for NATted setups where TXS will act like a TCP client
|
---|
18 | and try connect to the test script on the host. Since this require that
|
---|
19 | TXS knows which IP to connect to, it's only really possible in a NATted
|
---|
20 | setup where we know the host IP is 10.0.2.2.
|
---|
21 |
|
---|
22 | Since r85596 TXS operates in both modes by default so the nat version of
|
---|
23 | the init scripts is not required anymore. Instead the other type can be installed
|
---|
24 | for both cases.
|
---|
25 |
|
---|
26 | Linux Installation
|
---|
27 | ------------------
|
---|
28 |
|
---|
29 | 1. cd /root
|
---|
30 | 2. scp/download VBoxValidationKit*.zip there.
|
---|
31 | 3. unzip VBoxValidationKit*.zip
|
---|
32 | 4. chmod -R u+w,a+x /root/validationkit/
|
---|
33 | 5. cd /etc/init.d/
|
---|
34 | 6. Link up the right init script (see connection type above):
|
---|
35 | nat) ln -s ../../root/validationkit/linux/vboxtxs-nat ./vboxtxs
|
---|
36 | other) ln -s ../../root/validationkit/linux/vboxtxs ./vboxtxs
|
---|
37 | 7. Add vboxtxs to runlevels 2, 3, 5 and any other that makes sense
|
---|
38 | on the distro. There is usually some command for doing this...
|
---|
39 | 8. Check the cdrom location in vboxtxs and fix it so it's correct, make sure
|
---|
40 | to update in svn as well.
|
---|
41 | 9. reboot / done.
|
---|
42 |
|
---|
43 |
|
---|
44 | OS/2 Installation
|
---|
45 | --------------------
|
---|
46 |
|
---|
47 | 1. Start an "OS/2 Window" ("OS/2 System" -> "Command Prompts")
|
---|
48 | 2. md C:\Apps
|
---|
49 | 3. cd C:\Apps
|
---|
50 | 4. Mount the validationkit iso.
|
---|
51 | 5. copy D:\os2\x86\* C:\Apps
|
---|
52 | 5. copy D:\os2\x86\libc*.dll C:\OS2\DLL\
|
---|
53 | 6. Open C:\startup.cmd in an editor (tedit.exe for instance or e.exe).
|
---|
54 | 7. Add the line "start /C C:\Apps\TestExecService.exe --foreground" at the top of the file.
|
---|
55 | 8. reboot / done
|
---|
56 | 9. Do test.
|
---|
57 |
|
---|
58 |
|
---|
59 | Solaris Installation
|
---|
60 | --------------------
|
---|
61 |
|
---|
62 | 1. Start the guest and open a root console.
|
---|
63 | 2. mkdir -p /opt/VBoxTest
|
---|
64 | 3. cd /opt/VBoxTest
|
---|
65 | 4. scp/download VBoxValidationKit*.zip there.
|
---|
66 | 5. unzip VBoxValidationKit*.zip
|
---|
67 | 6. chmod -R u+w,a+x /opt/VBoxTest/
|
---|
68 | 7. Import the right service setup depending on the Solaris version:
|
---|
69 | <= 10u9) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs-sol10.xml
|
---|
70 | >= 11.0) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs.xml
|
---|
71 | 8. /usr/sbin/svcadm enable svc:/system/virtualbox/vboxtxs
|
---|
72 | 9. reboot / done.
|
---|
73 |
|
---|
74 | To remove the service before repeating steps 7 & 8:
|
---|
75 | 1. /usr/sbin/svcadm disable -s svc:/system/virtualbox/vboxtxs:default
|
---|
76 | 2. /usr/sbin/svccfg delete svc:/system/virtualbox/vboxtxs:default
|
---|
77 |
|
---|
78 | Note. To configure dhcp for more a new interface the files
|
---|
79 | /etc/hostname.<if#X> and /etc/dhcp.<ifnm#> have to exist. If you want the VM
|
---|
80 | to work with any network card you throw at it, create /etc/*.pcn[01] and
|
---|
81 | /etc/*.e1000g[012] as Solaris will remember it has seen the other variants
|
---|
82 | before and use a different instance number (or something to that effect).
|
---|
83 |
|
---|
84 |
|
---|
85 | Windows Installation
|
---|
86 | --------------------
|
---|
87 |
|
---|
88 | 1. Log on as Administrator.
|
---|
89 | 2. Set password to 'password'.
|
---|
90 | 3. Start CMD.EXE or equivalent.
|
---|
91 | 4. md C:\Apps
|
---|
92 | 5. cd C:\Apps
|
---|
93 | 6. Mount the validationkit iso.
|
---|
94 | 7. copy D:\win\* C:\Apps
|
---|
95 | 8. copy D:\win\<x86 or amd64>\* C:\Apps
|
---|
96 | 9. Import the right service setup (see connection type above):
|
---|
97 | nat) start C:\Apps\vboxtxs-nat.reg
|
---|
98 | other) start C:\Apps\vboxtxs.reg
|
---|
99 | 11. reboot / done
|
---|
100 | 12. Do test.
|
---|
101 |
|
---|
102 |
|
---|
103 | Testing the setup
|
---|
104 | -----------------
|
---|
105 |
|
---|
106 | 1. Make sure the validationkit.iso is inserted.
|
---|
107 | 2. Boot / reboot the guest.
|
---|
108 | 3. Depending on the TXS transport options:
|
---|
109 | nat) python testdrivers/tst-txsclient --reversed-setup
|
---|
110 | other) python testdrivers/tst-txsclient --hostname <guest-ip>
|
---|
111 |
|
---|
112 |
|
---|
113 |
|
---|