Sun logo      Previous      Contents      Index      Next     

Sun ONE Instant Messaging 6.1

Appendix A  
Instant Messaging Configuration Parameters

This chapter explains the Instant Messaging configuration parameters.

This chapter contains the following sections:


Using the iim.conf file

Instant Messaging stores configuration settings in the iim.conf file within the instant messaging configuration directory as follows:

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


General Configuration Parameters

Table A-1 lists and describes the general configuration parameters.

Table A-1  General Configuration Parameters

Parameter

Default Value

Description

iim.comm.modules

iim_server,iim_mux

The communication modules used. The values are iim_server and iim_mux. The default value is iim_server, iim_mux, which means both the server and multiplexor are used. The iim_mux value is useful for multiplexor.

iim.smtpserver

localhost

SMTP server to send mail to end users who have set the option for forwarding their messages as emails or to pagers.

iim.instancedir

On Unix:

/opt

On Windows:

c:\Program Files\Sun\InstantMessaging

The installation directory root.

iim.instancevardir

On Solaris:

/var/opt/SUNWiim/default

On Linux:

/var/opt/soim/default

On Windows:

iim.conf\

Sets the directory to contain runtime files, including the end-user profile database, logs, and other files created by the server and multiplexor at runtime.

iim.user

inetuser for LDAP deployments.

root for portal deployment.

The end-user name which the server processes run. Used only on Unix platforms.

iim.group

inetgroup for LDAP deployments.

root for portal deployment.

The group using which the server processes run. Used only on Solaris platform.

iim.jvm.maxmemorysize

256

The maximum number heap size in MB the JVM running the server is allowed to use. Used to construct the -mx argument of the Java command.

iim.mail.charset

None

This parameter specifies if the headers of the mail are in ascii and not encoded.

It contains the name of the charset to be used to encode the headers of the mail message sent out for offline alerts.

For example: iim.mail.charset=iso-2022-jp

iim.jvm.command

/usr/j2se/bin/java

The location of the Java Runtime Executable (JRE).

iim.identity.basedir

/opt

The default installation directory—or what’s also referred to as the base directory—for Sun ONE Identity Server.

iim.identity.jre

/usr/java_1.3.1_04

The location of the JRE used by the Identity Server to run all it's processes.

iim.portal.deployuri

/portal

The URI using which the Portal Server war files are deployed in the Identity Server.

iim.portal.host

imhostname

The host name of the server on which the Portal Server is running. Specify the port number if a non default port number is used.

iim.portal.protocol

http

The protocol used to access the Portal Server.

iim.policy.resynctime

720

The Instant Messaging server clears all cached end-user information on a regular basis in order to eliminate old end-user information. This parameter specifies the frequency, in minutes, at which the cached end-user information is cleared.


User Source Configuration Parameters

Table A-2 lists and describes the user source configuration parameters.

Table A-2  User Source Configuration Parameters

Parameter

Default Value

Description

iim_ldap.host

localhost:389

LDAP server name and port used by Sun ONE Instant Messaging server for end-user authentication.

iim_ldap.searchbase

o=internet

The string used as base to search for the end users and groups on the LDAP server.

iim_ldap.usergroupbinddn

None (the server performs anonymous searches)

Specifies the dn to use to bind to the LDAP server for searches.

iim_ldap.usergroupbindcred

None (the server performs anonymous searches)

Specifies the password to use with the iim_ldap.usergroupbinddn dn for LDAP searches.

iim_ldap.loginfilter

(&(|(objectclass=inetorgperson)(objectclass=webtopuser))(uid={0}))

Search filter used during end-user login.

iim_ldap.
usergroupbyidsearchfilter

(|(&(objectclass=groupofuniquenames)(uid={0}))(&(|(objectclass=inetorgperson)(objectclass=webtopuser))(uid={0})))

The search filter used to search for end users and groups in the directory, under the base specified by ID.

iim_ldap.usergroupbynamesearchfilter

(|(&(objectclass=groupofuniquenames)(cn={0}))(&(|(objectclass=inetorgperson)(objectclass=webtopuser))(cn={0})))

The search filter used to search for end users and groups in the directory, under the base specified by name.

iim_ldap.allowwildcardinuid

False

Determines if wildcards should be enabled for UIDs while performing a search. As most directory installations have UIDs indexed for exact searches only, the default value is False. Setting this value to True can impact performance unless UIDs are indexed for substring search.

iim_ldap.userclass

inetOrgPerson,webtopuser

The LDAP class that indicates that an entry belongs to an end user.

iim_ldap.groupclass

groupOfUniqueNames

The LDAP class that indicates that an entry belongs to a group.

iim_ldap.groupbrowsefilter

(objectclass=groupofuniquenames)

The search filter used to browse all groups in the directory, under the specified search base.

iim_ldap.searchlimit

40

Maximum number of entries to be returned by a search. A value of -1 means search is disabled on this server and a value of 0 indicates unlimited search.

iim_ldap.userdisplay

cn

LDAP attribute to use for display name of end users.

iim_ldap.groupdisplay

cn

LDAP attribute to use for display name of groups.

im_ldap.useruidattr

uid

LDAP attribute used as end users’ UID.

im_ldap.groupmemberattr

uniquemember

LDAP attribute that gives the list of members of a group.

iim_ldap.usermailattr

mail

LDAP attribute that should contain end users’ provisioned email addresses. Used when the email message sent to an offline end user.

iim_ldap.userattributes

None

LDAP attribute that contains the list of custom attributes from the LDAP user entry.

iim_ldap.groupattributes

None

LDAP attribute that contains the list of custom attributes from the LDAP group entry.

iim_ldap.groupmemberurlattr

None

The membership attribute of a dynamic group, which contains the LDAP filter or the LDAP URL.

iim_ldap.useidentityadmin

The default value is true, if Sun ONE Identity Server Instant Messaging Service Definition component is installed.

The default value is false, if Sun ONE Identity Server Instant Messaging Service Definition component is not installed.

If the value is true then the Identity Server Administrator credentials will be used to bind to the Directory Server.


Logging Configuration Parameters

Table A-3 lists and describes the logging configuration parameters.

Table A-3  Logging Configuration Parameters  

Parameter

Default Value

Description

iim.log.iim_server.severity

NOTICE

Level of logging required for the server module. The possible values from highest to lowest are: FATAL, ERROR, NOTICE, WARNING, INFO, and DEBUG. If a lower level of logging is chosen, it is implied that you get the higher levels too. That is, if you choose WARNING you get FATAL, ERROR, NOTICE, and WARNING.

iim.log.iim_server.url

On Solaris: /var/opt/SUNWiim/default/log/server.log

On Linux:

/var/opt/soim/default/log/server.log

On Windows: instant-messaging-installation-directory\log\server.log

Location of the server log file. This file needs to be periodically trimmed to prevent disk space from filling up.

iim.log.iim_mux.severity

NOTICE

Level of logging required for the multiplexor module. The possible values from highest to lowest are: FATAL, ERROR, NOTICE, WARNING, INFO, and DEBUG. If a lower level of logging is chosen, it is implied that you get the higher levels too. That is, if you choose WARNING you get FATAL, ERROR, NOTICE, and WARNING.

iim.log.iim_mux.url

On Solaris: /var/opt/SUNWiim/default/log/mux.log

On Linux:

/var/opt/soim/default/log/mux.log

On Windows: instant-messaging-installation-directory\log\mux.log

Location of the multiplexor log file. This file needs to be periodically trimmed to prevent disk space from filling up.

iim.log.iim_server.maxlogsize

 

This parameter contains the maximum size of a server log file. If the log files exceeds the size specified in this parameter then server creates a new file to log in the details.


Instant Messaging Server Configuration Parameters

Table A-4 lists and describes the Instant Messaging server configuration parameters.

Table A-4  General Instant Messaging server Configuration Parameters  

Parameter

Default Value

Description

iim_server.domainname

host’s domain name

The logical Instant Messaging server domain name you want this server to support. This is the name that is used by other servers in the network to identify this server. It is also the name used by this server to identify its end users to other servers. This is not necessarily the Fully Qualified Domain Name of the system running the Instant Messaging server.

For example, if the system iim.xyz.com is the only Instant Messaging server for a company xyz.com, then the domain name is likely to be xyz.com.

iim_server.port

49919

IP address and port for the server to bind to, and to listen for connections from other servers. IP address setting is useful for multi homed machines when you want to use only one particular IP address. If no IP address is listed, this indicates a value of INADDR_ANY on localhost.

iim_server.useport

TRUE

Indicates whether the server should listen on the server-to-server communication port. The possible values are TRUE and FALSE. If TRUE, the server listens on the port defined by iim_server.port or on port 9919, if that is not explicitly defined.

iim_server.sslport

49910

Server’s SSL port used for secure server-to-server communication. Note: The value format is IPaddress:port. If no IP address is listed, this indicates a value of INADDR_ANY on localhost.

iim_server.usesslport

FALSE

Indicates if the server should listen on the server-to-server SSL communication port. The possible values are TRUE and FALSE. If TRUE, the server listens on the port defined by iim_server.sslport or on port 9910, if that is not explicitly defined.

iim_server.clienttimeout

15

Specifies the time, in minutes, before the server discards client connections that are no longer active. For example, when a machine is turned off. The minimum accepted value is 5.

iim_server.usesso

0

This parameter tells the server whether or not depend on the SSO provider during authentication. An SSO provider is a module which the server uses to validate a session id with a SSO service.

In portal deployment, Portal Server Session API provides the IM server with the ability to validate session ids sent by the client.

The value for this parameter can either be 0, 1,or -1.

0 - do not use the SSO provider (default).

1 - use the SSO provider first and default to LDAP when the SSO validation fails.

-1- use SSO provider only without attempting LDAP authentication even when the SSO validation fails.

The iim_server.usesso parameter is used in conjunction with the iim_server.ssoprovider parameter.

iim_server.ssoprovider

None

This parameter specifies the class implementing the SSO Provider. If iim_server.usesso is not equal to 0 and this option is not set, the server uses the default Portal Server based SSO Provider.

iim_server.msg_archive

false

This parameter specifies whether the archive provider should be enabled or disabled.

iim_server.msg_archive.provider

None

This parameter contains the list of custom archive providers. This parameter allows multiple values and each value is separated by a comma(,).

iim_server.msg_archive.auto

false

This parameter tells the server whether the end-users' archive control settings can be considered.

If the value for this parameter is true, it is equivalent to selecting archive everything option in the User Settings.

iim_server.conversion

false

This parameter specifies whether message conversion should be enabled. It specifies whether the configured list of Message Conversion Providers should be used for message conversion.

iim_server.conversion.provider

None

This parameter contains the list of Message Conversion Providers to be used for message conversion.

This parameter allows multiple values with each value is separated by a comma(,).

iim_server.servertimeout

-1

The server can be configured to automatically close the connection opened by a remote server, if the remote server is inactive. This is performed by periodically measuring the time the last request was made by the remote server to the server. The connection to the remote server is terminated, if the time of the last request made by the remote server exceeds the value of the iim_server.servertimeout parameter.

The parameter value is in minutes.

iim_server.enable

true

This value should contain whether or not the Instant Messaging server should be enabled. This parameter is set false to enable the Instant Messaging multiplexor.

iim_server.conversion.external.command

None

This parameter contains the external command used for message conversion.

iim_server.stat_frequency

1

This parameter contains the frequency at which the server logs the summary of activities to the log file. The server logs the summary of activities to the log file only if the server minimum log severity is set to NOTICE or lower. The value is in minutes.

iim_server.secconfigdir

/etc/opt/SUNWiim/default/config

This directory contains the key and certificate databases. It usually contains the security module database.

iim_server.keydbprefix

None

This value should contain the key database filename prefix. The key database file name must always end with key3.db.

If the Key database contains a prefix, for example This-Database-key3.db, then value of this parameter is This-Database.

iim_server.certdbprefix

None

This value should contain the certificate database filename prefix. The certificate database file name must always end with cert7.db.

If the certificate database contains a prefix, for example Secret-stuff-cert7.db, then value of this parameter is Secret-stuff.

iim_server.secmodfile

secmod.db

This value should contain the name of the security module file.

iim_server.certnickname

Server-Cert

This value should contain the name of the certificate you entered while installing the certificate.

The certificate name is case-sensitive.

iim_server.keystorepasswordfile

sslpassword.conf

This value should contain the relative path and the name of the file containing the password for the key database. This file should contain the following line:

Internal (software) Token:password

Where password is the password protecting the key database.

iim_server.trust_all_cert

false

If this value is true than the server will trust all certificates and will also add the certificate information into the log files.


Multiple Server Configuration Parameters

For communication between multiple Instant Messaging servers in your network, you need to configure your server to identify itself with the other servers and identify itself with each coserver, or cooperating server, which will have a connection to your server. The coserver identifies itself with its Sun ONE Instant Messaging domain name, host and port number, serverID, and password.

Each cooperating server is given a symbolic name, which is a string consisting of letters and digits, for example, coserver1. Using the symbolic naming convention you can specify multiple servers.

When Instant Messaging servers are configured in this manner, you can form a larger Instant Messaging community. Thus:

Table A-5 lists and describes the multiple server configuration parameters.

Table A-5  Multiple Server Configuration Parameters  

Parameter

Default Value

Description

iim_server.serverid

None

String used by this server to identify itself to all other servers.

iim_server.password

None

Password used by this server to authenticate itself to all other servers.

iim_server.coservers

None

Comma separated list containing symbolic names of the servers that can connect to this server. Any meaningful names are allowed, but they must match what you use for the .serverid, .password, and .host parameters. Examples:

iim_server.coservers=coserver1,coserver2

or

iim_server.coservers=abc,xyz,ntc

iim_server.coserver1.serverid

None

String that identifies the cooperating server represented by the name, coserver1 to authenticate to this server. Note: If you had used abc in the iim_server.coservers list, then the corresponding name for its serverid would be iim_server.abc.serverid.

iim_server.coserver1.password

None

Password used by cooperating server represented by the name, coserver1 to authenticate to this server. Note: If you had used abc in the iim_server.coservers list, then the corresponding name for its password would be iim_server.abc.password.

iim_server.coserver1.host

None

IP address and the port to connect to, for end users on this server to communicate to end users on the server represented by the name coserver1. Note: If you had used abc in the iim_server.coservers list, then the corresponding name for its host would be iim_server.abc.host.

Note: The value format is name:port or IPaddress:port.

iim_server.coserver1.usessl

False

Indicates if this server should use SSL to talk to the server identified by coserver1. The possible values are TRUE and FALSE.


Multiplexor Configuration Parameters

Table A-6 lists and describes the multiplexor configuration parameters.

Table A-6  Multiplexor Configuration Parameters  

Parameter

Default Value

Description

iim_mux.listenport

49909

IP address and listening port for the multiplexor, to listen for Sun ONE Instant Messenger. The value format is IP_address:port. If no IP address is listed, this indicates a value of INADDR_ANY on localhost. Note: If you change this value, also change the im.html and im.jnlp files so that they match the port value.

iim_mux.serverport

49999

The IM server and port the multiplexor talks to. The value format is servername:port or IP_address:port.

iim_mux.numinstances

1

Number of instances of the multiplexor. This parameter is valid only for Solaris platforms.

iim_mux.maxthreads

5

Maximum number of threads per instance of the multiplexor.

iim_mux.maxsessions

2000

Maximum number of concurrent connections per multiplexor process.

iim_mux.usessl

off

If the value is set to on, the multiplexor requires an SSL handshake for each connection it accepts, before exchanging any application data.

iim_mux.secconfigdir

/etc/opt/SUNWiim/default/config

The /etc/opt/SUNWiim/default/config is the value of the iim_mux.secconfigdir parameter. This directory contains the key and certificate databases. It usually contains the security module database.

iim_mux.keydbprefix

None

This value should contain the key database filename prefix. The key database file name must always end with key3.db.

If the Key database contains a prefix, for example This-Database-key3.db, then value of this parameter is This-Database.

iim_mux.certdbprefix

None

This value should contain the certificate database filename prefix. The certificate database file name must always end with cert7.db.

If the certificate database contains a prefix, for example Secret-stuff-cert7.db, then value of this parameter is Secret-stuff.

iim_mux.secmodfile

secmod.db

This value should contain the name of the security module file.

iim_mux.certnickname

Server-Cert

This value should contain the name of the certificate you entered while installing the certificate.

The certificate name is case-sensitive.

iim_mux.keystorepasswordfile

/etc/opt/SUNWiim/default/config/sslpassword.conf

This value should contain the relative path and the name of the file containing the password for the key database. This file should contain the following line:

Internal (software) Token:password

Where password is the password protecting the key database.

iim_mux.stat_frequency

600

This value should contain the frequency at which the multiplexor logs the summary of activities to the log file.The minimum value is 10 seconds.

iim_mux.enable

true

If the value is true then the multiplexor will run for this instance. If the value is false then the multiplexor will not run for this instance.



Previous      Contents      Index      Next     


Copyright 2003 Sun Microsystems, Inc. All rights reserved.