AzStackHciStorage/AzStackHci.Storage.Helpers.psm1

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 AzStackHciStoragePoolTarget : HealthModel {}
class AzStackHciStorageVolumeTarget : HealthModel {}

Import-LocalizedData -BindingVariable lnTxt -FileName AzStackHci.Storage.Strings.psd1


# Test Methods

function Test-HciStoragePool
{
    [CmdletBinding()]
    param (
        [Parameter(Mandatory = $true, HelpMessage = "Pool configuration xml from Storage role.")]
        [XML]
        $PoolConfigXml,

        [Parameter(Mandatory = $true, HelpMessage = "Total number of cluster nodes.")]
        [uint32]
        $NodeCount
    )
    try
    {
        $instanceResult = New-Object AzStackHciStoragePoolTarget
        $instanceResult.Name = 'AzStackHci_Storage_Test_Storage_Pool'
        $instanceResult.Title = 'Test Storage Pool'
        $instanceResult.Severity = 'Critical'
        $instanceResult.Description = 'Checking storage pool for upgrade readiness'
        $instanceResult.TargetResourceID = 'StoragePool'
        $instanceResult.TargetResourceName = '(None)'
        $instanceResult.TargetResourceType = 'Storage Pool'
        $instanceResult.Timestamp = [datetime]::UtcNow
        $instanceResult.HealthCheckSource = $ENV:EnvChkrId
        $instanceResult.Status = 'Succeeded'

        # Get storage pool
        $pool = Get-StoragePool -IsPrimordial:$false -ErrorAction Ignore
        Log-Info -Message "Storage Pool: `n$($pool | ft | Out-String)"

        # Get S2D status
        $s2d = Get-ClusterS2D -ErrorAction Ignore
        Log-Info -Message "ClusterS2D: `n$($s2d | fl | Out-String)"
        $s2dEnabled = $s2d -and $s2d.State -eq 'Enabled'

        # Check pool existence vs S2D status, only below combinations are valid
        # 1. S2D is enabled and single storage pool found
        # 2. S2D is not enabled and no storage pool is found
        Log-Info -Message "Checking storage pool existence vs S2D status"
        if ($pool)
        {
            if (@($pool).Count -eq 1)
            {
                $instanceResult.TargetResourceName = $pool.FriendlyName
                if (-not $s2dEnabled)
                {
                    $instanceResult.Status = 'Failed'
                    $instanceResult.Remediation = ($lnTxt.RemNonS2DStoragePoolFound -f $pool.FriendlyName)
                    return $instanceResult
                }
            }
            else
            {
                $instanceResult.Status = 'Failed'
                $instanceResult.Remediation = $lnTxt.RemMultipleStoragePoolFound
                return $instanceResult
            }
        }
        else
        {
            if ($s2dEnable)
            {
                $instanceResult.Status = 'Failed'
                $instanceResult.Remediation = $lnTxt.RemS2DEnabledWithoutStoragePool
                return $instanceResult
            }
        }

        # Check pool health status
        if ($pool)
        {
            Log-Info -Message "Checking health state for storage pool '$($pool.FriendlyName)'"
            if ($pool.OperationalStatus -ne 'OK' -or $pool.HealthStatus -ne 'Healthy')
            {
                $instanceResult.Status = 'Failed'
                $instanceResult.Remediation = ($lnTxt.RemStoragePoolNotHealthy -f $pool.FriendlyName, $pool.OperationalStatus, $pool.HealthStatus)
                return $instanceResult
            }
            elseif ($pool.IsReadOnly)
            {
                $instanceResult.Status = 'Failed'
                $instanceResult.Remediation = ($lnTxt.RemStoragePoolIsReadOnly -f $pool.FriendlyName)
                return $instanceResult
            }
        }

        # Check pool capacity for infrastructure volumes creation
        if ($pool)
        {
            Log-Info -Message "Checking remaining capacity in storage pool '$($pool.FriendlyName)'"
            $remainingCapacity = $pool.Size - $pool.AllocatedSize
            $requiredInfraCapacity = GetRequiredInfraVolumeRawSizeTotalInBytes -PoolConfigXml $PoolConfigXml -NodeCount $NodeCount
            if ($remainingCapacity -lt $requiredInfraCapacity)
            {
                $instanceResult.Status = 'Failed'
                $instanceResult.Remediation = ($lnTxt.RemInsufficientPoolCapacityForInfraVolumes -f $pool.FriendlyName, $remainingCapacity, $requiredInfraCapacity)
                return $instanceResult
            }
        }

        return $instanceResult
    }
    catch
    {
        throw $_
    }
}

function Test-HciStorageVolumes
{
    [CmdletBinding()]
    param (
        [Parameter(Mandatory = $true, HelpMessage = "Pool configuration xml from Storage role.")]
        [XML]
        $PoolConfigXml,

        [Parameter(Mandatory = $true, HelpMessage = "Total number of cluster nodes.")]
        [uint32]
        $NodeCount
    )
    try
    {
        $instanceResults = @()

        # Get the preserved names of infra volumes
        $infraVolumeNames = @(GetRequiredInfraVolumeNames -PoolConfigXml $PoolConfigXml -NodeCount $NodeCount)

        # Get current volumes on the stamp
        $currentVDs = Get-VirtualDisk -ErrorAction Ignore
        Log-Info -Message "Virtual Disks: `n$($currentVDs | ft | Out-String)"
        $currentVolumeNames = @($currentVDs | % FriendlyName)

        # Check if current volume name conflicts with preserved infrastructure volumes
        Log-Info -Message "Checking storage volume name conflicts"
        foreach ($infraName in $infraVolumeNames)
        {
            $instanceResult = New-Object AzStackHciStorageVolumeTarget
            $instanceResult.Name = 'AzStackHci_Storage_Test_Storage_Volume'
            $instanceResult.Title = 'Test Storage Volume'
            $instanceResult.Severity = 'Critical'
            $instanceResult.Description = 'Checking storage volumes for upgrade readiness'
            $instanceResult.TargetResourceID = $infraName
            $instanceResult.TargetResourceName = $infraName
            $instanceResult.TargetResourceType = 'Storage Volume'
            $instanceResult.Timestamp = [datetime]::UtcNow
            $instanceResult.HealthCheckSource = $ENV:EnvChkrId
            $instanceResult.Status = 'Succeeded'

            if ($currentVolumeNames -contains $infraName)
            {
                $instanceResult.Status = 'Failed'
                $instanceResult.Remediation = ($lnTxt.RemInfraVolumeNameConflict -f $infraName)
            }

            $instanceResults += $instanceResult
        }

        return $instanceResults
    }
    catch
    {
        throw $_
    }
}


# Intenral Methods

function GetRequiredInfraVolumeRawSizeTotalInBytes
{
    [CmdletBinding()]
    param (
        [Parameter(Mandatory = $true)]
        [XML]
        $PoolConfigXml,

        [Parameter(Mandatory = $true)]
        [uint32]
        $NodeCount
    )

    $poolConfig = $PoolConfigXml.StoragePool

    # Compute total size of (fixed-size) infrastructure volumes
    $totalInfraVolSize = 0
    foreach ($volConfig in $poolConfig.Volumes.Volume | ? { $_.Size -and $NodeCount -ge $_.MinNodeCount })
    {
        $volSize = Invoke-Expression $volConfig.Size
        $totalInfraVolSize += $volSize
    }

    # Compute raw size after mirroring
    $storageEfficiency = if ($NodeCount -le 2) { 1/2 } else { 1/3 }
    $totalInfraVolSize = [uint64]($totalInfraVolSize / $storageEfficiency)
    Log-Info -Message "Total infrastructure volumes raw size required: $totalInfraVolSize, with storage efficiency: $storageEfficiency"

    return $totalInfraVolSize
}

function GetRequiredInfraVolumeNames
{
    [CmdletBinding()]
    param (
        [Parameter(Mandatory = $true)]
        [XML]
        $PoolConfigXml,

        [Parameter(Mandatory = $true)]
        [uint32]
        $NodeCount
    )

    $poolConfig = $PoolConfigXml.StoragePool

    $infraVolumeNames = $poolConfig.Volumes.Volume | ? { $_.Size -and $NodeCount -ge $_.MinNodeCount } | % Name
    Log-Info -Message "Required infrastructure volumes: [$infraVolumeNames]"

    return $infraVolumeNames
}
# SIG # Begin signature block
# MIInkwYJKoZIhvcNAQcCoIInhDCCJ4ACAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAw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