Supported Target Versions |
---|
Validated the application by executing powershell script against "Microsoft Windows Server 2019 Datacenter 10.0.17763 Build 17763.3770" |
Application Version and Upgrade Details
Application Version | Bug fixes / Enhancements |
---|---|
3.0.1 | Code fix for latest snapshot metric. |
3.0.0 | Persona changes to support Cluster and Standalone Windows HyperV Cluster configurations. |
2.0.0 |
|
Click here to view the earlier version updates
Application Version | Bug fixes / Enhancements |
---|---|
1.0.2 | Full discovery support. |
1.0.1 | Resource discovery and monitoring implementations. |
Introduction
Virtual infrastructures, particularly in big data centers, must ensure high availability of services and applications and eliminate single points of failure. In order to do this, Microsoft offers the Failover Clustering technology, which can be applied to a Hyper-V environment to set up numerous Hyper-V hosts or nodes that can take over the workload in the event that one host fails.
Microsoft Failover Clustering can be used to safeguard virtual machines even though Hyper-V is host-bound and made to handle the resources of physical machines. Despite being a different technology, Failover Clustering can be used in conjunction with Hyper-V to reduce the amount of time that virtual machines are unavailable in the case of a failure. Its own administrative tool is Failover Cluster Manager.
Key Use cases
Discovery Use cases
- It discovers the Windows Hyper-V Cluster components.
- Publishes relationships between resources to have a topological view and ease of maintenance.
Monitoring Use cases
- Provides metrics related to job scheduling time and status etc.
- Concern alerts will be generated for each metric to notify the administrator regarding the issue with the resource.
Prerequisites
OpsRamp Classic Gateway 14.0.0 and above.
OpsRamp NextGen Gateway 14.0.0 and above.
Note: OpsRamp recommends using the latest Gateway version for full coverage of recent bug fixes, enhancements, etc..Powershell cmdlets have the following prerequisites:
- Windows domain User should be able to do powershell remoting
Enable-PSRemoting -Force - Windows domain user should be added to “Remote Management users” group
net localgroup “Remote Management Users” /add < user > - Windows domain user should be added to “Performance monitor users” group
net localgroup “Performance monitor users” /add < user > - Add OpsrampGatewayIp to the TrustedHosts list on the target machine to allow the powershell connection from gateway to the target machine.
- To add TrustedHosts use the following command:
- To allow any host:
Set-Item WSMan:\localhost\Client\TrustedHosts -Force -Value * - To allow a specific host: Set-Item WSMan:\localhost\Client\TrustedHosts -Force -Concatenate -Value <OpsRampGatewayIp>
- Setup and restart the WinRM service for the changes to reflect
- To set up: Set-Service WinRM -StartMode Automatic
- Restart using: Restart-Service -Force WinRM
- Windows domain User should be able to do powershell remoting
Granting Remote DCOM Rights
- To grant users DCOM rights, log on to each monitored system and complete the following procedure:
- Go to command prompt and enter dcomcnfg
- Navigate to component services > computers > My computer and then right click and select Properties. Then go to the COM Security tab.
- Under Access Permissions, go to edit limits and add the domain non-admin user and enable both local and remote access then click OK.
- In Launch and Activation permissions, go to edit limits, add the domain non-admin user and check all boxes, and click OK.
- To grant users DCOM rights, log on to each monitored system and complete the following procedure:
Granting Remote WMI Rights
- To give the user remote WMI rights, log on to each system to be monitored and complete the following procedure:
- Go to computer management, under Services and Applications select WMI Control.
- Right-click WMI control and go to Properties. Select the Security tab.
- Select root and click Security.
- Add the domain non-admin user, and check the boxes for execute methods, enable account, remote enable, and reas security.
- Click Advanced, select added non-admin domain user and click Edit. Then for Applies, select namespace and sub namespaces in the dropdown.
- Click OK three times .
- To give the user remote WMI rights, log on to each system to be monitored and complete the following procedure:
For monitoring services like windows cluster service, windows domain users to be a part of Local Administrators group we are using win32_Service class for fetching the details.
- refer to below link:
Get-WmiObject - If you do not want to add the user to local administrator group, you can use Security descriptors for monitoring the services.
- For that we have to do the configuration as below:
Refer to Windows failover cluster monitoring.
- refer to below link:
Windows domain user should be granted read-only access to cluster
Grant-ClusterAccess -User <domain\user> -ReadonlyOpen ports and add user in all nodes and cluster
- Opsramp gateway should be able to access cluster and nodes.
- Ports to be opened are 5985 and 5986.
Note: By default, WS-Man and PowerShell remoting use port 5985 and 5986 for connections over HTTP and HTTPS, users should be present in nodes and cluster.
Hierarchy of Windows Hyper-V Cluster
- Windows HyperV Cluster
- Windows HyperV Server
- Windows HyperV Virtual Switch
- Windows HyperV Host Disk
- Windows HyperV Guest VM
- Windows HyperV Cluster Role
- Windows HyperV Cluster Shared Volume
- Windows HyperV Cluster Disk
Supported Metrics
Click here to view the supported metrics
Native Type | Metric Name | Display Name | Metric Label | Units | Application Version | Description |
---|---|---|---|---|---|---|
Windows HyperV Cluster | windows_hyperv_cluster_network_State | windows HyperV Cluster Network State | Availability | 1.0.0 | HyperV cluster network state.Possible states are: Unavailable: 0, Down: 1, Partitioned: 2, Unknown: 3, Up: 4 | |
windows_hyperv_cluster_OnlineNodesCount | Windows HyperV Cluster Online Nodes Count | Availability | count | 1.0.0 | HyperV cluster online nodes count | |
windows_hyperv_cluster_NodeHealth | Windows HyperV Cluster Node Health | Availability | % | 1.0.0 | HyperV cluster node health. | |
Windows HyperV Server | windows_hyperv_server_IdleCPUUtilization | Windows HyperV Server Idle CPU Utilization | Usage | % | 1.0.0 | HyperV server idle cpu utilization |
windows_hyperv_server_GuestCPUUtilization | Windows HyperV Server Guest CPU Utilization | Usage | % | 1.0.0 | HyperV server guest cpu utilization | |
windows_hyperv_server_HypervisorCPUUtilization | Windows HyperV Server Hypervisor CPU Utilization | Usage | % | 1.0.0 | HyperV server hypervisor cpu utilization. | |
windows_hyperv_server_TotalCPUUtilization | Windows HyperV Total CPU Utilization | Usage | % | 1.0.0 | HyperV server total cpu utilization. | |
windows_hyperv_server_system_services_HealthState | Windows HyperV System Services Health State | Availability | 1.0.0 | HyperV system services health state.Possible values are: ""0"" = ""Unknown""; ""5"" = ""OK"";""10"" = ""Degraded/Warning""; ""15"" = ""Minor failure""; ""20"" = ""Major failure""; ""25"" = ""Critical failure""; ""30"" = ""Non-recoverable error""; "".."" = ""DMTF Reserved"" | ||
windows_hyperv_server_AvailableMBytes | Windows HyperV Server Available MBytes | Performance | MB | 1.0.0 | HyperV server available Mbytes. | |
windows_hyperv_server_PageFileUsage | Windows HyperV Server Page File Usage | Usage | GB | 1.0.0 | HyperV server page file usage. | |
windows_hyperv_server_VirtualTLBPages | Windows HyperV Server Virtual TLB Pages | Performance | count | 1.0.0 | HyperV server virtual TLB pages. | |
windows_hyperv_server_DepositedPages | Windows HyperV Server Deposited Pages | Performance | count | 1.0.0 | HyperV server deposited pages. | |
windows_hyperv_server_TotalPhysicalMemory | Windows HyperV Server Total Physical Memory | Performance | GB | 1.0.0 | HyperV server total physical memory. | |
windows_hyperv_server_Virtual_Memory | Windows HyperV Server Virtual Memory | Performance | GB | 1.0.0 | HyperV server virtual memory | |
windows_hyperv_server_TotalRemotePhysicalPages | Windows HyperV Server Total Remote Physical Pages | Performance | count | 1.0.0 | HyperV server total remote physical pages. | |
windows_hyperv_server_NetworkAdaptersBytesReceived | Windows HyperV Server Network Adapter BytesReceivedPerSec | Performance | Bps | 1.0.0 | HyperV network adapter bytes received per second. | |
windows_hyperv_server_NetworkAdaptersPacketsSent | Windows HyperV Server Network Adapter Packets Sent | Performance | Bps | 1.0.0 | HyperV network adapter bytes received per second. | |
windows_hyperv_server_NetworkAdaptersBytesSent | Windows HyperV Server Network Adapter Bytes Sent | Performance | Bps | 1.0.0 | HyperV network adapter bytes sent. | |
windows_hyperv_server_NetworkAdaptersPacketsReceived | Windows HyperV Server Network Adapter Packets Received | Performance | packets/sec | 1.0.0 | HyperV network adapter packets received. | |
windows_hyperv_server_NetworkAdaptersPackets | Windows HyperV Server Network Adapter Packets | Performance | packets/sec | 1.0.0 | HyperV network adapter packets per second. | |
Windows HyperV Virtual Switch | windows_hyperv_server_VirtualSwitchPacketsReceived | Windows HyperV Server Virtual Switch Packets Received | Performance | packets/sec | 1.0.0 | HyperV virtual switch packets received per second. |
windows_hyperv_server_VirtualSwitchBytesReceived | Windows HyperV Server Virtual Switch Bytes Received | Performance | Bps | 1.0.0 | HyperV virtual switch bytes received per second. | |
windows_hyperv_server_VirtualSwitchPackets | Windows HyperV Server Virtual Switch Packets | Performance | packets/sec | 1.0.0 | HyperV virtual switch packets per second. | |
windows_hyperv_server_VirtualSwitchBytesSent | Windows HyperV Server Virtual Switch Bytes Sent | Performance | Bps | 1.0.0 | HyperV virtual switch bytes sent per second. | |
windows_hyperv_server_VirtualSwitchBytes | Windows HyperV Server Virtual Switch Bytes | Performance | Bps | 1.0.0 | HyperV virtual switch bytes per second. | |
windows_hyperv_server_VirtualSwitchPacketsSent | Windows HyperV Server Virtual Switch Packets Sent | Performance | packets/sec | 1.0.0 | HyperV virtual switch packets sent per second. | |
Windows HyperV Host Disk | windows_hyperv_disk_PhysicalDiskTransferPerSec | Windows HyperV Disk Physical Disk Transfer Per Sec | Performance | IOPS | 1.0.0 | HyperV physical disk transfers per second. |
windows_hyperv_disk_PhysicalDiskQueueLength | Windows HyperV Disk Physical Disk Queue Length | Performance | 1.0.0 | HyperV physical disk queue length. | ||
windows_hyperv_disk_PhysicalDiskBytesPerSec | Windows HyperV Disk Physical Disk Bytes Per Sec | Performance | Bps | 1.0.0 | HyperV physical disk bytes per second. | |
windows_hyperv_disk_PhysicalDiskReadBytesPersec | Windows HyperV Disk Physical Disk Read Bytes Per Sec | Performance | Bps | 1.0.0 | HyperV physical disk read bytes per second. | |
windows_hyperv_disk_PhysicalDiskReadsPersec | Windows HyperV Disk Physical Disk Reads Per Sec | Performance | Bps | 1.0.0 | HyperV physical disk reads per second. | |
windows_hyperv_disk_PhysicalDiskWritesPersec | Windows HyperV Disk Physical Disk Writes Per Sec | Performance | Bps | 1.0.0 | HyperV physical disk writes per second. | |
windows_hyperv_disk_PhysicalDiskWriteBytesPersec | Windows HyperV Disk Physical Disk Write Bytes Per Sec | Performance | Bps | 1.0.0 | HyperV physical disk write bytes per second. | |
windows_hyperv_disk_HealthStatus | Windows HyperV Disk Health Status | Availability | 1.0.0 | HyperV disk health status. Possible states are: 'Unknown': 0 ,'Failing' : 1, 'Failed' : 2, 'Healthy' : 3 | ||
windows_hyperv_disk_OperationalStatus | Windows HyperV Disk Operational Status | Availability | 1.0.0 | HyperV disk operational status. Possible statuses are: 'Unknown': 0, 'Not Ready': 1, 'No Media' : 2, 'Offline' : 3, 'Failed': 4, 'Missing' : 5, 'Online': 6 | ||
Windows HyperV Guest VM | windows_hyperv_guestvm_CpuUtilization | Windows HyperV GuestVM CPU Utilization | Usage | % | 1.0.0 | HyperV guest VM cpu utilization. |
windows_hyperv_guestvm_State | Windows HyperV GuestVM State | Availability | 1.0.0 | HyperV guest VM state.Possible values are: Off : 0, Other: 1, Stopping: 2, Saved: 3, Paused: 4, Starting: 5, Reset: 6, Saving: 7, Pausing: 8, Resuming: 9, FastSaved: 10, FastSaving: 11, ForceShutdown: 12, ForceReboot: 13, Hibernated: 14, RunningCritical: 15, OffCritical: 16, StoppingCritical : 17, SavedCritical: 18 PausedCritical: 19, StartingCritical: 20, ResetCritical: 21, SavingCritical: 22, PausingCritical: 23, ResumingCritical: 24, FastSavedCritical: 25, FastSavingCritical: 26, Running: 27 | ||
windows_hyperv_guestvm_diskUsage | Windows HyperV GuestVM Disk Usage | Usage | MB | 1.0.0 | HyperV guest VM disk usage | |
Windows HyperV Cluster Role | windows_hyperv_role_RunningStatus | Windows HyperV Role Running Status | Availability | 1.0.0 | HyperV cluster role running status.Possible values: Online : 0, Offline : 1, Failed : 2, PartialOnline : 3, Pending : 4, Unknown : 5 | |
windows_hyperv_role_FailoverStatus | Windows HyperV Role Failover Status | Availability | 1.0.0 | HyperV cluster role failover status. Possible values: Failedover: 0, No Failover: 1 | ||
Windows HyperV Cluster Shared Volume | windows_hyperv_csv_Utilization | Windows HyperV CSV Utilization | Usage | % | 1.0.0 | HyperV cluster shared volume utilization. |
windows_hyperv_csv_Usage | Windows HyperV CSV Usage | Usage | GB | 1.0.0 | HyperV cluster shared volume usage. | |
windows_hyperv_csv_OperationalStatus | Windows HyperV CSV Operational Status | Availability | 1.0.0 | HyperV cluster shared volume operational status. Possible values: Offline : 0, Failed : 1, Inherited : 2, Initializing : 3, Pending : 4, OnlinePending : 5, OfflinePending : 6, Unknown : 7, Online : 8. | ||
windows_mssql_cluster_totalServerMemory | Total Server Memory | Availability | KB | 1.0.0 | Total amount of dynamic memory the server is currently consuming. | |
Windows HyperV Cluster Disk | windows_hyperv_clusterdisk_State | Windows HyperV Cluster Disk State | 1.0.0 | HyperV cluster disk state. Possible values: Offline : 0, Failed : 1, Inherited : 2, Initializing : 3, Pending : 4, OnlinePending : 5, OfflinePending : 6, Unknown : 7, Online : 8 | ||
windows_mssql_cluster_databaseStatus | Database Status | 1.0.0 | 0 = ONLINE 1 = RESTORING 2 = RECOVERING SQL Server 2008 and later 3 = RECOVERY_PENDING SQL Server 2008 and later 4 = SUSPECT 5 = EMERGENCY SQL Server 2008 and later 6 = OFFLINE SQL Server 2008 and later 7 = COPYING Azure SQL Database Active Geo-Replication 10 = OFFLINE_SECONDARY Azure SQL Database Active Geo-Replication | |||
windows_mssql_cluster_databaseActiveUsers | Database Active Users | count | 1.0.0 | Monitors the number of active user transactions per database | ||
windows_mssql_cluster_datafilesFreeSpace | Data Files Free Space | % | 1.0.0 | Monitors datafiles free space regardless of auto-growth. | ||
windows_mssql_cluster_databaseFreeSpace | Database Free Space | % | 1.0.0 | Monitors Database Freespace in Percentage. | ||
windows_mssql_cluster_dbLogCacheHitRatio | DB Log Cache Hit Ratio | % | 1.0.0 | Monitors MSSQL database log cache-hit ratio. | ||
windows_mssql_cluster_dbLogfilesFreeSpace | DB Logfiles Free Space | % | 1.0.0 | Monitors MSSQL database LogFiles free space. | ||
windows_mssql_cluster_minsSinceLastLogBackup | Mins since Last Log Backup | m | 1.0.0 | Monitors Database transaction log backup in minutes. | ||
windows_mssql_cluster_minsSinceLastLogFullBackup | Mins since Last Log Full Backup | m | 1.0.0 | Monitors Database Backup status in Minutes since Last Full Backup. | ||
windows_mssql_cluster_fileGroupFreespaceWithAvailableDisk | File Group Free Space with Available Disk | % | 1.0.0 | Monitor MSSQL DB Filegroup Freespace with Available Disk. | ||
windows_mssql_cluster_dbFileGroupFreespace | DB File Group Free Space | % | 1.0.0 | Monitors MSSQL DB Filegroup Freespace. | ||
windows_mssql_cluster_longRunningQueriesLast5minCount | Long Running Queries Last 5min Count | count | 1.0.0 | Monitors MSSQL Database Long Running queries count Last 5 minutes. | ||
windows_mssql_cluster_serverIOBusy | Server IO Busy | % | 1.0.0 | Monitors MSSQL DB Server IO Busy. | ||
windows_mssql_cluster_dbWorkspaceMemory | DB Workspace Memory | % | 1.0.0 | Monitors MSSQL Database Workspace Memory in Percentage. | ||
windows_mssql_cluster_dbInstanceCpuUtilization | DB Instance CPU Utilization | % | 1.0.0 | Monitors MSSQL Database Instance CPU Utilization in percentage. | ||
windows_mssql_cluster_logfileFreespaceWithAvailableDisk | Logfile Free Space with Available Disk | % | 1.0.0 | Monitors MSSQL DB Logfile Freespace with Available Disk in percentage. | ||
windows_mssql_cluster_instanceFreeConnections | Instance Free Connections | % | 1.0.0 | Monitors MSSQL Database Instance Free Connections in percentage | ||
windows_mssql_cluster_daysSinceLastFullBackup | Days since Last Full Backup | Days | 1.0.0 | MSSQL DB Backup Days Since Last Full Backup. | ||
windows_mssql_cluster_daysSinceLastLogBackup | Days since Last Log Backup | Days | 1.0.0 | MSSQL DB Backup Days Since Last Log Backup. | ||
windows_mssql_cluster_daysSinceLastDifferentialBackup | Days since Last Differential Backup | Days | 1.0.0 | MSSQL DB Backup Days Since Last Differential Backup. | ||
windows_mssql_cluster_alwaysOnDBAvailabilitySyncHealth | AlwaysOn DB Availability Sync Health | 1.0.0 | MSSQL AlwaysOn DataBase Availability Synchronization Health - Below are the possible states: 0 : NOT_HEALTHY 1 : PARTIALLY_HEALTHY 2 : HEALTHY | |||
windows_mssql_cluster_alwaysOnAGSyncHealth | AlwaysOn AG Sync Health | 1.0.0 | MSSQL AlwaysOn Availability Group Synchronization Health - Below are the possible values: 0 : NOT_HEALTHY, 1 : PARTIALLY_HEALTHY, 2 : HEALTHY | |||
windows_mssql_cluster_alwaysOnListenerState | AlwaysOn Listener State | 1.0.0 | MSSQL AlwaysOn Listener State - Below are the possible values: 0 : OFFLINE, 1 : ONLINE, 2 : ONLINE_PENDING, 3 : FAILED | |||
windows_mssql_cluster_cpuBusy | CPU Busy | microsec | 1.0.0 | MSSQL CPU Busy | ||
windows_mssql_cluster_cpuIdle | CPU Idle | microsec | 1.0.0 | MSSQL CPU IDLE | ||
windows_mssql_cluster_cpuIOBusy | CPU IO Busy | microsec | 1.0.0 | MSSQL CPU IoBusy | ||
windows_mssql_cluster_alwayson_database_replicaState | MSSQL AlwaysOn availability Group Replica State | 1.0.0 | It monitors the MSSQL Always On Database Replica synchronization state along with role description. Below are the possible states: PRIMARY_NOT SYNCHRONIZING - 0, PRIMARY_SYNCHRONIZING - 1, PRIMARY_SYNCHRONIZED - 2, PRIMARY_REVERTING - 3, PRIMARY_INITIALIZING - 4, SECONDARY_NOT SYNCHRONIZING - 5, SECONDARY_SYNCHRONIZING - 6, SECONDARY_SYNCHRONIZED - 7, SECONDARY_REVERTING - 8, SECONDARY_INITIALIZING - 9 |
Default Monitoring Configurations
Windows-hyper v-cluster has default Global Device Management Policies, Global Templates, Global Monitors and Global Metrics in OpsRamp. You can customize these default monitoring configurations as per your business use cases by cloning respective Global Templates and Global Device Management Policies. We recommend doing this activity before installing the application to avoid noise alerts and data.
Default Global Device Management Policies
You can find the Device Management Policy for each Native Type at Setup > Resources > Device Management Policies. Search with suggested name in global scope. Each Device Management Policy follows below naming convention:
{appName nativeType - version - Mode}
Ex: windows-hyperv-cluster Windows HyperV Cluster - 1 - Cluster(i.e, appName = windows-hyperv-cluster, nativeType =Windows HyperV Cluster, version = 1, Mode = Cluster)
Default Global Templates
You can find the Global Templates for each Native Type at Setup > Monitoring > Templates. Search with suggested names in global scope. Each template follows below naming convention:
{appName Mode nativeType 'Template' - version}
Ex: windows-hyperv-cluster Cluster Windows HyperV Cluster Template - 1 (i.e, appName = windows-hyperv-cluster , nativeType = Windows HyperV Cluster, version = 1, Mode = Cluster)
Default Global Monitors
You can find the Global Monitors for each Native Type at Setup > Monitoring > Monitors. Search with suggested name in global scope. Each Monitors follows below naming convention:
{monitorKey appName nativeType - version}
Ex: Windows HyperV Cluster Monitor windows-hyperv-cluster Windows HyperV Cluster 1 (i.e, monitorKey = Windows HyperV Cluster Monitor, appName = windows-hyperv-cluster , nativeType = Windows HyperV Cluster , version= 1)
Configure and Install the Windows HyperV Cluster Integration
- To select your client, navigate to All Clients, and click the Client/Partner dropdown menu.
Note: You may either type your client’s name in the search bar or select your client from the list. - Navigate to Setup > Account. The Account Details screen is displayed.
- Click Integrations. The Installed Integrations screen is displayed with all the installed applications.
Note: If you do not have any installed applications, you will be navigated to the Available Integrations and Apps page with all the available applications along with the newly created application with the version. - Click + ADD on the Installed Integrations page. Note: Search for the integration either by entering the name of the integration in the search bar or by selecting the category of the integration from the All Categories dropdown list.
- Click ADD in the Windows HyperV Cluster application.
- In the Configuration page, click + ADD. The Add Configuration page appears.
- Enter the following BASIC INFORMATION:
Field Name | Description | Field Type |
---|---|---|
Name | Enter the name for the configuration. | String |
Mode | choose Cluster or Standalone based the providing Windows HyperV configuration.
| Dropdown |
IP Address/Host Name of Hyper-V cluster | Enter the IP address/host name of the Hyper-V Cluster. It should be accessible from Gateway. | String |
Is Secure | Select this checkbox if you want the communication between your system and the specified endpoint to be secured using protocols such as HTTPS (HTTP over SSL/TLS). Default Selection:7 When selected, it signifies that the connection is encrypted, providing an added layer of security to the data being transmitted. | Checkbox |
Windows Cluster Credentials | Select the credential associated with your Commvault account. If you want to use the existing credentials, select them from the Select Credentials dropdown. Else, click + Add to create credentials. The ADD CREDENTIAL window is displayed. Enter the following information.
| Dropdown |
App Failure Notifications | When selected, you will be notified in case of an application failure such as Connectivity Exception, Authentication Exception. | Checkbox |
- CUSTOM ATTRIBUTES: Custom attributes are the user-defined data fields or properties that can be added to the preexisting attributes to configure the integration.
Field Name | Description | Field Type |
---|---|---|
Custom Attribute | Select the custom attribute from the dropdown. You can add attributes by clicking the Add icon (+). | Dropdown |
Value | Select the value from the dropdown. | Dropdown |
Note: The custom attribute that you add here will be assigned to all the resources that are created by the integration. You can add a maximum of five custom attributes (key and value pair).
- In the RESOURCE TYPE section, select:
- ALL: All the existing and future resources will be discovered.
- SELECT: You can select one or multiple resources to be discovered.
- In the DISCOVERY SCHEDULE section, select recurrence pattern to add one of the following patterns:
- Minutes
- Hourly
- Daily
- Weekly
- Monthly
- Click ADD.
- Now the configuration is saved and displayed on the configurations page after you save it. From the same page, you may Edit and Remove the created configuration..
- Click NEXT.
- In the Installation page, select an existing registered profile, and click FINISH.
The application is now installed and displayed on the Installed Integration page. Use the search field to find the installed application.
Modify the Configuration
See Modify an Installed Integration or Application article.
Note: Select the Windows HyperV Cluster application.
View the Windows HyperV Cluster Details
- Navigate to Infrastructure > Search > Virtualization > Windows HyperV Cluster. The Windows HyperV Cluster page is displayed.
- Select the application on the Windows HyperV Cluster page
- The RESOURCE page appears from the right.
- Click the ellipsis (…) on the top right and select View Details.
- Navigate to the Attributes tab to view the discovery details.
View resource metrics
To confirm Windows HyperV Cluster monitoring, review the following:
- Metric graphs: A graph is plotted for each metric that is enabled in the configuration.
- Alerts: Alerts are generated for metrics that are configured as defined for integration.
- Click the Metrics tab to view the metric details for Windows HyperV Cluster.
Risks, Limitations & Assumptions
- The integration can manage critical/recovery failure alerts for the following two scenarios when the user activates App Failure Notifications in the settings:
- Connectivity Exception
- Authentication Exception
- Application will not send any duplicate/repeat failure alert notification until the already existing critical alert is recovered.
- Using metrics for monitoring the resources and generating alerts when the threshold values are breached.
- Application cannot control monitoring pause/resume actions based on above alerts.
- This application supports both Classic Gateway and NextGen Gateway.
- Not supported with Cluster Gateway.
- No support of showing activity log and applied time.
- For a Windows HyperV cluster, If Standalone Mode is selected part of configuration, only Windows HyperV Server will get created/updated. Windows HyperV Cluster wont be discovered and will get deleted if already exists.
- Latest snapshot metric support from gateway version 14.0.0.
- Component level thresholds can be configured on each resource level.
Troubleshooting
Before troubleshooting, ensure all Windows HyperV Cluster prerequisites are met.
If the Windows HyperV Cluster integration fails to Discover or Monitor, try the following troubleshooting steps:
- Check if any alerts have been generated on the cluster or gateway, or if there are any error logs in vprobe.
- If an error or alert is related to the End Device Connectivity or Authentication issue, try to establish connection with the end device from a gateway using below power shell command:
- In the case of a NextGen gateway, first connect to native bridge container using
{kubectl exec -it nextgen-gw-0 -c nativebridge -- /bin/bash}
and then run below commands. For classic gateway directly run below commands. - Launch power shell using the
{pwsh}
command. - Run the bellow commands to establish connection, using the details of your end device.
{$pw = convertto-securestring -AsPlainText -Force -String "<password>"}
{$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist "<username>", $pw}
{$session = new-pssession -computername "<ipAddress>" -credential $cred -Authentication Negotiate -ErrorAction Stop}
{session.state}
Note: The session state should be open.
- If the session is not establishing, cross check that all of the prerequisites are met on all servers and clusters.
- If the session does establish, check if the failover modile is installed on all servers and clusters with the following commands:
- If the cluster is set up, run
{get-cluster | Select-Object name, id, domain, sharedvolumesroot, description}
in the cluster and all nodes. - If the cluster is not set up, run{get-disk | select FriendlyName, UniqueId, Manufacturer, Model, NumberOfPartitions, ProvisioningType, PartitionStyle, DiskNumber, Size}
in the server.
- If the cluster is set up, run
- If the previous commands fail, run the below commands to install a failover module.
{Install-WindowsFeature -name FailOver-Clustering -IncludeManagementTools}
{Import-module failovercluster}
- If the discovery and monitoring is still failing, run scripts from SDKAppDebugGCLICommandRequests(TargetAPI/SSHCommand) to check for errors.
- In the case of a NextGen gateway, first connect to native bridge container using
To validate new powershell scripts, use the following steps:
- In the case of a NextGen gateway, first connect to a native bridge container using
{kubectl exec -it nextgen-gw-0 -c nativebridge -- /bin/bash}
, and then run below commands. For a classic gateway, directly run below commands.- Execute the command
{"cat > <new script file name>”}
. Copy the content of the script with the required changes and paste in the command. - Exit the cat command using
{Ctrl + Z}
- Execute the script using the command
{pwsh -File <script file name> <host ip> <username> <base64 encoded password> 0}
- Execute the command
To validate scropt changes for existing script files, use the following steps:
- In the case of a NextGen gateway, first connect to a native bridge using
{kubectl exec -it nextgen-gw-0 -c nativebridge -- /bin/bash}
, then proceed to the next steps. If using a classic gateway, proceed directly to the next steps.- Navigate to the path, cd /opt/gateway/content/scripts/windows-hyperv-cluster.
- Get a backup of the file using the command,
{cp <script file name to be modifed> <backup file name>}
. - Execute the command
{cat ><script file name>}
. For the script file name, copy and paste the content of the script with the required changes. - Exit the cat command using
{Crtl + Z}
. - Check the last modified time for the script file using the command
{ll}
. The last modified time should be the current time. - Execute the script using the command
{pwsh -File <script file name> <host ip> <username> <base64 encoded password> 0}
. - If the script is responding, restart the POD using the appropriate command:
- If using a Next Gen gateway, use
{kubectl delete pod nextgen-gw-0}
- If using a classic gateway, use
{service vprobe restart}
- If using a Next Gen gateway, use