This technical note describes how to configure the Sun StorageTekTM 53xx NAS for use with Sun JavaTM System Messaging Server 6.
This technical note contain the following sections:
Description of Changes
April 6, 2007
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 such as Sun StorageTek 53xx NAS. Sun StorageTek devices simplify file sharing and management between disparate platforms. The Sun StorageTek 53xx NAS units are quick to deploy, simple to manage, and integrate seamlessly. In addition, the Sun StorageTek 5320 NAS scales to 224 Tbytes to meet growing data volumes without compromising performance.
The high-level steps to configure a Sun StorageTek 53xx NAS for Messaging Server are:
Planning disk capacity
Configuring Messaging Server to access the Sun StorageTek 53xx NAS
You need to create a volume (or volumes) on the Sun StorageTek 53xx NAS before installing Messaging Server. To avoid disk I/O bottlenecks, configure the system with as many Logical Unit Numbers (LUNs) as possible. Note that more LUNs in a volume means longer RAID reconstruction time in case disk failure happens.
The message store file system on the Sun StorageTek 53xx NAS 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.
Refer to the Sun StorageTek documentation for instructions on creating volumes:
After creating the volume, you need to configure Messaging Server so that it can function with the Sun StorageTek 53xx NAS.
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
If you do this, modify the startup script to recreate the /tmp/lock directory (with proper permissions) upon bootup. Otherwise, it won't exist and your sever will fail to start.
In general, you can improve Sun StorageTek 53xx performance by creating more Logical Unit Numbers (LUNs). In addition, build volumes on each LUN so that the metadata and user data are separated. For example, during initial Messaging Server configuration, you could locate metadata on LUN0 and the other user data on LUN1.
After configuring Messaging Server to work with the Sun StorageTek 53xx NAS, 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 a few minutes. This is much quicker than using reconstruct, which relies on the redundant information stored in other areas.
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 that 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 in To Specify Message Store Database Snapshot Interval and Location in Sun Java System Messaging Server 6 2005Q4 Administration Guide.
Refer to the following documentation for more information.
Sun StorageTek 5310 NAS Appliance Version 4.5 Documentation: http://docs.sun.com/app/docs/coll/5310_NASv45
Sun StorageTek 5320 NAS Appliance Version 4.20 Documentation: http://docs.sun.com/app/docs/coll/5320_NASv420
To manage the message store and database snapshots, see Chapter 18, Managing the Message Store, in Sun Java System Messaging Server 6 2005Q4 Administration Guide.
The docs.sun.com web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. Books are available as online files in PDF and HTML formats. Both formats are readable by assistive technologies for users with disabilities.
To access the following Sun resources, go to http://www.sun.com:
Downloads of Sun products
Services and solutions
Support (including patches and updates)
Communities (for example, Sun Developer Network)
Third-party URLs are referenced in this document and provide additional, related information.
Sun is not responsible for the availability of third-party web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services that are available on or through such sites or resources.
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 full document title and part number. The part number is a 7-digit or 9-digit number that can be found on the book's title page or in the document's URL. For example, the part number of this book is 820-1040.