Hello List!

In the past I did a view installations of Solr5 and Solr6.
So im am uses to install solr

The question is now, I have installed Solr7.4 on 5 Hosts with zookeeper 
ensemble (5 Servers).
But I am confused about the replica core numbering:
The naming of the cores are up to core_node10 and the shard replica numbering 
also * shard1_replica_n10, on solr5 and solr6 the numbering of the cores was as 
high as the solr instances installed.

Eg:
Solr6, 3 Server with zookeeper ensemble

Shard: shard1
        • Replica: core_node1
                core:WTLAGER_shard1_replica2
                node name:solr6-1:8080_solr

        • Replica: core_node2
                core:WTLAGER_shard1_replica1
                node name:solr6-2:8080_solr

        • Replica: core_node3
                core:WTLAGER_shard1_replica3
                node name:solr6-3:8080_solr

The core numbers und replica number match the number of solr servers


Eg:
Solr7.4, 5 Server with zookeeper ensemble

Shard: shard1
        • Replica: core_node3
                core:TestCollection_shard1_replica_n1
                node name:solr7n4:8080_solr

        • Replica: core_node5
                core:TestCollection_shard1_replica_n2
                node name:solr7n5:8080_solr

        • Replica: core_node7
                core:TestCollection_shard1_replica_n4
                node name:solr7n1:8080_solr

        • Replica: core_node9
                core:TestCollection_shard1_replica_n6
                node name:solr7n2:8080_solr

        • Replica: core_node10
                core:TestCollection_shard1_replica_n8
                node name:solr7n3:8080_solr

The core numbers and the replica numbers are up to 10 (double the amount of 
servers)?
It is confusing for me...
Does it matter?
Do I miss something ?

Regards
Lothar


zoo.conf
tickTime=2000
dataDir=/var/lib/zookeeper
dataLogDir=/var/log/zookeeper
clientPort=2181
initLimit=5
syncLimit=2
maxClientCnxns=60

server.1=zookeeper1:2888:3888
server.2=zookeeper2:2888:3888
server.3=zookeeper3:2888:3888
server.4=zookeeper4:2888:3888
server.5=zookeeper5:2888:3888


solr.in.sh
ZK_HOST="zookeeper1:2181,zookeeper2:2181,zookeeper3:2181,zookeeper4:2181,zookeeper5:2181"
SOLR_MODE="solrcloud"
SOLR_HEAP="12g"
SOLR_HOST="solr7n5.**.net"
SOLR_PID_DIR="/var/solr"
SOLR_HOME="/var/solr/data"
LOG4J_PROPS="/var/solr/log4j2.xml"
SOLR_LOGS_DIR="/var/log/solr"
SOLR_PORT="8080"
SOLR_OPTS="$SOLR_OPTS -Djute.maxbuffer=50000000 "



Reply via email to