Share via


How to: Disallow Hosting Relationships

While developing a logical datacenter diagram, you can specify which types of applications can be hosted on a logical server. When someone creates a deployment diagram that references your logical datacenter diagram, they will only be able to add the types of applications you specified to that logical server. For example, you can restrict a Web server from hosting ASP.NET Web applications, while allowing it to host Web services. You can also specify hosting constraints on application definitions in Application Designer.

If you specify no hosting constraints, the logical server prototypes provided with the Distributed System Designers can host the following types of applications by default:

  • IIS Web Server - ASP.NET Web applications, external and BizTalk Web services, and generic applications.

  • WindowsClientServer - Windows, Office, and generic applications.

  • Database Server - External databases and generic applications.

  • Generic Server - Can host any application.

Use the following procedure to specify a hosting constraint.

To constrain which applications can be hosted on a logical server

  1. In Logical Datacenter Designer, select the logical server on which you want to specify a hosting constraint.

  2. View the Settings and Constraints Editor.

  3. Under Application Constraints, clear the top-level check box to disallow that type of application from being hosted on the logical server.

You can also constrain the types of servers that a zone in the datacenter can contain. For more information, see How to: Prevent Logical Servers from Being Hosted in Zones.

Application developers can also constrain where their applications can be hosted using the following procedure.

To constrain which logical servers can host an application

  1. In Application Designer, select the application definition on which you want to specify a hosting constraint.

  2. View the Settings and Constraints Editor.

  3. Under Logical Server Constraints, clear the top-level check box to disallow that type of application from being hosted on the logical server.

In addition to hosting constraints, you can also write user-defined constraints that constrain individual settings. For more information, see User Defined Constraints.

See Also

Tasks

How to: Author User Defined Constraints