This blog post is part of the step-by-step to deploy replica DCs on Microsoft Azure which can be found here: http://scug.be/wim/2015/09/28/deploying-replica-dcs-in-windows-azure/
Before we can promote the servers to DCs, we need to initialize and format the additional data disk that we added with the VM creation script to store the Active Directory Database and logs. I will explain how you can do this trough the GUI and via PowerShell.
Initialize and format the additional data disk trough the GUI
1) Logon to your Azure IaaS VM trough RDP, open Run and type diskmgmt.msc, press OK
2) The Disk Management console will open and a screen will pop-up to initialize the additional data disk. Select disk 2 and GPT as the partition style, press OK
3) Right-click Disk 2 and select New Simple Volume…
4) Click Next
5) Click Next on the Specify Volume Size page
6) Choose E as the drive letter and press Next
7) Fill in a name for the Volume label (in my case I use AD) and click Next
8) Click Finish
Initialize and format the additional data disk trough PowerShell
1) Logon to the Azure IaaS VM trough RDP and open PowerShell as an administrator.
2) Run following PowerShell cmdlet:
Write-Host "Initializing and formatting raw disk"
Where PartitionStyle -eq "raw" |
Initialize-Disk -PartitionStyle GPT -PassThru |
New-Partition –UseMaximumSize -DriveLetter E |
Format-Volume -FileSystem NTFS -NewFileSystemLabel AD
3) To confirm type Y and press Enter
That ends the fourth part of this series. Please continue through the rest of the series to complete the setup (if all are available).
Till next time!
Wim Matthyssen (@wmatthyssen)