AWS EC2 시스템의 SolrCloud 설정에 문제가 있습니다. 시나리오는 다음과 같습니다.AWS EC2 시스템의 Solrcloud 구성
나는 사육사와 solr에 대해 세 대의 서버가 있습니다.
각 서버에는 사육사가 있습니다. zookeeper 호스트 정보로 Solr을 시작하면 예상대로 시작되고 작동합니다.
문제는 사육사가 클러스터 정보를 생성 할 때 서버의 개인 IP를 사용하므로 개인 IP를 인식 할 수없는 Solrj를 사용하여 쿼리 할 수 없다는 것입니다. 예 : server1. zookeeper는 사설 IP로 solr 인스턴스를 인식합니다 (외부 EC2 머신에서는 보이지 않음).
The cluster information looks something like this:
live nodes:[10.165.15.104:8983_solr] collections:{vicon=DocCollection(vicon)={
"shards":{"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{"10.165.15.104:8983_solr_vicon":{
"shard":"shard1",
"state":"down",
"core":"vicon",
"collection":"vicon",
"node_name":"10.165.15.104:8983_solr",
"base_url":"http://10.165.15.104:8983/solr",
"leader":"true"}}}},
"router":"compositeId"}, collection1=DocCollection(collection1)={
"shards":{"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{"10.165.15.104:8983_solr_collection1":{
"shard":"shard1",
"state":"down",
"core":"collection1",
"collection":"collection1",
"node_name":"10.165.15.104:8983_solr",
"base_url":"http://10.165.15.104:8983/solr",
"leader":"true"}}}},
"router":"compositeId"}, collections=DocCollection(collections)={
"shards":{"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{
"10.165.15.104:8983_solr_collections":{
"shard":"shard1",
"state":"active",
"core":"collections",
"collection":"collections",
"node_name":"10.165.15.104:8983_solr",
"base_url":"http://10.165.15.104:8983/solr",
"leader":"true"},
"10.147.129.56:8983_solr_collections":{
"shard":"shard1",
"state":"down",
"core":"collections",
"collection":"collections",
"node_name":"10.147.129.56:8983_solr",
"base_url":"http://10.147.129.56:8983/solr"}}}},
"router":"compositeId"}}
라이브 노드 IP는 우리가 호스트 이름이 아닌 IP와 같은 클러스터 정보를 저장하기 위해 사육사 수있는 방법은 없나요 사설 IP가 아닌 공개 한
입니다. 어떻게하면 AWS EC2 시스템에서 solr Cloud를 실행할 수 있습니까?
감사 일 것입니다! 이것은 오랫동안 나를 괴롭 히고있다 :) –