Skype for Business 2019 Get-CsPoolFabricState sertifika kaynaklı "Health:Warning" uyarısının kapatılması.

 Get-CsPoolFabricState komutunu çağırdığınızda aşağıdaki gibi bir uyarı mesajı ile karşılaşıyorsanız bunun nedeni ssl sertifikasının süresi doluyor olabilir. 

*Pool All Server and Services Summary: Fqdn: SKYPE19-FE1.TEST.COM Primary:
    33 Secondary: 68 Fqdn: SKYPE19-FE2.TEST.COM Primary: 34 Secondary: 67 Fqdn:
    SKYPE19-FE3.TEST.COM Primary: 34 Secondary: 67 WARNING: Fqdn: SKYPE19-FE1.TEST.COM
    - Health: Warning Status: Up [Seed Node] Primary: 3 Secondary: 0 WARNING:
    Fqdn: SKYPE19-FE2.TEST.COM
    - Health: Warning Status: Up [Seed Node] Primary: 0 Secondary: 3 WARNING:
    Fqdn: SKYPE19-FE3.TEST.COM
    - Health: Warning Status: Up [Seed Node] Primary: 0 Secondary: 3 WARNING:
    One or more servers are shutdown, unhealthy or deactivated. Ensure they are
    running and activated. Restart the server if problems persist.*
    

Aşağıdaki komutu powershell üzerinden çalıştırdığınızda node'lar üzerindeki hataları daha detaylı bir şekilde görüntüleyebilirsiniz. 

PS> Connect-ServiceFabricCluster PS> Get-ServiceFabricClusterHealth
    AggregatedHealthState : Warning UnhealthyEvaluations : Unhealthy nodes: 100%
    (3/3), MaxPercentUnhealthyNodes=0%. Unhealthy node: NodeName='SKYPE19-FE2.TEST.COM', AggregatedHealthState='Warning'. Unhealthy event:
    SourceId='System.FabricNode', Property='Certificate_cluster',
    HealthState='Warning', ConsiderWarningAsError=false. Unhealthy node:
    NodeName='SKYPE19-FE3.TEST.COM', AggregatedHealthState='Warning'. Unhealthy event:
    SourceId='System.FabricNode', Property='Certificate_cluster',
    HealthState='Warning', ConsiderWarningAsError=false. Unhealthy node:
    NodeName='SKYPE19-FE1.TEST.COM', AggregatedHealthState='Warning'. Unhealthy event:
    SourceId='System.FabricNode', Property='Certificate_cluster',
    HealthState='Warning', ConsiderWarningAsError=false. NodeHealthStates :
    NodeName : SKYPE19-FE2.TEST.COM
    AggregatedHealthState : Warning NodeName : SKYPE19-FE3.TEST.COM
    AggregatedHealthState : Warning NodeName : SKYPE19-FE1.TEST.COM
    AggregatedHealthState : Warning ApplicationHealthStates : ApplicationName :
    AggregatedHealthState : Ok ApplicationName : fabric:/System
    AggregatedHealthState : Ok HealthEvents : None

Node bazında detaylarını görüntülemek için:

PS> Get-ServiceFabricNodeHealth -NodeName "SKYPE19-FE1.TEST.COM" NodeName : SKYPE19-FE1.TEST.COM
    AggregatedHealthState : Warning UnhealthyEvaluations : Unhealthy event:
    SourceId='System.FabricNode', Property='Certificate_cluster',
    HealthState='Warning', ConsiderWarningAsError=false. HealthEvents : SourceId
    : System.FabricNode Property : Certificate_cluster HealthState : Warning
    SequenceNumber : 286455765493247851 SentAt : 12/01/2023 03:05:17 PM
    ReceivedAt : 12/01/2023
    03:06:17 PM TTL : Infinite Description : Certificate expiration: (2023-04-17 05:03:00.000,
        54a502edd5d532cb2a3dd2e122545264f200378d)
    RemoveWhenExpired : False IsExpired : False Transitions : Ok->Warning =
    12/01/2023 03:07:17 PM, LastError = 1/01/0001 12:00:00 AM SourceId :
    System.FM Property : State HealthState : Ok SequenceNumber : 2 SentAt :
    12/01/2023 03:07:13 PM ReceivedAt : 12/01/2023 03:07:42 PM TTL : Infinite
    Description : Fabric node is up. RemoveWhenExpired : False IsExpired : False
    Transitions : Warning->Ok = 12/01/2023 03:07:17 PM, LastError = 1/01/0001 12:00:00 AM

Uyarı mesajını sıfırlamak için aşağıdaki komutu kullanabilirsiniz.



Send-ServiceFabricNodeHealthReport -NodeName:'SKYPE19-FE1.TEST.COM' -SourceId:'System.FabricNode' -HealthProperty:'Certificate_cluster'
    -HealthState Ok -Description "Yaklaşmakta olan sertifika yenileme tarihini kabul ediyorum."

Yorumlar

Bu blogdaki popüler yayınlar

Reporting Exchange Mail Traffic and Login Statistics with PowerShell

Bulk Resetting Active Directory User Passwords

Creating Server Disk Usage Report with PowerShell