Node Maintenance
[Previous] [Next] [First] [Last] 


Node Maintenance

A regular schedule of Calendar Server node maintenance is the best protection against unscheduled down time and loss of data. By following the procedures outlined below, an administrator should minimize problems and ensure the smooth and uninterrupted running of the Calendar application within his enterprise.

This chapter outline the following maintenance tasks:

Maintenance procedures

Daily monitoring procedures

The following system monitoring procedures should be performed on a daily basis:

UNIX
    1. Select Server Status | Show Server Status from the Calendar Server Manager menu.

    2. Select the option(s) you wish to invoke by clicking the appropriate check box(es).

    3. Click OK to run the script.

    4. This script can also be run from the command line. See unistatus in Appendix G for complete instructions and syntax.
NT
NT

Daily maintenance procedures

A nightly backup of the Calendar Server database (i.e. /users/unison/db/ ) is your best protection against database corruption, which may occur as a result of a power failure or disk crash. While database corruption is very rare, even under the aforementioned conditions, nightly backups serve as a safeguard in the event that your database cannot be restored.

Warning:
Netscape Calendar Server must be shut down prior to making a backup.

Monthly maintenance procedures

The following system maintenance procedures should be done after hours on a monthly basis:

Other maintenance procedures

Backup procedures

Warning:
The Calendar Server database must be shut down prior to performing a backup.
UNIX
The optimal backup procedure for UNIX servers:
  1. Use RAID stripe/mirroring (called RAID 1+0 or RAID 10). This is important for performance, reliability, and to enable Calendar Server backups without down time.

  2. Before the backup starts, you have to shut down the Calendar Server. Have everyone log off before shut down, as it takes a long time to "disconnect" each and every active user.

  3. After the server is down, "break" one of the sub-mirrors. In ODS (Solaris-2.x) you do that with metaoffline d2 d0 where "d2" is the mirrored/striped disk, and "d0" is the striped sub-mirror to off-line.

  4. Bring the Calendar Server up again. The Calendar Server is completely functional, but only writing to one half of the mirror. The server will record what is changing while the mirror is broken.

  5. Mount the off-line sub-mirror on the filesystem, read only. For example:
  6. % mount -o ro /dev/md/dsk/d0 /mnt

  7. Now perform the backup of /mnt. This disk is a snapshot of the Calendar data. The backup is consistent, even though the Calendar Server is still running on the "broken mirror".

  8. After the backup finishes, unmount the sub-mirror:
  9. umount /mnt

  10. Put the sub-mirror on-line again, and it will automatically synchronize with the changes made to Calendar data.
  11. metaonline d2 d0

Note:
This solution means down time of only a few minutes. Users should log off before the nightly (or weekly) backups, since it will reduce the time required to shut down the Calendar Server.

If you cannot use mirrored disks, you must have the Calendar Server down during the entire backup.

NT
A backup procedure for Windows NT:
  1. Select Properties from the Services menu.

  2. Select the Calendar Lock Manager and click Stop to stop all Calendar services.

  3. Run Windows NT backup or another third party backup tool to perform a weekly full copy backup of the /users/unison/ directory.

  4. Perform a daily incremental backup of the /users/unison/ directory.

  5. Repeat the process described in the second step above, but click Start to restart each of the five Calendar Services.

Shutdowns

  1. Click the server button on the Server Administration Page to open the Calendar Server Manager.
  2. Select Server Preferences| Server On/Off to open the "Server On/Off" form.

  3. Click Start Server or Stop Server as appropriate.

  4. Once the shutdown has been initiated, you can follow the progress of the invoked script at the bottom of the form. The working status and any problems encountered in stopping the Calendar Server daemons/services is displayed during the execution of the scripts.
  5. Click the hyperlink "Return to process control" to return to the "Server On/Off" form.
UNIX
NT
Warning:
As a result of the number of user connections, the number of processes running, and the volume of network traffic, Calendar Server may take over a minute to stop.


[Previous] [Next] [First] [Last]