Deploying Your Application
The intent of modeling the logical infrastructure is to avoid problems that might arise during deployment of an application. It can be extremely frustrating to get your application built and
Team Architect ships with the Deployment Designer. This tool ties together the application and the logical datacenter diagrams. With it, you can use an application diagram to do a test deployment against your logical infrastructure. This test deployment will show where the application should run smoothly when you deploy it and where errors exist.
To start, you need to create a deployment diagram (
). You can do so from an existing application diagram. With it
Figure 21.23. Define Deployment dialog box.
Visual Studio then brings up the deployment diagram. Remember, it is
Figure 21.24. The deployment diagram.
To validate the deployment, you choose the Validate Diagram option from the diagram or context menu. This checks the configuration of your applications against all the pieces of the infrastructure diagram. It then generates a set of warnings and errors for you to review. Figure 21.25 shows the results of the example. You can see there were no errors but plenty of warnings to work on.
Figure 21.25. Warnings generated from the validate diagram.
You can also generate a report that details your deployment. This lengthy document indicates every aspect of the application, datacenter, and deployment.
You can set a few options for generating the report. For example, you can
To access the report generation tool, you use the Diagram or context menu and choose the Generate Deployment Report option. Selecting this menu item creates the detailed report. Figure 21.26 shows a sample portion of the report. The contents of this report are all inclusive. You may prefer to pull a few sections out and paste them into a smaller report for archiving.
Figure 21.26. The deployment report.