[rt-users] two domains, one RT?

Bruce Campbell bruce_campbell at ripe.net
Mon Feb 18 12:20:57 EST 2002


On Mon, 18 Feb 2002, Darren Nickerson wrote:

> I'd like to setup RT for two projects I support - www.hylafax.org and
> www.tpc.int. I normally host everything from these two domains on one server,
> and so I'm wondering how practical it's going to be to have two separate RT
> installations running on the same box.

Your first option should be:

	Can I run the same RT2 installation, and just have different queue
	names (with corresponding changes to the submission address) ?

Note that in such a setup, you will share the same ticket number space
(not really a problem, but the tag ($rtname) will be the same in both
cases.  If you want a different tag for each queue, you can hack the code,
or effectively have two seperate installations.)

> Are there any alternatives to installing RT twice, in
>
> 	/usr/local/rt2-hylafax/
> 	/usr/local/rt2-tpc/
>
> complete with two separate databases?

If you want to run seperate RT2 databases, then I'd suggest installing RT2
into /usr/local/rt2, then create two seperate config files, as per:

	/usr/local/rt2/etc/tpc/config.pm
	/usr/local/rt2/etc/hylafax/config.pm

You then need to create two seperate Virtualhost directives, changing
/usr/local/rt2/etc to /usr/local/rt2/etc/{tpc,hylafax} as appropriate.
Finally, create /usr/local/rt2/bin/{tpc,hylafax}-webmux.pl from
/usr/local/rt2/bin/webmux.pl, changing the lib directories within as
appropriate.

Repeat the excercise for /usr/local/rt2/bin/rt-mailgate.  Presto - two
installations sharing the RT libraries.  Or you could just symlink away ;)

Regards,

-- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations





More information about the rt-users mailing list