Apple Mac OS X Server Network Card User Manual


 
248 Chapter 14 Working with Network Services
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 pre acquisition script quits the running applications to free up the CPU for the Web
server. A post acquisition script starts the Web server. Once the primary server is up
and running again, a pre relinquish script quits the Web server, and a post relinquish
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 daemon to set up Point-to-Point Protocol (PPP) dial-in service. See
the pppd man page for more information.
The “Examples” section of the man page shows an example of setting up dial-in service.
Restoring the Default Configuration for Server Services
When you use applications such as Server Admin to configure a Mac OS X Server
service, your settings are stored in places such as a configuration file (.conf), a
preference list (.plist), an XML file, or the NetInfo database. In certain cases, you might
want to reset a service back to its default settings, which can be done by simply
renaming or deleting a service’s configuration file. Mac OS X Server will then create a
fresh default copy of the file.
To restore the NAT service to its default configuration:
Rename or delete the natd.plist file located in the /etc/nat/ folder.
To restore the Firewall service to its default configuration:
Rename or delete the ip_address_groups.plist, standard_services.plist, and ipfw.conf
files located in the /etc/ipfilter/ folder.