Something which I still see many Administrators do, right after installing Exchange 2010, is renaming the mailbox database or relocating the database or logs files that were created during the setup of Exchange 2010.
To configure the initial mailbox database name, the location of the initial mailbox database (and catalog) files or its log files, you can incorporate the following parameters in your setup command line:
- MdbName is the name of the initially created mailbox database, e.g. MDB01
- DbFilePath is the full path of the initially created mailbox database file, e.g. E:\MDB01DB\MDB01.edb
- LogFolderPath is the folder used to store the database log files, e.g. D:\MDB01LOG
- Note that you must use the complete filename of the edb file, including the .edb extension. Also, you don’t need to create the folders; Exchange will do that for you during setup.
So, to setup Exchange with a custom initial mailbox database name and non-default locations of database and log files, you can use the following command line for example:
setup /mode:install /roles:c,h,m,t /mdbname:MDB01 /DbFilePath:E:\MDB01DB\MDB01.edb /LogFolderPath:D:\MDB01LOG
Of course, these parameters are nice to incorporate in your scripted setup to deploy multiple servers.
Pingback: Configuring initial Exchange database | EighTwOne (821) « JC’s Blog-O-Gibberish
Tracking back from: http://theucguy.net/how-to-tackle-the-default-database-in-exchange-2013/ and would just like to ask: is there a variant of the above command line sample for Exchange 2013 SP1 what with the consolidation of the roles?
Similar options, e.g.
setup /mode:install /roles:c,m -MDBDBPath C:\MailboxData\MDB1\DB -MDBLogPath C:\MailboxData\MDB1\Log -MDBName MDB1