It's not clear to me what your boss meant by "replicate". Are you supposed to install a current stable perl and current versions of all the modules you had? That's fairly easy (see the autobundle suggestion), but presumes that there will be a thorough testing cycle before putting the new servers into production.

A somewhat safer alternative (but perhaps not the best thing in the long run) is to keep the same version of perl and the same module versions. But that can get complicated.

If you had been on 5.005_03, you may need to upgrade to 5.005_04 (which had really a bare minimum of patches necessary to make it compile on newer operating systems and newer gcc.) If you were using any other version, you need to chose between upgrading or possibly needing to patch perl to even get it to compile.

If the original build of perl was done sensibly, you should be able to say perl -V:config_args to see what options were used to build perl; this won't work if the -d flag wasn't used or options were provided in the Policy.sh file instead of the command line.

I would hope that modules that were installed on the old servers were done with some process that involved keeping the tarballs somewhere; if not, you've got some hunting to do. If the older versions are gone from CPAN, you may still find them at http://backpan.cpan.org.

Even with preserving old versions of everything, you've still got interactions with the operating system or any other software to worry about; don't assume you can just plop the new servers into production and have everything just work.


In reply to Re: Installing modules, trial by fire by ysth
in thread Installing modules, trial by fire by anonamonk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.