Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 45
  • Last Modified:

Install DB in EXCH2013

about this command:

.\setup /m:Install /Roles:ca,mb,mt /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents /DBFilePath:"C:\DB01\DB01.edb" /LogFolderPath:"C:\DB01\Logs" /MdbName:"DB01"

Open in new window


I haven't installed like this, I used the GUI.
There is no DB created. Can I do this manually at every time ?
0
Eprs_Admin
Asked:
Eprs_Admin
3 Solutions
 
IvanSystem EngineerCommented:
Hi,

as per MS article, it is supported to use [/DbFilePath:<Edb file path>] and [/LogFolderPath:<log folder path>] switches.

MS link: https://technet.microsoft.com/en-us/library/aa997281(v=exchg.150).aspx

Regards,
Ivan.
0
 
Eprs_AdminSystem ArchitectAuthor Commented:
Yes I know the command.
But my question is, can I create the DB also later on ? Because I already have installed EXCH2013.
0
 
IvanSystem EngineerCommented:
Oh, sorry.

Yes, you can create DB after you install Exchange. If you have Exchange standard, then you can create 5 database, or better said, you can have 5 mounted DB.

To create DB, just log to EAC --> Servers --> Databases --> Add new DB

OR via Exchange Shell:
New-MailboxDatabase -Name "<DB_Name>" -EdbFilePath "D:\ExchangeDatabases\DB1\DB1.edb" -LogFolderPath "X:\ExchangeDatabaseLog\DB1\"

Regards,
Ivan.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Niten KumarPrincipal Systems AdministratorCommented:
For database creation you can use the following:

New-MailboxDatabase -Name "MailboxDatabase01" -EdbFilePath D:\DatabaseFiles\MailboxDatabase01.edb -LogFolderPath F:\DatabaseFiles\LogFolder

After successfully creating the Database we need to mount it to the Exchange server with the following command.

Mount-Database -Identity "MailboxDatabase01"
0
 
AkhaterCommented:
Every time you install Exchange (mailbox role) there will be a default mailbox database created on that server no matter how you install it.

for any additional DB you will need to create it manually either with the GUI or with the new-mailboxdatabase command
0
 
Eprs_AdminSystem ArchitectAuthor Commented:
Thanks.
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now