How to Create a SQL Server Profile in a Service Deployment
Applies To: System Center 2012 SP1 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager, System Center 2012 - Virtual Machine Manager
You can use the following procedure to create a SQL Server profile in Virtual Machine Manager (VMM). The SQL Server profile provides instructions for installing an instance of Microsoft SQL Server on a virtual machine.
You can only use a SQL Server profile when you want to deploy a virtual machine as part of a service. In addition, you must use a virtual hard disk that contains a prepared instance of SQL Server (generalized by using the Sysprep tool), as described in the following list:
To create a SQL Server profile
Open the Library workspace.
On the Home tab, in the Create group, click Create, and then click SQL Server Profile.
The New SQL Server Profile dialog box opens.
On the General tab, in the Name box, enter a name for the SQL Server profile. For example, enter Corporate Finance SQL Server.
Click the SQL Server Configuration tab, and then, next to Add, click SQL Server Deployment.
A SQL Server deployment corresponds to the configuration of one instance of SQL Server. If you want to configure multiple instances of SQL Server on the same virtual machine, you must add and configure a SQL Server deployment for each instance.
Under SQL Server Deployment, do the following:
Click SQL Server Deployment, Deployment 1. In the results pane, enter the required configuration information.
Required information includes the name of this SQL Server deployment (for which you can choose to enter a more meaningful name than "Deployment 1"), the SQL Server instance name, and the SQL Server instance ID (the instance ID specified during installation of SQL Server). The installation Run As account is optional and uses the VMM Service account unless you specify otherwise. For more information about Run As accounts, see Configuring Run As Accounts in VMM.
Click Configuration. In the results pane, enter the required configuration information.
Required information includes the media source (the path to the SQL Server installation media folder where Setup.exe is located) and the SQL Server administrators.
Click Service Accounts. In the results pane, enter the Run As accounts to use.
After you have made your selections, click OK.
To verify that the profile was created, in the Library pane, expand Profiles, and then click SQL Server Profiles.
The SQL Server profile appears in the Profiles pane.