Sun Java System Instant Messaging 7 2006Q1 Administration Guide

Enabling and Disabling Archiving for Instant Messaging

Regardless of whether you choose to use portal, email, a custom archive, or any combination of archives, you enable the archiving capability in Instant Messaging the same way as described in this section. Disabling archiving as described in this section disables all archives.

ProcedureTo Enable Instant Messaging Archiving

After you enable archiving for Instant Messaging, you need to enable the archive provider for the type of archive you want to use as described in the following sections:

Steps
  1. Open iim.conf.

    See iim.conf File Syntax for information.

  2. Add the following line to iim.conf if it does not already exist.


    iim_server.msg_archive = true
    
  3. Save and close iim.conf.

  4. Refresh the server.


    imadmin refresh server
    

    Caution – Caution –

    Do not use the imadmin start, imadmin stop, or imadmin refresh commands in an HA environment with Sun Cluster. Instead, use the Sun Cluster administrative utilities.


ProcedureTo Disable Instant Messaging Archiving

This procedure disables all archiving for Instant Messaging. If you want to disable only email archiving, Portal archiving, or a custom archive you have configured, see one of the following sections:

Steps
  1. Open iim.conf.

    See iim.conf File Syntax for information.

  2. Set the iim_server.msg_archive parameter to false.


    iim_server.msg_archive = false
    
  3. Save and close iim.conf.

  4. Refresh the server.


    imadmin refresh server
    

    Caution – Caution –

    Do not use the imadmin start, imadmin stop, or imadmin refresh commands in an HA environment with Sun Cluster. Instead, use the Sun Cluster administrative utilities.