Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Load Balancing on v9 (9.2.8)

Load Balancing on v9 (9.2.8)

Kevin Steffer
Kevin Steffer
Reply

Following this documentation http://doc.dynamicweb.com/documentation-9/platform/advanced-settings/web-and-http setting it up should be there.

But I've installed the module but nothing shows up and switched my license to Enterprise

I have tried to setup it up in the database and enabled my two instances, but nothing happens (nothing is logged in System/Log/ClusteringInfo/)

I just want to test the feature how it works when items are changed/updated since a couple of customers have requested NLB for content (not ecommerce yet). 


Replies

 
Nicolai Pedersen
Reply

Hi Kevin

I see the heading on the page in your link (now removed) - but there is no actual paragraph on how to set up the feature because the feature is deprecated as it was in DW8, According to this: http://doc.dynamicweb.com/releases-and-downloads/releases/upgrading/upgrading-to-dynamicweb-9#2093

The feature in DW8 handles invalidation of cache across nodes - since the entire caching system has changed from 8 to 9 and since the implementation in DW8 did not cover everything in the cache, we took out the feature untill we have a new implementation in place that handles everything and is based on the new caching engine.

It is on the near roamap (9.3) to get the feature ready. Until then the only option is to run with a manual reset of the cache on additional nodes.

BR Nicolai

 

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Nicolai,

 

Do you have some updated information on how to setup load balancing again in DW9?

 
Martin Vang
Martin Vang
Reply

Hi Anders,

We're adding this to the docsite once it is ready (we're working on the documentation this week). It's ready when it's ready (I know that's the same answer you got at summit last week, but it's still true wink - good documentation takes a bit of time, and rushed documentation is worthless).

Short version:

  1. Make sure all websites share the same Files and Application
  2. Dump the LoadBalancingProvider.dll into your bin
  3. Access all websites admin to activate itself in the cluster: Settings -> Web and HTTP -> Load Balancing

BR

Martin

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Martin,

 

Thanks for the response. Where can I find the LoadBalancingProvider.dll?

 
Martin Vang
Martin Vang
Reply

Hi Anders,

Oh, alright, that's probably important aswell. :)

https://www.myget.org/feed/Packages/dynamicweb-packages

BR

Martin

PS. You can find all our different released packages here.

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Martin,

 

Thanks. Is it true that the servers have to share the same application?

I have no entry in the administration to setup the Load balancing - is this removed in DW9?

 

One more thing; our client is running an enterprise license, but when trying to use nuget packages from the backend is says:

Pakkestyring kræver en større licenstype. Kontakt venligst din partner.

How to solve that?

 

Best regards, Anders

 

 
Martin Vang
Martin Vang
Reply

Hi Anders,

  1. You need to share the same application - templates, item types etc are not synchronized between the web applications. There is no technical reason why you could not set this up manually and then use seperate application folders - then it would be "the same" from my point of view.
  2. I don't know what you're referring to in administration. :) In DW9, you just need to configure it from Settings -> Web and HTTP -> Load Balancing. That's all.
  3. When I create a new solution that uses Enterprise, I dont get that warning. You dont need the package manager for Load Balancing right now, though... Just download the dll.

BR

Martin

 
Nicolai Pedersen
Reply

Will just chi in.

@1: Application = Dynamicweb application folder. You have 1 application per webserver, but a shared /Files (Solution files) for all instances. Either using a shared discmount or using some sort of DFS that will sync files except logfiles, cache folder and indexes.

@2: That is exactly what he means. The node will show up when the dll is installed.

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi again Martin,

 

Sorry for all the questions... :-)

 

I found out that I get the warning because my solution is custom and then you cannot use the package manager in the backend.

Right now it says that "Load balancing is disabled": https://www.screencast.com/t/BsIR2Arw6. How does it get activated?

 

Best regards, Anders

 
Martin Vang
Martin Vang
Reply

Hi Anders,

Dump the dll into the bin. That should be all.

BR

Martin

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Martin,

 

I have dumped the dll into the bin-folder, but do I need a second server for this to be enabled?

 

Best regards, Anders

 
Martin Vang
Martin Vang
Reply

Hi Anders,

No, you just need to place the LoadBalancingProvider.dll in your bin-folder. Then you should see the load balancing ui. Can you link a video of what you did if this is not the case?

BR

Martin

 
Dynamicweb Employee
Carsten Boll
Reply

Hi guys, the documentation on Load Balancing on DW9 is now available here.

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Carsten,

 

Thank you so much! :-) Be aware that editing a node/instance does not work when loading the administration over https, then all the fields is empty, because it tries to load the content from http.

 

Best regards, Anders

 

You must be logged in to post in the forum