|Practical mod_perl / HTML Book /|
Chapter 5. Web Server Control, Monitoring, Upgrade, and Maintenance
Starting the Server in Multi-Process Mode
Starting the Server in Single-Process Mode
Using kill to Control Processes
Using apachectl to Control the Server
Validating Server Configuration
Setuid root Startup Scripts
Preparing for Machine Reboot
Upgrading a Live Server
Three-Tier Server Scheme: Development, Staging, and Production
Web Server Monitoring
Server Maintenance Chores
This chapter covers everything about administering a running mod_perl server. First, we will explain techniques for starting, restarting, and shutting down the server. As with Perl, there's more than one way to do it, and each technique has different implications for the server itself and the code it runs. A few widely used techniques for operating a server are presented. You may choose to use one of the suggested techniques or develop your own.
Later in the chapter, we give instructions on upgrading and disabling scripts on a live server, using a three-tier scheme, and monitoring and maintaining a web server.