← Back to team overview

epoptes team mailing list archive

Re: [Question #227204]: Install Epoptes on Multiple Thin Client Servers

 

Question #227204 on Epoptes changed:
https://answers.launchpad.net/epoptes/+question/227204

    Status: Open => Answered

Alkis Georgopoulos proposed the following answer:
Modify /etc/default/epoptes-client in the second server, both in / and in the chroot, so that it points to SERVER=ip-of-server1.
That way all Epoptes clients will be connecting to server1, no matter where they've booted from.

Then either do LDM_SERVER=server1 for teachers in your load balancing logic, or do the following:
Create a /usr/local/bin/epoptes wrapper in server2, that does:
#!/bin/sh
exec ssh -X server1 epoptes "$@"
Don't forget to make it executable, by running `sudo chmod +x /usr/local/bin/epoptes`.
Finally, set up passwordless ssh authentication for each teacher from server2 to server1:
teacher@server2:~$ ssh-copy-id server1

-- 
You received this question notification because you are a member of
Epoptes Developers, which is an answer contact for Epoptes.