Icinga / Icinga/icinga-powershell-plugins

One Azure cluster, three node created, but why have two primordial storage pools. One is IsClustered One is not IsClustered

Open
#297 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
55
Forks
30
PR merge metrics
No merged PRs in 30d

Description

here is the output of an S2D Cluster-Node:

PS C:> Get-IcingaWindowsInformation -ClassName MSFT_StoragePool -Namespace 'Root/Microsoft/Windows/Storage'

FriendlyName OperationalStatus HealthStatus IsPrimordial IsReadOnly Size AllocatedSize


Primordial OK Healthy True False 35.15 TB 34.93 TB
Primordial OK Healthy True False 35.15 TB 34.93 TB
S2D on HVCluster OK Healthy False False 34.92 TB 14.03 TB
ObjectId : {1}\HVCluster\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StoragePool.ObjectId="{3df4ae72-9232-11eb-8f49-806e6f6e6963}:SP:{3df4ae71-9232-11eb-8f49-806e6f6e6963}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {3df4ae71-9232-11eb-8f49-806e6f6e6963}
AllocatedSize : 38402187591680
ClearOnDeallocate : False
EnclosureAwareDefault : False
FaultDomainAwarenessDefault : 1
FriendlyName : Primordial
HealthStatus : 0
IsClustered : False
IsPowerProtected : False
IsPrimordial : True
IsReadOnly : False
LogicalSectorSize :
MediaTypeDefault : 0
Name :
OperationalStatus : {2}
OtherOperationalStatusDescription :
OtherUsageDescription :
PhysicalSectorSize :
ProvisioningTypeDefault : 2
ReadOnlyReason : 1
RepairPolicy : 3
ResiliencySettingNameDefault : Mirror
RetireMissingPhysicalDisks : 1
Size : 38647004250112
SupportedProvisioningTypes : {1, 2}
SupportsDeduplication : True
ThinProvisioningAlertThresholds : {70}
Usage : 1
Version : 22
WriteCacheSizeDefault : 18446744073709551615
WriteCacheSizeMax : 18446744073709551614
WriteCacheSizeMin : 0
PSComputerName :

ObjectId : {1}\HVCluster\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StoragePool.ObjectId="{5ec1c4b3-5439-4733-8c3b-b5e59ad946a4}:SP:{9bd339ca-5086-4012-b70d-1b0a94381e46}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {9bd339ca-5086-4012-b70d-1b0a94381e46}
AllocatedSize : 38402187591680
ClearOnDeallocate : False
EnclosureAwareDefault : False
FaultDomainAwarenessDefault : 1
FriendlyName : Primordial
HealthStatus : 0
IsClustered : True
IsPowerProtected : False
IsPrimordial : True
IsReadOnly : False
LogicalSectorSize :
MediaTypeDefault : 0
Name :
OperationalStatus : {2}
OtherOperationalStatusDescription :
OtherUsageDescription :
PhysicalSectorSize :
ProvisioningTypeDefault : 2
ReadOnlyReason : 1
RepairPolicy : 3
ResiliencySettingNameDefault : Mirror
RetireMissingPhysicalDisks : 1
Size : 38647004250112
SupportedProvisioningTypes : {2}
SupportsDeduplication : True
ThinProvisioningAlertThresholds : {70}
Usage : 1
Version : 22
WriteCacheSizeDefault : 18446744073709551615
WriteCacheSizeMax : 18446744073709551614
WriteCacheSizeMin : 0
PSComputerName :

ObjectId : {1}\HVCluster\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StoragePool.ObjectId="{5ec1c4b3-5439-4733-8c3b-b5e59ad946a4}:SP:{afff8b57-b7f2-4309-8d03-e8d9bcb8223b}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {afff8b57-b7f2-4309-8d03-e8d9bcb8223b}
AllocatedSize : 15425911914496
ClearOnDeallocate : False
EnclosureAwareDefault : False
FaultDomainAwarenessDefault : 3
FriendlyName : S2D on HVCluster
HealthStatus : 0
IsClustered : True
IsPowerProtected : True
IsPrimordial : False
IsReadOnly : False
LogicalSectorSize : 4096
MediaTypeDefault : 0
Name :
OperationalStatus : {2}
OtherOperationalStatusDescription :
OtherUsageDescription : Reserved for S2D
PhysicalSectorSize : 4096
ProvisioningTypeDefault : 2
ReadOnlyReason : 1
RepairPolicy : 3
ResiliencySettingNameDefault : Mirror
RetireMissingPhysicalDisks : 3
Size : 38396818882560
SupportedProvisioningTypes : {2}
SupportsDeduplication : True
ThinProvisioningAlertThresholds : {70}
Usage : 1
Version : 22
WriteCacheSizeDefault : 18446744073709551615
WriteCacheSizeMax : 18446744073709551614
WriteCacheSizeMin : 0
PSComputerName :

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the output from Get-IcingaWindowsInformation with ClassName MSFT_StoragePool in the Root/Microsoft/Windows/Storage namespace. Compare how the plugin represents the two Primordial pools and the S2D pool, focusing on IsPrimordial and IsClustered. Done means establishing whether the duplicate pools are expected and, if not, identifying the concrete correction needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.