It stands for Remote Telescope System 2. As name suggest, there was Remote Telescope System, which was later renamed to RTS1. It was writen in Python, which was discovered as pretty stupid idea, as project at the Mathematical and Physical Faculty of Prague Charles Univerzity for telescope BART.
RTS2 was firstly written in pure C as my diploma thesis. After I finish degree, it was (almost completly) rewritten to C++. Rewrites enabled me to realize ideas I gather during writing C code - primary objectiv was selector and executor separation, but there were more issues (memory leaks...).
The main author (Petr Kubanek) is currently working on network extension, so the RTS2 telescopes will collaborate on new discoveries. Please write him for details (there is a paper presented in Astronomische Nachrichten on the issue, but most probably you will have to pay for it - I can send you personal copy for free).
Yes, currently it runs on those telescopes:
And future plans: 1 x RT in Spain (Astrobiology), 1.23m at CAHA, new Bootes system at New Zealand. Plus there is plan to finally make from it a network - work in progress.
Yes, you can use the software, as long as you agree with it's licence (GNU licence - see COPYING).
To start RTS2 - as root issue:
That in my case leads to:
To stop it:
To restart it:
Most probably you are getting somethink like:
This means that user does not have rights to connect to the database. You must create user with
followed by adding user to "observers" group:
Please note that you have to run all the commands as database superuser. Please consult PostgreSQL manual for details.
For that to work, you need to establish RTS2 connection between GRBD on machine which can accept GCN connections (let's call it GRBH), and RTS2 master server (let's call it CS).
Starting on CS, you will need:
host all all {GRBH IP}/32 md5
listen_addresses = '*' # or only GRBH IP
stars=# create user grb;
CREATE ROLE
stars=# alter user grb password 'grbgrb';
ALTER ROLE
stars=# alter group observers add user grb;
ALTER ROLE
Then on GRBH, you will need to:
[database]
name = stars@{CS name}
username = grb
password = grbgrb
--server {CS IP/name}