Building an older RT instance for testing

Morning all,

I have been tasked with performing two changes to an existing RT-3.4.2 instance:

  • install RTFM
  • upgrade to the latest and greatest RT

To achieve this I would like to replicate the clients current
production environment (yes its old but its what Ive got):

  • FC3
  • Apache/2.0.53
  • mod_perl1.99 (aka bastardised Redsplat v2.0)

So, ive run up my FC3 test box, patched it (insert laugh here) and
ensured that the same RPMs are installed on the test box as are on the
prod box.

The issue I have now is, that after ive run the ‘make testdeps’ and
’make fixdeps’ and installed all the pre-reqs from CPAN, im ending up
with a missing mod_perl2.pm when I start apache.

I suspect that what is happening is that i’m getting newer modules
from CPAN than when the prod environment was built and these newer
modules depend on mod_perl2. I cant figure out how to confirm this
though.

So, my question is really, am I flogging a dead horse here? I need to
replicate the production environment before touching it and I don’t
like my chances of doing that reliably.
Can anyone suggest an alternative strategy for getting RTFM installed safely?
After all these problems I suspect that the prospects of upgrading to
the latest and greatest RT are virtually nil.

There is no gravity the world sucks.

  • William Gibson - Pattern Recognition

Andrew Best wrote:

So, my question is really, am I flogging a dead horse here? I need to
replicate the production environment before touching it and I don’t
like my chances of doing that reliably.
Can anyone suggest an alternative strategy for getting RTFM installed safely?
After all these problems I suspect that the prospects of upgrading to
the latest and greatest RT are virtually nil.

Hey Andrew,

Can you just restore the backups of the production server to the dev
server? If you don’t have backups, you should take one and restore it
to the dev server :P. You could even just rsync the whole thing over,
just take down the database when you copy over the datafiles… Probably
easier to clone the prod system than it would be to build out a
FC3…and you’d end up an identical system…

As for upgrading, there are some really good documents on the wiki and
in the rt source package on how to upgrade. We pulled off a 3.0.x to
3.6.x upgrade + server migration without any data loss.

.r’