Netscape Calendar Server 4.0: Administrator's G uide

Node Maintenance

A regular schedule of Calendar Server node maintenance is the best protection against unscheduled down time or 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 outlines 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 utility 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 (/users/unison/db/ ) and configuration files (/users/unison/misc ) is your best protection against database corruption which may occur as a result of a power failure or disk crashes. While database corruption is rare, even under the aforementioned conditions, nightly backups serve as a safeguard in the event that your database cannot be restored. See "Back up and Restore" below for more information.

 

Monthly maintenance procedures

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

 

Other maintenance procedures

 

Back up and Restore

Calendar Server provides the functionality to perform `hot' or on-line backups. This capability is important in the context of installations requiring 24 hour access to their calendar data. To minimize inconsistencies should a restore be necessary, it is strongly recommended that directory server backups be made at the same time as Calendar Server backups. In addition, backups should be made during periods of low user activity.

During an on-line backup, the following behavior should be noted:

 
To back up a Calendar Server host:
  1. Select Database Management | Backup from the Calendar Server Manager.

  2. Enter a name for the backup, or leave the entry box blank to accept a system assigned name. The system assigned name is generated from a time and date stamp to ensure that the name is unique.

  3. Click OK. A backup will be made of all Calendar database and configuration files on your Calendar Server.

Calendar Server backups can also be performed using the unidbbackup utility. See Appendix G for complete instructions on the use and syntax of this utility.

 

To restore a Calendar Server host:
  1. Shut down the Calendar Server following the procedure outlined in the following section.

  2. Select Database Management | Restore from the Calendar Server Manager.

  3. In the entry box, select a backup directory from the displayed options, or enter the absolute path of a backup directory you wish to restore. Note that this restore option should be used only for backups created using the backup function accessed through the Calendar Server Manager.

  4. Click OK. Your Calendar database and configuration files will be restored to the /users/unison directory on the Calendar host.

Warning
This operation restores only the Calendar database and configuration files. Calendar data stored in the directory server must be restored separately. If you have any reason to expect that inconsistencies may exist between the data in the Calendar Server and that in the directory server, use the utilities unidsdiff and unidssync to identify and resolve all discrepancies. See Appendix G for complete instructions on the use and syntax of these utilities.

Calendar Server can also be restored using the unidbrestore utility. See Appendix G for complete instructions on the use and syntax of this utility.

 

To delete a Calendar Server backup:
Archived backups should be managed to ensure full data recovery capabilities without sacrificing large amounts of disk space. Backups which are no longer needed are removed using the Calendar Server Manager.

  1. Select Database Management | Delete Backups from the Calendar Server Manager.

  2. Locate the backup(s) you wish to remove and click Delete.

 

Shutdowns

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.