Understanding Information Store Essentials (Part 1)
By shajifiroz
Created 2005-10-26 05:50

  • Exchange 2000

For a Microsoft Exchange Server 2000 Administrator, knowing and being able to manage Information store is one of the most important challenging tasks. Because the Information store manage and deal with most valuable resources on an Exchange server which is User Data. I will be covering about Exchange 2000 Information Stores and its features, Stores and Storage Groups, The internal structure of the Store, details of the Extensible Storage Engine which is used to store our information, and finally details of using Full Text Indexing for your stores. There are a lot of good information available in the Internet, I will try to condense them all and bring the highlights in three-part article.

Introduction

In Part I, we will look at Stores and Storage Groups in more detail. Each Exchange Server deployed in an organization has an information store. The information store can contain storage groups, data stores, and databases. Here we focus on Stores and Storage Group and its management.

Exchange 2000 Information Store 


As you notice the above picture, the core units of Exchange 2000 storage are the Information stores, sometimes referred to as databases. The two types of Exchange stores are worth noting below, as they are created when you install new Exchange Server in an organization.

  • Mailbox Store – Holds user’s private mailboxes
  • Public Store – Holds shared Public Folders
The above two Exchange stores are held in two database files:
  • EDB – A rich text database file (also known as the rich text store) containing message headers, message text, and standard attachments.Important: the EDB file contains the store tables which are used by clients when accessing data.
  • STM – Also known as the streaming Internet content file, containing  audio, video, and other media that are <!--StartFragment --> formatted as streams of Multipurpose Internet Mail Extension (MIME) Data
All Exchange database have .edb and .stm files associated with them. It is important to note that these two files are inseparable and intrinsically linked; they must be treated as one. You cannot recover a database unless you have both files.By default, the .edb and .stm file names are the same as the name of the store. For example, if you create a mailbox store called Admin and don't change the default .eds and .stm file names, these files are called Admin.edb and Admin.stm, respectively. Any store on an Exchange server can be dismounted, which will bring that store off-line. Other stores are not affected and continue to be on-line.

Its a new concept introduced to Exchange 2000 that you can dismount a Store ; it is not the same as shutting down the Information Store in Exchange 5.5. The information store in Exchange 2000 continues to run even if all databases are dismounted. Dismounting a store unlocks the EDB and STM files so that you can perform maintenance on them.

Storage Groups

 

Information stores are grouped into Storage Groups (SGs) on an Exchange 2000 server. On the surface, Storage groups & database seem to be the most fundamental Exchange Server components. As you go deeper, the reasons for creating additional storage groups and databases become more clear. Storage groups are the containers for mailbox and public folder stores and each storage group can have multiple data stores. In other words, a storage group is defined as a collection of databases which share a common set of transaction logs and run under a separate instance of ESE to other storage groups.A storage group can contain up to 5 stores. Transaction logs are covered in more detail later in this series.

Creating Additional Storage Groups

You can have maximum four Storage Groups on each Server. Creating additional storage groups results in increased overhead on the Exchange Server. Approximately 100MB of memory is required to bring each SG online in addition to 10MB for each store in that SG. Therefore SGs should only be created when its absolutely required. I can list out the following scenarios where you may want to create additional SGs:

You need more than five stores – A SG can only accommodate 5 stores

ASP hosting to provide maximum data isolation – Stores within the same SG share log files for their data. If a business needs total data isolation they should be given their own SG

You have different back up requirements between stores – Normal backup operations are carried out at the SG level. Therefore if your Exchange server is being backed up once a day, but you have a store which needs to be backed up every 6 hours, put that database in separate SG and configure a separate backup schedule for it.

You need to enable circular logging on some stores – Circular logging is generally not recommended for reasons of recoverable.Because Circular logging will over write the transaction logs. However in some scenarios, such as on connector or news feed servers, you do not need to back up stores. In this case these databases should be put into their own SGs where circular logging has been enabled. Circular logging can only be configured at the SG level.

Number of Stores

The below table shows how many stores and Storage Groups are supported in an Exchange Server.

Exchange Version

Total Storage Groups

 Stores Per Storage Group

 Total Stores

 Exchange 2000

 4

 5

 20

One store is reserved for maintenance (e.g. ESEUTIL and ISINTEG)

One Storage Group is reserved for Restore Operation

 Maintenance utilities such as ESEUTIL and ISINTEG require a spare database for temporary storage within the same SG as the database they are running against.

Exchange caches a lot of information for each database. The amount of memory buffers required is directly related to the amount of data in the stores. Microsoft did rigorous testing and estimated that the highest number of SGs that could be safely supported in this environment was 4. In the future with 64 bit Windows, we may see the reintroduction of up to 15 SGs per Exchange servers.

Create and Configuring the stores

To create a store on an Exchange server, use Exchange System Manager (ESM). Right click on the SG and select New, Mailbox (or Public) Store. You will be presented with the dialog box shown in the picture below. The Name field provides a logical display name for the store, from which the physical file names are derived. Clicking OK will allow you to mount the new store. Once mounted, you can start using this database immediately.

Mailbox Store Settings


Property Page

Setting
Description
General
Default Public Store
The default public store that clients will connect to when accessing public folders through MAPI or OWA
Offline Address List
Offline address list available for Outlook to download
Archive Messages
Message journaling – Archives all messages sent or received on this store to the location provided
Database
Exchange Database and STM file
Location of EDB and STM file
Maintenance Interval
Schedule for on-line store maintenance
Limits
Issue Warning
Mailbox size threshold to start sending warning messages to user
 Prohibit Send
Mailbox size threshold to prevent user from sending messages
 Prohibit Send and Receive
Mailbox size threshold to prevent sending and receiving of messages
 Keep deleted items
Deleted retention time for deleted messages
 Keep deleted mailboxes
Deleted retention time for deleted mailboxes


Creating and Configuring Storage Groups

To create a storage group on an Exchange server, use Exchange System Manager (ESM). Right click on the Exchange server object and select New, Storage Group. You will be presented with the dialog box shown in the slide. The Name field provides a logical display name for the storage group, from which the physical folder name containing the SG is derived. Once a SG is created you can proceed to create stores within it.  


Settings

Description
Transaction Log
Location of transaction log files for this storage group
System Path
Location of folder used by this SG for various operations, including the checkpoint file
Log File Prefix
This is not configurable, it will be assigned E01 for the first SG, E02 for the second and so on
Zero deleted pages
This option will force Exchange to overwrite deleted pages with zeros instead of just marking them as deleted, higher security but impacts performance
Enable circular logging
Used to enable circular logging. Only select this option if your stores do not need to be backed up


Managing Stores and Storage Groups

Mounting and Dismounting Stores
Stores can be brought offline by dismounting them using ESM. Dismounting a store releases the EDB and STM file and makes them available to offline utilities such as ESEUTIL and ISINTEG. The information store continues to run other stores on the server.

Deleting Stores
You cannot delete a mailbox store if it contains any mailboxes. You must move or delete the mailboxes before hand. Similarly, you cannot delete a public store if it contains instances of public folders. Deleting a store does not delete the physical database files (EDB and STM). These must be removed manually.

Deleting a Storage Group
You cannot delete a Storage Group if it contains any stores. As with stores, deleting a SG does not remove the SG folder or any of its files.

Moving the Database Files
You can move the EDB and/or the STM files between different locations on your hard disks. You can only move files to local drives. When moving files, Exchange will dismount the store, physically move the file (which could take some time if it is large) and then remount the store.

Moving Transaction Logs
You can move transaction logs using the properties of the SG object in ESM. After selecting a new location, all stores in the SG will be dismounted, the log files moved and then the stores are remounted. The same procedure occurs when changing the System Path location (the checkpoint file).

 

System Policies

 

Mailbox and public stores can be configured with individual settings such as mailbox limits and default replication intervals. Sometimes, however, it is necessary to set the same settings on multiple stores and enforce them so that they cannot be changed except by a select number of administrators. This can be achieved using system policies.
There are three system policies in Exchange 2000:

 Mailbox Store Policy – Used to enforce settings on mailbox store objects
 Public Store Policy – Used to enforce settings on public store objects
 Server Policy – Used to enforce settings on Exchange server objects

Creating System Policies

Policies are created in the System Policy container underneath the Admin Group. If this container does not appear in ESM, then right click the Admin Group and select New, System Policy Container. Right clicking on the container will allow you to create the three types of policies.
When you create a policy, you will be presented with a template of some of the properties of the object that the policy relates to. For example if you create a Mailbox Store Policy the template will contain Limits settings, Database settings and so on. The Exchange server policy will contain Message Tracking options. Properties of the object which do not appear in the policy cannot be enforced and must be set individually on each object.

Once a policy is created you then need to apply the policy. Until you apply it, the policy has no effect whatsoever. You can apply the policy to any object of its own type in the organisation that you have administrator rights to. Once the policy is applied, then properties of that object set in the policy are applied to the object and those properties will then be greyed out so that they cannot be modified on the object itself.

Enforcing Policies

Once a policy is applied to an object, then the properties defined in the policy cannot be modified on the object. However, an administrator can remove an object from a policy and then modify those properties. To remove an object from a policy you must have administrator permissions on the policy itself. In order to enforce policies and prevent administrators removing themselves from them, create a separate Admin Group and move all policies to it. Then only grant policy administrators administrator rights to that Admin Group.

Summary

In part I of this article series I covered the the main components of an Exchange server Information Store - Stores and Storage Groups. We defined Information Store & Storage Groups, understood the numbers associated with Stores and Storage Groups. Now we know how to manage Stores & Storage Groups using system policies. I’ll come back to you soon in Part II to share how the information store is structured.

Privacy Policy | Contact Us | Advertising | Link to Us
© 2005 MessagingTalk.org. All rights reserved.

Source URL: http://www.messagingtalk.org/content/227.html