AutoCAD and Distributed file system | PowerShell GUI restoring deleted files
Problem
PeerLink has the ability to keep Lock on files while the file is replicated, if interested se also their solution for CAD File Collaboration
A client of mine uses Windows Server 2008 R2 file servers with Distributed files service (Dfs) for their AutoCAD Project. For several years, it worked without problems. After adding a new Windows Server 2012 R2 file server to the solution, some .dwg files went missing right after the project where saved.
Autodesk DOES NOT support Distributed File System (Dfs), so no help there. After searching the web, I found other facing the same problem. However, no satisfied solution.
Possible solutions (not tested by me)
a) Forcing all clients and servers to use the same version of SMB.
-
Disabling SMB3 would also disable SMB2, as they both use the same stack, forcing everything to go back to the Stone Age using only SMB1.
b) Downgrade to Windows Server 2008 R2.
- While this probably would work, there is the issue that Windows Server 2008 R2 Mainstream support ended January 13 2015.
Workaround (while further troubleshooting)
A simple PowerShell GUI script for easy file restore from the DfsrPrivate\ConflictAndDeleted folder.
The script has two parameters, ComputerName and Filter. By default it use the computer name of the computer you start the script on, and *.dwg as filter.
First, it gets all the Replicated Folders on the server, then goes through the conflictanddeletedmanifest.xml of each replicated folder and display it all in a grid view.
Selecting one or several files and clicking OK, starts a copy-item (with –confirm) job on each selected item.
Solution
UPDATED: June 2. 2016
I talked to Peer Software about the problem as they had several products that should be able to fix the problem.
I briefly tested their Trial version of PeerLock for Microsoft DFS and it seem to fix the problem in my Lab environment. But as Peer Software would not recommend that product for our use (high latency and unstable VPN connection to other location), we did not go forward with that solution.
Peer Software had another product PeerLink that would fit our requirement.
PeerLink has the ability to keep Lock on files while the file is replicated, if interested see also their solution for CAD File Collaboration
Curiosity