Deploying Perl for a Share

Anyone have suggestions on deployment methods for Perl modules for a shared cluster?

Our current method is very manual.

  • Remove half the cluster
  • Copying Perl modules (CPAN style modules) to downed cluster members
  • ssh to each member and run perl Makefile.pl; make ; make installfor each module to be installed
  • Confirm Deployment
  • The service has newly deployed cluster members, old cluster members are not serviced, and steps 2 β†’ 4 are repeated

This, of course, is far from optimal, who has or knows good chains of tools for deploying Perl modules in a cluster with a common nickname?

+5
source share
7 answers

node , Perl, .

, , . Perl - , .

+4

, , rsync -, .

+3

Perl, Expect ( CPAN), , , , . , , . Expect, .

+2

Perl, . CPAN, , . " ", , , NFS.

, (:/opt/my-app), , , .

, Capistrano. , ssh. : parallel-jobs. README ssh. , , , ( ).

+2

Debian Ubunto OS, Perl - , : Perl module builder , , , CPAN, .

, RedHat rpms CPAN, Perl RPM-Land, .

- , , rsync ( , rsync ), , Windows rsync unix, .

, Puppet, , . Perl , - , .

+2

Capistrano - , ; .

, , Puppet, , , , .

+1

I don’t know exactly what a shared cluster is, but if it uses some basic * nix system like Fedora, Mandriva or Ubuntu. Many perl modules are precompiled for specific architectures. You can easily run them.

If these systems have the same arch, you can do as someone else said, and just copy the compiled modules from system to system, just make sure that you have all the dependencies on the recipient system.

0
source

All Articles