APM学习--Skywalking安装(5.0.0版本)

Requirements

JDK 6+(instruments application can run in jdk6)

JDK8 ( SkyWalking collector and SkyWalking WebUI )

Elasticsearch 5.x, cluster mode or not

下载安装包

http://skywalking.apache.org/downloads/

快速开始

预留8080,10800,11800,12800端口;

部署Elasticsearch;

解压tar包,tar zxvf apache-skywalking-apm-incubating-5.0.0-alpha.tar.gz

执行./bin/startup.sh脚本启动

注意:5.0.0版本中,startup.sh脚本将启动2个进程,collector和UI,其中UI使用127.0.0.1:10800作为默认地址;

问题解决:

1、Exception in thread "main" NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{SukLgA3QRMKD4q9GONGNRQ}{localhost}{127.0.0.1:9300}]]

at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:347)
        at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:245)
        at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)
        at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:363)
        at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:408)
        at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.execute(AbstractClient.java:1256)
        at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80)
        at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54)
        at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:62)
        at org.apache.skywalking.apm.collector.client.elasticsearch.ElasticSearchClient.isExistsIndex(ElasticSearchClient.java:131)
        at org.apache.skywalking.apm.collector.storage.es.base.define.ElasticSearchStorageInstaller.isExists(ElasticSearchStorageInstaller.java:129)
        at org.apache.skywalking.apm.collector.storage.StorageInstaller.install(StorageInstaller.java:46)
        at org.apache.skywalking.apm.collector.storage.es.StorageModuleEsProvider.start(StorageModuleEsProvider.java:294)
        at org.apache.skywalking.apm.collector.core.module.BootstrapFlow.start(BootstrapFlow.java:63)
        at org.apache.skywalking.apm.collector.core.module.ModuleManager.init(ModuleManager.java:70)
        at org.apache.skywalking.apm.collector.boot.CollectorBootStartUp.main(CollectorBootStartUp.java:43)

解决方案:

将cluster_nodes参数中的localhost修改为cluster主机地址;

APM学习--Skywalking安装(5.0.0版本)_第1张图片

 

你可能感兴趣的:(APM)