ansible-serviced-zenoss
所属分类:DevOps
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2019-05-28 05:22:31
上 传 者:
sh-1993
说明: Zenoss部署工具:部署docker、服务控制中心和Zenoss监控系统的简单剧本,
(Zenoss Deployment Tool: ansible playbook to deploy docker, serviced control center and zenoss monitoring system,)
文件列表:
LICENSE (1088, 2019-05-27)
gce_deploy (1789, 2019-05-27)
group_vars/ (0, 2019-05-27)
group_vars/all (1686, 2019-05-27)
group_vars/all.deb (1006, 2019-05-27)
group_vars/docker (541, 2019-05-27)
group_vars/serviced (1641, 2019-05-27)
group_vars/zenoss (381, 2019-05-27)
hosts (356, 2019-05-27)
roles/ (0, 2019-05-27)
roles/docker/ (0, 2019-05-27)
roles/docker/files/ (0, 2019-05-27)
roles/docker/files/systemd-docker.conf (28, 2019-05-27)
roles/docker/tasks/ (0, 2019-05-27)
roles/docker/tasks/main.yml (1837, 2019-05-27)
roles/docker/templates/ (0, 2019-05-27)
roles/docker/templates/daemon.json.j2 (491, 2019-05-27)
roles/prepare/ (0, 2019-05-27)
roles/prepare/files/ (0, 2019-05-27)
roles/prepare/files/dnsmasq-docker.conf (55, 2019-05-27)
roles/prepare/tasks/ (0, 2019-05-27)
roles/prepare/tasks/main.yml (2754, 2019-05-27)
roles/prepare/tasks/snmp.yml (405, 2019-05-27)
roles/prepare/templates/ (0, 2019-05-27)
roles/prepare/templates/snmpd.conf.j2 (673, 2019-05-27)
roles/serviced/ (0, 2019-05-27)
roles/serviced/tasks/ (0, 2019-05-27)
roles/serviced/tasks/main.yml (3714, 2019-05-27)
roles/serviced/tasks/ssh-auth.yml (1406, 2019-05-27)
roles/serviced/templates/ (0, 2019-05-27)
roles/serviced/templates/serviced.j2 (11962, 2019-05-27)
roles/zenoss/ (0, 2019-05-27)
roles/zenoss/files/ (0, 2019-05-27)
roles/zenoss/files/zsrv-config (1852, 2019-05-27)
roles/zenoss/tasks/ (0, 2019-05-27)
roles/zenoss/tasks/main.yml (2986, 2019-05-27)
setup (610, 2019-05-27)
site.yml (643, 2019-05-27)
site_vars.yml (45, 2019-05-27)
... ...
# Zenoss Deployment Tool
Ansible playbook to deploy docker, [serviced](https://github.com/control-center/serviced) and [zenoss monitoring system](https://www.zenoss.com)
# Overview
The primary purpose of the playbook is to deploy Zenoss Core to your own bare bone server or a virtual host:
* deploy docker with lvm storage thin pool
* deploy serviced according to [requirements](https://www.zenoss.com/services-support/documentation/cc-install-guide) optionally deploy a serviced cluster, which in the turn can be used to implement zenoss distributed monitoring
* deploy and run Zenoss Core
# Key features
* Support Zenoss deployments to Debian and Ubuntu operation systems.
* Fully automated deployments
* Cloud ready: one click [Google Cloud Engine deployment](README.md#google-cloud-deployment)
# Quick start
Install Ansible. Put your host to the [hosts](hosts) and configure **lvm_dev** variable. Proceed to Usage section :)
# Configuration
The configuration options are documented at [group_vars](group_vars) files. You can amend variables there or override it [site_vars.yml](site_vars.yml)
## Host variables:
* **lvm_dev** : block device for lvm and docker thin pool. the value of global variable will be used if not set.
* **pool_name** : name of serviced pool to assign host to. the **default** pool is used if not set.
## Tags:
* **prepare** : prepare environment
* **docker** : deploy docker
* **serviced** : deploy serviced
* **zenoss** : deploy zenoss
# Usage
After required configuration prepared you can use [setup](setup) script to start deployment.
```
./setup
```
# Requirements
At least one spare partition(>= 30 Gb) must be available and configured(**lvm_dev**) for docker and zenoss storage pools.
4 Gb RAM to run serviced services or 24 Gb to run zenoss
Supported OS:
* Redhat / CentOS 7
* Debian Stretch
* Ubuntu Xenial, Bionic
[ansible](https://www.ansible.com): >= 2.3.0
# Google Cloud Deployment
The playbook tested for serviced 1.5.1 and zenoss 6.2.1. Google cloud host is used for deployment as a reproducible clean environment.
You have to setup [Terraform](https://www.terraform.io) than [zenoss.tf](zenoss.tf) may be used to create GCE instance.
Run [gce_deploy](gce_deploy) script for full cycle deployment to google cloud:
```
./gce_deploy [ terraform options ]
```
近期下载者:
相关文件:
收藏者: