AzStackHciAddNode/AzStackHci.AddNode.Helpers.psm1

Import-LocalizedData -BindingVariable lanTxt -FileName AzStackHci.AddNode.Strings.psd1

class HealthModel
{
    # Attributes for Azure Monitor schema
    [string]$Name #Name of the individual test/rule/alert that was executed. Unique, not exposed to the customer.
    [string]$Title #User-facing name; one or more sentences indicating the direct issue.
    [string]$Severity #Severity of the result (Critical, Warning, Informational, Hidden) - this answers how important the result is. Critical is the only update-blocking severity.
    [string]$Description #Detailed overview of the issue and what impact the issue has on the stamp.
    [psobject]$Tags #Key-value pairs that allow grouping/filtering individual tests. For example, "Group": "ReadinessChecks", "UpdateType": "ClusterAware"
    [string]$Status #The status of the check running (i.e. Failed, Succeeded, In Progress) - this answers whether the check ran, and passed or failed.
    [string]$Remediation #Set of steps that can be taken to resolve the issue found.
    [string]$TargetResourceID #The unique identifier for the affected resource (such as a node or drive).
    [string]$TargetResourceName #The name of the affected resource.
    [string]$TargetResourceType #The type of resource being referred to (well-known set of nouns in infrastructure, aligning with Monitoring).
    [datetime]$Timestamp #The Time in which the HealthCheck was called.
    [psobject[]]$AdditionalData #Property bag of key value pairs for additional information.
    [string]$HealthCheckSource #The name of the services called for the HealthCheck (I.E. Test-AzureStack, Test-Cluster).
}

class AzStackHciAddNodeTarget : HealthModel {}

function Test-ADCredential {
    [CmdletBinding()]
    param (
        [pscredential]
        $ActiveDirectoryCredential
    )
    try
    {
        $adModuleExists = [bool](Get-Module ActiveDirectory -ListAvailable -ErrorAction SilentlyContinue)
        if ($adModuleExists)
        {
            [bool]$adTest = QueryAD -ActiveDirectoryCredential $ActiveDirectoryCredential
            $detail = $lanTxt.TestAD -f $AdTest, $true
            if ($adTest)
            {
                $status = 'Succeeded'
                Log-Info $detail
            }
            else
            {
                $status = 'Failed'
                Log-Info $detail -Type Warning
            }
        }
        else
        {
            $status = 'Failed'
            $detail = $lanTxt.NoADModule
            Log-info $detail -Type Warning
        }

        $instanceResult = New-Object AzStackHciAddNodeTarget
        $instanceResult.Name = 'AzStackHci_AddNode_AD_Credential_Check'
        $instanceResult.Title = 'Test AD Credential'
        $instanceResult.Severity = 'Critical'
        $instanceResult.Description = "Checking AD Credential is valid"
        $instanceResult.Remediation = 'https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-tool-prerequisites'
        $instanceResult.TargetResourceID = 'AD Credential'
        $instanceResult.TargetResourceName = 'AD Credential'
        $instanceResult.TargetResourceType = 'Credential'
        $instanceResult.Timestamp = [datetime]::UtcNow
        $instanceResult.HealthCheckSource = $ENV:EnvChkrId
        $AdditionalData = @()
        $AdditionalData += New-Object -TypeName PSObject -Property @{
            Source    = $ENV:COMPUTERNAME
            Resource  = 'AD Credential'
            Detail    = $detail
            Status    = $status
            TimeStamp = [datetime]::UtcNow
        }
        $instanceResult.AdditionalData = $AdditionalData
        $instanceResult.Status = if ($AdditionalData.Status -contains 'Failed') { 'Failed' } else { 'Succeeded' }
        $instanceResult
    }
    catch
    {
        throw ("Error testing AD credential: {0}" -f $_.Exception)
    }
}

function QueryAD {
    [CmdletBinding()]
    param (
        [pscredential]
        $ActiveDirectoryCredential
    )
    try
    {
        $domain = $ActiveDirectoryCredential.GetNetworkCredential().domain
        if ([string]::IsNullOrEmpty($domain)) {
            if (($ActiveDirectoryCredential.UserName -split '@').count -le 1)
            {
                throw "Credential should contain domain"
            }
            else
            {
                $domain = ($ActiveDirectoryCredential.UserName -split '@')[1]
            }
        }
        return [bool](Get-ADDomain -Credential $ActiveDirectoryCredential -Server $domain -ErrorAction SilentlyContinue)
    }
    catch
    {
        throw ("Error retrieving AD Object: {0}" -f $_.Exception)
    }
}

function Test-LocalCredential {
    [CmdletBinding()]
    param (
        [pscredential]
        $LocalCredential,

        [string]
        $ComputerName
    )
    try
    {
        $PsSession = Microsoft.PowerShell.Core\New-PsSession -ComputerName $ComputerName -Credential $LocalCredential
        Install-UtilityModule -PsSession $PsSession -CmdletName Test-Elevation
        $IsAdmin = {
            Import-Module -Name AzStackHci.EnvironmentChecker -Force -ErrorAction SilentlyContinue -Scope Local
            if (Get-Command -Name Test-Elevation -ErrorAction SilentlyContinue)
            {
                Test-Elevation
            }
            else
            {
                throw "Cannot find Test-Elevation function"
            }
        }
        $result  = [bool](Microsoft.PowerShell.Core\Invoke-Command -Session $PsSession -ScriptBlock $IsAdmin -ErrorAction SilentlyContinue)
        $detail = $lanTxt.TestLocalCredential -f $LocalCredential.UserName, $computerName, $result, $true
        if ($result)
        {
            $status = 'Succeeded'
            Log-Info $detail
        }
        else
        {
            $status = 'Failed'
            Log-Info $detail -Type Warning
        }
        $instanceResult = New-Object AzStackHciAddNodeTarget
        $instanceResult.Name = 'AzStackHci_AddNode_Local_Credential_Check'
        $instanceResult.Title = 'Test Local Credential'
        $instanceResult.Severity = 'Critical'
        $instanceResult.Description = "Checking Local Credential is valid"
        $instanceResult.Remediation = 'https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-tool-prerequisites'
        $instanceResult.TargetResourceID = 'Local Credential'
        $instanceResult.TargetResourceName = 'Local Credential'
        $instanceResult.TargetResourceType = 'Credential'
        $instanceResult.Timestamp = [datetime]::UtcNow
        $instanceResult.HealthCheckSource = $ENV:EnvChkrId
        $AdditionalData = @()
        $AdditionalData += New-Object -TypeName PSObject -Property @{
            Source    = $ENV:COMPUTERNAME
            Resource  = 'Local Credential'
            Detail    = $detail
            Status    = $status
            TimeStamp = [datetime]::UtcNow
        }
        $instanceResult.AdditionalData = $AdditionalData
        $instanceResult.Status = if ($AdditionalData.Status -contains 'Failed') { 'Failed' } else { 'Succeeded' }
        return $instanceResult
    }
    catch
    {
        throw ("Error testing local credential {0} on {1}. Error: {2}" -f $LocalCredential.UserName, $ComputerName, $_.Exception)
    }
    finally
    {
        Remove-UtilityModule -PsSession $PsSession
        $PsSession | Remove-PSSession -ErrorAction SilentlyContinue
    }
}

function Test-ComputerName {
    [CmdletBinding()]
    param (
        [string]
        $ComputerName
    )
    try
    {
        $clusterNodes = Get-ClusterNode | Select-Object -ExpandProperty Name
        $result = $ComputerName -in $clusterNodes
        $detail = $lanTxt.TestComputerName -f $computerName, $result, $false
        if (-not $result)
        {
            $status = 'Succeeded'
            Log-Info $detail
        }
        else
        {
            $status = 'Failed'
            Log-Info $detail -Type Warning
        }
        $instanceResult = New-Object AzStackHciAddNodeTarget
        $instanceResult.Name = 'AzStackHci_AddNode_ComputerName_Check'
        $instanceResult.Title = 'Test ComputerName'
        $instanceResult.Severity = 'Critical'
        $instanceResult.Description = "Checking ComputerName is not in use"
        $instanceResult.Remediation = 'https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-tool-prerequisites'
        $instanceResult.TargetResourceID = $ComputerName
        $instanceResult.TargetResourceName = $ComputerName
        $instanceResult.TargetResourceType = 'Computer Name'
        $instanceResult.Timestamp = [datetime]::UtcNow
        $instanceResult.HealthCheckSource = $ENV:EnvChkrId
        $AdditionalData = @()
        $AdditionalData += New-Object -TypeName PSObject -Property @{
            Source    = $ENV:COMPUTERNAME
            Resource  = $ComputerName
            Detail    = $detail
            Status    = $status
            TimeStamp = [datetime]::UtcNow
        }
        $instanceResult.AdditionalData = $AdditionalData
        $instanceResult.Status = if ($AdditionalData.Status -contains 'Failed') { 'Failed' } else { 'Succeeded' }
        $instanceResult
    }
    catch
    {
        throw ($lanTxt.NodeNameCheckError -f $ComputerName, $_.Exception)
    }
}

function Test-ComputerIP {
    [CmdletBinding()]
    param (
        [string]
        $ComputerName,

        [pscredential]
        $LocalCredential,

        [System.Net.IPAddress]
        $Ipv4
    )
    try
    {
        # if no IP is provided, we assume this is repair and return
        if (-not $Ipv4)
        {
            return
        }
        $sb = {
            $args[0] -in (Get-NetIPAddress | Select-Object -Expand IPAddress)
        }
        $result = [bool](Microsoft.PowerShell.Core\Invoke-Command -ComputerName $ComputerName -Credential $LocalCredential -ScriptBlock $sb -ArgumentList $Ipv4 -ErrorAction SilentlyContinue)
        $detail = $lanTxt.TestComputerIp -f $computerName, $Ipv4, $result, $true
        if ($result)
        {
            $status = 'Succeeded'
            Log-Info $detail
        }
        else
        {
            $status = 'Failed'
            Log-Info $detail -Type Warning
        }
        $instanceResult = New-Object AzStackHciAddNodeTarget
        $instanceResult.Name = 'AzStackHci_AddNode_ComputerIp_Check'
        $instanceResult.Title = 'Test Computer IP'
        $instanceResult.Severity = 'Critical'
        $instanceResult.Description = "Checking Computer has IP configured"
        $instanceResult.Remediation = 'https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-tool-prerequisites'
        $instanceResult.TargetResourceID = $ComputerName
        $instanceResult.TargetResourceName = $ComputerName
        $instanceResult.TargetResourceType = 'Ip Configuration'
        $instanceResult.Timestamp = [datetime]::UtcNow
        $instanceResult.HealthCheckSource = $ENV:EnvChkrId
        $AdditionalData = @()
        $AdditionalData += New-Object -TypeName PSObject -Property @{
            Source    = $ENV:COMPUTERNAME
            Resource  = $ComputerName
            Detail    = $detail
            Status    = $status
            TimeStamp = [datetime]::UtcNow
        }
        $instanceResult.AdditionalData = $AdditionalData
        $instanceResult.Status = if ($AdditionalData.Status -contains 'Failed') { 'Failed' } else { 'Succeeded' }
        $instanceResult
    }
    catch
    {
        throw ("Error testing IP {0} is set locally on {1}. Error: {2}" -f $Ipv4, $ComputerName, $_.Exception)
    }
}

function Test-Quorum {
    <#
    .SYNOPSIS
        Check if single node cluster has correct quorum configuration
    #>

    [CmdletBinding()]
    param()
    try {
        # Get the current number of nodes in the cluster
        $CurrentNumberOfNodes = (Get-ClusterNode).Count

        # if the cluster has only one node, check if the quorum is set to NodeandFileShareMajority or CloudWitness
        if ($CurrentNumberOfNodes -eq 1)
        {
            $Quorum = Get-ClusterQuorum
            $detail = $lanTxt.QuorumCheck -f $Quorum.Cluster.Name, $CurrentNumberOfNodes, $Quorum.QuorumResource.Name,'File Share Witness or Cloud Witness'
            if ($Quorum.QuorumResource.Name -eq 'File Share Witness' -or $Quorum.QuorumResource.Name -eq 'Cloud Witness')
            {
                Log-Info $detail
                $Status = 'Succeeded'
            }
            else
            {
                Log-Info $detail -Type Warning
                $Status = 'Failed'
            }
            $instanceResult = New-Object AzStackHciAddNodeTarget
            $instanceResult.Name = 'AzStackHci_AddNode_Quorum_Resource_Check'
            $instanceResult.Title = 'Test Quorum Resource'
            $instanceResult.Severity = 'Critical'
            $instanceResult.Description = "Checking Quorum Resource is set to File Share Witness or CloudWitness"
            $instanceResult.Remediation = 'https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-tool-prerequisites'
            $instanceResult.TargetResourceID = 'Quorum Resource'
            $instanceResult.TargetResourceName = 'Quorum Resource'
            $instanceResult.TargetResourceType = 'Quorum Resource'
            $instanceResult.Timestamp = [datetime]::UtcNow
            $instanceResult.HealthCheckSource = $ENV:EnvChkrId
            $AdditionalData = @()
            $AdditionalData += New-Object -TypeName PSObject -Property @{
                Source    = $Quorum.Cluster.Name
                Resource  = 'Quorum Resource'
                Detail    = $detail
                Status    = $status
                TimeStamp = [datetime]::UtcNow
            }
            $instanceResult.AdditionalData = $AdditionalData
            $instanceResult.Status = $status
            $instanceResult
        }
    }
    catch {
        throw $_
    }
}

Export-ModuleMember -Function Test-*
# SIG # Begin signature block
# MIInkwYJKoZIhvcNAQcCoIInhDCCJ4ACAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCARviPInucTi0OI
# Wc/eshkMb19g4GXQMMHvZUinhebMhKCCDXYwggX0MIID3KADAgECAhMzAAADTrU8
# esGEb+srAAAAAANOMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjMwMzE2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