Top Banner
TIS Inc. Daisuke IKEDA 11 September,2015 Riga,Latvia Advanced SysOps by using HyClops Copyright © 2015 TIS Inc. All rights reserved. -1-
25

Daisuke Ikeda - Advanced SysOps by using HyClops

Feb 18, 2017

Download

Technology

Zabbix
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Daisuke Ikeda - Advanced SysOps by using HyClops

TIS Inc. Daisuke IKEDA11 September,2015

Riga,Latvia

Advanced SysOps by using HyClops

Copyright © 2015 TIS Inc. All rights reserved. -1-

Page 2: Daisuke Ikeda - Advanced SysOps by using HyClops

AgendaAbout myself

- Server Engineer working at OSS promotion officeZabbix Conference “2012” and then

- Released HyClops for Zabbix

Approaching to Advanced SysOps with OSS ecosystem- Autonomous SysOps at cloud,multi-cloud, container based env.

Our Activity 2012-2015- Cooperation with Job Management tool and Zabbix- Proxy setting automation tool etc..

HyClops roadmap 1.0- The architecture will be improved more Pluggable.- Add features monitoring detail info from AWS

Agenda

Copyright © 2015 TIS Inc. All rights reserved. -2-

Page 3: Daisuke Ikeda - Advanced SysOps by using HyClops

Daisuke IKEDATIS Inc.

OSS Promotion Office

(Main)Provide Zabbix support service.   Search for the way of effective SysOps.

I wrote a Zabbix book in Japanese(2014)

About Myself

Copyright © 2015 TIS Inc. All rights reserved. -3-

Belongs To

Division

My work

RecentActivities

http://www.amazon.co.jp/dp/4774162884

Page 4: Daisuke Ikeda - Advanced SysOps by using HyClops

Talked about

“Zabbix for Hybrid Cloud Management”

Zabbix Conference 2012

Copyright © 2015 TIS Inc. All rights reserved. -4-

Page 5: Daisuke Ikeda - Advanced SysOps by using HyClops

Released “HyClops for Zabbix”July 12, 2013

And then

Copyright © 2015 TIS Inc. All rights reserved. -5-

Released at

GitHub URL https://github.com/tech-sketch/hyclops

License GPL version 2

This tool achieves...

- Auto registration of AWS or vSphere info - Show instance list at Zabbix Dashboard- Operate for multi instances on Zabbix Dashboard

Page 6: Daisuke Ikeda - Advanced SysOps by using HyClops

HyClops screen capture

Copyright © 2015 TIS Inc. All rights reserved. -6-

AWS or vSpherestatus summary

Page 7: Daisuke Ikeda - Advanced SysOps by using HyClops

HyClops screen capture

Copyright © 2015 TIS Inc. All rights reserved. -7-

AWS or vSpherestatus summary

Operate tosome instances

popup

Page 8: Daisuke Ikeda - Advanced SysOps by using HyClops

HyClops screen capture

Copyright © 2015 TIS Inc. All rights reserved. -8-

Connect to SSH servervia GateOne

Page 9: Daisuke Ikeda - Advanced SysOps by using HyClops

Make a change

Copyright © 2015 TIS Inc. All rights reserved. -9-

Only enough?

Integration & Automation

Page 10: Daisuke Ikeda - Advanced SysOps by using HyClops

Make a change

Copyright © 2015 TIS Inc. All rights reserved. -10-

Not enough!

Page 11: Daisuke Ikeda - Advanced SysOps by using HyClops

Advanced SysOps

Our concepts

Copyright © 2015 TIS Inc. All rights reserved. -11-

Change Infrastructure

Change Requirement

Physical Virtual Cloud Multi-cloud Container

Evaluate the each server resource

Service

Evaluate the service status

Page 12: Daisuke Ikeda - Advanced SysOps by using HyClops

OSS Ecosystem

Our concepts

Copyright © 2015 TIS Inc. All rights reserved. -12-

Zabbix

JobManagement

IncidentManagement

DataAnalytics

LogDataCollector

Page 13: Daisuke Ikeda - Advanced SysOps by using HyClops

Copyright © 2015 TIS Inc. All rights reserved. -13-

Activities in 2012-2015

Page 14: Daisuke Ikeda - Advanced SysOps by using HyClops

1. CloudModule for Zabbix

Activity in 2012-2015

Copyright © 2015 TIS Inc. All rights reserved. -14-

GitHub URL https://github.com/ike-dai/zabbix-cloud-module

SlideshareURL

http://www.slideshare.net/ikedai/cloudmodule-for-zabbix

Zabbix

CloudModule Delta

cloud

AWS

Loadable Modulecloud.instance.discovery

cloud.metric.discovery

CloudCache(Shared memory)

cloud.instance.infocloud.metric

Page 15: Daisuke Ikeda - Advanced SysOps by using HyClops

2. HyClops JobMonitoring

Activity in 2012-2015

Copyright © 2015 TIS Inc. All rights reserved. -15-

[Monitoring]Zabbix

[JobController]JobScheduler

GitHub URL https://github.com/tech-sketch/hyclops_jm

This tool achieves...

- Monitoring Job elapse time - Monitoring Job failure information- Adjust trigger automatically in executing some jobs

Cooperation

Page 16: Daisuke Ikeda - Advanced SysOps by using HyClops

Auto Adjust Zabbix trigger

Activity in 2012-2015

Copyright © 2015 TIS Inc. All rights reserved. -16-

Zabbix

ChangeTrigger Job

ReturnTrigger Job

Main Job

ChangeTrigger JobTemplate

ReturnTrigger JobTemplate

Job Template

Original Trigger

Disable

Temp Trigger

Create

e.g.) CPU Util >70%

via Zabbix API

timeline

e.g.) CPU Util >90%

Enable

Delete

JobScheduler

Page 17: Daisuke Ikeda - Advanced SysOps by using HyClops

JobScheduler

[Reference] About JobScheduler

Copyright © 2015 TIS Inc. All rights reserved. -17-

What?

Who?

Features

OSS Job control software (GPL ver.2)

SOS GmbH in Berlin, Germany

JobScheduler Engine

JobScheduler Engine

HA or Cluster support

JobScheduler Agent

SSH Agent

Agent or Agentless support

Advantage More detailed job controllingAll operation are executed by JobScheduler API

http://www.sos-berlin.com

Page 18: Daisuke Ikeda - Advanced SysOps by using HyClops

Copyright © 2015 TIS Inc. All rights reserved. -18-

3. Proxy scheduler

Other activity

GitHub URL https://github.com/ike-dai/proxy_scheduler_for_zabbix

Scheduler

Zabbix

rules.json

{ "agent_ip": { "proxy-01": { "from": "10.1.1.1", "to": "10.1.2.20" }, “proxy-02": { "from": "10.1.2.21", "to": "10.2.1.40" } }}

Execute caller_schedule.py

Read rule from rule.json

Decide target proxy

Register the proxy settingvia Zabbix API(host.update)

Modify the agent config(zabbix_agentd.conf)

Action

Source: Auto RegistrationOperations: Remote command

caller_schedule.py <params>

Page 19: Daisuke Ikeda - Advanced SysOps by using HyClops

Copyright © 2015 TIS Inc. All rights reserved. -19-

HyClops roadmap

Page 20: Daisuke Ikeda - Advanced SysOps by using HyClops

Improve the Base architecture

HyClops roadmap

Copyright © 2015 TIS Inc. All rights reserved. -20-

Message Queue

Message Queue

1. Discovery

….

2.PreOperation 3.Registration

AWS Discovery

Job Discovery

Target Proxy Discovery

….

Filter Operation

Machine Learning

Operation…

.

Zabbix APIRegistration

Zabbix SenderRegistration

Zabbix LLDRegistration

….

Page 21: Daisuke Ikeda - Advanced SysOps by using HyClops

Towards Advanced SysOps

HyClops roadmap

Copyright © 2015 TIS Inc. All rights reserved. -21-

- Job execution target- Point of failure in Service trouble

etc....

e.g.)Auto decision

Effective use of Zabbix.

Auto collect cloud info orjob info via HyClops

Generate synergy withsome data at the system centered on HyClops

Now

Page 22: Daisuke Ikeda - Advanced SysOps by using HyClops

HyClops 1.0- Improve the base architecture- Enhance the AWS monitoring feature

- AWS service discovery plugin- AWS EC2/RDS/ELB/CloudWatch discovery

HyClops 1.0 features

Copyright © 2015 TIS Inc. All rights reserved. -22-

Page 23: Daisuke Ikeda - Advanced SysOps by using HyClops

Mailing [email protected]

<Please send e-mails.>

GitHub repositoryhttps://github.com/tech-sketch/hyclops

<Please send issues or Pull requests.>

Please contact us!

Copyright © 2015 TIS Inc. All rights reserved. -23-

Page 24: Daisuke Ikeda - Advanced SysOps by using HyClops

Questions?

Q&A

Copyright © 2015 TIS Inc. All rights reserved. -24-

Page 25: Daisuke Ikeda - Advanced SysOps by using HyClops

Thank You!

The End

Twitter : @ike_daiFacebook: https://www.facebook.com/ikedai

Copyright © 2015 TIS Inc. All rights reserved. -25-