Walid Hegazy

How To Do :) IT

SCVMM 2012 step by step (Part3) Configuring VMs Deployment

Leave a comment

Creating Profiles and Templates in VMM

Profiles

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.

 

clip_image004[4]

¨       On the General tab, in the Name box, enter a name for the hardware profile. For example

8 GB 2 processor server

clip_image006[4]

 

¨       Click the Hardware Profile tab, and then configure the desired settings

clip_image008[4]

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

clip_image009[4]

 

¨       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.

clip_image010[4]

¨      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.

clip_image012[4]

¨      Click the Guest OS Profile tab, and then configure the desired settings.

clip_image014[4]

¨      To verify that the profile was created, in the Library pane, expand Profiles, and then click Guest OS Profiles.

clip_image016[4]

Creating Virtual Machine Template

¨      Open the Library workspace.

¨      On the Home tab, in the Create group, click Create VM Template.

clip_image018[4]

¨      On the Select Source page, click Use an existing VM template or a virtual hard disk stored in the library, and then click Browse.

clip_image020[4]

¨      In the Select VM Template Source dialog box, click the appropriate virtual hard disk or virtual machine template, click OK, and then click Next.

clip_image022[4]

¨      On the VM Template Identity page, provide a name for the virtual machine template, and then click Next.

clip_image024[4]

¨      On the Configure Hardware page, configure the hardware settings or select an existing hardware profile that you want to use.

clip_image026[4]

¨      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.

clip_image028[4]

¨      On the Configure Applications page, click next.

clip_image030[4]

¨      On the Configure SQL Server page, click next.

clip_image032[4]

¨      On the Summary page, confirm the settings, and then click Create.

clip_image034[4]

¨      Done

clip_image035[4]

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.

clip_image037[4]

 

 

 

¨      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.

clip_image039[4]

¨      In the Select Virtual Machine Source dialog box, click the appropriate virtual machine template, and then click OK.

clip_image041[4]

¨      On the Specify Virtual Machine Identity page, enter the virtual machine name and optional description, and then click Next.

clip_image043[4]

¨      On the Configure Hardware and Configure Operating System pages, either select the profile you want to use one from the list, click Next.

clip_image045[4]

clip_image047[4]

¨      On the Select Destination page, specify how the virtual machine should be deployed

clip_image049[4]

¨      On the Select Host page, view the ratings, click the host on which you want to deploy the virtual machine, and then click Next.

clip_image051[4]

¨      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.

clip_image053[4]

¨      In Networking, you can click a network adapter to view the configured network settings.

clip_image055[4]

¨      In Add properties, set the automatic actions needed, click next.

clip_image057[4]

¨      On the Summary page, confirm the settings and then click Create.

clip_image059[4]

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.

clip_image061[4]

¨      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.

clip_image063[4]

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.

clip_image065[4]

 

 

 

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.

clip_image067[4]

¨       Select the logical network element on the canvas, select the appropriate logical network from the Network list.

clip_image069[4]

¨       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.

clip_image070[4]

¨       On the Home tab, in the Service Template group, click Save and Validate to save the service template.

clip_image072[4]

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.

clip_image074[4]

 

Deploying Services

¨       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.

clip_image076[4]

¨       On the Service Template tab, in the Actions group, click Configure Deployment.

clip_image078[4]

¨       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.

clip_image080[4]

¨       VMM performs a placement check to determine the best location on which to deploy the service and then opens the Deploy Service window.

clip_image082[4]

 

¨       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.

clip_image084[4]

¨       You can track the progress of the service deployment in the Jobs window. A Create service instance job is created for a service deployment.

clip_image086[4]

 

 

¨       Done

clip_image088[4]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s