Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Apache/mod_perl on multiple servers

by cord-bin (Pilgrim)
on Oct 11, 2012 at 21:09 UTC ( #998551=note: print w/ replies, xml ) Need Help??


in reply to Apache/mod_perl on multiple servers

I used perl on shared storage too with NFS but with mod_perl things are different, you will need to compile the module for your apache installation (not instance) and perl version. You can run different instances of apache with the same installation. If you have the same version of perl and apache on all your machines you can tweak a shared perl/mod_perl stuff but we talk hear about a module. If you are in a virtualized environment I would go with a template deployment, otherwise RPMs. You can then create debian packages, I don't know your OS and I hope is not windows.


Comment on Re: Apache/mod_perl on multiple servers
Re^2: Apache/mod_perl on multiple servers
by hbm (Hermit) on Oct 12, 2012 at 14:06 UTC

    Thanks, cord-bin!

    This is Linux, and the same version of Perl and Apache will be used on all servers.

    So if I've installed Perl on the NetApp and Apache/mod_perl on one server; I can then install Apache on the other servers and enable mod_perl by copying the appropriate configuration settings?

      Not sure it applies to your situation, but you may want to look at the ProxyPass ProxyPassReverse directives in Apache

      see also mod_proxy ( eg : http://marc.info/?l=apache-modperl&m=115557308908428&w=2). You can search the archives of mod_perl's users list on these subjects (http://perl.apache.org/maillist/modperl.html). After you've done a little research, you'll get good answers on that list too.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-12-27 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls