Upload
softlayerjp
View
629
Download
3
Embed Size (px)
Citation preview
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayerZabbix
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
CUPAOpen Compute Project Japan SoftLayerMSP
Twitter:yasudatadahiro
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
1SoftLayer
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayerZabbix
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
h"p://www.crea,online.com/msp/
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Zabbix as a framework
: software framework
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
1.2.3.SoftLayer4.API 5.SoftLayerZabbix+6.
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
1
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
1few weeks or a month
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Infrastructure as a Service
one click
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Infrastructure as a Service
10few minutes
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
n
n
n
Flexible Agile
Web API
On demand Pay as you go Pay for what you use
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Infrastructure as a Service
10few minutes
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
What is effective operation and monitoring?
2
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
n
n
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
n
n
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayer SoftLayers architecture and Network
3
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayer
n (BareMetal)
n 2005 2011 2013IBM 201414025000
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayer
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayer
n
n
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayer
n (baremetal)
n NASiSCSICDN
n VLANDNS
n SSL
n API
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayerAPI
n 3SOAP
SoftLayer API C#PerlPHPVisualBasic.NET
XML-RPC SOAP PHPPython
REST HTTP RubyHTTP
Getting Started | SoftLayer Development Network http://sldn.softlayer.com/article/Getting-Started
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
REST
n REST curl
XML JSON
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
API Key
n API Key
n Account Users
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayer
n 2 BASIC Monitoring
PING TCP Port
Advance Monitoring Basic AdvancePlatinum
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
API An automation for practical operation
4
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
1.
2.
3.
4.
5.
6.
7. 26
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
ZabbixAPI
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
ZabbixAPI
API
JSON
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayerZabbix+ 5
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayerZabbix
n roletag
n API
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
manager
192.168.39.3 192.168.39.1(VIP/LVS)
API ( JSON-RPC )
node1
192.168.39.11
node2
192.168.39.12
node3
192.168.39.13
node4
192.168.39.14
node5
192.168.39.15
10.0.0.2
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Workow orchestration
serf manager ( cluster )
Zabbix Server join to cluster
serf agent
event: member-join
call: zabbix-add
role:web name:web1
JSON Request
LVS Server
ipvsadm A t -s -g
host.create
interfaces, group, templates
JSON Returnevent: settag
hostid
user
HTTP/HTTPS
zbx-screen-add screen.get
hsize
screen-updatescreen.update
graph-update graph.get graphitem.get
graphids
graph-updategraph.update
graphid, gitems
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
$ serf agent iface=eth1 discover=serf log-level=debug \ event-handler=user:se"ag=/opt/serf/changetag.pl tag role=web
$ serf agent iface=eth1 discover=serf log-level=debug \ --event-handler=/opt/serf-lvs/ADP.pl
serf manager
serf node
Perl ZABBIX Server JSON LVS ( ipvsadm ) role
serf web db web HTTP LVS db MySQL
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
serf agent ZABBIX Serf IP
HTTP Template
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
node2 webnode3 db node ( 24 )
HTTP Template
MySQL Template
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
XML
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Load Average CPU idle) Serf
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
n Consul, Serf
n Consul
n Slackhubothue
n docker
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Zabbix as a framework
: software framework
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
MSPZabbix
API
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
SoftLayer
n http://www.softlayer.com/
n SoftLayerhttp://jslug.jp/
SoftLayerhttps://gg-web.jp/document/CongGuide/
CL-Lab http://www.creationline.com/lab
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
m(_ _)m
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Copyright 2014 CREATIONLINE, INC. All Rights Reserved
Copyright 2014 CREATIONLINE, INC. All Rights Reserved