Importing Virtual Machine Manager configuration items

This recipe will show you how to set up the Virtual Machine Manager connector, which will allow you to import information about your virtualization CIs and your private cloud environment.

Getting ready

Before you set up the connector you will need an account within your Active Directory forest for the connector that has the following permissions:

  • Virtual Machine Manager-SCVMM Administrator Role and Local Administration Rights on the Virtual Machine Manager server
  • Service Manager-Advanced Operator

You must also ensure that an Operations Manager CI connector has been created first and that the following management packs are imported:

  • Relevant base Operations Manager management packs
  • IIS 2003
  • IIS 7
  • IIS Library
  • SQL Server Core Library
  • Virtual Machine Manager

After these are imported, import the Virtual Machine Manager Management Pack (Microsoft.SystemCenter.VirtualMachineManager.2012.Discovery) into Service Manager and make sure that all the management packs are synchronized with the Operations Manager CI Connector.

See the Operations Manager CI Connector recipe for information on importing management packs, setting up the Operations Manager CI connector, and synchronizing management packs with the connector.

How to do it...

The following steps will guide you through the process of importing data from System Center Virtual Machine Manager into the Service Manager CMDB:

  1. In the Service Manager console, navigate to Administration | Connectors.
  2. In the task pane on the right-hand side, click on Create Connector. Then select Virtual Machine Manager Connector.
  3. Review the Before You Begin screen and then click on Next.
  4. On the General screen, enter a name for the connector and a description. In this recipe, I've called it poweron.local Virtual Machine Manager Connector.

    How to do it...

  5. Ensure that the Enable this connector box is checked, and then click on Next.
  6. On the Connection screen in the Server Information box, supply the name of the server that the Virtual Machine Manager is installed on. In this recipe, I've used PONSCVMM as the name of the Virtual Machine Manager Server.

    How to do it...

  7. Next to the Run As Account drop-down menu click on New and enter the details of the account that you had set up before starting.
  8. Click Test Connection and enter the password for the account when prompted.
  9. Click on Next.
  10. Review the information on the Summary screen and then click on Create.
  11. Review the information on the Confirmation screen and then click on Close.

How it works...

Most of the CI information related to virtualization is actually brought across by the Operations Manager CI connector, which is why it is a prerequisite to have that connector set up before creating the Virtual Machine Connector. The Virtual Machine Connector syncs information relating to the Virtual Machine Manager Library to complete the CMDB information.

The items the connector syncs are as follows:

  • Service templates
  • VM templates
  • Storage classifications
  • Logical networks
  • Load balancers
  • Load balancer VIP templates

This extra information allows you to create items such as Service Requests that might allow a user to provision a Virtual Machine by referencing a VM Template.

There's more...

The Virtual Machine Manager connector can be accessed via the Connectors folder under the Administration Workspace of the Service Manager Console. Select the connector and click on Properties from the task pane on the right-hand side of the console.

Need to use an account that isn't a local administrator?

If you have a policy that prohibits the use of local administrator accounts, you need to manually adjust a few permissions to allow for remote PowerShell usage by the account used for the Virtual Machine Manager connector:

  1. Log on to the server hosting Virtual Machine Manager as a user with administrative rights.
  2. Open a PowerShell window (ensure that it's elevated with administrative rights).
  3. Type the following and press Enter:
    Set-PSsessionConfigurationMicrosoft.Powershell - 
    ShowSecurityDescriptorUI
    
  4. When prompted with are you are sure you want to perform this action, type Y and press Enter.
  5. Add the account being used for the connector and grant it Execute (Invoke) permission by checking the Allow box.
  6. Click on OK.
  7. If prompted to confirm whether WinRM can be restarted, type Y and press Enter.

Setting up a Virtual Machine Manager and Operations Manager integration

Because most of the information about your virtualization CIs comes through the Operations Manager CI Connector, it is also advisable to set up the integration feature between Virtual Machine Manager and Operations Manager via the Virtual Machine Manager console:

  1. Within Operations Manager ensure that the following management packs are imported:
    • IIS 2003
    • IIS 7
    • IIS Library SQL
    • Server Core Library
  2. In the Virtual Machine Manager console, navigate to the Settings workspace.
  3. Click on the System Center settings and Operations Manager Server.
  4. If no connection exists, a wizard will start.
  5. Follow the wizard through and the connection will be made.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset