Complete Contents
Preface
Chapter 1 Installation and Deployment
Chapter 2 Configuring Calendar Server
Chapter 3 Admininistering Calendar Server
Chapter 4 Monitoring the Calendar Server
Appendix A Commnand Line Utilities
Appendix B Monitoring Tools
Appendix C Time Zones
Appendix D Calendar Server LDAP Schema
Index
iPlanet Calendar Server: Administration Guide: Configuring Calendar Server
Previous Next Contents Index


Chapter 2 Configuring Calendar Server

This chapter describes the settings you can configure for Calendar Server 2.1 and includes the following sections:


Using the Server.conf file
Calendar Server configuration settings are stored in file:

server-root/bin/cal/config/server.conf

This file is a plain ASCII text file, with each line defining a server parameter and its value:

Note. The server.conf file is initialized by the installation process and should be modified only as described in this manual.

Table 2.1 describes the local configuration settings stored in server.conf.

Table 2.1 Local Configuration Settings stored in server.conf
Parameter
Default Value
Description
local.authldapbasedn
""
BASEDN for LDAP authentication. If not specified, local.ugldapbasedn is used.
local.authldaphost
"localhost"
Host for LDAP authentication. If not specified, local.ugldaphost is used.
local.authldapbindcred
""
Bind credentials (password) for local.authldapbinddn.
local.authldapbinddn
""
DN used to bind to LDAP authentication host to search for user's dn. If not specified or "", anonymous bind.
local.authldapport
"389"
Port for LDAP authentication. If not specified, local.ugldapport is used.
local.authldappoolsize
"1"
Minimum number of LDAP client connections that are maintained for LDAP authentication. If not specified, local.ugldappoolsize is used.
local.authldapmaxpool
"1024"
Maximum number of LDAP client connections that are maintained for LDAP authentication. If not specified, local.ugldapmaxpool is used.
local.caldb.deadlock.autodetect
"no"
Periodically checks if the Berkeley database is in a deadlock state and, if so, instructs the database to reset.
local.hostname
""
Name of Calendar Server host.
local.installeddir
""
Directory where Calendar Server is installed.
local.instancedir
"."
Directory where programs and data for this instance of a Calendar Server is installed.
local.plugindir
""
Directory where CSAPI plugins are installed.
local.serveruid
"icsuser"
UID for Calendar Server files, e.g., counters and logs.
local.servergid
"icsgroup"
GID for Calendar Server files, e.g., counters and logs.
local.sitelanguage
"en"
Default language for this Calendar Server.
local.supportedlanguages
"en"
User languages supported by Calendar Server.
local.ugldapbasedn
""
BASEDN for LDAP user preferences Must be specified and cannot be "".
local.ugldaphost
"localhost"
Host for LDAP user preferences.
local.ugldapport
"389"
Port for LDAP user preferences.
local.ugldappoolsize
"1"
Minimum number of LDAP client connections that are maintained for LDAP user preferences.
local.ugldapmaxpool
"1024"
Maximum number of LDAP client connections that are maintained for LDAP user preferences.
local.enduseradmincred
""
Bind credentials (password) for LDAP user preferences authentication.
local.enduseradmindn
""
DN used to bind to LDAP user preferences host. Must be specified. If "" (not specified), anonymous bind is assumed.

Table 2.2 describes the calendar store configuration settings stored in server.conf.

Table 2.2 Calendar Store Configuration Settings in server.conf
Parameter
Default Value
Description
calstore.anonymous.calid
"anonymous"
Calendar ID (CALID) used for anonymous logins.
calstore.default.timezoneID
"America/Los_Angeles"
Timezone-id to be used when importing files. This server preference should be used as a last resort value only when:
An invalid value defaults causes the server to use to the GMT (Greenwich Mean Time) timezone.
calstore.recurrence.bound
"60"
Maximum number of events that be created by a recurrence expansion.

Table 2.3 describes the calendar log information settings stored in server.conf.

Table 2.3 Calendar Log Settings in server.conf
Parameter
Default Value
Description
logfile.admin.logname
"admin.log
Name of log file for logging administrative tools.
logfile.buffersize
"0"
Size of log buffers in bytes.
logfile.expirytime
"604800"
Number of seconds before log files are expired.
logfile.flushinterval
"60"
Number of seconds for flushing buffers to log files.
logfile.logdir
"logs"
Directory path for log files.
logfile.loglevel
"Notice"
Determines which level of detail will be logged by the server. Each log entry is assigned one of the following levels (starting with the most severe): Critical, Error, Warning, Notice, Information, and Debug. If you set this preference to Critical, the server will log the least amount of detail. If you want the server to log the most amount of detail, specify Debug.For example, if you specify Warning, only Critical, Error, and Warning level log entries are logged.
logfile.maxlogfiles
"10"
Maximum number of log files in log directory.
logfile.maxlogfilesize
"2097152"
Maximum size in bytes of each log file.
logfile.maxlogsize
"20971520"
Maximum disk space in bytes for all log files.
logfile.minfreediskspace
"5242880"
Minimum free disk space in bytes that must be available for logging. When this is reached, action will be taken to free up disk space by expiring old log files. All logging will be paused if no space can be freed up.
logfile.rollovertime
"86400"
Number of seconds before log files are rotated.
logfile.http.logname
"server.log"
Name of current log file.
logfile.http.access.logname
"httpd.access"
Name of current http access log file.

Table 2.4 describes the services configuration settings stored in server.conf.

Table 2.4 Services Configuration Settings in server.conf
Parameter
Default Value
Description
service.http.attachdir
"."
Directory relative to local.queuedir where imported files are temporarily stored.
service.authcachesize
"10000"
Maximum number of authenticated user UIDs and passwords that Calendar Server will maintain.
service.authcachettl
"900"
Number of seconds that a user UID and password are cached.
service.dnsresolveclient
"no"
If yes, client IP addresses are checked against DNS if allowed HTTP access.
service.http.admin.enable
"no"
If yes, listen on service.http.admin.port for HTTP requests.
service.http.admin.port
" "
Port for HTTP requests from Calendar Server administration.
service.http.admins

Space separated list of user UIDs that can send in WCAP administration commands.
service.http.allowadminproxy
"no"
If yes, allow login via proxy.
service.http.allowanonymouslogin
"no"
If yes, allow anonymous (no login) access.
service.http.calendarhostname
" "
HTTP host for retrieving HTML documents. If not specified, the local HTTP host is used.
service.http.calmaster.admin

USERID of the person designated as Calendar Server administrator. This value is supplied at installation and is required by the installation program. The default is calmaster.
service.http.calmaster.cred

Password of the USERID specified as the Calendar Server administrator. This value is supplied at installation and is required by the installation program.
service.http.dbcachesize
"8388608
Berkeley DB cache size for HTTP sessions.
service.http.dbtmpdir
" "
Temporary directory for HTTP sessions.
service.http.domainallowed
" "
If specified and not "", filter for allowing access based on TCP domains. For example, "ALL: LOCAL .airius.com" would allow local HTTP access and anyone in the airius.com domain. Multiple filters are separated by CR-LF (line feed).
service.http.domainnotallowed
""
If specified and not "", filter for not allowing access based on TCP domains. For example, "ALL: LOCAL .airius.com" would deny HTTP access to anyone from airius.com. Multiple filters are separated by CR-LF.
service.http.ipsecurity
"yes"
If yes, all requests that reference an existing session are verified as originating from the same IP address.
service.http.enable
"yes"
If yes, listen on service.http.port for HTTP requests.
service.http.idletimeout
"120"
Number of seconds before timing out an HTTP connection.
service.http.ldap.enable
"yes"
If yes, LDAP connections for authentication and userprefs are created and maintained.
service.http.logaccess
"no"
If yes, http accesses to server are fully logged.
service.http.maxsessions
"5000"
Maximum number of WCAP sessions
service.http.maxthreads
"1000"
Maximum number of threads to service HTTP requests.
service.http.numprocesses
"1"
Number of processes to service HTTP requests.
service.http.port
"80"
Port for HTTP requests from Calendar Server users.
service.http.proxydomainallowed
""
If specified and not "", filter for allowing proxy login based on TCP domains. Same syntax as service.http.domainallowed.
service.http.sessiontimeout
"1800"
Number of seconds before timing out WCAP session.
service.http.sourceurl
""
Directory relative to executable where all URL references to files are stored.
service.ldapmemcache
"no"
If yes, use cache in LDAP SDK.
service.ldapmemcachettl
"30"
If service.ldapmemcache is "yes", pass in this value to the LDAP SDK. This is the maximum number of seconds that an item can be cached. If 0, there is no limit to the amount of time that an item can be cached.
service.ldapmemcachesize
"131072"
If service.ldapmemcache is "yes", pass in this value to the LDAP SDK. This is the maximum amount of memory in bytes that the cache will consume. If 0, the cache has no size limit.
service.plaintextloginpause
"0"
Number of seconds to delay after successfully authenticating a user using plain text passwords.
service.wcap.anonymous.allowpubliccalendarwrite
"yes"
If yes, allow anonymous users to write to publicly writable calendars.
service.wcap.allowcreatecalendars
"yes"
If yes, allow calendars to be created.
service.wcap.allowdeletecalendars
"yes"
If yes, allow calendars to be deleted.
service.wcap.allowchangepassword
"no"
If yes, allow users to change their passwords via this server.
service.wcap.allowpublicwritablecalendars
"yes"
If yes, allow users to have publicly writable calendars.
service.wcap.allowsetprefs.cn
"no"
If yes, allow set_userprefs.wcap to modify the user preference "cn" (LDAP user's common name).
service.wcap.allowsetprefs.givenname
"no"
If yes, allow set_userprefs.wcap to modify the user preference "givenname" (LDAP user's given name)
service.wcap.allowsetprefs.mail
"no"
If yes, allow set_userprefs.wcap to modify the user preference "mail" (user's e-mail address).
service.wcap.allowsetprefs.preferredlanguage
"no"
If yes, allow set_userprefs.wcap to modify the user preference, "preferredlanguage" (LDAP user's preferred language).
service.wcap.allowsetprefs.sn
"no"
If yes, allow set_userprefs.wcap to modify the user preference "sn" (LDAP user's surname).
service.wcap.allowsetprefs.nswccalid
"no"
If yes, allow set_userprefs.wcap to modify the user preference "nswccalid", which is the user's default calendar identifier
service.wcap.login.calendar.publicread
"no"
If yes, default user calendars are initially set to public read/private write. If no, default user calendars are initially set to private read/private write.
service.wcap.validateowners
"no"
If yes, the server must validate that each owner of a calendar exists in the directory (through LDAP or a CSAPI compatible user directory mechanism).


Database Administration
Table 2.5 shows the Calendar Server database configuration settings stored in server.conf.

Table 2.5 Database Configuration Settings in server.conf
Parameter
Default Value
Description
caldb.berkeleydb.checkpointinterval
"60"
Number of seconds between checkpointing database transactions.
caldb.berkeleydb.circularlogging
yes"
If yes, remove database checkpoint files after their transactions are synchronized.
caldb.berkeleydb.deadlockinterval
"100"
Number of milliseconds between checking for database deadlocks that need to be broken.
caldb.berkeleydb.homedirectory
"."
Directory (relative to the location of the program executable files) where database event, task, and alarm files are kept. The default value of "." specifies that these files are stored in the server-root/cal/bin directory.
caldb.berkeleydb.logdirectory
"."
Directory relative to executable where database checkpoint files are kept. The default value of "." specifies that these files are stored in the server-root/cal/bin directory.
caldb.berkeleydb.logfilesizemb
"10"
Maximum megabytes for a database checkpoint file.
caldb.berkeleydb.maxthreads
"10000"
Maximum number of threads that database environment must be prepared to accommodate.
caldb.berkeleydb.mempoolsizemb
"4"
Megabytes of shared memory for database environment.
caldb.calmaster
""
Email for user/alias that is responsible to administering the database.
caldb.counters
"yes"
If yes, data base statistics (reads, writes, deletes) will be counted.
caldb.counters.maxinstances
100
Maximum number of calendars that can have counters. A calendar is enabled for counters using the cscal command line utility.
caldb.pssmtphost
"localhost"
Send alarm emails to this SMTP host.
caldb.pssmtpport
"25"
Port for SMTP host.
caldb.serveralarms
"yes"
If yes, alarm emails will be sent.


Calendar Server API
Table 2.6 shows the Calendar Server API (CSAPI) configuration settings stored in server.conf.

Table 2.6 CSAPI Configuration Settings in server.conf
Parameter
Default Value
Description
csapi.plugin.loadall
"no"
If yes, load all plugins found in the plugins directory. For NT, these plugins have a .dll file name extension. For IRIX, these plugins have an .sl extension. For all other UNIX systems, these plugins have an .so extension.

If no, only load the specific class of plugins flagged by their respective parameters. For example, set csapi.plugin.authentication to yes to load authentication class plugins.
csapi.plugin.authentication
"no"
If yes, load only the plugin specified in csapi.plugin.authentication.name or if not specified, load all authentication class plugins in alphabetical order. For authentication, use each of these plugins in alphabetical order.
csapi.plugin.authentication.name
""
If csapi.plugin.loadall is no and csapi.plugin.authentication is yes, this parameter is used. If not specified or "", load all authentication class plugins. Otherwise, only load this specific plugin.
csapi.plugin.database
"yes"
If yes, load only the plugin specified in csapi.plugin.database.name or if not specified, load all database class plugins in alphabetical order. For database access, use each of these plugins in alphabetical order.
csapi.plugin.database.name
"cs_caldb_berkeley10"
If csapi.plugin.loadall is no and csapi.plugin.database is yes, this parameter is used. If not specified or "", load all database class plugins. Otherwise, only load this specific plugin.
csapi.plugin.datatranslator
"yes"
If yes, load only the plugin specified in csapi.plugin.datatranslator.name or if not specified, load all data translator class plugins in alphabetical order. For data translation, use each of these plugins in alphabetical order.
csapi.plugin.datatranslator.name
"cs_datatranslatorcsv10"
If csapi.plugin.loadall is no and csapi.plugin.data translator is yes, this parameter is used. If not specified or "", load all data translator class plugins. Otherwise, only load this specific plugin.
csapi.plugin.userprefs
"no"
If yes, load only the plugin specified in csapi.plugin.userprefs.name or if not specified, load all user preferences class plugins in alphabetical order. For user preferences, use each of these plugins in alphabetical order.
csapi.plugin.userprefs.name
""
If csapi.plugin.loadall is no and csapi.plugin.userprefs is yes, this parameter is used. If not specified or "", load all user preferences class plugins. Otherwise, only load this specific plugin.


Notification Messages
Calendar Server sends several types of email messages described in Table 2.7. The format of these messages is controlled by the associated format (.fmt) file listed in the table. Format files are located in specific directories for each local (such as /en for English and /fr for French). These directories are located in the server-root/cal/bin/config directory. For example, the English version of the task alarm message format is specified in the file:

/opt/SUNWicsrv/cal/bin/config/en/mail_todoalarm.fmt

Table 2.7 shows the Calendar Server mail settings stored in server.conf.

Table 2.7 Calendar Server mail formats
Message Type
Parameter
Format File (default)
Description
Recipients
Event Publish
calmail.imipeventpublish.fname
mail_eventpublish.fmt
Announces an event or a change to an existing event
Those listed in Notification
Event Cancel
calmail.imipeventcancel.fname
mail_eventcancel.fmt
Announces an event cancellation
Those listed in Notification
Event Alarm
calmail.eventreminder.fname
mail_eventreminder.fmt
Reminder for an upcoming event
Those listed in Reminder
Task Publish
calmail.imiptodopublish.fname
mail_todopublish.fmt
Announces an task or a change to an existing task
Those listed in Notification
Task Cancel
calmail.imiptodocancel.fname
mail_todocancel.fmt
Announces an task cancellation
Those listed in Notification
Task Alarm
calmail.todoreminder.fname
mail_todoalarm.fmt
Reminder for an upcoming task
Those listed in Reminder

Calendar Server generates notification messages by combining a particular event or task with the contents of a format file. The values of data fields within an event or task can be output to the message. The notification message can also include MIME header lines and associated special values. Using special character sequences (format notations), you can include the values of events, tasks, and MIME headers in the message. The lines in the format file are format strings comprised of special character sequences that are replaced with actual values from calendar data fields when the mail message is generated. Special character sequences consist of two characters, the first is the percent sign (%) and the second represents the specific format notation.

The following sections describe special character sequences:

Special Character Sequences for Events
Table 2.8 shows the special character sequences for Calendar Server event notifications.

Table 2.8 Special Character Sequences for Event Notifications
Format Code
Meaning
%A
EXDATES in ICAL format
%a
RDATES in ICAL format
%B
Start time (also see %Z)
%b
Output the start time and end time in ICAL format. If the start time has the parameter value=date, only the month/day/year portion of the date is output. If end time has the same month/day/year value as the start time, only the start time is generated.
%C
create time
%c
event class
%d
event description. (also see %F)
%E
end time (also see %Z)
%e
exception rules in ICAL format
%F
event description - folded line / ICAL format (also see %d)
%G
this event's geographic location (latitude and longitude)
%g
organizer's email address. (there is no guarantee as to the authenticity of this value.)
%K
organizer email in the form of a mailto:url
%k
alarm count
%L
the location
%l
recurrence rules in ICAL format
%M
modify time
%N
new line
%n
"now" (the current time stamp) used with DTSTAMP
%P
priority
%r
recurrence id (blank if this event does not recur)
%S
event sequence number
%s
summary
%t
event status
%U
UID (user ID)
%u
URL to the event
%Z
used in conjunction with the time field code to force the time to be rendered in UTC. (%B displays the start time in local time whereas %ZB displays the start time in UTC time.)
%%
displays the percent (%) character
% (sub-format code)
specifies a subformat for the data identified by code. (For details, see Date Sub-Formatting.)

Date Sub-Formatting
Date-time values can be formatted in many different ways. Using a sub-format, you can provide additional information to describe how a date/time value should be formatted. If a sub-format is not specified, the server uses a default format to output the date. Using a sub-format field allows you to specify the exact format to be used.

For example, %B specifies that the output string includes the event's begin time. This default format prints out the date, time, the time zone, and everything possible about the date. The sub-format string for date values is a strftime format string (see Special Character Sequences for Dates. If you were only interested in the month and year of the start time, instead of %B, you would use: %(%m %Y)B.

Example

The event begins %B%N

The event ends: %(%b %d, %Y %I:%M %p)E%N

The above example produces output that resembles the following notification:

The event begins Feb 02, 1999 23:30:00 GMT Standard Time

The event ends Feb 03, 1999 02:30 AM

Conditional Printing
Sometimes it is desirable to have a line print only under certain conditions. For example, the following lines:

title: %S%N

start: %B%N

end: %E%N

produce output that resembles the following notification:

title: Staff Meeting

start: Feb 04, 1999 09:00:00

end: Feb 04, 1999 10:00:00

There are two conditions, however, where the above example would yield misleading or incorrect results:

In these situations, it is best not to print the end time at all. By default, only the year, month, and day are printed when a time stamp has the attribute of being all-day. Furthermore, if an event start time has the all-day attribute and the event ends on the same day as it starts, a special conditional flag is set. Use the ? modifier to print conditional values only when the special conditional flag is not set.

For example, if you change the lines in the above example to:

title: %S%N

start: %B%N

end: %?E%N

the last line will not be printed for all-day events for which the start day and end day are the same. It produces the following output for typical all-day events (such as birthdays or anniversaries):

title: Staff Meeting

start: Feb 04, 1999

The ? flag can be combined with other modifiers. For example:

The event ends: %?(%b %d, %Y %I:%M %p)E%N

Special Character Sequences for Task Notification
Table 2.9 shows the special character sequences for Calendar Server task notifications.

Table 2.9 Special Character Sequences for Tasks Notifications
Format Code
Meaning
%A
exdates in ICAL format
%a
rdates in ICAL format
%B
Start time (also see %Z)
%C
create time
%c
Event class
%D
Due date/time.
%d
Event description. (also see %F)
%E
Due date/time in IMIP format
%e
Exception rules in ICAL format
%F
Event Description - folded line / ICAL format (also see %d)
%G
this event's geographic location, the latitude and longitude.
%g
Organizer's email address (cannot guarantee the authenticity of this value)
%K
Organizer Email in the form of a mailto:URL
%k
Alarm count
%L
the location
%l
recurrence rules in ICAL format
%M
Modify time
%N
a new line
%n
"now" (the current time stamp and used with DTSTAMP)
%P
priority
%r
the recurrence id (blank if this event does not recur)
%S
is event's Sequence Number
%s
Summary
%t
the status
%U
the UID
%u
URL to the event
%Z
used in conjunction with time field code to force the time to be rendered in UTC (%B displays the start time in local time whereas %ZB displays the start time in UTC time)
%%
displays the % character
% (sub-format code)
specify a sub-format for the data identified by code (for details, see Date Sub-Formatting)

Special Character Sequences for Dates
Table 2.10 shows the special character sequences for date formatting in Calendar Server notifications.

Note. The special date format codes appear in this section only for convenience. Calendar Server does not re-write any of the strftime code, but simply uses the operating system implementation.

Table 2.10 Special Character Sequences for Dates
Format Code
Meaning
%a
Abbreviated weekday name
%A
Full weekday name
%b
Abbreviated month name
%B
Full month name
%c
Date and time representation appropriate for locale
%d
Day of month as decimal number (01 - 31)
%H
Hour in 24-hour format (00 - 23)
%I
Hour in 12-hour format (01 - 12)
%j
Day of year as decimal number (001 - 366)
%m
Month as decimal number (01 - 12)
%M
Minute as decimal number (00 - 59)
%p
Current locale's A.M./P.M. indicator for 12-hour clock
%S
Second as decimal number (00 - 59)
%U
Week of year as decimal number, with Sunday as first day of week (00 - 53)
%w
Weekday as decimal number (0 - 6; Sunday is 0)
%W
Week of year as decimal number, with Monday as first day of week (00 - 53)
%x
Date representation for current locale
%X
Time representation for current locale
%y
Year without century, as decimal number (00 - 99)
%Y
Year with century, as decimal number
%z
Time-zone name or abbreviation; no characters if time zone is unknown
%%
Percent sign

Simple Event Reminder Example
The following example shows the default event reminder message format:

1 EVENT REMINDER

2 ~~MIME-Version: 1.0%N

3 ~~Content-Type: text/plain; charset=%s%N

4 ~~Content-Transfer-Encoding: %x%N%N

5 Summary: %s%N

6 Start: %(%a, %d %b %Y %I:%M %p)B%N

7 End: (%a, %d %b %Y %I:%M %p)E%N

8 Location: %L%N%N

9 Description: %N%d%N

  1. Line 1 is the message subject.
  2. Line 2 begins with ~~ which indicates that it is a MIME wrapper line. That is, the replacement of special character sequences are those associated with an internal MIME object rather than an event or task. The special sequence %N is a line feed. The subject line does not need the special new line sequence, while all other lines do.

    Line 3 is also a MIME header line. It contains the special character sequence %s which will be replaced by the character set associated with the event or task being mailed.

    Line 4 is the last MIME line, %x is the content transfer encoding string needed for this message.

    Line 5 lists the event summary and calls out the event summary with %s.

    Line 6 lists the event start time. It makes use of a sub-format string on the special character sequence %B. For details, see Date Sub-Formatting.

    Line 7 lists the event end time.

    Line 8 lists the location of the event.

    Line 9 lists the description of the event.

The following sample resembles the notification message generated by the above example:

From: jsmith@airius.com (James Smith)

Date: Wed, 15 Nov 1999 19:13:49

To: jsmith@airius.com

Subject: EVENT REMINDER

MIME-Version: 1.0

Content-Type: text/plain; charset=us-ascii

Content-Transfer-Encoding: 7bit

Summary: smtp_rig event 1

Start: Tues, 16 Nov 1999 02:00 PM

End: Tues, 16 Nov 1999 03:00 PM

Location: Green Conference Room

Description:

This is the description for a randomly generated event.

Complex Event Reminder Example
The following example shows a more complex multipart message. It has a human-readable text part and an IMIP PUBLISH part.

EVENT PUBLICATION

~~MIME-Version: 1.0%N

~~Content-Type: multipart/mixed; boundary="%b"%N%N

This is a multi-part message in MIME format.%N

~~--%b%N

~~Content-Type: text/plain; charset=%s%N

~~Content-Transfer-Encoding: %x%N%N

Summary: %s%N

Start: %(%a, %d %b %Y %I:%M %p)B%N

End: %(%a, %d %b %Y %I:%M %p)E%N

Location: %L%N%N

Description: %N%d%N%N

~~--%b%N

~~Content-Type: text/calendar; method=%m; component=%c; charset=%s%N

~~Content-Transfer-Encoding: %x%N%N

BEGIN:VCALENDAR%N

PRODID:-//iPlanet/Calendar Hosting Server//EN%N

METHOD:PUBLISH%N

VERSION:2.0%N

BEGIN:VEVENT%N

ORGANIZER:%K%N

DTSTAMP:%Zn%N

DTSTART:%ZB%N

DTEND:%ZE%N

SUMMARY:%s%N

UID:%U%N

%R

%A

%a

%e

%l

SEQUENCE:%S%N

LOCATION:%L%N

GEO:%G%N

%F

STATUS:%t%N

END:VEVENT%N

END:VCALENDAR%N

~~--%b--


Counters
Calendar Server counters (statistics) configuration information is stored in the file:

server-root/bin/cal/config/counter.conf

This file is a plain ASCII text file with each line defining a counter and its parameters: name, type, size, scale, and description.

The first part of a counter's name identifies the counterobject used with the cscounter and csstats command line utilities:

For more information on the command line utilities, see Chapter 3, Administering Calendar Server and Appendix A, "Command Line Utilities."

Note. Do not modify the counter.conf file unless instructed to do so by customer support staff.

Table 2.11 shows the HTTP counter objects (httpstat) stored in counter.conf.

Table 2.11 httpstat counters in counter.conf
Name
Type
Size
Scale
Description
httpstat.currentStartTime
TIME
4
0
When Calendar Server was started.
httpstat.lastConnectionTime
TIME
4
0
Last time new client connection was accepted
httpstat.maxConnections
COUNTER
4
4
Maximum number of concurrent connections served.
httpstat.maxSessions
COUNTER
4
4
Maximum number of WCAP sessions served.
httpstat.numConnections
COUNTER
4
5
Total number of connections served.
httpstat.numCurrentConnections
GAUGE
4
2
Current number of active connections.
httpstat.numCurrentSessions
GAUGE
4
2
Current number of WCAP sessions.
httpstat.numFailedConnections
COUNTER
4
3
Total number of failed connections served.

Table 2.12 shows the authentication counter objects (authstat) stored in counter.conf

Table 2.12 authstat counters in counter.conf
Name
Type
Size
Scale
Description
authstat.lastLoginTime
TIME
4
0
Last time a user logged in.
authstat.numSuccessfulLogins
COUNTER
4
3
Total number of successful logins served.
authstat.numFailedLogins
COUNTER
4
3
Total number of failed logins served.

Table 2.13 shows the WCAP counter objects (wcapstat) stored in counter.con

Table 2.13 ttpstat counters in counter.conf
Name
Type
Size
Scale
Description
authstat.lastLoginTime
TIME
4
0
Last time a user logged in.
authstat.numSuccessfulLogins
COUNTER
4
3
Total number of successful logins served.
authstat.numFailedLogins
COUNTER
4
3
Total number of failed logins served.

Table 2.14 shows the WCAP counter object (wcapstat) stored in counter.conf.

Table 2.14 wcapstat counters in counter.conf
Name
Type
Size
Scale
Description
wcapstat.numRequests
COUNTER
4
3
Total number of WCAP requests.

Table 2.15 shows the database counter object (dbstat) stored in counter.conf.

Table 2.15 Database counters in counter.conf
Name
Type
Size
Scale
Description
dbstat.numReads
COUNTER
4
3
Total number of database reads.
dbstat.numWrites
COUNTER
4
3
Total number of database writes.
dbstat.numDeletes
COUNTER
4
3
Total number of database deletes.
dbstat.lastReadTime
TIME
4
0
Last time database did a read.
dbstat.lastWriteTime
TIME
4
0
Last time database did a write.
dbstat.lastDeleteTime
TIME
4
0
Last time database did a delete.

 

© Copyright 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © Netscape Communications Corp. All rights reserved.