May 22 2009

2008 Server DFSR Replication Problems

I have used DFSR for some time now and had only great experiences with it, however it was low volumes of data, This time I was implementing this as a High availability solution for a web farm, We had about 40 gigs of data with a massive amount of files to replicate…. But the scheme of things 40 gig of data is really not that much.

Anyways cutting to the point after reading articles about the best way to proceed with a quick initial replication was said to be copy the files to the destination server, so I did this via robocopy, keeping all attributes and the permissions intact.

However contrary to popular believe this was what ultimately caused so much grief, as it started the replication off and I my event log was filling up with:

Event Type: Information
Event Source: DFSR
Event Category: None
Event ID: 4412
Date: <Date>
Time: <Time>
User: N/A
Computer: <Computer name>
Description:
The DFS Replication service detected that a file was changed on multiple servers. A conflict resolution algorithm was used to determine the winning file. The losing file was moved to the Conflict and Deleted folder.
Additional Information:
Original File Path: <File path>
New Name in Conflict Folder: <Folder name>
Replicated Folder Root: <Folder name>
File ID: <File ID>
Replicated Folder Name: <Folder name>
Replicated Folder ID: <Folder ID>
Replication Group Name: <Replication group name>
Replication Group ID: <Replication group ID>
Member ID: <Member ID>

see more about this here: http://support.microsoft.com/kb/944804

After further investigation, this was because the file ID of the files on the destination server differed from the source server…. Thanks robocopy.

This was filling up my ClonflictAndDeleted folder very quickly, with a lot of what I though was unnecessary crap. Never the less I let it run for a few days and I cam back to find the below event log:

Source : DFSR

Catagory : None

Event ID : 2104

Type: Error

Description :

The DFS Replication service failed to recover from an internal database error on volume F:. Replication has been stopped for all replicated folders on this volume.

Additional Information: Error: 9203 (The database is corrupt (-1018)) Volume: DB587759-DC0B-11DC-940D-00304888DB13 Database: F:\System Volume Information\DFSR

 

Brilliant I had a corruption

 

Possible Solutions


Taken from Google Groups [1]

I recently had a spat with the "new and improved" DFSR and wanted to let everybody in on the proceedure for reseting a DFSR member.

First off, removing everything using the GUI doesn’t help when the database is corrupt. DFSR keeps the database regardless of its membership status. So if for example you had a broken DFSR server and removed it from every replication group, when you added it back you’d still be out of luck.

To clear it completely after the server is no longer a member of *any* dfsr replication group (i.e. remove it from all of them in the gui and wait for AD replication to propgate the changes):

1. Stop the "DFS Replication" service.

2. On the drive(s) in question, grant yourself full permission to the hidden system "System Volume Information" folder.

3. Navigate into the folder and delete (or move to be extra careful) the DFSR folder.

4. Navigate to each replication group the server was a member of and delete (or move to be extra careful) each hidden system "DfsrPrivate" folder.

5. Start the "DFS Replication" service.

You may now treat the server as a brand new member for the replication groups. Now all you need to deal with is DFSR’s sloppy initial replication routines (hint: those missing files are in the "DfsrPrivate \PreExisting" folder).

 

http://www.eventidwiki.com/index.php?title=Event_ID_:_2104%2C_DFSR

 

However this did not work the folder would not rename under 2008 even with UAC off, this did work for me though

1. Click Start, right click Command prompt and click run as administrator to open a command prompt window, then go to driverletter:\System Volume Information\dfsr prompt, type the command below to rename it:

Ren “old folder name” “new folder name”

I did this on both servers participating in the replication. further to this I deleted the folder I was replicating on the destination server, and let DFS do all off the creating.

after 2 days I had a fully functional DFSR, working the way it should!!!!!

Some commands I found useful through the process:

dfsrdiag backlog /rgname:”cluster replication” /rfname:websites /rmem:RECEVINGSERVER /smem:SENDINGSERVER >c:\backlog1.txt

You might also find the %systemVolume%windows\debug folder useful.

 

Good Luck.


May 14 2009

Windows Mobile 6.5 vs 6.1 – Added features

So the question on many peoples lips is it worth the upgrade???

For me the answer is YES absolutely!

While I know its still beta for many phones, I like many other WM enthusiasts have been able to get our 6.5 ROMs from http://xda-developers.com, So we have first hand experience with WM 6.5.

I have now been using WM6.5 full time now for a few months, while I see Microsoft have made some necessary changes in order to keep up with the ever so popular Iphone, some of these changes include:

  • Most menus are now finger friendly for those with fatter fingers (like myself)
  • Scrolling throughout the whole WM platform is now fluid like the Iphone.
  • They have removed the start menu where it would drop down like the current windows platform (W7, VISTA, XP etc), where it appears in a honeycomb effect, again this if finger friendly.
  • Windows Locking, they have taken a leave out of apples book here, and they now also have the slide to unlock function
  • They have now incorporated widgets with this release (further blogs to come on this)
  • It also appears that customisations to the phone skin / theme are easier than ever, and now your able to incorporate images within the taskbars with transparency. this give the phone a 21st century look about it!!!
  • And last but not least the biggest change is the home screen, now referred to as titanium, this is one screen that allows you to manage almost everything from the one screen, The Idea is similar to HTC’s Touchflo, in a round about way.
  • Battery life has been increased

they say pictures are worth a thousand words so less talk and more pics:

 

2009 05 14_12 25 59_0000_111d
The honeycomb, this is modified, normally it is large only 3 Icons across
2009 05 14_12 31 51_0004_111d
The  Slide to unlock
2009 05 14_12 35 00_0005_111d
Titanium weather
2009 05 14_12 35 50_0006_111d
Titanium Home
2009 05 14_12 38 25_0007_111d
Email / SMS / MMS screen you can see a new scroll bar, and the items are MUCH larger to click on, as you can see the highlight is customisable to a degree. The scroll in here is SO much more fluid like the IPhone.
2009 05 14_12 46 36_0020_111d
New IE, better but far from perfect, Opera is still miles ahead
2009 05 14_12 46 23_0019_111d IE without all the bars, works like opera, but not nearly as smooth, also doesn’t render website correct

While I have given it praise there is still a major down side I think…

It looks and works the same way, its RAM and ROM hungry, Microsoft have only bandaid the old interface.

However combined with HTC’s great new TouchFlo 3d (TF3d)version 2 (not officially release either) it seems they have fixed pretty much every menu that is commonly used to be very finger friendly, while they did this with the basics on TF3D v1, in V2 they have gone way beyond, fixing most menus. So with TF3D2 combined with 6.5 its not at all a bad package. I will be looking forward to both TF3Dv2 and 6.5 come out of beta.

 

(All new devices with 6.1 shipped will be eligible for a 6.5 upgrade, older phones while you might find a copy of 6.5 on http://xda-developers.com, don’t expect it to fly, also your vendor will not support it!)