I've already covered how to create a service template that contains a SQL instance, so this time it's about how to create a one-tier service template that contains Web applications, and you can find videos that make both service templates on the Web, and I'm still using Windows Server R2 +system Center R2 To do demo environment, WebApp I chose an open source content management Portal, DotNetNuke, you can according to their own actual situation to choose a different application to do the test
First of all, we need to deploy our Web applications on a single machine, and then by exporting the application into a package to upload to SCVMM library, as shown in the following figure, I first debug a virtual machine DotNetNuke this Web application, the specific way to view the official readme, Here's a special note: The simplest single layer Web application template is to hang the application under the Default Web site, otherwise we will need to add some script files to create our site in later SCVMM configuration, or we'll receive " The site does not exist error "
Then we copy the WebDeploy from the SCVMM library to the virtual machine we're preparing.