Submit a ticketCall us

Training ClassThe Orion® Platform Instructor-led Classes

Provided by SolarWinds® Academy, these trainings will introduce users to the Orion Platform and its features, management, and navigation. These courses are suitable for users looking to discover new tips, tricks, and ways to adapt their Orion products to better suit their monitoring needs:
Deploying the Orion Platform
Configuring Orion views, maps, and accounts
Configuring Orion alerts and reports

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