VMware Monitoring For Service Providers: Setting Up A Normal Gateway

VMware Monitoring For Service Providers: Setting Up A Normal Gateway

In this OpsLogix “How To” video we’ll be showing you how to set up your VMware monitoring as a Service Provider using a normal Gateway.

ALL SCRIPTS & COMMANDS CAN BE FOUND BELOW!

If you’d like to know more, request a quote or get a free evaluation of our VMware Management Pack, visit: opslogix.com/vmware-management-pack

GENERATE CERTIFICATES 

To generate Root, Management Server and GateWay certificates go to https://technet.microsoft.com/en-us/library/hh212810(v=sc.12).aspx

ADD A GATEWAY RUN TWO COMMANDS
 

COMMAND 1

Cd “C:\Program Files\System Center 2012\Operations Manager\Server”

COMMAND 2 

Microsoft.EnterpriseManagement.GatewayApprovalTool /ManagementServerName=accom2012sp1ms1.contoso.com /GatewayName=accom2012sp1gw1.Contoso.com /SiteName=Customer01 /Action=Create

  

POWERSHELL SCRIPT TO CREATE A NEW CUSTOMER SCOM RESOURCE POOL

Import-Module Operationsmanager

## Get the customer Gateway Server(s)
$GatewayServer01 = Get-SCOMManagementServer -Name “accom2012sp1gw1.Contoso.com”

## create a new Opslogix VMware resource pool
New-SCOMResourcePool -DisplayName “Remote Customer Site A – VMWare Pool” -Member $GatewayServer01

Try it for free

Want to try our Management Pack? Got to the VMware Management Pack page and fill in the contact form. Or drop us an email at sales@opslogix.com 

Also, read: 

VMware Monitoring For Service Providers: Local Customer Setup

VMware Monitoring For Service Providers: Local Customer Setup For SCOM 2012 & 2016

VMware Monitoring For Service Providers: Local Customer Setup For SCOM 2012 & 2016

In a series of VMware “How To” videos, released weekly, we’ll be showing you how to set up your VMware Monitoring for Service Providers.

In this video, we show you how to do the Local Customer Setup.

Want to try our Management Pack? Got to the VMware Management Pack page and fill in the contact form. Or drop us an email at sales@opslogix.com 

KB 14030315: You receive an error when you try to add a vCenter server through the “VMware IMP Configuration Dashboard”

KB 14030315: You receive an error when you try to add a vCenter server through the “VMware IMP Configuration Dashboard”

You receive an error when you try to add a vCenter server through the “VMware IMP Configuration Dashboard” in the OpsLogix VMware Management Pack

Usually it is a temporary error when you receive the error shown in the screenshot below while trying to add a vCenter server through the “VMware IMP Configuration Dashboard” because some assemblies have not yet been deployed by the management pack.

In cases where the error is persistent you can check the following to resolve the issue:

Check if the following dll’s have been deployed on the SCOM Management Server(s) as shown in the screenshot.

 

 

 

 

 

 

 

 

If the above dll’s have not been deployed, this is usually due to the “VMware Monitoring Account” not having sufficient permissions to write to the “C:Program FilesSystem Center 2012Operations ManagerServer”. In this case the error can be corrected by assigning sufficient permissions to the Windows account used in the “VMware Monitoring Account”.

 

If the above does not solve the issue, some customers have reported that the Virus Scanners sometimes block the deployment of the needed files as mentioned above.

VMware Management Pack Installation Guide for Operations Manager 2012 SP1/R2

VMware Management Pack Installation Guide for Operations Manager 2012 SP1/R2

 

VMware Management Pack

Installation Guide for Operations Manager 2012 SP1/R2

Published: October 2013

  1. Copyright

The information contained in this document represents the current view of OpsLogix on the issues discussed as of the date of publication and is subject to change at any time without notice to you. This document and its contents are provided AS IS without warranty of any kind, and should not be interpreted as an offer or commitment on the part of OpsLogix, and OpsLogix cannot guarantee the accuracy of any information presented. OPSLOGIX MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT.

The descriptions of other companies’ products in this document, if any, are provided only as a
convenience to you. Any such references should not be considered an endorsement or support by
OpsLogix. OpsLogix cannot guarantee their accuracy, and the products may change over time. Also,
the descriptions are intended as brief highlights to aid understanding, rather than as thorough
coverage. For authoritative descriptions of these products, please consult their respective
manufacturers.

This deliverable is provided AS IS without warranty of any kind and OPSLOGIX MAKES NO WARRANTIES, EXPRESS OR IMPLIED, OR OTHERWISE.

All trademarks are the property of their respective companies. © 2009 OpsLogix BV. All rights reserved.

The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

  1. Table of Contents

 

1 Copyright 2

2 Table of Contents 3

3 VMware MP Installation Guide 4

4 Document Version 5

5 Software Prerequisites 6

6 Importing the Management Pack 7

7 Configuring the OpsLogix VMware Management Pack 8

7.1 Adding the appropriate Management Servers to the Resource pool 8

7.2 Configuring the “VMware Management Pack RunAs Profile” Run As Profile 10

7.3 Creating a VMWare monitoring user account 13

7.4 Adding vCenter in System Center Operations Manager 16

7.5 Assigning a license to the OpsLogix VMware Management Pack 18

 

  1. VMware MP Installation Guide

 

Before importing the OpsLogix IMP VMware Management Pack, please read the license agreement carefully.

 

  1. Document Version

 

This guide is based on version 1.1.0.1 of the OpsLogix VMware Management Pack.

Release Date Changes
Oct 28, 2013 First draft

 

  1. Software Prerequisites

 

This management pack requires the following software to be installed:

  • System Center Operations Manager 2012 SP1 / R2
  • VMware vCenter 5.0 or higher

  1. Importing the Management Pack

 

Before importing the OpsLogix Oracle Management Pack make sure that you have the following file available:

  • OpsLogix.BaseLibrary.mp
  • OpsLogix IMP – Licensing Dashboard v2.3.2.5.mpb
  • OpsLogix IMP – VMware Management Pack v1.1.0.1.mpb

 

Note: Some of the management pack files might be of a higher version, if this is so, these should be used.

 

For importing the OpsLogix Oracle Management Pack complete the following steps:

Navigate to the Administration section of the Operations Manager 2012 Console:

 

  1. Right click Management Packs -> Import Management Packs… -> Add -> Add from Disk
  2. Browse to the location where you unpacked the OpsLogix VMware Management Pack.
  3. Import the following files:
    1. OpsLogix.BaseLibrary.mp
    2. OpsLogix IMP – Licensing Dashboard v2.3.2.5.mpb
    3. OpsLogix IMP – VMware Management Pack v1.1.0.1.mpb
  4. Click Open -> Import

 

  1. Configuring the OpsLogix VMware Management Pack

 

There are five main points of configuration to be completed for the OpsLogix VMware Management Pack to function correctly:

  • Adding the appropriate System Center Operations Manager Management Servers to the “OpsLogix Resource Pool for VMWare Management Pack” Resource Pool.
  • Configuring the “VMware Management Pack RunAs Profile” Run As Profile with an account that has the appropriate permissions on the Management Servers.
  • Creating an account that has at least read permissions on all objects in VMware vCenter.
  • Adding vCenter in System Center Operations Manager.
  • Assigning a license to the OpsLogix VMware Management Pack

 

  1. Adding the appropriate Management Servers to the Resource pool

 

A resource pool enables the VMware Management Pack to offer high available monitoring when using more than one System Center Operations Manager Management Server. At this point however it is recommended that one Management Server is appointed to do the monitoring. One single Management Server is appointed by only adding one server to the “OpsLogix Resource Pool for VMWare Management Pack” Resource Pool using the following procedure:

  1. In the Administration section of the SCOM console navigate to Administration -> Resource Pools and right click OpsLogix Resource Pool for VMWare Management Pack. Select Manual Membership.

     

     

     

  2. Click Yes on the Manual Membership popup box.
  3. Add or remove the Management Servers you want the Management Pack to be able to run on. Note: All Management Servers in the OpsLogix Resource Pool for VMWare Management Pack must be able to connect to the vCenter server in your VMWare environment.

     


     

  4. Complete the OpsLogix Resource Pool for VMWare Management Pack Properties wizard.

 

  1. Configuring the “VMware Management Pack RunAs Profile” Run As Profile

 

If you are configuring the VMware Management Pack in a low permission environment, you might need to configure the “VMware Management Pack RunAs Profile” Run As Profile. Configuring the “VMware Management Pack RunAs Profile” Run As Profile is not necessary if the Windows account used for the Default Run As profile on Management Servers already has sufficient permissions to create / delete / read / write to the installation directory of System Center Operations Manager.

If the Default Run As account does not have the sufficient permissions the VMware Management Pack needs to run under a Windows account that has permissions to create / delete / read / write to the installation directory of System Center Operations Manager on all Management Servers. On System Center Operation Manager 2012 SP1 this directory usually is:

C:Program FilesSystem Center 2012Operations Manager

On System Center Operation Manager 2012 R2 this directory usually is:

C:Program FilesMicrosoft System Center 2012 R2Operations Manager

To add an account to the “VMware Management Pack RunAs Profile” Run As Profile you first need a Windows account with sufficient permission, and you need to create a RunAs account by following the steps below.

  1. Navigate to Run As Configuration -> Accounts in the Administration view and right click Accounts -> Create RunAs Account.
  2. On the Introduction Page click Next.

     

  3. On the General page in the RunAs Account type dropdown box select Windows and enter VMware Monitoring Account in the Display name text box. Optionally add a description in the Description text box.
  4. On the Windows RunAs Account page, enter the name of the Windows Account that has the appropriate permissions as described above. Enter the password for the account in the Password and Confirm password text boxes. Select the appropriate domain in the Domain text box.

  1. On the Distribution Security page select the security level that is appropriate for your organization. If you chose the More secure option, make sure you include all your Management Servers.
  2. Click Create.
  3. Click Close.

 

After creating the Run As account you need to link the Run As account to the “VMware Management Pack Run As Profile” Run As Profile. To do this follow the steps below.

 

  1. Navigate to Run As Configuration -> Profiles in the administration view.
  2. In the right pane right click VMware Management Pack Run As Profile and select
    Properties.
  3. On the Introduction page click Next.
  4. On the General Properties page click Next.
  5. On the Run As Accounts page click Add.
  6. In the Add a Run As Account dialog box, select VMware Monitoring Account from the
    Run As Account dropdown box.


  7. Click OK and click Save.
  8. On the Completion page you can choose to make use of more-secure/less-secure Run As
    account distribution. If you make use of the more-secure distribution, make sure that you
    select all Management Servers for account distribution.
  9. Click Close.

 

 

  1. Creating a VMWare monitoring user account

 

  1. On the top level object in vCenter in the view Home -> Inventory -> Hosts and Clusters right click and select Add Permission…
  1. Click the Add.. in the Assign Permissions window.

 

  1. In the Select
    Users and Groups window select the user that you are going to use as the monitoring account. Click OK.

 

 

 

 

  1. Make sure that the dropdown box is set to Read-Only, and that the Propagate to Child Objects checkbox is checked. Click OK.

 

 

 

  1. Adding vCenter in System Center Operations Manager

 

  1. In the Monitoring section of the SCOM console navigate to the dashboard Monitoring -> OpsLogix -> VMWare -> VMWare IMP Configuration Dashboard.
    In the dashboard enter the server information for your vCenter server and click the Test Connect button.

  1. If the test is successful “Connected Successfully” will appear in green under the Test Connect button. Only if the connection test was successful, the Add/Update button will become available. Click the Add/Update button and the vCenter server will appear in the vCenter Servers listbox.

 

 

  1. Assigning a license to the OpsLogix VMware Management Pack

 

In order to import a license you should have received a valid license key from OpsLogix. If you did not receive a valid license key please contact support@opslogix.com or sales@opslogix.com to obtain a license key.

 

  1. In the OpsLogix License Manager in the Monitoring section of the Operations Console click the Add License button.

  1. In the Add License popup box paste the license key you received (taking care that there are no trailing spaces, empty lines, or carriage returns) and click the Import License(s) button. The license is now imported.

 

 

  1. Select the Assign tab and select OpsLogix.IMP.VMWare from the dropdown box. The vCenter servers should now appear that you added in the Operations Console earlier. Check the vCenter servers for which you would like to use the license and click the Update button.

Download OpsLogix VMware Management Pack v1.1.0.1 Installation Guide PDF