Monitoring the Sun Message Store

To Monitor Mail Store Space Usage and Settings  

144  

To View Sun Message Store Paths  

145  

To Monitor User Quotas  

146  


 

To Monitor Mail Store Space Usage and Settings

You can monitor the following Sun Message Store parameters:

Current size of the directories that store user folders, indexes, messages and attachments, message hash, Sun Message Store log files, and shared or group folders
Amount of remaining hard disk space available for each directory listed.



AdminConsole>Sun Message Store>General Options>Message Store Space Usage  

  1. From the Admin Console home page, click the Sun Message Store icon.
  2. Click General Options in the Sections list.
  This section is divided into subsections for the space usage and store paths.
  3. Click the Message Store Space Usage tab.
 

FIGURE  5-2 Message Store Space Usage Subsection

Path - Directory that stores user folders, indexes, messages and attachments, message hash, Sun Message Store log files, and shared or group folders
Device - Hard disk partition on which the directories reside
Size - Current size of each directory
Available - Amount of remaining hard disk space currently available for each directory

 

To View Sun Message Store Paths

During SIMS installation, you provided a pathname for the directories that store the messages and attachments, indexes, user folders, shared or group folders, message hash, and log file, or you decided to use the default pathnames. Values for owner, host, and number of days were also assigned during installation. These can be viewed with the following procedure. Of the values displayed in this section, you can reconfigure the number of days to initialize the Sun Message Store only. For more information, refer to "Sun Message Store Increase" on page 155.



AdminConsole>Sun Message Store>General Options> Store Paths  

  1. From the Admin Console home page, click the Sun Message Store icon.
  2. Click General Options in the Sections list.
  This section is divided into subsections for the space usage and store paths.
  3.

FIGURE  5-3 Store Paths Subsection

SIMS Owner - Owner (of Sun Message Store files).
SIMS Host - Name of host on which the Sun Message Store is installed.
FileSystem - This can either be safe or unsafe. A safe file system performs logging such that if a system crashes it is possible to rollback the data to a pre-crash state and restore all data. An example of a safe file system is VXFS. An unsafe file system does not perform logging. If the system crashes, the state cannot be recreated and some data may be lost. You must also perform an imcheck before activating message access to these files.
User folders - Contains user's email folders.
Shared or group folders - Contains folders for shared and group folders.
Message Databases - Contains messages and attachments.
Message Indices - Message Index files.
Message hash - Hashing files.
IMS Log - Sun Message Store log files
SIMS initialization duration in days - Number of days to initialize the Sun Message Store

 

To Monitor User Quotas

You can configure a maximum amount of hard disk space or quota for each Sun Message Store user. See "Message Store Quota Enforcement" on page 148. Messages that arrive for a user whose quota has been met or exceeded will be returned to the sender. The returned message will indicate only a failure to deliver.


Note - Administrators can send a warning message to users whose space usage is approaching their message storage quota by using the imquotacheck command. Refer to the SIMS Reference Manual for further details.

Monitor how much space each user is using as compared to their quota with the following procedure:



AdminConsole>Sun Message Store>View pulldown>User Quota  

  1. From the Admin Console home page, click on the Sun Message Store icon.
  2. Click on the View pull-down menu and select User Quota (FIGURE 5-4).
  Note that this information is not more than two hours old. If you want a realtime snapshot of the data run imquotacheck -v -n (see the SIMS Reference Manual).

FIGURE  5-4 User Quota Dialog

The User Quota page displays the following elements:

User name - Name of each Sun Message Store user sorted alphabetically. Use the scroll bars to view the entire list.
Used - Amount of hard disk space used in kilobytes.
Quota - Maximum amount of hard disk space that can be used in kilobytes.
Used - Amount of hard disk space used in percentage.
Status - The Sun Message Store polls for a status every 10 minutes or if you exit then immediately reaccess the User Quota dialog, then it polls immediately. Possible states include NORMAL and ALERT. NORMAL indicates that a user is using below the configured quota. ALERT indicates that the user has exceeded the quota.
  3. If desired, you can save the information displayed in the User Quota page to a file by clicking the Option pull-down menu and selecting Save Quota List.
  The information is at:
  /var/opt/SUNWmail/ims/userquota.csv
  You can move the contents of this file into a database or spreadsheet application. The contents of this file are structured in the following way:
  username, space used, allocated quota {0 | 1}
  where
  allocated = -2 indicates that the User Default Quota is enabled (see "To Configure Advanced Options" on page 155, step 3 or look at the ims_default_quota attribute in /etc/opt/SUNWmail/ims/ims.cnf)
  allocated = -1 indicates no quota limit.
  0 indicates a NORMAL state and 1 indicates an ALERT state.



Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.