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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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