Management Pack for Microsoft Hyper-V
Total Page:16
File Type:pdf, Size:1020Kb
Management Pack for Microsoft Hyper-V VMware vRealize True Visibility Suite 1.0 Management Pack for Microsoft Hyper-V You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com © Copyright 2020 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc. 2 Contents 1 Management Pack for Microsoft Hyper-V 4 2 System Requirements (Hyper-V) 5 Assigning User Privileges (Hyper-V) 5 Adding an SSL Certificate to the vROps Truststore (Hyper-V) 6 3 Installing the Management Pack (Hyper-V) 8 4 Configuring the Management Pack (Hyper-V) 11 Creating a Credential (Hyper-V) 11 Creating an Adapter Instance (Hyper-V) 12 Validating Data Collection (Hyper-V) 15 5 Troubleshooting the Management Pack (Hyper-V) 16 6 Using the Management Pack (Hyper-V) 18 Resource Kinds and Relationships (Hyper-V) 18 Inventory Tree (Traversal Spec) (Hyper-V) 19 Dashboards (Hyper-V) 22 Microsoft Hyper-V Overview 23 Microsoft Hyper-V Health Investigation 23 Microsoft Hyper-V Cluster Summary 24 Microsoft Hyper-V Cluster Shared Volume Summary 25 Microsoft Hyper-V Host Details 25 Microsoft Hyper-V VM Details 26 Microsoft Hyper-V Virtual Hard Disk Details 27 Capacity Definitions (Hyper-V) 27 Alerts (Hyper-V) 28 Metrics (Hyper-V) 31 VMware, Inc. 3 Management Pack for Microsoft Hyper-V 1 TheVMware vRealize® True Visibility™ Management Pack for Microsoft Hyper-V is an embedded adapter for vRealize Operations (vROps), collecting performance data from your Hyper-V environment and providing predictive analysis and real-time information about problems in your infrastructure--all within the vRealize Operations user interface. Notable Features The Management Pack for Microsoft Hyper-V includes the following notable features: n Comprehensive monitoring dashboards n 40+ collected metrics for Hyper-V resources n 40+ detailed alerts and notifications for critical and warning conditions n Capacity definitions Release Notes Version Release Date Description 5.0.0 October 6, 2020 Initial General Availability release for VMware vRealize® True Visibility™ VMware, Inc. 4 System Requirements (Hyper-V) 2 Before installing and configuring the Management Pack, ensure your system meets the following requirements: vRealize Operations Requirements Microsoft Hyper-V Requirements Version(s) vRealize Operations 7.x & 8.x Microsoft SCVMM version 2012 R2 or newer (Advanced or Enterprise edition) Connection Microsoft SCVMM database hostname (or IP address – IPv4 or IPv6 are supported) Credentials Microsoft Hyper-V Username and Password Important For least privileged user (LPU) details for Microsoft Hyper-V, see: Assigning User Privileges (Hyper-V) This chapter includes the following topics: n Assigning User Privileges (Hyper-V) n Adding an SSL Certificate to the vROps Truststore (Hyper-V) Assigning User Privileges (Hyper-V) Before starting the following instructions, be sure to have an Active Directory user that is in the "Domain Users" group. Required Permissions and Role To create your MS SQL least-privileged user (LPU), you will need to complete the following general tasks: 1. Create a local user on your MS SQL database with at least read permissions (db_datareader role) for the VirtualManagerDB database and the following tables: tbl_ADHC_HostCluster tbl_ADHC_HostVolume VMware, Inc. 5 Management Pack for Microsoft Hyper-V tbl_BTBS_HostGroup tbl_IL_OS tbl_PCMT_TieredPerfCounter tbl_VMM_GlobalSetting tbl_WLC_HWProfile tbl_WLC_PhysicalObject tbl_WLC_VDrive tbl_WLC_VHD tbl_WLC_VMInstance tbl_WLC_VObject View_ADHC_HostData 2. For Failed Job Events, the following is also required: tbl_TR_TaskTrail Adding an SSL Certificate to the vROps Truststore (Hyper- V) We recommend adding an SSL certificate for your Microsoft Hyper-V host server to the vROps truststore to help provide an added level of security. Note Different levels of security can be configured in the Management Pack. The least secure configuration is to set the SSL Config Advanced Setting to No SSL . The next level of security is to set SSL Config to No Verify , and the Management Pack will accept all SSL certificates. For the highest level of security, you can set SSL Config to Verify, and the Management Pack will have to verify the SSL certificate on your vROps system. See: Creating an Adapter Instance (Hyper-V). VMware, Inc. 6 Management Pack for Microsoft Hyper-V To add the SSL certificate to your vROps truststore: 1 Obtain the SSL certificate for your Microsoft Hyper-V host server from your Internet browser. Export the certificate as an X.509 Certificate (PEM). 2 Copy the certificate to your vROps machine. 3 Use ‘ssh’ to log in to the vROps machine as the root user, then run the following command: Linux: $VCOPS_BASE/jre/bin/keytool -import -alias <product_alias> -file /tmp/<certfile> -keystore “$VCOPS_DATA_VCOPS/user/conf/ssl/tcserver.truststore” -storepass <truststore_password> -trustcacerts Windows: %VCOPS_BASE%\jre\bin\keytool -import -alias <product_alias> C:\path\to\certfile -keystore “%VCOPS_DATA_VCOPS%\user\conf\ssl\tcserver.truststore” -storepass <truststore_password> -trustcacerts Note The <truststore_password> is generated by vROps and is located in/storage/vcops/ user/conf/ssl/storePass.properties. Copy the password from thessltruststorePassword= field and paste it in the <truststore_password> placeholder. Parameter Descriptions: n -alias is a unique name for each key that you add (per host) n certfile is the location where the cert file was saved 4 Run the reboot command to re-start the vROps machine for the changes to take effect. VMware, Inc. 7 Installing the Management Pack (Hyper-V) 3 The Management Pack for Hyper-V is installed using a .pak file. 1 Log in to vRealize Operations as an admin user. 2 From the top navigation bar, select Administration. In the left panel, the default Solutions view will be selected. In the right panel, click the Add icon. Note If you are using vROps 7.5, Solutions will have two subcategories: Configuration and Repository. Select Repository and scroll down to Other Management Packs and select Add a Management Pack to install a new management pack. Refer to the second screenshot below if needed. vROps versions 7 and lower: vROps version 7.5: VMware, Inc. 8 Management Pack for Microsoft Hyper-V 3 The Add Solution window will appear. Browse to the location of the saved .pak file, then click Upload. VMware, Inc. 9 Management Pack for Microsoft Hyper-V 4 Click Next when the upload has finished. 5 Read and accept the End User License Agreement (EULA), then click Next. 6 Click Finish when the installation process is complete. VMware, Inc. 10 Configuring the Management Pack (Hyper-V) 4 Configuring the Management Pack for SCVMM in vRealize Operations includes the following required tasks: n Creating a Credential (Hyper-V) n Creating an Adapter Instance (Hyper-V) Note In addition, you may want to perform one or more of the following optional tasks to further configure the Management Pack for your specific needs: n Validating Data Collection (Hyper-V) (optional) This chapter includes the following topics: n Creating a Credential (Hyper-V) n Creating an Adapter Instance (Hyper-V) n Validating Data Collection (Hyper-V) Creating a Credential (Hyper-V) One of the required configuration tasks for the Management Pack is to create a set of credentials in vROps. Prerequisites n Chapter 3 Installing the Management Pack (Hyper-V) n Procedure 1 From the top navigation bar, selectAdministration. In the left panel, expand theManagementcategory and selectCredentials. VMware, Inc. 11 Management Pack for Microsoft Hyper-V 2 Click the Add icon. In the Manage Credential window that appears, enter the following information: What to do next Creating an Adapter Instance (Hyper-V) Creating an Adapter Instance (Hyper-V) Before you can begin using the Management Pack, you must create an adapter instance to identify the host from which the Management Pack will retrieve data. VMware, Inc. 12 Management Pack for Microsoft Hyper-V Prerequisites n Chapter 3 Installing the Management Pack (Hyper-V) n Creating a Credential (Hyper-V) Procedure 1 From the top navigation bar, select Administration. In the right panel, the Solutions view will be displayed. 2 Select Microsoft Hyper-V from the Solutions list on the right. 3 Click the Configure icon. The Manage Solution window will appear. Note Click the Add icon above theInstance Namelist on the left to create multiple adapter instances. VMware, Inc. 13 Management Pack for Microsoft Hyper-V 4 In the New Account window, enter the following information: a Instance Settings: n Display Name: A name for this particular instance of the Management Pack n Description: Optional, but it can be helpful to describe an individual instance if you have multiple instances of the Management Pack b Basic Settings: n Host: Hostname (or IPv4/IPv6 address) of the Microsoft SCVMM database system n Credential: Select the credential you created when Creating a Credential (Hyper-V) n Collectors/Groups: automatically selected c Advanced Settings: n Port: Default port is1433 n Connection Timeout (seconds): Specify the amount of time to wait to close a connection to the host if a response has not yet been received. Default value is 30 seconds. n Max Events: Default 10,000 n Maximum JDBC Connection Pool Size: Specify the maximum number of concurrent calls you would like to support. Default value is 4. n Support Autodiscovery: This should be set to True 5 Click Test Connection to test