RT Care and Feeding

Note that this page is currently being developed contact iainr@infREMOVE_THIS.ed.ac.uk for more information.

This page covers the operation of slurmRT on the clusters in use in the School.

Overview

We run RT on a number of services, the main RT service, ISSRT and RDMPUBS RT is an open source ticketing system developed by Best Practical Solutions. It consists of a Web frontend, Mysql or postgres backend and a mail gateway.

Web Front End

The configuration for the web front end is in /etc/rt/RT_SiteConfig.pm and is configured via the file component. Note that you're editing in perl code rather than a configuration file so you may have to escape some characters in the file. The main highlights are:
Set( $DatabaseUser, "root" );
Set( $DatabasePassword, "somegibberish" );
The user/password combination to connect to the database with,
Set( $WebExternalAuto, 1 );
Set( $WebFallbackToInternalAuth, 1 );
Set( $WebRemoteUserAuth,1);
We're using extrernal auth (cosign) by default but we want it to fall back to internal authentication if cosign is not available because we can still then login as the admin user and do things. RT4 has a long section setting additional lifecycles that redefines how some ticket transitions happen, other rts rdon't.

database backend(mysql)

This is the default database and required no comfiguration beyond defining a username and password pair. It's assumed that the front end can connect to a mysql database running on localhost.

database backend (postgres)

Mail Gateway

Email into rt is gatewayed through crunchie.inf ed.ac.uk. mail for rt and issrt are routed via rt@infREMOVE_THIS.ed.ac.uk and rdmpubs is via infkm (Don't ask). Mail is sorted via .procmail filters in each account and a gateway script called with approrpiate arguments to queue the email to the correct queue or ticket.

Editing the procmail filters

In the case of rt....don't, please don't unless you really know what you're doing. .procmail itself is running under rcs so you will need to co and ci the file. email destined for issrt is mailed to rt+s@inf and mail is then distributed based on the plussed address.

Issues

Web front end can't connect to database.

This is usually caused by the wrong password being used in the configuration. If you are moving rt to another host then the password will have to remain the same as the default passwored generated by the mysql component will be overwritted when you restore from backup.

-- IainRae - 12 Mar 2019

Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 12 Mar 2019 - 16:56:40 - IainRae
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies