Exchange Database Part I : Storage

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email
Table of Contents

Exchange Database introduction

All users mailbox are stored in central file in exchange server called [exchange mailbox database

Mailbox Database is a major component of Exchange 2016 .

 Exchange mailbox database is .edb file that contains

  • data,
  • data definitions
  • , checksums,
  • Flags
  • and other information that make up mailboxes

Extensible Storage Engine (ESE)

Exchange uses Extensible Storage Engine (ESE) as it’s database engine.

 

 When emails comes into Exchange server,:

  • the email first comes into memory (RAM),
  • then it comes to transaction logs 
  • and then the email is stored into exchange database
  • Transaction logfiles of a particular database records all the transaction performed on a database.
  • Different set of transaction log files are created for different database.

Where Exchange Database stored ?

A mailbox database is stored as an Exchange database (.edb) file [specifically in path : C:\Program Files\Microsoft\Exchange Server\V15\Mailbox]

This path is NOT recommended because it is in C:\ Drive which will get full Soon

You have one of two options to move exchange Mailbox DB

  • Move DB to local HDD drive in exchange server
  • Move DB to remote Storage in network [ ISCSI , or SAN storage ]

We will discuss Cons and pro for each option 

to understand situation : > please have a look to exchange deployment diagram for Pioneers.lab 

Exchange Storage Diagram

Exchange has local HDD E:\ with 300GB storage 

for remote storage : 

  • we have ISCSI server iscsi103.pioneers.lab with two Ethernet  [172.16.100.103 for ,management ] and [172.21.100.103 for ISCSI connection ]  
  • on server iscsi103 we created VDisk01 with capacity 500GB and allow ONLY mail105 with IP 172.21.100.105 to access this virtual disk . for more information about ISCSI , please back to article ISCSI storage 
  •  Mail105 with IP address 172.21.100.105 use [iscsi initiator ]  to connect to iscsi target as remote storage
  • now exchange server has two storage [locally with 300GB , and remotely with capacity 500GB ]  

create VDisk01 on ISCSI Server

in this section we will create virtual Disk called VDisk01 on iscsi server iscsi103.pioneers.lab and allow ONLY exchange server with IP address 172.21.100.105 to this virtual disk 

 

let’s go 

open servermanager.exe
select local server - ISCSI - create ISCSI virtual disk
select E:\ Drive - since C:\ for OS
virtual disk name VDisk01
size 500GB from 1500 GB - select dynamic expanding
create new target for vdisk01
name target001
allow ONLY exchange IP address 172.21.100.105 NOT 172.16.100.105
for encryption - keep as default
review then press create
vistual created successfully
now we have vdisk01 with allowed 172.21.100.105 but NOT connected YET

Exchange ISCSI initiator

 in this section we will configure exchage server to connect to iscsi target and use remote Vdisk01 

exchange server currently has only c:\ for OS and E:\ locall HDD with capacity 300GB
open servermanager.exe - from Tools select ISCSI initiator
connecto to iscsi target server 172.21.100.103
connection successfully done
now ti's time to format vdisk01
select online
select initialize
initialize as GPT
create new simple volume
select all capacity 500GB
drive letter F:\
format as NTFS with name remote storage
DONE
open this PC : we have C:\ , D:\ for DVD , E:\ as local storage , F:\ as remote storage

move exchange database to ISCSI storage

now we have two options 

  • move exchange DB to local storage E:\
  • move exchange DB to remote  storage F:\

for process : both option seem the same 

open exchange control Panel https://mail105/ecp
check current DB location in C:\ Drive > which is NOT recommended
open exchange power-shell
check DB name and location
rename DB ‘Mailbox Database 0674510237’ to Name ‘Default_DB_Pioneers’
move DB from C:\ Drive to E:\ on ISCSI server
complete moving DB

Verify Moving Exchange Database

as we do always in pioneers.lab > it’s time to verify moving DB 

from power-shell check new DB name and location
also from ECP check new DB name and location
from DB advanced
check E:\ Drive it self

conclusion

Exchange DB store ALL mailbox and other items 

the default exchange database  location in C:\ Drive  C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\DB_Name.edb 

this location is NOT recommended since C:\ Drive will get full soon > and windows OS will stop working 

we have two option to move Exchange DB : either to local HDD or remote Storage [ ISCSI or SAN ]

in our article above we see how to configure ISCSI server and configure exchange server as ISCSI initiator to connect to virtual disk in ISCSI target 

for ore information about ISCSI  please back to our article  part one Here  and Part Two her 

For Better View > Open Image in different TAB
Share this post
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

About Me

Our Power in Numbers

 17 

Courses

321

Articles

3,882

Images
and All configurations images are proudly made in Pioneers Lab

Articles By Course

Recent Articles

Subscribe

Contact us

have a challenge ? don’t hesitate to contact us