...
Code Block |
---|
#------------------------------------------------------------------------------- # 1.8] MongoDB Properties #------------------------------------------------------------------------------- # MongoDB config server or servers (must be 1 or 3 comma separated IPs/hosts), non-EC2/AWS installations only # (Can be used in AWS mode for legacy clusters only, to hardwire server order) db.config.servers= # Replica set configuration (non-EC2/AWS installations only): comma-separated list of either all IPs or all hostnames within a replica set, semi-colon-separated for multiple replica sets db.replica.sets= #----------------- # (eg "A,B;C,D" where A-D are IP addresses or hostnames would create 2 shards with 2 hosts each "A,B;A,B" would create 2 shards both on the same replica set, etc) db.replica.sets= #---------------------------------------------- # db.cluster.subnet - used for non-EC2/AWS only installations to help mongodb configurations # identify proper host ip addresses, e.g. 127.0.0.AWS only installations to help mongodb configurations # identify proper host ip addresses, e.g. 127.0.0. - these are compared against the IPs in db.replica.sets # Can also be one of the following: if blank then assumes that the db.replica.sets will be a list of short hostnames - if "FQDN" then assumes that the db.replica.sets will be a list of fully qualified hostnames db.cluster.subnet= |
1.9 UI settings
...
Code Block |
---|
#------------------------------------------------------------------------------- # 1.10] Elasticsearch Properties #------------------------------------------------------------------------------- # Cluster name # Any unique name within the EC2 cluster/subnet: elastic.cluster= #---------------------------------------------- # ES nodes, e.g.: elastic.search.nodes=['NODE1:9300','NODE2:9300','NODE3:9300':] # Needed if discovery.mode=zen (not EC2/AWS), a set of IPs to try (>= 1 must be running elasticsearch) elastic.search.nodes= # If any node sees less than this number of connections it will take itself down # For a single node, should be 0 (default), for a 2-node system, should be 1, for large clusters # ideally would be CLUSTER_SIZE - #REPLICAS (and >=2), but 2 is workable if the size is not fixed # (if this is set too low then split brain situations may not be detected) elastic.search.min_peers=0 |
...
Code Block |
---|
#-------------------------------------------------------------------------------
# 2.10] Elasticsearch Properties
#----------------------------------------------
# Discovery mode = ec2 (if running on AWS) or zen (specify a list of IPs below):
elastic.node.discovery=ec2
#----------------------------------------------
# ES nodes, e.g.: elastic.search.nodes='NODE1:9300','NODE2:9300','NODE3:9300':
# Needed if discovery.mode=zen (not EC2/AWS), a set of IPs to try (>= 1 must be running elasticsearch)
elastic.search.nodes=
#-------------------------------------------------------------------------------
# mlockall = should equal true except if running on a machine with < 4GB of RAM
bootstrap.mlockall=true
# (Should normally be localhost:9300, unless an API node is running with no index node)
elastic.url=localhost:9300
# If you know your logstash and elasticsearch versions are matched up, you can improve the output performance by setting this to "binary"
elastic.logstash=http |
2.11 Harvester Properties
...