2017-09-21 11 views
0

OpenShiftでロギングプロジェクトをデプロイし、GlusterFS上にPVを作成しました.GlusterFSは、クラスタ内で3台のサーバを実行します。GlusterFSを永続ボリュームに使用し、UnavailableShardsExceptionを使用する

GlusterFSとenabled shardingの機能を使ってボリュームを作成しました。しかし、予想通りElasticsearchはそれでは動作しませんし、私はこのエラーを取得する:

FAIL: Configuration for 'config' failed because of UnavailableShardsException[[.searchguard.logging-es-6akrt1z2-11-66509][0] primary shard is not active Timeout: [1m], request: [index {[.searchguard.logging-es-6akrt1z2-11-66509][config][0], source[{"searchguard":{"dynamic":{"http":{"xff":{"enabled":true,"remoteIpHeader":"x-forwarded-for","trustedProxies":".*","internalProxies":".*"}},"authc":{"authentication_domain_proxy":{"enabled":true,"order":0,"http_authenticator":{"challenge":false,"type":"proxy","config":{"user_header":"x-proxy-remote-user"}},"authentication_backend":{"type":"noop"}},"authentication_domain_basic_internal":{"enabled":true,"order":1,"http_authenticator":{"type":"clientcert","challenge":false},"authentication_backend":{"type":"noop"}}}}}}]}]] 

どのように私はこの問題を解決するだろうか?

答えて

0

問題を解決しました。ボリュームのデフォルトのシャードサイズは小さいと思われたので、50GBに設定しました。今、新しい質問が発生します.2つのシャードを使用するようにElasticsearchを設定した場合、シャードが50 GBを超えて成長するとどうなりますか?

関連する問題