Creating Profiles and Templates in VMM
VMM provides the following profiles:
¨ Hardware profile—A hardware profile defines hardware configuration settings such as CPU, memory, network adapters, a video adapter, a DVD drive, a floppy drive, COM ports, and the priority given the virtual machine when allocating resources on a virtual machine host.
Creating a hardware profile
¨ Open the Library workspace.
¨ On the Home tab, in the Create group, click Create, and then click Hardware Profile.
¨ On the General tab, in the Name box, enter a name for the hardware profile. For example
8 GB 2 processor server
¨ Click the Hardware Profile tab, and then configure the desired settings
¨ To verify that the profile was created, in the Library pane, expand Profiles, and then click Hardware Profiles.
¨ Guest operating system profile—a guest operating system profile defines operating system configured settings which will be applied to a virtual machine created from the template. It defines common operating system settings such as the type of operating system, the computer name, administrator password, domain name, product key, and time zone, answer file and run once file.
Creating Guest Operating System Profile
¨ Open the Library workspace.
¨ On the Home tab, in the Create group, click Create, and then click Guest OS Profile.
¨ On the General tab, in the Name box, enter a name for the guest operating system profile. For example, enter Workgroup Windows Server 2012 Standard.
¨ Click the Guest OS Profile tab, and then configure the desired settings.
¨ To verify that the profile was created, in the Library pane, expand Profiles, and then click Guest OS Profiles.
Creating Virtual Machine Template
¨ Open the Library workspace.
¨ On the Home tab, in the Create group, click Create VM Template.
¨ On the Select Source page, click Use an existing VM template or a virtual hard disk stored in the library, and then click Browse.
¨ In the Select VM Template Source dialog box, click the appropriate virtual hard disk or virtual machine template, click OK, and then click Next.
¨ On the VM Template Identity page, provide a name for the virtual machine template, and then click Next.
¨ On the Configure Hardware page, configure the hardware settings or select an existing hardware profile that you want to use.
¨ On the Configure Operating System page, configure the guest operating system settings or select an existing guest operating system profile that you want to use.
¨ On the Configure Applications page, click next.
¨ On the Configure SQL Server page, click next.
¨ On the Summary page, confirm the settings, and then click Create.
Creating a Virtual Machine
¨ Open the VMs and Services workspace.
¨ On the Home tab, in the Create group, click the Create Virtual Machine drop-down arrow, and then click Create Virtual Machine.
¨ On the Select Source page, make sure that Use an existing virtual machine, VM template, or virtual hard disk is selected, and then click Browse.
¨ In the Select Virtual Machine Source dialog box, click the appropriate virtual machine template, and then click OK.
¨ On the Specify Virtual Machine Identity page, enter the virtual machine name and optional description, and then click Next.
¨ On the Configure Hardware and Configure Operating System pages, either select the profile you want to use one from the list, click Next.
¨ On the Select Destination page, specify how the virtual machine should be deployed
¨ On the Select Host page, view the ratings, click the host on which you want to deploy the virtual machine, and then click Next.
¨ On the Configure Settings page, review the settings for the virtual machine.
¨ In Operating System Settings, click Identity Information. You can either accept or change the computer name.
¨ In Networking, you can click a network adapter to view the configured network settings.
¨ In Add properties, set the automatic actions needed, click next.
¨ On the Summary page, confirm the settings and then click Create.
Creating and Deploying Services
In VMM, a service is a set of virtual machines that are configured and deployed together and are managed as a single entity.
Create a Service Template
You can create a service template by using the Service Template Designer in System Center 2012 – Virtual Machine Manager (VMM). After you create the service template, you can add tiers and networking components to the service template.
¨ In the VMM console, open the Library workspace.
¨ On the Home tab, in the Create group, click Create Service Template.
¨ In the Name text box, provide a name for the service template.
¨ In the Release text box, provide a value to indicate the version of the service template. For example, type 1.0.
¨ Under Patterns, select the pattern on which you want to base your service template. For example, if you select Two Tier Application.
¨ After you complete your selections, click OK.
Add a Tier to a Service Template
You can add a tier to a service template by doing either of the following:
- By dragging a virtual machine template on to the canvas area
- By using the Create Machine Tier Template wizard
The simplest way to add a tier to a service template is to drag a virtual machine template on to the canvas area. In the Service Template Designer, a list of available virtual machine templates appears in the left pane. Select the virtual machine template that you want to use to create a tier, and then drag the virtual machine template on to the canvas. A tier is created using the properties of the virtual machine template that you selected.
If you created a service template with a pattern that created default tiers for you, you can drag the virtual machine template on to one of those default tiers. The tier will be configured with the properties of that virtual machine template.
Adding VM network to a service template
¨ In the Service Template Designer, on the Home tab, click Add VM Network. An element representing the logical network is added to the canvas.
¨ Select the logical network element on the canvas, select the appropriate logical network from the Network list.
¨ To connect the logical network to the network adapter of a tier, on the Home tab, in the Tools group, click Connector. Then on the canvas, drag from the logical network element to the network adapter element of the tier. A connecting line will appear to join the two elements.
¨ On the Home tab, in the Service Template group, click Save and Validate to save the service template.
After you save the service template, it is added to the Service Templates node in the Library workspace. To open an existing service template in the Service Template Designer, select the service template in the Library workspace, and then on the Service Template tab, in the Actions group, click Open Designer.
¨ In the Library workspace, expand the Templates node, and then click Service Templates.
¨ In the Templates pane that lists the available service templates, select the service template that you want to use to deploy the service.
¨ On the Service Template tab, in the Actions group, click Configure Deployment.
¨ In Name box, enter a name for the service instance.
¨ In Destination, select the host group or private cloud where you want to deploy the service.
¨ VMM performs a placement check to determine the best location on which to deploy the service and then opens the Deploy Service window.
¨ To deploy the service, on the Home tab, in the Service group, click Deploy Service. Then, in the Deploy service dialog box, click Deploy to begin the deployment of the service.
¨ You can track the progress of the service deployment in the Jobs window. A Create service instance job is created for a service deployment.