Skip Headers

Oracle® Calendar Administrator's Guide
Release 2 (9.0.4)

Part Number B10892-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

15
Node Maintenance

A regular schedule of node maintenance is the best protection against unscheduled down time and loss of data. Following the procedures outlined later in this chapter will minimize problems and ensure that your calendar server runs smoothly and without interruption.

This chapter outlines the following tasks:

Server Maintenance Procedures

Daily Monitoring Procedures

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

NT

Windows NT's Performance Monitor tool can be used to chart or log the performance and activity of the calendar services. Windows NT's Event Viewer records any problems encountered running the application.

Cmd line

The unistatus utility displays the current status of the calendar server. The uniwho utility can be used to display the list of users currently logged on to the calendar server. Use the -nolist if you only want to see the total number of signed-in calendar users. For full information on use and syntax of these utilities, see Appendix E, "Utilities" in the Oracle Calendar Reference Manual.

Web GUI

The Calendar Administrator can also be used to view the server status. Click the Server Administration tab and then on Servers. The server or servers in the same network will be listed. From this page, you can already see which servers are up and which ones are down based on the icons in the Actions column. Click the View icon in the Actions column for the server you want to view. The Identification section displays whether the server is running and the number of users currently logged on. Other server settings (indicating whether user passwords can be changed, whether the server is connected to a Directory Server, etc.) are also displayed.

Special Monitoring Procedures

It is possible to turn on logging of specific calendar activities using server parameters. Most of these options should be turned on for short periods of time as it increases the amount of data written to log files and can cause these files to grow rapidly. Statistical data can be compiled regarding user connections, activity information of the unicwsd daemon/service, directory server access, etc.

To view elapsed time and CPU statistics for each client connection, set [ENG] stats=TRUE in unison.ini. When a client connection is closed, stats results are appended to the $ORACLE_HOME/ocal/log/stats.log file. Once the period being analyzed has passed, you must not forget to set the parameter [ENG]stats back to FALSE to disable logging, as the file grows quickly.

See also parameters [CWS]log_activity and log_modulesinclude, [ENG]stats, activity and dac_failederrlog in Appendix C, "Calendar Server Parameters" of the Oracle Calendar Reference Manual.

Daily Maintenance Procedures

A nightly backup of the calendar database ($ORACLE_HOME/ocal/db) and configuration files ($ORACLE_HOME/ocal/misc) is your best protection against database corruption that 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. For more information, see "Server Backup and Restore" later in this chapter.

Monthly Maintenance Procedures

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

Other Maintenance Procedures

Server Backup and Restore

To minimize the impact on your users, back up your calendar server only during periods of low user activity. If you use an external directory server, back up your directory server concurrently with your calendar server to minimize inconsistencies should it become necessary to restore a backup.

You have three options for backing up your calendar server:

The unidbbackup utility is recommended, as it provides on-line or `hot' backups allowing users to login during a backup. An on-line backup cannot be achieved by simply copying the database files while the server is still running, as the files on disk are not necessarily an accurate reflection of the state of the database at any given time. If you choose to copy the database files directly, you must stop your server to allow all database contents to be written to the disk first.

While unidbbackup is running, users can sign-in and sign-out. They may view but not modify their agenda. If more than one node exists on a host, each node is locked and backed up in succession. The -lockall option can be used to lock all the specified nodes at the same time instead of one by one. This will improve the data consistency for connected nodes. The unidbbackup utility can be used to make a backup of a single node using the -n option.

unidbrestore is the complementary utility used for database restoration. For full information on the use and syntax of the unidbbackup and unidbrestore utilities, see Appendix E, "Utilities" in the Oracle Calendar Reference Manual.

To back up a calendar host:

To restore a calendar host:


Important:

This operation restores only the database and configuration files. Calendar data stored in a 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 unidsdiff and unidssync utilities to identify and resolve all discrepancies after you restore. For full information on use and syntax, see Appendix E, "Utilities" in the Oracle Calendar Reference Manual.


  1. Shut down the server.
  2. Run unidbrestore to restore the backup. Your calendar database and configuration files will be restored to the $ORACLE_HOME/ocal directory on the host.

Archived backups should be managed to ensure full data recovery capabilities without sacrificing large amounts of disk space. Remove backups that are no longer needed.

 

User Backup and Restore

It is possible to restore a single user, resource or event calendar through the Calendar Administrator or using the unirestore utility. The restore is done using the backup files made using the unidbbackup utility.

Web GUI

Use the Calendar Administrator to restore a user, resource or event calendar account. Click the Server Administration tab and then on Nodes. Click the pencil icon in the Actions column for the node where you will restore the calendar account. Click Restore Calendars. Enter the path to the backup file and select the type of calendar account you are restoring (user, resource or event calendar). Click Apply to proceed to the next step. Search for the user, resource, or event calendar to be restored.

Cmd line

Use unirestore to restore a calendar account. Use the -path option to specify the path to the directory containing the backup db directory. Use the -u option to specify the UID of the user, resource or event calendar to be restored; for example:

% unirestore -u "smithj" -path "/backups/cserver/jan0799" -noAddAttendee 
-host hubert3 -p abcdef12 -n 10

For full information on the use and syntax of the unirestore utility, see Appendix E, "Utilities" in the Oracle Calendar Reference Manual.