Veeam B&R v5 recovery of a domain controller

Availability for the Always-On Enterprise

Re: Restoring Windows 2008 R2 DC - DSRM?

Veeam Logoby Jfmoots » Mon Feb 27, 2012 1:28 pm

My VSS enabled restores of domain controllers boot to DSRM, then reboot, and are good to go.
Jfmoots
Veeam Software
 
Posts: 214
Liked: 26 times
Joined: Fri Oct 28, 2011 3:26 pm
Location: Ohio, United States
Full Name: James Moots

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby rawtaz » Mon Feb 27, 2012 1:39 pm

And you just did a regular full restore (including registration)?

I wonder if it could be caused by having restored to a new installation of ESXi on the same host (so I had to select a new datastore and I also set a new name for the VMs). Seems like something that shouldn't matter though.

Alright, so assuming this hasn't worked like it should, what would be the way to have it dealt with to get the DC running? Should I boot it up in DSRM myself and do whatever one does in there, and then it should be fine after a reboot? I guess this would be the sensible way to deal with it, aside from having support look at the issue of course (which I don't fancy at the moment as I would like to get going with this DC ASAP). On the other hand I have read at least once that in 2008 the DSRM is no longer needed except for in some special situations.
rawtaz
Enthusiast
 
Posts: 85
Liked: 14 times
Joined: Fri Jan 27, 2012 4:42 pm

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby foggy » Mon Feb 27, 2012 1:56 pm

Reading through this topic, DC recovery is fully automated and does not require any user interaction. The restored VM should first boot in safe mode and then reboot automatically immediately to boot up next time normally.
foggy
Veeam Software
 
Posts: 15394
Liked: 1142 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby Jfmoots » Mon Feb 27, 2012 3:13 pm

rawtaz wrote:Alright, so assuming this hasn't worked like it should, what would be the way to have it dealt with to get the DC running? Should I boot it up in DSRM myself and do whatever one does in there, and then it should be fine after a reboot? I guess this would be the sensible way to deal with it, aside from having support look at the issue of course (which I don't fancy at the moment as I would like to get going with this DC ASAP). On the other hand I have read at least once that in 2008 the DSRM is no longer needed except for in some special situations.


You're on the right track here. Booting in to DSRM will "check-in" with other running AD Controllers and update the DB. After that, it's my understanding, that your DC is good to go.
Jfmoots
Veeam Software
 
Posts: 214
Liked: 26 times
Joined: Fri Oct 28, 2011 3:26 pm
Location: Ohio, United States
Full Name: James Moots

Re: Veeam B&R recovery of a domain controller

Veeam Logoby rawtaz » Tue Feb 28, 2012 10:19 am

Ok, status update (for the lazy one: problem solved, Veeam does what it should do, but documentation/instructions for this Automatic Process should be updated/provided):

- Veeam seems to do the job it is claiming to do, i.e. automatically takes care of the final pieces of restoring a 2008 R2 Domain Controller so that you can just power it on after restore and then let it be and once Veeam is finished with it you can login and it is good to go.

- There was some confusion due to the facts that Veeam documentation on this topic is lacking (in my and others opinion) and that Veeam representatives have (in this thread) claimed that the process should automatically first boot the system in *safe* mode before doing the rest of its work, and this does not seem to be accurate. On first boot after restore, it counts down to booting *normal* mode, not safe mode. When booting the machine and seeing it counting down for normal boot, I stopped the process and started investigating how this should really be done, and ended up with my post in this thread. Had there been an outline of the expected process in the user manual things would've been clearer, even if it is all automatic in the end.

- After not having seen the automatic process outlined by Veeam (I wasn't expecting the machine to boot to normal mode, as this was a DC that I thought needed special restoring) I started trying to reach DSRM myself, and at one point noticed the VM restarted itself (the first time this was at a login prompt and second time it was half a minute after the desktop had loaded when i logged in under safe mode). This made me think that there was still a chance that things would progress as intended, so I reverted to the preFirstBootAfterRestore snapshot, booted it and just let it be. Windows then counted down and started in normal mode, then at the login prompt which I didn't touch it rebooted itself once, after about 5-10 minutes. I assume this is after it had done some magic to polish up the DC/AD to be functional again. This time it booted normally (no "unexpected shutdown" screen displayed), and sat at the normal login prompt. I waited for to see if it would do something else, but after 20 minutes of no further activity I logged in and AD seems operational. I tried logging in from an RDS server (also restored with Veeam) that was joined to the domain of this DC and it works too.

- I couldn't agree more with daryanx in this reply where he requests that Veeam provide a step-by-step instruction or process outline for restoring a Windows DC. I too have spent several hours on this now, including booting and not seeing the expected (nor officially mentioned) result and thereby not knowing if things are still the way they should be or if I have a deviation from what is normal, and whether I should do something manually. Not to mention writing this summary up so that others might not need to do the same process over again.

- Again, we are not asking Veeam to supply technical details, all we ask is that Veeam provide a step-by-step instruction on what to expect when looking at the screen of a restore for a DC. Quote: "For example, is the dirty power off screen expected?, should you login to the machine?, how many times will the machine reboot?, do I need to take any additional steps to restore a domain controller?, what do I do if the restore fails or appears to fail?" - Things like that. It should be in the user manual for Backup & Recovery! Heck, if you guys don't take it on you to write one, I will. For the sake of the community, your users.

- In the end all things are well. Personally I did not encounter the issue that some people in this thread have reported, where the machine keeps booting into DSRM even after successful restoration of the VM and AD/DC.

Thanks for everyone's input! :)

PS: I changed the topic of this post, as the thread really applied to B&R v6 just as v5. Might want to update the initial post to reflect this or something, so the thread is more version neutral.
rawtaz
Enthusiast
 
Posts: 85
Liked: 14 times
Joined: Fri Jan 27, 2012 4:42 pm

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby aparker » Wed Apr 11, 2012 10:47 am

I'm running a trial of Veeam and so far very pleased with the results. This thread is of interest as I'm about to test recovery of our DCs and like others wondered how Veeam handled this but ended up here due to no guide. But I have some questions I feel haven't been addressed so far.

Do I need to be concerned with the following KBs when recovery DCs either in production or DR?

VMware KB 1000171

http://kb.vmware.com/selfservice/micros ... Id=1000171

Microsoft KB 888794

http://support.microsoft.com/kb/888794

My DR process is currently based on recovering everything from scratch (we do not have replicated DCs at our DR site). We have multiple DCs in our production environment.

Do I need to be aware of any issues with restoring multiple DCs in this scenario? I.e. I have 2 root DCs and 2 user DCs - can I restore them all without issue (bearing in mind the backups will be taken at different times - usually minutes apart but if a backup should fail then could be longer). Or should I only restore 1 root and 1 user, then build out new secondary root and user DCs?

Thanks for any advice on this.
Adrian
aparker
Novice
 
Posts: 3
Liked: never
Joined: Wed Apr 11, 2012 10:29 am

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby Gostev » Wed Apr 11, 2012 2:13 pm

If your backup was done with application-aware processing enabled in the backup job settings, then you just restore the DC VM normally and Veeam will take care of the rest. Thanks!
Gostev
Veeam Software
 
Posts: 21648
Liked: 2433 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby Loki » Sat Apr 21, 2012 11:21 pm

Hello there.


Just to add more experience into the discussion, here's our case.

One of our customers asked us a recovery test of vm backup that are daily made.
What we wanted to to was to restore a vm to test the functionality of the backups and in how much time it would take
to recover from a disaster.
We tried to perform a vm backup of our single microsoft SBS 2008 (our only DC).
The server is hosted on Vmware ESXi 4.1 and we used Veeam Backup 4.1.
Backup went good, but when we tested the saved vm we stumbled upon the (in)famous missing reboot.

We tried to log in as domain administrator but an error message told us that no server was available for logging.
Waited for the reboot that never came.
Then we logged in as local administrator, loaded msconfig and unchecked the box regarding the Active Directory Recovery, then we rebooted the server.

Domain is ok, dns and dhcp services are ok but there's nothing to do with the Exchange.

It appears the exchange database is in dirty state and a long series of Eseutils are necessary to bring things back on.

We're actually repairing the database and wondering if this is how things are supposed to go in the aftermath of a hypotetical disaster that would force us
to restore from a replica.

@Gostev: we've already contacted the support, exchanged a couple of email and send the veeam logs of the backup server.

Any hint, suggestion or impression is welcome!

Thank you.

Alessio
Loki
Lurker
 
Posts: 2
Liked: never
Joined: Tue May 24, 2011 5:05 pm
Full Name: alessio marcheggiani

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby daryanx » Mon Apr 23, 2012 1:13 am

foggy wrote:Reading through this topic, DC recovery is fully automated and does not require any user interaction. The restored VM should first boot in safe mode and then reboot automatically immediately to boot up next time normally.


Point to note here, to avoid confusion of others who need to read this thread to reassure themselves of their DC restore. The machine boots to the "dirty shutdown" screen but DOESN'T then boot to safe mode - it actually boots normally. In other words the default option at the dirty shutdown screen is something like 'Load Windows Normally' and if the machine is not touched (as it shouldn't be) this is the boot option chosen. This is as per Veeam design although is not documented anywhere
daryanx
Influencer
 
Posts: 10
Liked: never
Joined: Wed Jun 01, 2011 5:02 am
Full Name: Paul Hutton

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby foggy » Mon Apr 23, 2012 9:03 am

Loki wrote:We tried to log in as domain administrator but an error message told us that no server was available for logging.
Waited for the reboot that never came.


Alessio, you do not even need to log in, just let the VM to reboot automatically. As was stated in this topic many more times, the process of the DC restore is FULLY automated and you do NOT need to do ANYTHING (even try to log in until the VM is booted the second time normally). Logging in after the first boot brakes the whole restore process.

daryanx wrote:Point to note here, to avoid confusion of others who need to read this thread to reassure themselves of their DC restore. The machine boots to the "dirty shutdown" screen but DOESN'T then boot to safe mode - it actually boots normally. In other words the default option at the dirty shutdown screen is something like 'Load Windows Normally' and if the machine is not touched (as it shouldn't be) this is the boot option chosen. This is as per Veeam design although is not documented anywhere

Although the default choice is 'Load Windows Normally', Veeam B&R tweaks the startup mode to boot the VM in safe mode (for the first time).
foggy
Veeam Software
 
Posts: 15394
Liked: 1142 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby Loki » Mon Apr 23, 2012 3:36 pm

Foggy wrote:
Alessio, you do not even need to log in, just let the VM to reboot automatically. As was stated in this topic many more times, the process of the DC restore is FULLY automated and you do NOT need to do ANYTHING (even try to log in until the VM is booted the second time normally). Logging in after the first boot brakes the whole restore process.


Hello Foggy,

My fault, I didn't make myself clear.
After the restore we let the VM alone for aprox 30 minutes. It didn't reboot, just stood there doing anything (we were checking CPU and disk usage on the Vmware Console).
Then we tried to log in using DC administrator credential and got the message that no server was available for logging.
After several research i stumbled upon this post where i've found the tip of loggin' as local administrator and uncheck the ADR box.
(Which seems to me the same solution veeam support team suggests in this KB: http://www.veeam.com/kb_articles.html/KB1277 even if we used Gui instead of CLI, am i wrong?)
We rebooted the server and services were back to normal. All except the Exchange database which was in Dirty State and needed check after check to be back to normal use.
Hope this would shed a little bit of light on our situation!

Thanks again

Alessio
Loki
Lurker
 
Posts: 2
Liked: never
Joined: Tue May 24, 2011 5:05 pm
Full Name: alessio marcheggiani

Re: Veeam B&R v5 recovery of a domain controller

Veeam Logoby foggy » Thu Apr 26, 2012 2:32 pm

Loki wrote:After the restore we let the VM alone for aprox 30 minutes. It didn't reboot, just stood there doing anything (we were checking CPU and disk usage on the Vmware Console).

Then this is the reason to continue working with support on this case.
foggy
Veeam Software
 
Posts: 15394
Liked: 1142 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

2008 R2 DC backed up and run surebackup, DS Repair mode?

Veeam Logoby davidb1234 » Wed May 02, 2012 2:51 pm

[merged]

I backed up a domain controller and used application aware image processing.

I created a sure backup job and ran it and the DC boots in to safe mode directory services restore mode. Is that correct?
davidb1234
Expert
 
Posts: 145
Liked: 15 times
Joined: Tue Nov 15, 2011 8:47 pm
Full Name: David Borden

Replica failover of DC in DR situation

Veeam Logoby mwant » Thu May 31, 2012 8:33 am

[merged]

I have been testing DR of an Active Directory 2003 domain using Failover to replica. One of the things I have come across is the need to mark SYSVOL as authoritative (BurFlags) after the domain controllers have gone through the DSRM process. The process you need to go through to do this manually is complex and adds lots of time to the recovery.

In Backup Exec/Windows Backup you can mark SYSVOL as authoritative and it sorts it out for you. My question is can Veeam provide the same functionality and thus make the whole recovery process a lot easier and smoother?
mwant
Influencer
 
Posts: 13
Liked: never
Joined: Tue Oct 04, 2011 10:33 am
Full Name: m want

Re: Replica failover of DC in DR situation

Veeam Logoby daryanx » Mon Jun 04, 2012 1:47 am

mwant wrote:[merged]

I have been testing DR of an Active Directory 2003 domain using Failover to replica. One of the things I have come across is the need to mark SYSVOL as authoritative (BurFlags) after the domain controllers have gone through the DSRM process. The process you need to go through to do this manually is complex and adds lots of time to the recovery.

In Backup Exec/Windows Backup you can mark SYSVOL as authoritative and it sorts it out for you. My question is can Veeam provide the same functionality and thus make the whole recovery process a lot easier and smoother?


If this post is factual then I would also be very interested in hearing from Veeam on the answer to the question...
daryanx
Influencer
 
Posts: 10
Liked: never
Joined: Wed Jun 01, 2011 5:02 am
Full Name: Paul Hutton

PreviousNext

Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Exabot [Bot], Majestic-12 [Bot] and 1 guest