Elasticsearch 2.3.3 插件和集群 centos 7
2016-07-11 12:20
309 查看
一、插件
1.Kibana
参考文档:https://www.elastic.co/guide/en/kibana/current/index.html
2.Marvel
新版Marvel属于Kibana的插件,必须先安装Kibana
参考文档:https://www.elastic.co/guide/en/marvel/current/index.html
3.Smart Chinese Analysis 中文分析插件
参考文档:https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-smartcn.html
4.Integrations(集成)
Integrations are not plugins, but are external tools or modules that make it easier to work with Elasticsearch.
参考地址:https://www.elastic.co/guide/en/elasticsearch/plugins/current/integrations.html
重点:
JDBC importer(JDBC导入): The Java Database Connection (JDBC) importer allows to fetch data from JDBC sources for indexing into Elasticsearch
官方说明:Elasticsearch2.0以后不支持rivers了,可以用JDBC importer代替
二、集群
1.配置文件elasticsearch.yml
参考文档:https://www.elastic.co/guide/en/elasticsearch/reference/current/modules.html
单个es安装成功后,组成集群需要修改配置文件config/elasticsearch.yml
#集群名,节点组成集群的名称必须相同
cluster.name: xxx-es
#节点名
node.name: node-1
#同一电脑安装3个es,需要修改默认端口号使其都能启动
Http.port: 9200
transport.tcp.port: 9300
network.host: [_local_,10.10.10.201]
discovery.zen.ping.unicast.hosts: ["10.10.10.201:9301","10.10.10.201:9302"]
#集群名,节点组成集群的名称必须相同
cluster.name: xxx-es
#节点名
node.name: node-2
#同一电脑安装3个es,需要修改默认端口号使其都能启动
http.port: 9201
transport.tcp.port: 9301
Network.host: [_local_,10.10.10.201]
discovery.zen.ping.unicast.hosts: ["10.10.10.201:9300","10.10.10.201:9302"]
#集群名,节点组成集群的名称必须相同
cluster.name: xxx-es
#节点名
node.name: node-3
#同一电脑安装3个es,需要修改默认端口号使其都能启动
http.port: 9202
transport.tcp.port: 9302
network.host: [_local_,10.10.10.201]
discovery.zen.ping.unicast.hosts: ["10.10.10.201:9300", "10.10.10.201:9301"]
----------------------------------------------------------------------------------------
#这里没有设置network.publish_host。研究官方文档,解释network.host是network.bind_host和network.publish_host同时设置的简写方式;而作为另一种高级用法,当使用代理服务器的时候,可能需要单独设置network.bind_host和network.publish_host为不同的值。看来读懂English还是很有收获的。
原文:
The
explained in Commonly
used network settings is a shortcut which sets the bind
host and the publish
host at the same time. In advanced used cases, such as when running behind a proxy server, you may need to set these settings
to different values:network.bind_host、network.publish_host
1.Kibana
参考文档:https://www.elastic.co/guide/en/kibana/current/index.html
2.Marvel
新版Marvel属于Kibana的插件,必须先安装Kibana
参考文档:https://www.elastic.co/guide/en/marvel/current/index.html
3.Smart Chinese Analysis 中文分析插件
参考文档:https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-smartcn.html
4.Integrations(集成)
Integrations are not plugins, but are external tools or modules that make it easier to work with Elasticsearch.
参考地址:https://www.elastic.co/guide/en/elasticsearch/plugins/current/integrations.html
重点:
JDBC importer(JDBC导入): The Java Database Connection (JDBC) importer allows to fetch data from JDBC sources for indexing into Elasticsearch
官方说明:Elasticsearch2.0以后不支持rivers了,可以用JDBC importer代替
二、集群
1.配置文件elasticsearch.yml
参考文档:https://www.elastic.co/guide/en/elasticsearch/reference/current/modules.html
单个es安装成功后,组成集群需要修改配置文件config/elasticsearch.yml
[root@localhost eshome]# vi es1/config/elasticsearch.yml
#集群名,节点组成集群的名称必须相同
cluster.name: xxx-es
#节点名
node.name: node-1
#同一电脑安装3个es,需要修改默认端口号使其都能启动
Http.port: 9200
transport.tcp.port: 9300
network.host: [_local_,10.10.10.201]
discovery.zen.ping.unicast.hosts: ["10.10.10.201:9301","10.10.10.201:9302"]
[root@localhost eshome]# vi es2/config/elasticsearch.yml
#集群名,节点组成集群的名称必须相同
cluster.name: xxx-es
#节点名
node.name: node-2
#同一电脑安装3个es,需要修改默认端口号使其都能启动
http.port: 9201
transport.tcp.port: 9301
Network.host: [_local_,10.10.10.201]
discovery.zen.ping.unicast.hosts: ["10.10.10.201:9300","10.10.10.201:9302"]
[root@localhost eshome]# vi es3/config/elasticsearch.yml
#集群名,节点组成集群的名称必须相同
cluster.name: xxx-es
#节点名
node.name: node-3
#同一电脑安装3个es,需要修改默认端口号使其都能启动
http.port: 9202
transport.tcp.port: 9302
network.host: [_local_,10.10.10.201]
discovery.zen.ping.unicast.hosts: ["10.10.10.201:9300", "10.10.10.201:9301"]
----------------------------------------------------------------------------------------
#这里没有设置network.publish_host。研究官方文档,解释network.host是network.bind_host和network.publish_host同时设置的简写方式;而作为另一种高级用法,当使用代理服务器的时候,可能需要单独设置network.bind_host和network.publish_host为不同的值。看来读懂English还是很有收获的。
原文:
The
network.hostsetting
explained in Commonly
used network settings is a shortcut which sets the bind
host and the publish
host at the same time. In advanced used cases, such as when running behind a proxy server, you may need to set these settings
to different values:network.bind_host、network.publish_host
相关文章推荐
- Linux系统PWM驱动
- 每日一linux命令(28)-------gzip命令
- arm-linux移植openssl
- Linux进程间通信
- 构建Linux根文件系统
- 深刻理解Linux进程间通信(IPC)
- CentOS6.4下安装配置OpenLdap服务
- Linux下面用c语言遍历目录opendir -> readdir -> closedir
- mysql 在linux 修改账号密码
- rhel使用Centos源
- linux 下 yum 安装mysql
- Linux的网卡由eth0变成了eth1,如何修复
- linux 下 修改mysql账号密码
- linux 下开放端口问题
- centos彻底删除文件夹、文件命令(centos 新建、删除、移动、复制等命令)
- centos 杀死进程命令
- 【Linux】文件系统结构,文件目录树及功能详解
- Centos6 服务器病毒查杀命令历史
- Linux系统下不同机器之间拷贝文件的方法
- GDB调试从基础到精通实例