IBM Tivoli Support Technical Exchange Web Seminar: Restoring Windows Active Directory using Tivoli Storage Manager 2007-06...
Agenda: <ul><li>Introduction </li></ul><ul><li>Objectives </li></ul><ul><li>Where to Find More Information </li></ul><ul><...
Introduction: This Tivoli Support Technical Exchange web seminar will cover how to restore Active Directory on Windows 200...
Objectives: <ul><li>Upon completion of this Tivoli Support Technical Exchange web seminar, you will be able to: </li></ul>...
Where to Find More Information: <ul><li>Here is a list of references that were used to make this presentation and are usef...
Restoring Active Directory <ul><li>A few key points before we begin. </li></ul><ul><li>Throughout the presentation, focus ...
Backup requirements in order to restore Active Directory <ul><li>This section will cover the backup requirements for a suc...
Backup requirements in order to successfully restore Active Directory <ul><li>The single most important requirement for a ...
Backup requirements in order to successfully restore Active Directory (continued) <ul><li>If performing manual backups, it...
Backup requirements in order to successfully restore Active Directory (continued) <ul><li>A number of fixes have recently ...
Restoring a corrupt or deleted  Active Directory <ul><li>This section will cover how to recover a deleted or corrupt Activ...
Restoring a corrupt or deleted  Active Directory <ul><li>There may be some requirements to restore only the Active Directo...
<ul><li>Microsoft does provide very good documentation on various scenarios of recovery of the active directory. </li></ul...
Restoring a single domain controller (first domain controller) <ul><li>This section will cover how to restore a Domain Con...
Restoring a single domain controller (first domain controller) <ul><li>An authoritative restore is required when restoring...
<ul><li>Once Windows is installed, install the TSM Client and configure the dsm.opt to connect to your TSM Server. </li></...
Restoring a single domain controller (active directory functional) <ul><li>This section will cover how to recover a Domain...
Restoring a single domain controller (active directory functional) (continued) <ul><li>In most cases, a single domain cont...
Restoring a single domain controller (active directory functional) (continued) <ul><li>Once Windows is installed, install ...
Restoring a single domain controller  (active directory functional) (continued) <ul><li>The newly restored Domain Controll...
Restoring an entire Domain or Forest <ul><li>This section will cover special considerations to take when restoring an enti...
Restoring an entire Domain or Forest <ul><li>In a disaster recovery scenario, it could be necessary to restore all the Win...
Basic Troubleshooting <ul><li>This section will cover basic troubleshooting during a failed restore of Active Directory. <...
Basic Troubleshooting <ul><li>During the backup of System State and System Services, the TSM Client uses Microsoft’s Volum...
Basic Troubleshooting (continued) <ul><li>Following a Domain Controller recovery, errors in the Windows Event Viewer for F...
Basic Troubleshooting (continued) <ul><li>If there are errors during the restore, the first step will be to consult the ds...
Basic Troubleshooting (continued) <ul><li>It is possible that certain Windows services are not available after a restore. ...
Q&A: The operator will instruct you on how to ask your questions to the presenters.
Upcoming SlideShare
Loading in …5
×

Tsm ad restore

4,346 views

Published on

TSM AD Restore

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,346
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
77
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Tsm ad restore

  1. 1. IBM Tivoli Support Technical Exchange Web Seminar: Restoring Windows Active Directory using Tivoli Storage Manager 2007-06-13
  2. 2. Agenda: <ul><li>Introduction </li></ul><ul><li>Objectives </li></ul><ul><li>Where to Find More Information </li></ul><ul><li>Presentation </li></ul><ul><ul><li>Backup requirements in order to restore Active Directory </li></ul></ul><ul><ul><li>Restoring a corrupt or deleted Active Directory </li></ul></ul><ul><ul><li>Restoring a single domain controller (first domain controller) </li></ul></ul><ul><ul><li>Restoring a single domain controller (active directory operational) </li></ul></ul><ul><ul><li>Restoring an entire domain and forest </li></ul></ul><ul><ul><li>Basic troubleshooting </li></ul></ul><ul><li>Q&A </li></ul>
  3. 3. Introduction: This Tivoli Support Technical Exchange web seminar will cover how to restore Active Directory on Windows 2003 Servers using Tivoli Storage Manager.
  4. 4. Objectives: <ul><li>Upon completion of this Tivoli Support Technical Exchange web seminar, you will be able to: </li></ul><ul><li>Restore Active Directory </li></ul><ul><li>Restore Domain Controllers </li></ul><ul><li>Troubleshoot problems during restore </li></ul>
  5. 5. Where to Find More Information: <ul><li>Here is a list of references that were used to make this presentation and are useful both for recovering Active Directory and for TSM Client usage in general: </li></ul><ul><ul><li>Help in TSM Client (F1 or help command) </li></ul></ul><ul><ul><li>IBM Tivoli Storage Manager Product support page </li></ul></ul><ul><ul><li>IBM Tivoli Storage Manager for Windows Backup-Archive Clients Installation and User's Guide </li></ul></ul><ul><ul><li>IBM Tivoli Storage Manager Problem Determination Guide </li></ul></ul><ul><ul><li>Redbooks for IBM Tivoli Storage Manager </li></ul></ul><ul><ul><li>IBM Tivoli Storage Manager Information Center </li></ul></ul><ul><ul><li>Microsoft TechNet - Administering Active Directory Backup and Restore </li></ul></ul><ul><ul><li>Microsoft Support </li></ul></ul><ul><ul><li>Where to go to open a PMR online if necessary </li></ul></ul><ul><ul><li>Where to go to open a PMR by phone if necessary </li></ul></ul>
  6. 6. Restoring Active Directory <ul><li>A few key points before we begin. </li></ul><ul><li>Throughout the presentation, focus will be put on restoring the Active Directory on Windows Server 2003 </li></ul><ul><li>The TSM Clients versions currently supported at the time of this presentation are 5.3 and 5.4 </li></ul><ul><li>All the examples used in this presentation are with the TSM Client 5.4 </li></ul>
  7. 7. Backup requirements in order to restore Active Directory <ul><li>This section will cover the backup requirements for a successful restore of the Windows Active Directory. The key to a successful restore is to have a successful backup. </li></ul>
  8. 8. Backup requirements in order to successfully restore Active Directory <ul><li>The single most important requirement for a successful restore of Active Directory is a good backup which is a recent backup completed without errors. </li></ul><ul><li>The Active Directory is part of the System State backup, therefore a good backup of System State is required </li></ul><ul><li>In the event where the operating system has to be reinstalled, a good backup of the system drive, typically C: as well as System Services is also required. </li></ul><ul><li>By default, the TSM Client is set to backup all local domains which include: System State, System Services and all local disks. </li></ul><ul><li>Therefore, a TSM incremental backup will capture all the necessary objects required to restore the Active Directory or Domain Controller </li></ul>
  9. 9. Backup requirements in order to successfully restore Active Directory (continued) <ul><li>If performing manual backups, it is important to review the screen output to ensure a successful backup. </li></ul><ul><li>If performing scheduled backups, it is important to review the TSM Scheduler Log (dsmsched.log) to ensure a successful backup. </li></ul><ul><li>If any errors are encountered during the backup, the TSM Error Log (dsmerror.log) may contain additional information regarding the problem which should be investigated. </li></ul><ul><li>A successful backup will report the following in dsmsched.log and on screen with a command line backup: </li></ul><ul><ul><li>06/13/2007 11:00:00 Successful incremental backup of 'omputernamec$' </li></ul></ul><ul><ul><li>06/13/2007 11:00:00 Successful incremental backup of 'System State ' </li></ul></ul><ul><ul><li>06/13/2007 11:00:00 Successful incremental backup of 'System Services ' </li></ul></ul>
  10. 10. Backup requirements in order to successfully restore Active Directory (continued) <ul><li>A number of fixes have recently been introduced in the TSM client which impact the success of complete system backups and restores. </li></ul><ul><li>TSM client level 5.4.0 or newer is recommended for performing system backups and restores. </li></ul><ul><li>Since Windows Server 2003 has been released, Microsoft also introduced a number of fixes included in Service Packs and Hot Fixes which can impact the ability to successfully backup and restore a system. </li></ul><ul><li>It is recommended to be current with both the TSM Client and Windows Service Packs / Hot Fixes to avoid running into known problems which can impact your ability to successfully backup and restore your system. </li></ul>
  11. 11. Restoring a corrupt or deleted Active Directory <ul><li>This section will cover how to recover a deleted or corrupt Active Directory. </li></ul>
  12. 12. Restoring a corrupt or deleted Active Directory <ul><li>There may be some requirements to restore only the Active Directory. </li></ul><ul><li>TSM does not support restoring only the Active Directory or only certain components of Active Directory. </li></ul><ul><li>The Active Directory is part of the System State backup and therefore System State has to be restored in order to restore the Active Directory. </li></ul><ul><li>If restoring System State while the Active Directory is online, it will be necessary to reboot in Directory Services Restore Mode (DSRM). </li></ul><ul><li>It is possible to restore only the NTDS or SYSVOL to an alternate location for manipulation with Microsoft utilities to recover from those restored files. </li></ul><ul><li>Here is two example of commands you could use: </li></ul><ul><ul><li>dsmc rest &quot;{SYSTEM STATE}WINDOWSNTDS*&quot; c: tdsrest -sub=yes </li></ul></ul><ul><ul><li>dsmc rest &quot;{SYSTEM STATE}WINDOWSSYSVOL*&quot; c:svolrest -sub=yes </li></ul></ul>
  13. 13. <ul><li>Microsoft does provide very good documentation on various scenarios of recovery of the active directory. </li></ul><ul><li>This guide in particular found on TechNet provides detailed instructions: </li></ul><ul><ul><li>http://technet2.microsoft.com/windowsserver/en/library/f66ee9e4-96d7-4f74-a2fe-d669194bf5a21033.mspx?mfr=true </li></ul></ul><ul><li>In scenarios where it is not desired or required to restore the entire operating system, this Microsoft guide can assist you with their utilities to recover your Active Directory. </li></ul><ul><li>Since this guide treats Microsoft utilities such as NTDSUTIL and REPADMIN, we will not cover them in this presentation as our main focus is how you can use TSM. </li></ul><ul><li>In most cases, Microsoft starts by restoring System State, which can easily be done with TSM. Microsoft's utilities and instructions can then be used to obtain the desired results. </li></ul>Restoring a corrupt or deleted Active Directory (continued)
  14. 14. Restoring a single domain controller (first domain controller) <ul><li>This section will cover how to restore a Domain Controller when no other Domain Controllers are available. </li></ul>
  15. 15. Restoring a single domain controller (first domain controller) <ul><li>An authoritative restore is required when restoring the only, or in the case of disaster recovery, when restoring the first of a series of domain controllers. </li></ul><ul><li>In an authoritative restore, the FRSPRIMARYRESTORE option is used which will cause TSM to restore SYSVOL. </li></ul><ul><li>The first step will be to install Windows 2003 Server on the machine in the same directory as on the original machine C:Winnt or C:Windows </li></ul><ul><li>Apply the same Service Pack level as was originally on this machine. </li></ul><ul><li>Do not promote this machine to a Domain Controller . The server will automatically become a domain controller after restore of the system objects is complete. </li></ul>
  16. 16. <ul><li>Once Windows is installed, install the TSM Client and configure the dsm.opt to connect to your TSM Server. </li></ul><ul><li>If running the TSM Client older than 5.3.4, you will need to restore the File Protection Catalog first. </li></ul><ul><ul><li>dsmc restore &quot;{SYSTEM STATE}windowssystem32catroot*“ %systemroot%system32 -sub=yes -rep=all </li></ul></ul><ul><li>It is required to restore the following objects: </li></ul><ul><ul><li>dsmc restore c:* -subdir=yes –replace=all </li></ul></ul><ul><ul><li>dsmc restore systemstate –frsprimaryrestore=yes </li></ul></ul><ul><ul><li>dsmc restore systemservices </li></ul></ul><ul><li>When the server is rebooted, the Active Directory and File Replication Services will start. </li></ul><ul><li>Because the FRSPRIMARYRESTORE option was used, the SYSVOL share will be created and available. </li></ul>Restoring a single domain controller (first domain controller) (continued)
  17. 17. Restoring a single domain controller (active directory functional) <ul><li>This section will cover how to recover a Domain Controller while Active Directory is still functional on other Domain Controllers and Replicating Partners. </li></ul>
  18. 18. Restoring a single domain controller (active directory functional) (continued) <ul><li>In most cases, a single domain controller will need to be restored while the Active Directory remains operational on other domain controllers in the domain. </li></ul><ul><li>This type of restore is very simple as it is not different than restoring a standalone Windows 2003 Server. </li></ul><ul><li>The FRSPRIMARYRESTORE option is not used, which means that SYSVOL will not get restored, but will get replicated by the File Replication Service </li></ul><ul><li>The first step will be to install Windows 2003 Server on the machine in the same directory as on the original machine C:Winnt or C:Windows </li></ul><ul><li>Apply the same Service Pack level as was originally on this machine. </li></ul><ul><li>Do not promote this machine to a Domain Controller. The server will automatically become a domain controller after restore of the system objects is complete. </li></ul>
  19. 19. Restoring a single domain controller (active directory functional) (continued) <ul><li>Once Windows is installed, install the TSM Client and configure the dsm.opt to connect to your TSM Server. </li></ul><ul><li>If running the TSM Client older than 5.3.4, you will need to restore the File Protection Catalog first: </li></ul><ul><ul><li>dsmc restore &quot;{SYSTEM STATE}windowssystem32catroot*“ %systemroot%system32 -sub=yes -rep=all </li></ul></ul><ul><li>You can now proceed to restore the following: </li></ul><ul><ul><li>dsmc restore c:* -subdir=yes –replace=all </li></ul></ul><ul><ul><li>dsmc restore systemstate </li></ul></ul><ul><ul><li>dsmc restore systemservices </li></ul></ul><ul><li>When the server is rebooted, the Active Directory and File Replication Services will start. </li></ul>
  20. 20. Restoring a single domain controller (active directory functional) (continued) <ul><li>The newly restored Domain Controller will receive all the new entries that occurred between the time of backup and current time from the other Domain Controllers.  </li></ul><ul><li>During Active Directory replication, all entries have a sequence number, if the two domains have the same record, but with different sequence numbers, the most recent will be kept and replicated to the other.  This is how the Active Directory gets to the most current state after a restore. </li></ul><ul><li>The same applies to the File Replication Services.  After a restore, if the FRSPRIMARYRESTORE option was not used, the SYSVOL data will get replicated from another Domain Controller and then the SYSVOL share will get created. </li></ul>
  21. 21. Restoring an entire Domain or Forest <ul><li>This section will cover special considerations to take when restoring an entire Domain or Forest. </li></ul>
  22. 22. Restoring an entire Domain or Forest <ul><li>In a disaster recovery scenario, it could be necessary to restore all the Windows Servers in the Domain and/or Forest. </li></ul><ul><li>Special attention only needs to be put with the first Domain Controller restored in each domain where the FRSPRIMARYRESTORE option has to be used to restore SYSVOL on the first domain controller. </li></ul><ul><li>Domain Controllers and other servers may also contain other essential services such as DNS, WINS and DHCP, just to name a few. </li></ul><ul><li>Domain Controllers and other servers will require those essential services in order to function, therefore, the machines with essential services should be on top of the order of the machines to restore. </li></ul><ul><li>If restoring multiple domains in a Forest, the trust relationship will be reestablished once each domain in the trust relationship are online. </li></ul>
  23. 23. Basic Troubleshooting <ul><li>This section will cover basic troubleshooting during a failed restore of Active Directory. </li></ul>
  24. 24. Basic Troubleshooting <ul><li>During the backup of System State and System Services, the TSM Client uses Microsoft’s Volume Shadow Copy Service (VSS). </li></ul><ul><li>If there is a problem with VSS, the backup may fail with VSS errors. The following command can be used to see the state of the VSS writers: </li></ul><ul><ul><li>C:> vssadmin list writers </li></ul></ul><ul><li>The above will list all the VSS writers and their state. If they are not in a stable state, the Event Viewer should be consulted for further information. Microsoft Support may need to be contacted for further assistance. </li></ul>
  25. 25. Basic Troubleshooting (continued) <ul><li>Following a Domain Controller recovery, errors in the Windows Event Viewer for FRS indicate that the server is prevented from becoming a domain controller due to problems with the SYSVOL share. </li></ul><ul><li>In normal cases, this message will eventually be followed by another message indicating that SYSVOL has been shared and is no longer preventing the server from becoming a domain controller. </li></ul><ul><li>If this does not happen, manual repairs to the SYSVOL structure may be required. </li></ul><ul><li>In many cases, the SYSVOL directory structure can be repaired, and FRS will replicate in the correct contents of the SYSVOL. </li></ul><ul><li>Microsoft article KB315457 provides details on how to rebuild the SYSVOL tree including the junction points which are required before a system can be returned to a domain controller. </li></ul>
  26. 26. Basic Troubleshooting (continued) <ul><li>If there are errors during the restore, the first step will be to consult the dsmerror.log for more information on the nature of the problem. </li></ul><ul><li>If the dsmerror.log points to a problem with the TSM Server, the TSM Server’s Activity Log should be reviewed. </li></ul><ul><li>Any errors can be researched in the following: </li></ul><ul><ul><li>IBM Tivoli Storage Manager Messages Version 5.4 </li></ul></ul><ul><ul><li>IBM Tivoli Storage Manager Problem Determination Guide Version 5.4 </li></ul></ul><ul><ul><li>IBM Tivoli Storage Manager Product support page </li></ul></ul>
  27. 27. Basic Troubleshooting (continued) <ul><li>It is possible that certain Windows services are not available after a restore. </li></ul><ul><li>In such cases, the Event Viewer should be consulted for further explanation. </li></ul><ul><li>Depending on the cause of the error, it may be necessary to further research the problem. Microsoft Support can be consulted for this: </li></ul><ul><ul><li>Microsoft Support </li></ul></ul><ul><li>If the problem is due to a component that was not restored properly, it will be necessary to review the TSM error log from the original backup to ensure the backup was successful. </li></ul><ul><li>If the last backup was not successful, it may be necessary to restore from a previous backup. </li></ul><ul><li>If no previous backups were successful, it will not be possible to perform a successful restore. </li></ul>
  28. 28. Q&A: The operator will instruct you on how to ask your questions to the presenters.

×