Deployment Architecture

SHC captainの確認方法について

cwl
Contributor

Search Head Clustering (SHC) のバージョン6.5.0を使っていますが、sshを使って、SHCの各ノードにアクセスする権限はないので、"splunk show shcluster-status"コマンドからSHCのcaptainを特定することができず、UIからどのSHCノードがcaptainであるかの確認方法はありますでしょうか。

0 Karma
1 Solution

cwl
Contributor

各ノードのsplunkd.logを検索することにより、SHCのcaptainを特定することができます。
UIから以下のサーチ文を使うことで、captainを特定することができます。

index=_internal sourcetype=splunkd "All hail leader"

例えば、3ノード(sh1, sh2, sh3)のSHCでsh1がcaptainの場合、sh2およびsh3のsplunkd.logには以下のようなメッセージが表示されるはずです。

INFO  SHCRaftConsensus - All hail leader https://sh1:8089 for term 10

View solution in original post

cwl
Contributor

各ノードのsplunkd.logを検索することにより、SHCのcaptainを特定することができます。
UIから以下のサーチ文を使うことで、captainを特定することができます。

index=_internal sourcetype=splunkd "All hail leader"

例えば、3ノード(sh1, sh2, sh3)のSHCでsh1がcaptainの場合、sh2およびsh3のsplunkd.logには以下のようなメッセージが表示されるはずです。

INFO  SHCRaftConsensus - All hail leader https://sh1:8089 for term 10
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...