Is there any reason to use SMBServer role...

May 15, 2012 at 2:41 AM

...instead of multple instancing the DNNAzure role?

I looked at the code for DNNAzure, and the first instance takes care of mounting the VHD and creating the share like SMBServer does.

It seems like an awful waste of an instance to have the SMBServer role serve only this one purpose.

May 16, 2012 at 1:12 PM
Edited May 16, 2012 at 1:13 PM

Hi @cb55555,

Will depend on the needs. In the 90% of the cases, using 1 or 2 webroles with one serving the VHD contents will be sufficient. In other cases, you should want to move that role to other devices to have better control.

Why? If you want that every request to the site will be executed with the same performance, you wouldn't want a machine that is also doing other tasks than serving HTTP requests. Another reason is that perhaps you want to tweak the performance on the SMB worker role to serve the file contents (i.e. touching registry parameters, etc. see DNN WebFarm configuration document at to have an idea), but you don't want to do this changes on the webroles since the settings for IIS machines need to be different.

This are two examples.