Share via


How to: Represent all Services on a Single Machine

In some deployment environments (for example, test, production, or staging), you might want to indicate that a particular group of logical servers represents one physical machine. To do this, you need to create a zone that represents the physical machine and then place the logical servers inside that zone.

To model a physical machine represented by multiple logical servers

  1. Add a zone to the logical datacenter diagram and name it after the physical machine and the deployment environment it represents. For example, "Machine1_Test".

    Note

    The Machine1_Test zone can be hosted inside another zone by right-clicking it and choosing Move To Zone.

  2. Add the logical servers that represent the services available on the physical machine to the zone.

  3. Drag a comment from the Toolbox to the zone, and indicate in it which physical machine this zone represents.

  4. Right-click the zone and choose Settings and Constraints.

  5. Under Zone Settings, right-click Custom and choose Add Custom Settings.

  6. In the Custom Settings dialog box, enter the following:

    • Under Name, enter "Colocation", or another name of your choosing.

    • Under Type, choose Boolean.

    • Under Value, enter "True".

    • Additionally select Show as Property if you want this setting to display in the Properties window when the zone is selected.

  7. Click Add.

    When you create a deployment report from any deployment diagram that uses this logical datacenter diagram, this custom setting will display in the list of settings for the zone. You can use this setting in your deployment script to indicate that all applications within this zone have to be deployed to the same physical machine.

See Also

Tasks

How to: Generate Deployment Reports

How to: Create Custom Settings for Applications, Servers, Endpoints, and Zones