
For example, your secondary server may perform other services on the network such as running a statistical analysis application and distributed image processing software. A preacquisition script quits the running applications to free up the CPU for the Web server. A postacquisition script starts the Web server. Once the primary is up and running again, a prerelinquish script quits the Web server, and a postrelinquish script starts the image processing and statistical analysis applications. The sequence of scripted events might look like this:
<Failover condition detected> Test (if present) PreAcq10.StopDIP PreAcq20.StopSA PreAcq30.CleanupTmp <Acquire IP address> PostAcq10.StartTimer PostAcq20.StartApache
<Primary server returns to service> PreRel10.StopApache PreRel20.StopTimer
<Relinquish IP address> PostRel10.StartSA PostRel20.StartDIP PostRel30.MailTimerResultsToAdmin
Enabling PPP Dial-In
You can use the pppd command to set up
Chapter 13 Working With Network Services
153