Functions icon indicating copy to clipboard operation
Functions copied to clipboard

Doesn't proceed after installing Failover-Clustering

Open danthesqlman opened this issue 3 years ago • 0 comments

I have installed the Failover-Clustering as requested. But still fails the check on the Get-module to see if the Failover Clustering exists. Output below from the PS window.

PS C:\Program Files\WindowsPowerShell\Modules\dbatools\functions> Install-WindowsFeature -Name Failover-Clustering -IncludeManagementTools

Success Restart Needed Exit Code Feature Result


True No NoChangeNeeded {}

PS C:\Program Files\WindowsPowerShell\Modules\dbatools\functions> $InstallationFolder = 'C:\Program Files\WindowsPowerShell\Modules\FailoverDetection' $DownloadFolder = 'C:\Program Files\WindowsPowerShell\Modules\FailoverDetection' $DataFolder = 'C:\Program Files\WindowsPowerShell\Modules\FailoverDetection\Data' $SQLInstance = 'USPPDW-SQLN01'

$invokeSqlFailOverDetectionSplat = @{
    DownloadFolder = $DownloadFolder
    SQLInstance = $SQLInstance
    DataFolder = $DataFolder
    InstallationFolder = $InstallationFolder
    AlreadyDownloaded = $false
    Analyze = $true
    Show = $true
}
Invoke-SqlFailOverDetection @invokeSqlFailOverDetectionSplat -WhatIf

WARNING: Sorry you dont have the failover cluster module installed so wont be abel to get the cluster log WARNING: You will need to run Install-WindowsFeature -Name Failover-Clustering -IncludeManagementTools

PS C:\Program Files\WindowsPowerShell\Modules\dbatools\functions>

danthesqlman avatar Aug 10 '20 18:08 danthesqlman