14
Monitoring Dell Infrastructure using Docker & Microservices Ajeet Singh Raina #DockerCaptain (t) ajeetsraina (f) Docker Public Group © collabnix.com

Monitoring Dell Infrastructure using Docker & Microservices

Embed Size (px)

Citation preview

Page 1: Monitoring Dell Infrastructure using Docker & Microservices

Monitoring Dell Infrastructure using Docker & Microservices

Ajeet Singh Raina#DockerCaptain

(t) ajeetsraina

(f) Docker Public Group

© collabnix.com

Page 2: Monitoring Dell Infrastructure using Docker & Microservices

Blog Outline

Nagios for

Dell Monitoring

Docker’s

Mission &

ToolsMonolithic

Vs

Micro

Multicontainer

Architecture

(using Docker

Compose)

Demo

Dell OMSA +

SNMP

container

https://hub.docker.com/r/jdelaros1/openmanage-snmp/

https://hub.docker.com/r/ajeetraina/nagios-docker/.

https://github.com/ajeetraina/

Dell-System-Monitoring.git

Blog Outline

Nagios for

Dell Monitoring

Docker’s

Mission &

ToolsMonolithic

Vs

Micro

Multicontainer

Architecture

(using Docker

Compose)

Demo

Dell OMSA +

SNMP

container

https://hub.docker.com/r/jdelaros1/openmanage-snmp/

https://hub.docker.com/r/ajeetraina/nagios-docker/.

https://github.com/ajeetraina/

Dell-System-Monitoring.git Nagios for

Dell Monitoring

Page 3: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Docker’s Mission

GitHubDocker Compose

Docker Swarm/UCP

Page 4: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Growing Monstrous Monolithic Architecture..

Nagios

Plugins

Page 5: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Let’s think about Bigger Picture !!!

Cluster of Nodes

Management Tools

Time to build Microservice Architecture to reduce the deployment time and simplify the management tool

Page 6: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Running OMSA & SNMP inside Docker

$docker run --privileged -d -p 161:161/udp -p 1311:1311 \

--restart=always --net=host \

-v /lib/modules/`uname -r`:/lib/modules/`uname -r` \

--name=omsa82-snmpd \

jdelaros1/openmanage-snmp

RHEL7 SLES12 12.04/14.04

Debian 7/8

CentOS7

Platform tested

OMSA + SNMP

Page 7: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Running Nagios + Dell Monitoring Tool inside Docker

$docker run -d -p –net=host ajeetraina/nagios-docker

check_openmanage

-A plugin for Nagios which checks the hardware health of Dell PowerEdge(11G, 12G and 13G) servers.

- It uses OMSA, running on the monitored system

Page 8: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

A Little about check_openmanage

https://github.com/ajeetraina/docker-nagios

Chassis Storage Other

Processors,

Memory modules

Cooling fans

Temperature probes

Power supplies

Batteries

Voltage probes

Power usage

Chassis intrusion

Removable flash media

(SD cards)

Controllers

Physical drives

Logical drives

Cache batteries

Connectors (channels)

Enclosures

Enclosure fans

Enclosure power supplies

Enclosure temperature

probes

Enclosure management

modules (EMMs)

ESM Log health

ESM Log content

(default disabled)

Alert Log content

(default disabled, not

SNMP)

Page 9: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Building Multi-container Architecture

Introducing Docker Compose

- a tool for defining and running multi-container Docker applications

- A single command creates and start all the services from your configuration

- Multiple isolated environments on a single host

- Preserve volume data when containers are created

- Only recreate containers that have changed

- Variables and moving a composition between environments

- Multiple isolated environments on a single host

Page 10: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Building Multi-container Architecture

Before Docker-compose After Docker-compose

Page 11: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Monitoring Dell Physical Health

Page 12: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Blog is LIVE now…

http://en.community.dell.com/techcenter/b/techcenter/archive/2016/05/10/monitoring-dell-

infrastructure-using-docker-containers-and-microservices

Page 13: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Work in progress..

- Using Docker Swarm to manage multiple Dell Monitoring Containers

- Implementing Out-of-Band Dell Monitoring Container

- Running Dell OpenManage Essential in a container

- Using Puppet for pushing Dell Monitoring Containers to huge Infrastructure

- Containerizing HPC tools

Page 14: Monitoring Dell Infrastructure using Docker & Microservices

Dell World Executive Summit

Docker is not magic. You create magic around Docker.