1.4 KiB
Usage scenario
Default standalong mode collector means don't support cluster. It uses H2 as storage layer implementation, suggest that use only for preview, test, demonstration, low throughputs and small scale system.
If you are using skywalking in a low throughputs monitoring scenario, and don't want to deploy cluster, at least, swith the storage implementation from H2 to Elasticsearch.
Requirements
- JDK 8+
Download
Quick start
You can simplely tar/unzip and startup if ports 10800, 11800, 12800 are free.
tar -xvf skywalking-collector.tar.gzin Linux, or unzip in windows.- run
bin/startup.shorbin/startup.bat
You should keep the config/application.yml as default.
Use Elastic Search instead of H2 as storage layer implementation
Even in standalone mode, collector can run with Elastic Search as storage. If so, uncomment the storage section in application.yml, set the config right. The default configs fit for collector and Elasticsearch both running in same machine, and not cluster.
Deploy Elasticsearch server
- Modify
elasticsearch.yml- Set
cluster.name: CollectorDBCluster - Set
node.name: anyname, this name can be any, it based on Elasticsearch. - Add the following configurations to
- Set
# The ip used for listening
network.host: 0.0.0.0
thread_pool.bulk.queue_size: 1000
- Start Elasticsearch