SYS-CON MEDIA Authors: Liz McMillan, Kevin Benedict, Zakia Bouachraoui, Elizabeth White, Pat Romanski

Blog Feed Post

Application Profiles in System Center 2012 SP1 VMM: Build Your Private Cloud (Series)

This guy is happily evaluating System Center 2012 SP1 as the foundation for his Private CloudToday’s installment of our “Build Your Private Cloud in a Month” series is the third of a 5-part mini-series we’re calling “Deploying Private Cloud Workloads”.  This week we (Tommy Patterson, Blain Barton and I) are going to detail and demonstrate some of the key areas in System Center 2012 SP1 Virtual Machine Manager that support the foundational concepts and objects in your Private Cloud arsenal:

  1. Hardware Profiles (Monday)
  2. Guest OS Profiles (Tuesday)
  3. Application Profiles (Wednesday) <—Today!
  4. VM Templates (Thursday)
  5. Service Templates (Friday)

To follow along, make sure you have installed a test lab with Windows Server 2012 and the Virtual Machine Manager component of System Center 2012 SP1.  (Click the links and download the evaluations, please.)


Today’s topic is Guest OS Profiles in System Center 2012 SP1 Virtual Machine Manager.

What is an Application Profile?

From the TechNet entry on the subject: “An application profile provides instructions for installing Microsoft Server Application Virtualization (Server App-V) applications, Microsoft Web Deploy applications, and Microsoft SQL Server data-tier applications (DACs), and for running scripts when deploying a virtual machine as part of a service.”

So, there are three Application Profile application types, and each will be used (and re-used) when we want to add a deployable Web Application, Server App-V application, and SQL Server DAC to virtual machine templates that are being deployed as a part of a service template.

And that last part – service template – is important.  Like some of the properties of the Guest OS Profile we talked about yesterday, Application Profiles will only be deployed when used in a virtual machine is a part of a service deployment.

Why are Application Profiles Useful?

Just like any other template, if we have a way to define and implement  something that will be used over-and-over again, there is a benefit of creating it once and then re-using as needed.  It saves time, and reduces the opportunity for user-errors.  (PEBKAC*, or ID-10-T** errors.)

How do I create an Application Profile?

We’ll find Application Profiles under the same section of the Library as we did the other two profiles we’ve discussed.

Application Profiles in the Library

Right-Click it, and create a new one.

Give your Application Profile a name and a description…

New Application Profile

Notice that under Compatibility you have some choices:

  • For deploying any application type, or a combination of Web Apps, Virtual (Server App-V) Apps, or SQL DAC apps, leave the default selection, General.
  • For deploying SQL Server DAC packages or SQL Server scripts to an existing SQL Server in your environment, click SQL Server Application Host.  (If you click SQL Server Application Host, you can add only SQL Server DAC packages and SQL Server scripts to the application profile.)
  • For deploying web applications to a server running Internet Information Services (IIS), and if you are running System Center 2012 Service Pack 1 (SP1), click Web Application Host.  (If you click Web Application Host, you can add only Web Deploy packages and associated scripts to the application profile.)

For this example, I’m going to choose General.

Now click on Application Configuration

App Configuration

…and notice that I’ve already selected “64-bit edition of Windows Server 2008 R2 Enterprise”.  You of course will choose the operating system version onto which this application will be installed.

Now click Add

Add an Application

…and you’ll see that I can add any of our three application types, plus add some scripting.  And in fact, because I selected “General” Compatibility earlier, I can add more than one of these to the same application profile.

For the rest of this example, I’m going to open up a pre-built Application Profile to show you how one might be configured for a Web and then an App-V application.  Here is one for the web tier of a sample “Stock Trader” application..

ST Web Application Profile

You can see that this Application Profile includes two web applications (Trade Web and Config Web), one each of pre-install and post-install scripts for the Trade Web application, and one pre-install script that will run before anything else runs. 

NOTE: I have application packages that have been saved in the VMM Library, and clicking on Browse allows me to select the packages or custom resources required.  The creation of the applications, packages, and custom resources are beyond the scope of this article. 

Settings for an application are surfaced here and variable values can be edited.  In some instances, you’ll use placeholders so that, when the service is finally being deployed, you can fill in values that will be used when the applications are finally installed or the scripts are finally run.

Notice what options you have for configuring this script…

Script Options

I can specify the type of script command it is, from a number of options.  I also enter what the executable program will be (in this case just the command engine cmd.exe), command parameters, and a script resource package.  I also specify the Run As account – which is the security context that this command should be run in.

Let’s look at an example of an Application Profile that defines the installation of a Server App-V application:

App-V App

This is an application that was packaged using Server App-V that I pulled from the library.  (Click the link for details on Server App-V).  Again, this is an application that contains variables that will contain values during the configuration of the application.   And we’ve also defined some scripting to configure the server with the application; both pre and post-installation.

How do I USE an Application Profile?

For my example, I’m going to build the Middle Tier VM Template of a four-tier service.  And I’m going to include the “ST Order Processing” Application Profile as I build the machine template.  (I’ll also use a Hardware Profile and Guest OS Profile that I’ve already created.)

And then when I’m done building the VM Template, I’ll create a new Service Template that includes all four of my VM Templates. 

VM Templates are found in Templates, at the very top of the Library section (above Profiles):

VM Templates

I’ll start by creating a brand new VM Template that uses the Windows Server 2008 R2 Enterprise Evaluation as its source .vhd image.

Select Source

Click Next.  in the VM Template Identity form, I’ll name my VM Template “Stock Trader Mid OP Tier”, since it will be the template that builds the machines running the middle-tier Order Processing application in my Stock Trader service.

VM Template Identity

Click Next.  Here’s where the work of the last couple of days pays off.  For the description of the hardware, I can use a previously created Hardware Profile.  Mine is called “Stock Trader Server HW Profile”.  It has everything about the hardware for the VM pre-configured; including the networking configuration.

Configure Hardware

Click Next.  Similarly, I can pull in a pre-created Guest OS Profile that I named “Stock Trader Guest OS Profile”. 

Configure Operating System

You can see that it comes pre-configured with OS, Administrator account, product key and domain membership information already defined.  Note that in my desire to keep the Guest OS Profile more generic, I didn’t enter anything unique about the Computer Name in the profile.  But now that I’m using the profile for a specific machine type, I can edit it here.  I’m going to use “ST5MidOp###”, so that the machines will all be named uniquely but similarly, and will have incrementing 3-digit numbers at the end of their names.

Computer Name

Notice also that I didn’t add any roles or features in its definition.  This is fine for this VM Template, but there are others (the Web Tier machine, for example) that I have added things like Application Server and IIS components.

Click Next.  Here’s where I can select and use my ST Order Processing Application Profile

Configure Applications

I’ll click Next, click Next again to skip over the addition of a SQL Server application to this template, and then on the Summary page I’ll click Create.

The Jobs window opens, and in short order the “Create Template” job completes successfully.  And hen I look back at my list of VM Templates, I now see this:

VM Templates

Now I’m ready to use these in the creation of my Stock Trader Service Template, and then to deploy the Stock Trader Service based on that service template.

Wow!  A Service Template

See “Creating Service Templates in VMM” for more information on how that’s done.

For More Information

For more details, I recommend the following articles and locations for expanding your knowledge of System Center 2012 SP1, Virtual Machine Manager, and VMM Guest OS Profiles:


Was this useful?  I hope so!  Let me know in the comments if you have any questions, concerns, clarifications, or cheap shots at me or Microsoft.  (Hit me with your best shot!  I can take it! Smile)


* “Problem Exists Between Keyboard And Chair”

** Telling the user it’s an “ID 10 T” error is just another way to call them an ID10T.

Read the original blog entry...

More Stories By Kevin Remde

Kevin is an engaging and highly sought-after speaker and webcaster who has landed several times on Microsoft's top 10 webcast list, and has delivered many top-scoring TechNet events and webcasts. In his past outside of Microsoft, Kevin has held positions such as software engineer, information systems professional, and information systems manager. He loves sharing helpful new solutions and technologies with his IT professional peers.

A prolific blogger, Kevin shares his thoughts, ideas and tips on his “Full of I.T.” blog ( He also contributes to and moderates the TechNet Forum IT Manager discussion (, and presents live TechNet Events throughout the central U.S. ( When he's not busy learning or blogging about new technologies, Kevin enjoys digital photography and videography, and sings in a band. (Q: Midlife crisis? A: More cowbell!) He continues to challenge his TechNet Event audiences to sing Karaoke with him.

Latest Stories
Cognitive Computing is becoming the foundation for a new generation of solutions that have the potential to transform business. Unlike traditional approaches to building solutions, a cognitive computing approach allows the data to help determine the way applications are designed. This contrasts with conventional software development that begins with defining logic based on the current way a business operates. In her session at 18th Cloud Expo, Judith S. Hurwitz, President and CEO of Hurwitz & ...
The Jevons Paradox suggests that when technological advances increase efficiency of a resource, it results in an overall increase in consumption. Writing on the increased use of coal as a result of technological improvements, 19th-century economist William Stanley Jevons found that these improvements led to the development of new ways to utilize coal. In his session at 19th Cloud Expo, Mark Thiele, Chief Strategy Officer for Apcera, compared the Jevons Paradox to modern-day enterprise IT, examin...
"Cloud computing is certainly changing how people consume storage, how they use it, and what they use it for. It's also making people rethink how they architect their environment," stated Brad Winett, Senior Technologist for DDN Storage, in this interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"NetApp's vision is how we help organizations manage data - delivering the right data in the right place, in the right time, to the people who need it, and doing it agnostic to what the platform is," explained Josh Atwell, Developer Advocate for NetApp, in this interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
Sold by Nutanix, Nutanix Mine with Veeam can be deployed in minutes and simplifies the full lifecycle of data backup operations, including on-going management, scaling and troubleshooting. The offering combines highly-efficient storage working in concert with Veeam Backup and Replication, helping customers achieve comprehensive data protection for all their workloads — virtual, physical and private cloud —to meet increasing business demands for uptime and productivity.
The Software Defined Data Center (SDDC), which enables organizations to seamlessly run in a hybrid cloud model (public + private cloud), is here to stay. IDC estimates that the software-defined networking market will be valued at $3.7 billion by 2016. Security is a key component and benefit of the SDDC, and offers an opportunity to build security 'from the ground up' and weave it into the environment from day one. In his session at 16th Cloud Expo, Reuven Harrison, CTO and Co-Founder of Tufin, ...
While the focus and objectives of IoT initiatives are many and diverse, they all share a few common attributes, and one of those is the network. Commonly, that network includes the Internet, over which there isn't any real control for performance and availability. Or is there? The current state of the art for Big Data analytics, as applied to network telemetry, offers new opportunities for improving and assuring operational integrity. In his session at @ThingsExpo, Jim Frey, Vice President of S...
Rodrigo Coutinho is part of OutSystems' founders' team and currently the Head of Product Design. He provides a cross-functional role where he supports Product Management in defining the positioning and direction of the Agile Platform, while at the same time promoting model-based development and new techniques to deliver applications in the cloud.
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settl...
"We were founded in 2003 and the way we were founded was about good backup and good disaster recovery for our clients, and for the last 20 years we've been pretty consistent with that," noted Marc Malafronte, Territory Manager at StorageCraft, in this interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm. In their Day 3 Keynote at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, and Mark Lav...
@CloudEXPO and @ExpoDX, two of the most influential technology events in the world, have hosted hundreds of sponsors and exhibitors since our launch 10 years ago. @CloudEXPO and @ExpoDX New York and Silicon Valley provide a full year of face-to-face marketing opportunities for your company. Each sponsorship and exhibit package comes with pre and post-show marketing programs. By sponsoring and exhibiting in New York and Silicon Valley, you reach a full complement of decision makers and buyers in ...
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
Historically, some banking activities such as trading have been relying heavily on analytics and cutting edge algorithmic tools. The coming of age of powerful data analytics solutions combined with the development of intelligent algorithms have created new opportunities for financial institutions. In his session at 20th Cloud Expo, Sebastien Meunier, Head of Digital for North America at Chappuis Halder & Co., discussed how these tools can be leveraged to develop a lasting competitive advantage ...
LogRocket helps product teams develop better experiences for users by recording videos of user sessions with logs and network data. It identifies UX problems and reveals the root cause of every bug. LogRocket presents impactful errors on a website, and how to reproduce it. With LogRocket, users can replay problems.