Developer forum

Forum » Development » NLB Best Practices

NLB Best Practices

Diogo Brito
Reply

More often we came across clients that want their solutions hosted in NLB and when hosting their own solutions they usually want their Application folder to be unique and in the network share instead of having one Application per server. I have noticed some errors due to some dlls missing on the Frontend server like Image Glue for Example.

Can the NLB be done this way and if so and procedures should we implement for the solution run without problem.

Any recomendations regarding this matter are appreciated

Diogo Brito


Replies

 
Nicolai Høeg Pedersen
Reply

NLB can probably be done in that way, not sure it is a good idea though. In most modern hosting environments, the servers are virtual and can have their own dedicated system drive (i.e. c:\) and a shared disk for data (i.e. d:\). That can be done by mounting the same disk on two servers. That would be the best way.

That said, it sounds more like another issue the one you experience. So do you have a full stack trace? Using network shares in IIS requires that the user running the app pool have the right permissions. Here it sounds like ImageGlue cannot load some dll (they are not native).

BR Nicolai

 
Diogo Brito
Reply

Though we are working with virtual machines, the files are accessed using a Network Mapping on each frontend webserver. At least two dlls generated errors (ImageGlue and ABCpdf). Copying the dlls to each webserver solved the problem. So probably via Network Mapping some dlls are not correctly loaded. According to the infra-structure owner, sharing the same disk is not compatible with their NLB structure.

With that said i guess the best option in this scenario is to configure an Application in each webserver, sharing only the Files folder throug the Network Mapping.

It would be very interesting if we could have docummentation on this subject, including the different possible set ups and best practice recomendations.

Clients tend to have a lot of questions and we don't allways have all the answers.

BR Diogo Brito

 

You must be logged in to post in the forum