DRAG DROP
You have an Exchange Server 2016 organization. The organization contains five servers. The servers are
configured as shown in the following table:
EX0l, EX02, ЕХ03, and EX04 are members of a database availability group (DAG) named DAG01.
The data center in New York fails.
You need to activate DAG01 in the London site.
Which three commands should you run in sequence? To answer, move the appropriate commands from the list
of commands to the answer area and arrange them in the correct order.
Select and Place:
Not sure. See Question 20 from V1.
Set-Service -Name clussvc -ComputerName EX01 -Status Stopped
Set-Service -Name clussvc -ComputerName EX02 -Status Stopped
Stop-DatabaseAvailabilityGroup -identity DAG01 -ActiveDirectorySite “New York” -ConfigurationOnly $TRUE
Restore-DatabaseAvailabilityGroup -Identity DAG01 -ActiveDirectorySite “London” -AlternateWitnessServer SRV02 -AlternateWitnessDirectory D:\DAG1
https://technet.microsoft.com/en-us/library/dd351049(v=exchg.160).aspx
1.Stop-DatabaseAvailabilityGroup DAG1 – ActiveDirectorySite “New York” -ConfigurationOnly $true
2.Set-Service -Name clussvc -ComputerName EX03 -Status Stopped
2.Set-Service -Name clussvc -ComputerName EX04 -Status Stopped
3.Restore-DatabaseAvailabilityGroup -Identity DAG01 -ActiveDirectorySite “London” -AlternateWitnessServer SRV02 -AlternateWitnessDirectory D:\DAG1
As the Technet Link said “Before activating the DAG members in the second datacenter The Cluster service must be stopped on each DAG member in the second datacenter. You can use the Stop-Service cmdlet to stop the service (for example, Stop-Service ClusSvc), or use net stop clussvc from an elevated command prompt.
EX03 and EX04 are the second Datacenter
nice work again!
Agreed with Mat
After rereading the TechNet link, I think it’s this:
4th step not needed for the question, as 3 steps as required)
Set-Service -Name clussvc -ComputerName EX01 -Status Stopped
Set-Service -Name clussvc -ComputerName EX02 -Status Stopped
Stop-DatabaseAvailabilityGroup -identity DAG01 -ActiveDirectorySite “New York” -ConfigurationOnly $TRUE
Set-Service -Name clussvc -ComputerName EX03 -Status Stopped
Set-Service -Name clussvc -ComputerName EX04 -Status Stopped
(not needed for answer)
Restore-DatabaseAvailabilityGroup -Identity DAG01 -ActiveDirectorySite “London” -AlternateWitnessServer SRV02 -AlternateWitnessDirectory D:\DAG1
what do you think, mat?
Problem is, they want us to restore the functionality in London…so the last step is needed. This is one is a piece of crap !! 😀 Should be a 4-stepper and we’d be good. lol
The data center in New York fails.
Hey reddy, I’m confused why we’re skipping steps just to achieve the final goal of starting up the DAG in the London datacenter, as per the TechNet article…
any insight? Look at the comment above
I’ve come up with this order as per the TechNet page I posted before:
1.
Stop-DatabaseAvailabilityGroup DAG1 – ActiveDirectorySite “New York” -ConfigurationOnly $true
2.
Set-Service -Name clussvc -ComputerName EX01 -Status Stopped
Set-Service -Name clussvc -ComputerName EX02 -Status Stopped
3.
Set-Service -Name clussvc -ComputerName EX03 -Status Stopped
Set-Service -Name clussvc -ComputerName EX04 -Status Stopped
4.
Restore-DatabaseAvailabilityGroup -Identity DAG01 -ActiveDirectorySite “London” -AlternateWitnessServer SRV02 -AlternateWitnessDirectory D:\DAG1
Now, the thing is, step 2 could potentially be skipped as it seems that DAC mode is enabled (as it will not automatically mount databases in the second datacenter).
Um…So, I think I’ve just worked myself into Mat’s answer. lol. Proper steps listed 1, 3, 4. Agree with Mat and Reddy.
I got this question.