Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Disaster recovery plan for Roaming Profiles (Without clustering in effect).


Author: Nirmal Sharma MVP

View products that this article applies to.

Summary

This article explains about designing a disaster recovery plan for Roaming Profiles.

↑ Back to the top


More information

Have you ever wondered creating a disaster recovery plan for Roaming profiles without clustering. This is really interesting when someone wants to switch over Roaming profile in a network where one of Domain Controller�is failing and other Domain Controllers�are alive to serve the client requests.

Scenario:

Let's say you have two 100 client computers in your network and two domain controllers named: DC1 and DC2. All users have been configured with roaming profiles setup on DC1 and DC2. These users frequently log on to DC1 and switch over to DC2 in case of failure.

For some reasons, you want to create a disaster recovery plan for Roaming users - you want these users to switch over to DC2 and retrieve their roaming profile from DC2 in case of DC1 failure. Setup seems not so easy! but this is how you do it actually:

You need a startup script and deploy this script using Group Policy throughout the network.

This disaster recovery plan for roaming profiles can be designed by creating a Windows startup script. LOGONSERVER environment variable is common between these two DCs. You just need to set this in your script so that when script starts it should read the authentication server name and set in user's property using LDIFDE tool.

You can see LOGONSERVER by typing SET command at command prompt. This tells by which DC this client was authenticated.

In the above scenario clients roaming profile are located at DC1.

Client starts
Netlogon finds a suitable domain controller for the client.
Sets the Environment variable: LOGONSERVER to the DC is about to authenticate client.
Startup script runs.
This script checks the path of Roaming profiles from the user's property using LDIFDE tool.
Script pings the domain controller (let's say client is configured to use romaing profiles on DC1 and DC2 is supposed to authenticate client in this regard.)
Script gets a "Request Timed Out" message from DC1.
Script assumes that this domain controller is not available on the network.
Then it takes the DC name from the LOGONSERVER environment variable and sets this LOGONSERVER in user's property and in registry as well : \\DC2\profiles\%username%.
Netlogon passes control to Winlogon service.
Winlogon finally allows client to log on to computer.
Client logs on to computer. His profile path is checked and roaming profile is loaded from DC2 directly.
So in this case no failure is noticed.

↑ Back to the top


Community solutions content disclaimer

Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.

↑ Back to the top


Keywords: KB555984, kbhowto, kbpubtypecca, kbpubmvp

↑ Back to the top

Article Info
Article ID : 555984
Revision : 1
Created on : 9/18/2007
Published on : 9/18/2007
Exists online : False
Views : 275