As was the case with Exchange 2003, you can decide where to locate individual mailbox databases (also called “stores”). A best practice for Exchange 2007 is to include only a single store inside a storage group, a strategy that allows some of Exchange 2007’s advanced clustering options to operate. What this best practice means is that a storage group location will contain just the database files necessary to support a single store. This will result in less confusion as administrators try to figure out what files go with which store.

A database location can be specified at the time that you create a new store. Since best practice is “one store per storage group,” you also need to create a new storage group before you create the new store since stores are a component of storage groups. I’ll go through both processes in this tip. (Note: The terms “store” and “mailbox database” are interchangeable.)

Storage group creation

To create a new storage group:

  • On an Exchange 2007 server, start the Exchange Management Console.
  • Browse to Server Configuration | Mailbox.
  • Choose the Mailbox server on which you want to create a new storage group.
  • From the Actions pane, choose New Storage Group to start a creation wizard.

Figure A
The New Storage Group option is highlighted in blue.
The wizard, whose screen is shown below in Figure B, asks you for the new storage group name and to indicate where you would like to store log and system files. Note that an individual store’s log files are actually a part of the storage group and are lumped together with the log files from any other stores you may associate with the storage group. Provide the requested information and click New. In this example, I have created a new storage group called TR-Test and indicated that I would like storage group files stored at H:\Test\TR-Test. The following command-line command would have achieved an identical result:new-StorageGroup -Server ‘MAIL1’ -Name ‘TR-test’ -LogFolderPath ‘H:\Test\TR-Test’ -SystemFolderPath ‘H:\Test\TR-Test’

Figure B

The New Storage Group creation wizard: Store creation

With the storage group now created, you can create the new mailbox database that will actually hold user mail and data.

  • Now, back at the Exchange Management Console, select your new Storage Group and, from the Actions pane, select New Mailbox Database.

Figure C

Choose New Mailbox Database to create a new store.

  • The New Mailbox Database wizard starts and asks you for the name of the new mailbox database as well as for the path. If you omit the path, the database files will be stored in the storage group’s default location. Many Exchange administrators like to store the database separately from the storage group files to aid in disaster recovery. If you want to do so, click the Browse button next to the Database file path box and choose your location.
  • Click New.

Note that the following command would have achieved the same results.

new-mailboxdatabase -StorageGroup ‘CN=TR-test,CN=InformationStore,CN=MAIL1,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=YOUR ORG NAME,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=YOUR DOMAIN NAME,DC=com’ -Name ‘TR-Test-DB’ -EdbFilePath ‘H:\Test\TR-Test\TR-Test-DB.edb’