Docker stf set up - multiple servers

236 views
Skip to first unread message

terminalone

unread,
Mar 8, 2018, 1:18:33 AM3/8/18
to OpenSTF
I have 2 linux boxes at 2 locations:
I have to setup stf in such a way that I should be able to access stf and the attached devices from either of the locations.
I have a dockerized setup on Machine A currently.I am able to see devices in stf web UI.
Also we may add more servers in future

Setup:
server A : stf up and running  - docker process running - Location A
rethinkdb is installed on this machine

server  B : Yet to setup

I have the following questions:

a) On Machine B should I have all the stf processes running (similiar to Machine A)

b) Do i need to setup rethinkdb pn server B ?

c)do i need to setup nginx on serer B too ?

d)What nginx configuration would i need to integrate both these setups so that my stf UI will display devices attached to Server A,Server B

Thank,
Parag

Simo Kinnunen

unread,
Mar 8, 2018, 1:39:18 AM3/8/18
to terminalone, OpenSTF
I think all of your questions are covered by the deployment guide. Everything depends on how you decide to configure things. You can either have a rethinkdb proxy per server, or run a full cluster node on each server but I wouldn’t do that. You can also connect directly without going through a proxy if you modify the unit files.

Your providers should only have adb and stf-provider on them.

You can decide how many load balancers you want. One should work.

--
You received this message because you are subscribed to the Google Groups "OpenSTF" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openstf+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openstf/6e470071-bbb5-4e46-9e07-4db10dadca73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages