VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/utils/TestExecServ/vboxtxs-readme.txt@ 78241

Last change on this file since 78241 was 77488, checked in by vboxsync, 6 years ago

Validation Kit/TestExecServ: Updated readme.txt with a few more hints wrt CD-ROM mounting on Linux guests.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 KB
Line 
1$Id: vboxtxs-readme.txt 77488 2019-02-27 13:29:38Z vboxsync $
2
3
4VirtualBox Test eXecution Service
5=================================
6
7This readme briefly describes how to install the Test eXecution Service (TXS)
8on the various systems.
9
10There 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
22Since r85596 TXS operates in both modes by default so the nat version of
23the init scripts is not required anymore. Instead the other type can be installed
24for both cases.
25
26Linux Installation
27------------------
28
291. cd /root
302. scp/download VBoxValidationKit*.zip there.
313. unzip VBoxValidationKit*.zip
324. chmod -R u+w,a+x /opt/validationkit/
335. cd /etc/init.d/
346a. init.rc: Link up the right init script (see connection type above):
35 nat) ln -s ../../opt/validationkit/linux/vboxtxs-nat ./vboxtxs
36 other) ln -s ../../opt/validationkit/linux/vboxtxs ./vboxtxs
376b. systemd: Link/copy up the vboxtxs.system to [/usr]/lib/systemd/.
387a. init.rc: Add vboxtxs to runlevels 2, 3, 5 and any other that makes sense
39 on the distro. There is usually some command for doing this...
407b. systemd: Enable the vboxtxs service.
418a. check the CD-ROM location (--cdrom <path>) in vboxtxs and fix it so it's correct, make sure
42 to update in svn as well.
438a. optional: If no suitable CD-ROM location is available on the guest yet, do a:
44 mkdir -p /media/cdrom; vi /etc/fstab
45 and enter this in /etc/fstab:
46 /dev/sr0<tab>/media/cdrom<tab>udf,iso9660<tab>user,noauto,exec,utf8<tab>0<tab>0
479. reboot / done.
48
49
50OS/2 Installation
51--------------------
52
531. Start an "OS/2 Window" ("OS/2 System" -> "Command Prompts")
542. md C:\Apps
553. cd C:\Apps
564. Mount the validationkit iso.
575. copy D:\os2\x86\* C:\Apps
585. copy D:\os2\x86\libc*.dll C:\OS2\DLL\
596. Open C:\startup.cmd in an editor (tedit.exe for instance or e.exe).
607. Add the line "start /C C:\Apps\TestExecService.exe --foreground" at the top of the file.
618. reboot / done
629. Do test.
63
64
65Solaris Installation
66--------------------
67
681. Start the guest and open a root console.
692. mkdir -p /opt/VBoxTest
703. cd /opt/VBoxTest
714. scp/download VBoxValidationKit*.zip there.
725. unzip VBoxValidationKit*.zip
736. chmod -R u+w,a+x /opt/VBoxTest/
747. Import the right service setup depending on the Solaris version:
75 <= 10u9) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs-sol10.xml
76 >= 11.0) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs.xml
778. /usr/sbin/svcadm enable svc:/system/virtualbox/vboxtxs
789. reboot / done.
79
80To remove the service before repeating steps 7 & 8:
811. /usr/sbin/svcadm disable -s svc:/system/virtualbox/vboxtxs:default
822. /usr/sbin/svccfg delete svc:/system/virtualbox/vboxtxs:default
83
84Note. To configure dhcp for more a new interface the files
85/etc/hostname.<if#X> and /etc/dhcp.<ifnm#> have to exist. If you want the VM
86to work with any network card you throw at it, create /etc/*.pcn[01] and
87/etc/*.e1000g[012] as Solaris will remember it has seen the other variants
88before and use a different instance number (or something to that effect).
89
90
91Windows Installation
92--------------------
93
941. Log on as Administrator.
952. Set password to 'password'.
963. Start CMD.EXE or equivalent.
974. md C:\Apps
985. cd C:\Apps
996. Mount the validationkit iso.
1007. copy D:\win\* C:\Apps
1018. copy D:\win\<x86 or amd64>\* C:\Apps
1029. Import the right service setup (see connection type above):
103 nat) start C:\Apps\vboxtxs-nat.reg
104 other) start C:\Apps\vboxtxs.reg
10511. reboot / done
10612. Do test.
107
108NT 3.1 and 3.x tricks:
109- Make sure the file system is NTFS. Observed issues converting 2GB partitions,
110 more success with smaller.
111- For NT3.1 PCNET drivers can be found on the net. No DHCP, so NAT only with
112 IP 10.0.2.15, 10.0.2.2 as gateway, and 10.0.2.3 as DNS with --natdnsproxy1 on.
113- On NT3.1 you need to add SystemDrive=C: to the environment.
114- Need to perform registry edits manually.
115- Use startup folder instead of non-exising Windows/Run key.
116
117
118Testing the setup
119-----------------
120
1211. Make sure the validationkit.iso is inserted.
1222. Boot / reboot the guest.
1233. Depending on the TXS transport options:
124 nat) python testdriver/tst-txsclient.py --reversed-setup
125 other) python testdriver/tst-txsclient.py --hostname <guest-ip>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette