beautypg.com

Using disk journaling, Using disk journaling 611 – Apple Mac OS X Server (version 10.2.3 or later) User Manual

Page 611

background image

Tools for Advanced Administrators

611

m PreAcq–run before acquiring IP address from primary server

m PostAcq–run after acquiring IP address from primary server

m PreRel–run before relinquishing IP address back to primary server

m PostRel–run after relinquishing IP address back to primary server

You may have more than one script at each stage. The scripts in each prefix group are run in
the order their file names would appear in a directory listing using the

ls

command.

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:

Test (if present)

PreAcq10.StopDIP

PreAcq20.StopSA

PreAcq30.CleanupTmp

PostAcq10.StartTimer

PostAcq20.StartApache

PreRel10.StopApache

PreRel20.StopTimer

PostRel10.StartSA

PostRel20.StartDIP

PostRel30.MailTimerResultsToAdmin

Using Disk Journaling

Journaling is a technique that helps protect the integrity of HFS+ disks on Mac OS X
computers. It both prevents a disk from getting into an inconsistent state and expedites disk
repair if the server fails.

LL0395.Book Page 611 Wednesday, November 20, 2002 11:44 AM