mirror of
https://github.com/apache/skywalking.git
synced 2026-11-06 10:07:51 +00:00
Page:
3.2.3 部署collector生产模式
Pages
1.0 Develop Guide of Plugin
2.0 Demo Application Cluster chn
2.0 Demo Application Cluster
2.0 Deploy Cluster chn
2.0 Deploy Cluster
2.0 How to build chn
2.0 How to build
2.0 Quick Start chn
2.0 Quick Start
2.0 Run Server Docker Images chn
2.0 Run Server Docker Images
2.x Documents
2.x Supported components
3.0 Collector TraceSegment in JSON format
3.0 Deploy cluster
3.0 Deploy docker image
3.0 Deploy skywalking agent
3.0 Trace a distributed services chain
3.0 supported list
3.0 部署Collector镜像
3.0 部署collector
3.0 部署探针Agent
3.1 supported list
3.2 Deploy cluster
3.2 Deploy skywalking agent
3.2 supported list
3.2 部署Collector镜像
3.2 部署collector
3.2 部署探针Agent
3.2.1 supported list
3.2.2 Plugin list and how to disable plugin zh
3.2.2 Plugin list and how to disable plugin
3.2.3 Deploy cluster
3.2.3 Deploy collector in standalone mode
3.2.3 Deploy skywalking agent
3.2.3 supported list
3.2.3 单机模式部署Collector
3.2.3 部署Collector
3.2.3 部署collector生产模式
3.2.3 部署探针Agent
3.2.3 集群模式部署Collector
3.2.4 supported list
FAQ_docker pull failure
Home
How to build
How to communicate with the collector?
Memory Usage and GC info
Plugin Development Guide
Quick start chn
Quick start
Sky Walking 2.x Architecture
Skywalking 3 Cross Process Propagation Headers Protocol CN
Skywalking 3 Cross Process Propagation Headers Protocol
Span tags and logging keys sample tables
Test Cases chn
Test Cases
Trace查询有数据,但是没有拓扑图和JVM数据
change project version
sky walking application toolkit chn
sky walking application toolkit log4j 1.x chn
sky walking application toolkit log4j 1.x
sky walking application toolkit log4j 2.x chn
sky walking application toolkit log4j 2.x
sky walking application toolkit logback 1.x chn
sky walking application toolkit logback 1.x
sky walking application toolkit trace chn
sky walking application toolkit trace context chn
sky walking application toolkit trace context
sky walking application toolkit trace
sky walking application toolkit
sky walking config file walkthrough
sky walking doc_Sidebar
sky walking documents zh contents
skywalking opentracing chn
skywalking opentracing
加载探针,Console被GRPC日志刷屏
No results
Table of contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
所需的第三方软件
- sky-walking server和webui要求JDK8+
- Elasticsearch 5.3
- Zookeeper 3.4.10
下载发布版本
- 前向发布页面
部署Elasticsearch
- 修改
elasticsearch.yml文件- 设置
cluster.name: CollectorDBCluster。此名称需要和collector配置文件一致。 - 设置
node.name: anyname, 可以设置为任意名字,如Elasticsearch为集群模式,则每个节点名称需要不同。 - 增加如下配置
- 设置
# ES监听的ip地址
network.host: 0.0.0.0
thread_pool.bulk.queue_size: 1000
- 启动Elasticsearch
Collector单机模式启动
Collector单机模拟启动简单,提供和集群模式相同的功能,单机模式下除端口被占用的情况下,直接启动即可。
部署单节点collector
- 解压安装包
tar -xvf skywalking-collector.tar.gz,windows用户可以选择zip包 - 运行
bin/startup.sh启动。windows用户为.bat文件。
config/application.yml
cluster:
# Zookeeper地址配置
zookeeper:
hostPort: localhost:2181
sessionTimeout: 100000
# agent_server, agent_stream, ui, collector_inside中配置的IP都是Collector所使用的IP地址
agent_server:
jetty:
host: localhost
# The port used
port: 10800
context_path: /
agent_stream:
grpc:
host: localhost
port: 11800
jetty:
host: localhost
port: 12800
context_path: /
ui:
jetty:
host: localhost
port: 12800
context_path: /
collector_inside:
grpc:
host: localhost
port: 11800
storage:
elasticsearch:
cluster_name: CollectorDBCluster
cluster_transport_sniffer: true
# Elastic Search地址信息
cluster_nodes: localhost:9300
index_shards_number: 2
index_replicas_number: 0
Collector集群模式启动
集群模式主要依赖Zookeeper的注册和应用发现能力。所以,你只需要调整 config/application.yml中,agent_server, agent_stream, ui, collector_inside这些配置项的ip信息,使用真实的IP地址或者hostname,Collector就会使用集群模式运行。
其次,将elasticsearch的注释取消,并修改集群的节点地址信息。
部署webui
WIKI documents are maintained by @OpenSkywalking