⬆️ ⬇️

Experienced trivia-10, or "DFS and fault tolerance"

image The continuation of "experienced trifles." Previous parts can be read here .

Today's release will be a promise-release. Doing what I promised, I will tell you how you can do an interesting thing with DFS. This will, of course, not be a complete file data fault tolerance, but something similar to an online backup, at least.





To begin, I will repeat my empirical beliefs that it is not necessary to arrange a file cluster, using DFS. Not for these purposes DFS was created. And to dot the I, here are my arguments:

All of the above allows us to say that DFS is best suited for transferring data to branch offices, synchronizing data that is rarely changed (orders, orders, archives) and similar tasks. However, you can do a little smarter and use DFS, perhaps not quite normal, but nevertheless a useful way.



You can build a kind of online replica based on DFS, which will not work most of the time (which means most of the problems with data synchronization will not manifest), and which can be enabled in case of failure of the main replica.

It may look like this: image

Here (on the example of the Department folder) two replicas of the same folder are created, the replication group and replication tasks are configured (this is done by the setup wizard and will not cause you any problems). The gusto of the idea is that one of the links to the storage servers is disabled, i.e. there is a replica, replication between servers takes place as specified, but users who access DFS in this folder will be redirected exclusively to the first, active server.

')

The second server will replicate data as far as possible, and will be sort of "on pickup." In the case of some abnormal situation, it will be possible to castling and turn on the link to the second server, and to link to the first one - to turn it off and the users will again get to their native data, which will be as relevant as DFS replication was able to do (in practice this is from complete relevance, i.e., 0.5-2 seconds old, up to 2-3 days in the case of open files that are not replicated until they are closed, i.e. unlocked by the application).



It would seem great! Urgently ran to do this super-system! But besides all the good moments, there are not very good ones:



As you can see in the example described, in addition to fairly weighty advantages. There are also rather big disadvantages, so set priorities, weigh FOR and AGAINST, and decide for yourself how to act in your particular situation.



By the way, according to those who know, in the Windows Server 2008 (R2) environment, DFS (and especially its replication service) was radically improved, and perhaps some of the problems were successfully solved. Try it - maybe the proposed scheme will work much better there.



To be continued.

Source: https://habr.com/ru/post/122671/



All Articles