Sun Java Enterprise System 2005Q1 Technical Note
Sun Java Enterprise System Technical Note: Using NetApp Filers with Messaging Server Message Store
Part Number 819-3322-10
The Sun Java Enterprise System 2005Q1 Technical Note: Using NetApp Filers with Messaging Server Message Store describes how to configure NetApp storage appliances called filers with the Sun Java System Messaging Server 6 2005Q1 message store.
The component product affected by this technical note is:
This technical note contain the following sections:
Technical Note Revision History
Table 1 Revision History
Description of Changes
Corrected typo in release version of Messaging Server.
August 26, 2005
Modified To Configure Messaging Server to Work with NetApp Filers with note to change startup script.
August 8, 2005
Noted that the message store file system on the NetApp filer can only be mounted by a single Messaging Server host.
July 29, 2005
Initial release of this technical note.
The Messaging Server message store contains the user mailboxes for a particular Messaging Server instance. The size of the message store increases as the number of mailboxes, folders, and log files increase.
As you add more users to your system, your disk storage requirements increase. Depending on the number of users your server supports, the message store might require one physical disk or multiple physical disks. Messaging Server enables you an add more stores as needed.
One approach to adding more stores is by using storage appliances. NetApp storage appliances called filers integrate seamlessly with Messaging Server in the message delivery environment. Filers are reliable and provide excellent performance, scalability, and data availability. Filers provide high-performance access to a single copy of the data, which is shared across all types of UNIX� clients through NFS.
The high-level steps to configure the NetApp filer for Messaging Server are:
in addition, you can use Snapshot to create periodic copies for data protection in the event of server failure or loss of data. You can use SnapRestore� to quickly restore mailboxes from the snapshots taken previously. You can dump the Snapshot copies to tape library using NDMP and store them offsite. For more streamlined disaster recovery (DR) purposes, you can send these Snapshot copies by using SnapMirror� to a NetApp NearStore� system located at a secondary site or data center.
Planning Disk Capacity and Creating Volumes
You need to create a volume (or volumes) on the filer before installing Messaging Server. To avoid disk I/O bottlenecks, configure the system with as many spindles as possible. Note that more spindles in a volume means longer RAID reconstruction time in case disk failure happens.
The message store file system on the NetApp filer can only be mounted by one Messaging Server host. Sharing the same message store file system by more than one Messaging Server is not supported.
To Create a Volume on a NetApp Data ONTAP 7G (Flexible Volume)
To Create a Volume on a NetApp Data ONTAP 6.5 and Older (Traditional Volume)
- The following command creates a volume called eng with 10 spindles:
vol create eng 10
- Export the volume(s) to Messaging Server through NFS.
Add the following entry to the system /etc/exports file on the filer (the server is msg1).
- Run the Data ONTAP exportfs command.
- Mount the volume eng from server msg1.
mount filer:/vol/eng /eng
- Use /eng as the path to message store.
Configuring Messaging Server to Work with NetApp Filers
After creating the volume, you need to configure Messaging Server so that it can function with the NetApp device.
To Configure Messaging Server to Work with NetApp Filers
- Configure the temporary database directory on the Messaging Server host by setting the store.dbtmpdir parameter to a directory under /tmp.
configutil -o store.dbtmpdir -v /tmp/mboxlist
- Move the data/lock directory to a local file system, for example, /tmp.
- Create a symlink to the lock directory.
mv /var/opt/SUNWmsgsr/lock /tmp/lock
ln -s /tmp/lock /var/opt/SUNWmsgsr/lock
Configuring the Message Store Database Snapshot
After configuring Messaging Server to work with the NetApp filer, you need to specify a message store database snapshot interval and location.
A snapshot is a hot backup of the database and is used by stored to restore a broken database transparently in couple minutes. This is much quicker than using reconstruct, which relies on the redundant information stored in other areas.
To Configure Message Store Database Snapshot Location and Interval
- Plan the snapshot location and interval based on the following:
- Try to allocate five times as much space for the database and snapshots combined.
- Reconfigure snapshots to run on a separate disk, and that it is tuned to the system’s needs.
- Having a snapshot interval which is too small will result in a frequent burden to the system and a greater chance that a problem in the database will be copied as a snapshot. Having a snapshot interval too large can create a situation where the database will hold the state it had back when the snapshot was taken.
- A snapshot interval of a day is recommended and a week or more of snapshots can be useful if a problem remains on the system for a number of days and you wish to go back to a period prior to point at which the problem existed.
- Use configutil parameters to configure the snapshot location and interval, as described here:
Refer to the following documentation for more information.
Known Issues and Limitations
See the Java Enterprise System Release Notes Collection at the following URL to find out about known problems:
How to Report Problems and Provide Feedback
If you have problems with Sun Java Enterprise System, contact Sun customer support using one of the following mechanisms:
- Sun Software Support services online at
So that we can best assist you in resolving problems, please have the following information available when you contact support:
- Description of the problem, including the situation where the problem occurs and its impact on your operation
- Machine type, operating system version, and product version, including any patches and other software that might be affecting the problem
- Detailed steps on the methods you have used to reproduce the problem
- Any error logs or core dumps
Sun Welcomes Your Comments
Sun is interested in improving its documentation and welcomes your comments and suggestions.
To share your comments, go to http://docs.sun.com and click Send Comments. In the online form, provide the document title and part number. The part number is a seven-digit or nine-digit number that can be found on the title page of the book or at the top of the document. For example, the title of this book is Sun Java Enterprise System 2005Q1 Technical Note: Using NetApp Filers with Messaging Server Message Store, and the part number is 819-3322-10.
Additional Sun Resources
Useful Sun Java System information can be found at the following Internet locations:
- Sun Java System Documentation
- Sun Java System Professional Services
- Sun Java System Software Products and Service
- Sun Java System Software Support Services
- Sun Java System Support and Knowledge Base
- Sun Support and Training Services
- Sun Java System Consulting and Professional Services
- Sun Java System Developer Information
- Sun Developer Support Services
- Sun Java System Software Training
- Sun Software Data Sheets
Copyright � 2005 Sun Microsystems, Inc. All rights reserved.
Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries.
U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements.
Use is subject to license terms.
This distribution may include materials developed by third parties.
Portions may be derived from Berkeley BSD systems, licensed from U. of CA.
Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries.
Copyright � 2005 Sun Microsystems, Inc. Tous droits r�serv�s.
Sun Microsystems, Inc. d�tient les droits de propri�t� intellectuels relatifs � la technologie incorpor�e dans le produit qui est d�crit dans ce document. En particulier, et ce sans limitation, ces droits de propri�t� intellectuelle peuvent inclure un ou plusieurs des brevets am�ricains list�s � l'adresse http://www.sun.com/patents et un ou des brevets suppl�mentaires ou des applications de brevet en attente aux Etats - Unis et dans les autres pays.
Propri�t� de SUN/CONFIDENTIEL.
L'utilisation est soumise aux termes du contrat de licence.
Cette distribution peut comprendre des composants d�velopp�s par des tierces parties.
Des parties de ce produit pourront �tre d�riv�es des syst�mes Berkeley BSD licenci�s par l'Universit� de Californie.
Sun, Sun Microsystems, le logo Sun, Java et Solaris sont des marques de fabrique ou des marques d�pos�es de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
Toutes les marques SPARC sont utilis�es sous licence et sont des marques de fabrique ou des marques d�pos�es de SPARC International, Inc. aux Etats-Unis et dans d'autres pays.