15

From reading the DFS documentation, AD appears required.

This is a problem for us because our servers are either stand alone (not in AD), or part of our hosting service AD, and AD is out of our hands.

The question is: How to do DFS, or something like DFS, when the servers are:

  1. In different DCs , and
  2. Not in any useful AD

Machines are Win2012-R2 and/or Server 2016

Looking to automagically mirror tlog backups and sql backups across machines, on a close-to-the-minute basis.

  • 2
    robocopy /mir ? – yagmoth555 Sep 14 '16 at 20:38
  • 1
    This sounds like a product recommendation question and will likely be closed as such. I've used a couple such utilities, a favorite of which is Syncthing (https://syncthing.net/) – Tim Brigham Sep 14 '16 at 21:17
  • 1
    @TimBrigham It is a Win OS question. It is: OS has feature X, which requires Y. So how do you achieve X if you can't hit the requirement? Other products are one way, but not necessarily the only way (ergo the question!) – Jonesome Reinstate Monica Sep 14 '16 at 21:20
  • Use your google 'fu. For SQL specific use cases, look at the tools MS SQL includes for this kind of task https://technet.microsoft.com/en-us/library/ms151706(v=sql.105).aspx – Clayton Sep 14 '16 at 22:44
  • @Craig620 Your link is to the wrong kind of solve... I am looking for a file based solve.... – Jonesome Reinstate Monica Sep 15 '16 at 01:14
  • @TimBrigham I originally thought so to. It toes the line a bit, but isn't specifically a product recommendation question so I chose not to vote to close this - unless it morphs into something different (which, it still might) – Rex Sep 15 '16 at 15:13

3 Answers3

15

DFS is usable but a) cause issues working with open files b) Hyper-V, SQL Server and Exchange has no DFS support c) can't avoid a spit-bran issue. When multiple users works with the same file that has no sync between hosts will cause a two different original files.

For the case I asume the build of HA shared storage between servers will do the job. However, iSCSI storage vendors such as S2D, HPE VSA or StarWind Virtual SAN can provide required storage replication but all require the implementation of AD. Consider go with Active Directory to benefit with configuration of SMB/NFS on top of shared "nothing" storage.

Mr. Raspberry
  • 3,878
  • 12
  • 32
  • 4
    No. DFS is not usable. Active Directory is a requirement to use DFS Replication. WIthout AD, DFS would just be the namespace without replication. Beyond that, replication between storage appliances almost never require Active Directory. – Rex Jan 25 '17 at 20:59
14

DFS-R requires active directory, so that option will not be available to you. As yagmoth mentions in his comment, you could use robocopy

For example: robocopy /mir /mot:10 would run a mirror every 10 minutes. Could set it as a task on startup, etc..

Beyond that, there are 3rd party utilities that could also perform similar functionality - including backup dedicated utilities.

Rex
  • 7,815
  • 3
  • 28
  • 44
9

There are two options that I have used and work relatively well.

Peersync - http://www.peersoftware.com/products/sync-backup/peersync-for-servers.html

Is licensed however works really well, very well documented and easy to understand.

Freefilesync - http://www.freefilesync.org/

Is free only downsize there is no inherited automation, but once you configure your two directories to be synced, it has the option to create a batch file that can be run though a schedules task.

Anthony Fornito
  • 9,526
  • 1
  • 33
  • 122