This topic has not yet been rated - Rate this topic

How to Create an Application Profile in a Service Deployment

Updated: January 15, 2013

Applies To: System Center 2012 - Virtual Machine Manager, System Center 2012 SP1 - Virtual Machine Manager

You can use the following procedure to create an application profile in Virtual Machine Manager (VMM). 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.

ImportantImportant
You can only use an application profile when you are deploying a virtual machine as part of a service.

To create an application profile

  1. Confirm that your application components (packages, scripts, and so on) have been copied to the VMM library share. For example, if you are creating a profile for a SQL Server application host, confirm that your SQL Server DAC packages and SQL Server scripts have been copied to the VMM library share.

  2. Open the Library workspace.

  3. On the Home tab, in the Create group, click Create, and then click Application Profile.

    The New Application Profile dialog box opens.

  4. On the General tab, in the Name box, enter a name for the application profile. For example, enter Corporate Finance Application.

  5. On the General tab, in the Compatibility list, choose an appropriate option:

    • For deploying any application type or combination of application types listed at the beginning of this topic, 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), 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.

  6. Click the Application Configuration tab, and then do the following:

    1. Click OS Compatibility and then select the guest operating systems on which the application is supported.

    2. Click Add and then click the type of application or script that you want to add to the application profile.

      • You can add more than one of each type of application; for example, you can add three virtual applications.

      • If you left the Compatibility option (described in the previous step) at the default option, General, you can add more than one type of application or script to the application profile; for example, you can add a virtual application and a Web application.

      • After adding an application, you can select Application script to add application scripts. You can add one application script that will run before the application is installed (or uninstalled) and one that will run after.

      • Regardless of whether you add an application, you can select Script to add a script. With VMM in System Center 2012, for this option, you can specify one script that will run before the process of application installation (or uninstallation) begins, and one that will run after that process is complete. With VMM in System Center 2012 SP1, the number of scripts is not limited, and you can specify the order in which the scripts will run.

    3. For each application or script that you add, configure the appropriate settings. Some of the settings that you can configure are as follows:

      • For application packages, you can specify settings such as certificate, port, or folder settings for the application. To specify a setting, under Applications, select the application, select the setting, and then click Properties. Type the value and then click OK.

        noteNote
        An application package can contain settings to be entered when you are configuring the service for deployment. To format this type of setting, enter the parameter in the Value field, in this format: @<SettingLabel>@. For example, you might prompt for the instance name of a SQL Server for a SQL Server database tier application by using the parameter @SQLServerInstanceName@.

      • For scripts, with System Center 2012 SP1 you can configure a variety of settings, such as parameters, the security account under which the script should run, how long before timing out, failure and restart policies that specify what to do if there is an error, and other settings. To configure these settings, under Scripts, select the script and review or change the parameters, deployment order, timeout, or other settings. As needed, click Advanced and view or configure advanced settings such as failure and restart policies.

    After you have made your selections, click OK.

  7. To verify that the profile was created, in the Library pane, expand Profiles, and then click Application Profiles.

    The application profile appears in the Profiles pane.

See Also

-----
For additional resources, see Information and Support for System Center 2012.

Tip: Use this query to find online documentation in the TechNet Library for System Center 2012. For instructions and examples, see Search the System Center 2012 Documentation Library.
-----
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.