Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities. NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Microsoft Windows Server 2008 R2-2012 R2 Failover Cluster (Advanced) not Working via Agent Polling

Microsoft Windows Server 2008 R2-2012 R2 Failover Cluster (Advanced) not Working via Agent Polling

Updated February 2, 2017

Overview

The Microsoft Windows Server 2008 R2-2012 R2 Failover Cluster (Advanced) template does not execute via Agent.

It fails with the following error:

import-module : The specified module 'failoverclusters' was not loaded because no valid
module file was found in any module directory.

 

The assembly 'C:\Windows\Cluster\FailoverClusters.ObjectModel.dll' was not loaded because
no assembly with that name was found. Verify the assembly name, and then try again. 

Environment

  • SAM version 6.0 and later
  • Confirmed on Windows 2012. Could affect 2008 R2 and 2016

Cause 

The error is  caused  by how SAM launches the PowerShell runspace. It is done within a Job Engine worker process. As the failoverclusters module is 64-bit only it has issues loading correctly.

Resolution

To resolve this, we simply contain the script within another script which will launch an external PowerShell Process.

Please see the attached SAM Template. You can import this into your own SAM Installation via the following steps:

  1. Settings
  2. SAM Settings
  3. Manage Templates
  4. IMPORT/EXPORT
  5. Import
  6. Choose File
  7. Select the template file
  8. Submit

Microsoft Windows Server 2008 R2-2012 R2 Failover Cluster (Advanced) AGENT

 

Now, assign this template to your Agent Nodes and the template should execute without issue.

 

 

Last modified

Tags

Classifications

Public