S2D reporting

Mohamed jihad bayali 1,131 Reputation points
2023-09-05T09:43:33.8633333+00:00

Hello Team,

I'm running an S2D cluster, and i'm looking for a reporting to have the following informations :

-Storage consumption at the cluster level
-Ressource consumption on the node level (cpu,memory)
-Listing of VMs on the cluster + Ressource allocation and utilization

Is there a native reporting to S2D making it possible to have this informations or i should develop a powershell script to have these informations? If you have a similar powershell script that give such infos, thanks to shar ewith me

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,615 questions
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
642 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 44,091 Reputation points
    2023-09-06T12:25:09.15+00:00
    Hello there,
    
    The Get-ClusterNode cmdlet gets information about one or more nodes, or servers, in a failover cluster.
    
    The Get-StorageEnclosure cmdlet gets storage enclosures that are visible to your computer.
    
    Try something like this.
    
    Get-Cluster -PipelineVariable cluster |
    ForEach-Object -Process {
      $ds = Get-Datastore -RelatedObject $cluster | where{$_.ExtensionData.Summary.MultipleHostAccess}
      $totCapacity, $totFree, $totUncommitted = ($ds.ExtensionData.Summary | Measure-Object -Property Capacity, FreeSpace, Uncommitted -Sum).Sum
      [PSCustomObject]@{
        Cluster = $cluster.Name
        CapacityGB = [math]::Round($totCapacity/1GB,1)
        UsedGB = [math]::Round(($totCapacity - $totFree)/1GB,1)
        FreeGB = [math]::Round($totFree / 1GB, 1)
        ProvisionedGB = [math]::Round(($totCapacity - $totFree + $totUncommitted) / 1GB, 1)
        UncommittedGB = [math]::Round($totUncommitted / 1GB, 1)
      }
    }
    
    Hope this resolves your Query !!
    
    --If the reply is helpful, please Upvote and Accept it as an answer–
    
    0 comments No comments

0 additional answers

Sort by: Most helpful