(→Multiple device support) |
(→conductor configuration) |
||
| Line 41: | Line 41: | ||
=== conductor configuration === | === conductor configuration === | ||
| + | |||
| + | You need always own conductor.conf per device. Copy the default conductor.conf to first device: | ||
| + | sudo cp /etc/conductor.conf /etc/conductor_1.conf | ||
| + | |||
| + | And for second device: | ||
| + | sudo cp /etc/conductor.conf /etc/conductor_2.conf | ||
| + | |||
| + | The most important thing in those configuration files is to define the default flasher and IP addresses. | ||
| + | |||
| + | Recommended IPs for devices: | ||
| + | * conductor_1.conf, host: 192.168.3.14, device: 192.168.3.15 | ||
| + | * conductor_2.conf, host: 192.168.4.14, device: 192.168.4.15 | ||
== Testing == | == Testing == | ||
Contents |
This feature has been added to 0.8.4 version.
Multiple device support means that one OTS worker can handle multiple devices simultaneously and execute tests parallel. One worker can include multiple ots-worker instances and they work individually. Only limitation is amount of the switchbox ports (if using USB devices), this limitation in HAT switchbox is 2.
Note! For MeeGo N900, you need the latest meego-ai and meego-ai-flasher!
This guideline assumes that you have HAT switchbox and two N900 devices.
Install OTS worker normally, check installation guidelines.
You need one HAT, two N900 devices and lots of cables:
Basically you need to start two ots-worker programs in one PC.
If both devices are using the same OTS server and queue, then you can use the default /etc/ots.ini file. Start workers as root in different shells or screen windows:
ots_worker -n 1 ots_worker -n 2
If you want to dedicated the other device to some other server or queue, create a copy from the default ots.ini file and make your changes to that. Start workers as root in different shells or screen windows:
ots_worker -n 1 ots_worker -n 2 -c /your/new/ots.ini
Both workers should be able to connect to OTS server normally, check that they have different worker id:
ots.worker.worker - INFO - Starting the worker 1...
You need always own conductor.conf per device. Copy the default conductor.conf to first device:
sudo cp /etc/conductor.conf /etc/conductor_1.conf
And for second device:
sudo cp /etc/conductor.conf /etc/conductor_2.conf
The most important thing in those configuration files is to define the default flasher and IP addresses.
Recommended IPs for devices: