The fire server (a.k.a. The Firehouse)¶
Server information¶
- OS
- Centos 7
- Processor
- Quad-core AMD Opteron
- Memory
- 16GB
- Disk
- 80G
DNS configuration¶
To change the dns record, contact Chalmers NIC <cth-nic@chalmers.se>.
To avoid confusion with the old fire server (fire.cs.chalmers.se), we use the domain frs.cse.chalmers.se for this server.
The current DNS configuration should be something like this:
frs.cse.chalmers.se. IN TXT "UINFO: alt-fire-reporting-system-on-web-frameworks [en]"
frs.cse.chalmers.se. IN A 129.16.22.11
*.frs.cse.chalmers.se. IN A 129.16.22.11
Which means that any address of the form <something>.frs.cse.chalmers.se will go to our server.
Instances configuration¶
Configuration files are generated by a script in fire-config. See deployment for more information on how it works.
Each fire instance has its own user, a data directory, a systemd service and two nginx virtual servers (one for the app itself and one to serve uploaded files).
For instance, for the course database-vt16
there will be
- a user named
fire-database-vt16
- a directory
/srv/courses/database-vt16
- a systemd service
fire-database-vt16
configured in/etc/systemd/system/fire-database-vt16.service
- Two nginx server config, one for https://database-vt16.frs.cse.chalmers.se
and one for https://database-vt16-files.frs.cse.chalmers.se, configured in
/etc/nginx/conf.d/database-vt16.conf
.
Certificates are obtained from Let’s Encrypt which is an automated certification authority. The configuration to generate and renew the certificates automatically is included in the fire-config repository.