14.1.20 Microsoft Hyper-V measurement serversThe Hyper-V measurement server monitors the Microsoft Hyper-V virtualization environment. The communication uses the Windows Remote Management (WinRM), so its configuration is needed on the Hyper-V server which is running the virtual machines. For the Windows Remote Management configuration please refer to the 14.1.16 WS-Man measurement servers section. The equipment parameters are the following, their usage depends on the authentication used, see later: · Host (HYPERV EQ 1 HOST): the name or the IP address of the monitored server. An IP address can only be used with the Basic authentication, in case of Kerberos the host name has to be used · Windows version (HYPERV EQ 1 VERSION): “Pre Windows 2012R2” or “Windows 2012R2 or later” · Protocol (HYPERV EQ 2 MODE): HTTP or HTTPS. In case of Kerberos the HTTP protocol is recommended (since the Kerberos protocol does the encryption itself), while the HTTPS is recommended in case of the Basic authentication. · Port (HYPERV EQ 3 PORT): WinRM usually uses the port 5985 for HTTP and 5986 for HTTPS · Authentication (HYPERV EQ 4 AUTH): o Kerberos: this uses the Active Directory and it is based on domain. This mode is only supported when the collector is running on Red Hat / CentOS / Oracle Linux 6 or later! · User name (HYPERV EQ 5 USER): the user must have specific rights on the monitored server, see later · Password (HYPERV EQ 6 PWD): either the password must be provided in clear-text or a password file in the format of FILE:name_of_the_file, in which case it is recommended to use an absolute file path, for example: FILE:/opt/pvsr/username.pwd. The file is either a Kerberos specific key file or a simple file containing the password in clear-text in case of Basic authentication. · Realm (HYPERV EQ 7 REALM): it is only used in case of Kerberos authentication, in which case it must be the realm specified in the Active Directory in upper-case format. · Element name (HYPERV EQ 8 OBJNAME): the name of the monitored element · Type (HYPERV EQ 9 TYPE): the type of the monitored element. Possible values are: o Hosting Computer System o Virtual Machine · Note (HYPERV EQ 10 NOTE): the description specified for the virtual machine is used to fill in this attribute during the discovery process · OS version (Z 01 OS_VERSION): Non-modifiable automatically discovered parameter, only for the hosting computer system. It contains the operating system running on the server · Product type (Z 02 PRODUCT_TYPE): Non-modifiable automatically discovered parameter, only for the hosting computer system. It contains the system product type · CPU (Z 03 CPU): Non-modifiable automatically discovered parameter, only for the hosting computer system. It contains the CPU information for the server
· IPv4 address(es) (Z 04 IPADDR): Non-modifiable automatically discovered parameter, only for the hosting computer system. It contains the IP addresses of the system · Cluster (Z 05 CLUSTERNAME): Non-modifiable automatically discovered parameter. It contains the name of the cluster it belongs to (if it belongs to any cluster) The measurement server is able to discover the available measurements. All the possible equipments and measurements can be discovered with the use of the simple New equipment or the advanced “New equipments from template” option on the Site and equipment configuration page: the user only need to specify the connection parameters for the server running the virtual machines and PVSR discovers all the virtual machines and host measurements, displays them in a table for the user and then create the equipments using the selected Hyper-V equipment template. If the server is in a cluster then PVSR also discovers every cluster server and every VM running on those servers. The Hyper-V collector can automatically synchronize the configuration in PVSR, including the migration of a VM from one cluster server to another. The synchronization is configurable with these parameters in the CONFIG_INI.pm file: · $PVSR_AUTO_HYPERV_TEMPLATE: if it is set to a PVSR equipment template and there is a new virtual machine then PVSR automatically creates it. The default value of the parameter after installation is “Default Hyper-V” · $PVSR_AUTO_HYPERV_VMNAME_PREFIX: if it is set then PVSR uses its value as the prefix when automatically creating a virtual machine. The “New equipments from template” page uses this parameter as well for the same purpose. The default value of the parameter after installation is “VM ” · $PVSR_AUTO_HYPERV_VMNAME_POSTFIX: if it is set then PVSR uses its value as the postfix when automatically creating a virtual machine. The “New equipments from template” page uses this parameter as well for the same purpose. The default value of the parameter after installation is empty · $PVSR_AUTO_HYPERV_MOVE_DELETED_SITE: if it is set then PVSR moves the non-existing virtual machines into this site (next to the host equipment). If the site does not exist then PVSR automatically creates it. The default value of the parameter after installation is “Deleted” · $PVSR_AUTO_HYPERV_MANAGE_DATA_COLL: if it is set to “Y” then PVSR automatically deactivates the data collection of a virtual machine if it is not running. The default value of the parameter after installation is empty · $PVSR_AUTO_HYPERV_MOVE_OFFLINE_VM_SITE: if it is set then PVSR moves the shut-down virtual machines into this site (next to the host equipment). If the site does not exist then PVSR automatically creates it. The default value of the parameter after installation is empty |