Discussion Locked

Load Balancing fine.. replication Not wo

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Replication and clustering improve reliability and performance in IIS
Sep 16, 2002 | Scott Lowe MCSE |

https://www.techrepublic.com/article.jhtml?id=t01320020719low03.htm&src=search

Used this article as the guide to configure LB & repliaction between two servers.

LB fine.. replication Not working
Well I successfully configured both Load Balancing (LB) & replication (DFS) individually. But when I configured LB using this article & then move on to replication part then repliaction isn't establishing between the two Load balanced servers. Both have wwwroot folder shared. Instead it moved wwwroot contents to a folder in it "NtFrs_PreExisting___See_EventLog"

Now when i try to configure DFS from host1 & try to create replica onHost2 then it doesn't find host2. Even ping isn't working on it. Both LB'ed servers Host1 & Host2 have 1 NIC card.

When I configured DFS from 3rd PC (not in LB configuration)replication configured correctly as mentioned in DFS, but files are notbeing replicated to Host2 from Host1.

Ant Idea where is the problem?
As for as port rules are concerned, I've configured default settings.

7 replies

by lordinfidel

Yes There is a problem.

The beloved DFS replication does not work with IIS.

I went thru a month of hell trying to figure this one out. IIS locks the file process and DFS does not like it.

You can use DFS replication outside of IIS and it will work. Unless there is a file open.

Once a root controlled by IIS tries to be replicated by DFS it will blow up something fierce.

I also wanted to do multi-master replication to all of my webervers. Where there is no single point of failure.

There are basically no replication solutions out there that do true multi-master. Peer Synch is the closest thing out there to perform this task.

Replication exec and the various high end packages do single master and cascading.

The othersolution is to go to a SAN or NAS solution which is pricey.

I feel your pain, my advice is abandon the DFS aproach and save your self the month of agony I went thru.

I spent alot of time pouring over DFS docs until I came across the one obscure one that said it should not be used with IIS. I can't remember which one it is, but it is out there.

by dude_bill

LordInfidel:

I've configured LB Port Rules option on both nodes to do load balancing on all ports (0-65535) on both protocols.

What do u think if we disable the load balancing for ports which DFS uses for replication? Have you tried that? I'm not sure about the port DFS uses.

Any idea & suggestion on this?

by lordinfidel

The problem lies inherent with DFS itself.

It has nothing to do with loadbalancing or port restrictions.

It is becasue IIS locks the directories that it is pointed to. DFS can not handle that.

DFS and IIS do not play well together.

I abandoned the entire attempt at using DFS for file replication. It seemed like a really good idea at the time, but it turned out not to be a practical solution.

There are only a handful of docs covering dfs. And I read basically all of them.

When I said that I spent an entire month working on this problem, I was'nt exaggerating. I poured over the most remote MSDN articles, KB, techtips and finally found that the 2 won't co-exist.

And the doc I found it in basically put like a 2 line mention about it. There was not very much detail.

This discussion is closed to new replies.