Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Migrating from Windows Server 2003

by sundialsvc4 (Abbot)
on Jul 20, 2018 at 13:58 UTC ( #1218912=note: print w/replies, xml ) Need Help??


in reply to Migrating from Windows Server 2003

Start with a base installation of the Perl of choice probably ActiveState because of the availability of paid support then carefully inventory all of the packages that are now installed on the old system which do not appear on the new, and which cannot be obtained directly from the installation vendor.   These will need to be installed using conventional cpanm techniques, and there are a few main issues here:

  1. Many Perl packages make use of underlying binary libraries using so-called XS technology.   All packages must be installed through cpanm from the latest available sources.   Binaries may be compiled on the target.   You cannot simply copy the Perl library directories, for this and other reasons.
    • Some packages rely on third-party binary libraries (e.g. libxml2) which they obtain in object-code form, and a different version of that library is likely to have been used.   But these differences should have been taken care of for you.
  2. Hopefully, none of the Perl packages upon which you now rely have been deprecated, and all of them have been actively maintained but, check them one-by-one to make sure.
  3. Unlike PHP (grrr...), Perl package-makers are usually very good at maintaining backward compatibility with the past, but you should carefully review the release-logs in search of any signs of trouble.
  4. I strongly recommend that your new Perl target should be 64-bit to reflect the native architecture of the underlying OS.  Hopefully your programmers didn’t play games with pack/unpack or freeze/thaw.
  5. If your application interacts with the OS environment e.g. the Registry, expect trouble, since the security architecture has changed considerably.   Your application might encounter (e.g.) permissions issues that may or may not be related to the Perl source-code.   If your application runs under say, IIS, there are many differences there.

Replies are listed 'Best First'.
Re^2: Migrating from Windows Server 2003
by marto (Archbishop) on Jul 20, 2018 at 14:35 UTC

    "These will need to be installed using conventional cpanm techniques, and there are a few main issues here:"

    Does ActiveState even ship with cpanm?

    "then carefully inventory all of the packages that are now installed on the old system which do not appear on the new, and which cannot be obtained directly from the installation vendor."

    Or just use perl -MCPAN -eautobundle to create a bundle for you, which you can then install the same way you would any other bundle:perl -MCPAN -e "install Bundle::Snapshot_YYYY_MM_DD_00". Alternativly if they're already an ActiveState user ppm profile save module-list.xml/ppm restore module-list.xml.

    "Many Perl packages make use of underlying binary libraries using so-called XS technology. All packages must be installed through cpanm from the latest available sources."

    So you've suggested ActiveState which does not ship with a compiler and build tools, and insist that OP compile everything despite the fact that PPM exists? Doesn't sound like you're in a position to offer any constructive advice here.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1218912]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2019-12-12 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?