Aleks,
It is possible to specify settings for OS in LDD, particularly for IISWebServer and Windows Client. Those settings and/or constraints will be then validated against System Diagram or Application Diagram during Validate Deployment step or when Deployment Report is generated.
Here is a scenario:
1) Create a new Logical Datacenter Diagram by creating a Logical Datacenter project.
2) Place IISWebServer from toolbox on the design surface.
3)Click Settings and Constraints tab at the bottom of your screen, if it is not available select your IISWebServer, right click and choose Settings and Constraints. At this time you should see Settings and Constraints Editor.
4) Under Logical Server Settings on the left you should see OperatingSystemDescription item. Select that, and opn the right there are options: OS Type, Build Number, ServicePack, etc. For this example, let's set your OSType to Windows2000.
5) Now add a new Application Diagram, Go to Solution Explorer, right-click, select Add and then New Distributed System Diagram. Select Application Diagram (AD). Place ASP.NET Web Service from toolbox on AD design surface. Similarly go to Settings and Constraints.
6) Under Logical Server Constraints you will see IIS Web Server, and under that you'll see Operating System. This constraints the Operating System configuration required to host this application. Enable it by checking the Operating System checkbox. Now it is enabled with default setting of Windows 2003 Server.
7) Create Deployment. Right-click on AD, select Define Deployment, pick LDD from the list, click OK. Deployment Diagram (DD) appears. From system View (should be next to toolbox), if not - from the menu - View,Other Windows, System View. Drag WebApplication1 to the server, thus defining hosting of this app on the web Server.
8)Validate deployment. Right-click on DD, select Validate Diagram. In the Error List you should see an error:Warning 1 The required OS types are: 'Windows2003'. Current OS type is set to 'Windows2000'.
9)Right click on DD, Generate Deployment Report, right-click on HTML, select View in Browser. Notice the same error on top.
10)Scroll down to Logical Servers section, there should be a record like Host:IISWebServer1 (or whatever the name of your service is). Click OperatingSystemDescription link - you should see OS Type =Windows 2000, as we specified.
Does this answer your question? If not, please give me your scenario, and I will be happy to help.
Best Regards,
Dmitriy Nikonov, Program Manager, Microsoft |