Giter Club home page Giter Club logo

ansible-skywalking's Introduction

Introduction

Install skywalking based on ansible.

[Chinese Document](English Document)

Support system

  • CentOS 7.x

Role description

role description default port
init 环境初始化,包括:
- 关闭Selinux
- 关闭防火墙
- 更换yum源为阿里源
- 设置时区为 Asia/Shanghai
- 安装NTP
- 设置ntp时钟同步
- 增加文件描述符
- 禁用交换
- 调整虚拟内存
- 调整最大并发连接
- 配置线程数
- 设置 ip 转发
- 安装 vim
- 开启BBR(未实现)
-
jdk 安装jdk(1.8) -
nodejs - 安装node.js(12.13.1)
- 更换npm源为阿里源
-
elasticsearch6.x 安装 elasticsearch(6.8.5)单机或集群 9200
elasticsearch7.x 安装 elasticsearch(7.4.2)单机或集群 9200
elasticsearch-head 安装 elasticsearch-head(5.0.0) 插件 9100
skywalking6.x 安装 skywalking(6.5.0) 8080
skywalking7.x 安装 skywalking(7) 8080

Use

# clone project
$ git clone https://github.com/iamwlb/ansible-skywalking.git

# download package to local
$ cd ansible-shell/shell/
$ chmod +x ./*.sh
$ ./download-package.sh

# modify host list
$ vim hosts

# configuration variables
$ vim group_vars/main.yml

# install
$ ansible-playbook -i hosts site.yml

Special Instructions

How to choose Elasticsearch version and Skywalking version

  • Elasticsearch 6.x - Skywalking 6.x
  • Elasticsearch 7.x - Skywalking 7.x
  • Skywalking 7.x need modify the shell/download-package.sh file.

use elasticsearch 6.x

site.yml

  roles: 
    - { role: init }
    - { role: elasticsearch6.x }

use elasticsearch 7.x

site.yml

  roles: 
    - { role: init }
    - { role: elasticsearch7.x }

Contact Us

License

Apache 2.0 License.

ansible-skywalking's People

Contributors

iamwlb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.