33
Session Code: Operations Management Suite, the Penguins and the others Christian Heitkamp http://aka.ms/tr1234 Note: A recording is session will be available on https ://channel9.msdn.com /

Operations Management Suite, the Penguins and the others

Embed Size (px)

Citation preview

Page 1: Operations Management Suite, the Penguins and the others

Session Code:

Operations Management Suite, the Penguins and the othersChristian Heitkamp

http://aka.ms/tr1234

Note: A recording is session will be available on

https://channel9.msdn.com/

Page 2: Operations Management Suite, the Penguins and the others

[email protected] DirectorNiCE IT Management SolutionsMPx Alliance (Veeam, Comtrade, NiCE)

Page 3: Operations Management Suite, the Penguins and the others

“An open operating system may have side-effects…”

Microsoft Windows 2000 Advertisement

Page 4: Operations Management Suite, the Penguins and the others

Microsoft ♥ Linux

… 15 years later

Page 5: Operations Management Suite, the Penguins and the others

SQL Server

♥ LinuxMarch 7th, 2016: http://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/

Page 6: Operations Management Suite, the Penguins and the others

OMS: The Evolution• System Center Advisor RC live • Rename: March 2011 (2010, Code Name Atlanta)

• Azure Operational Insights • Rename October 28th 2014

• Operations Management Suite • Rename May 2015

January 2016: Linux agent [PREVIEW]

Page 7: Operations Management Suite, the Penguins and the others

Innovation throughcloud cadence

Hybrid and Heterogeneous

Azure | O365 | AWS

System CenterMonitor | Automate | Provision | Protect | Self-service

Starting the journey | Modern management

LinuxVMWare

StorageNetwork

Log AnalyticsAutomationDisaster recoveryBackup

OperationsManagement Suite

System Center foundation

Extend System Center

Page 8: Operations Management Suite, the Penguins and the others

OperationsManagement Suite

System CenterMonitor | Automate | Provision | Protect | Self-service

zabbix

oms_omi

oms_blob_out

nagios

exec syslog

fluentd

PS DSC

omsconfig

omsagent

omiserver

Apache Provider

SCX Provider (OS)

MySQL Provider

Docker Provider

Linux Server

Page 9: Operations Management Suite, the Penguins and the others

omsagent onboarding• Quick Steps:• wget

https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/v1.1.0-28/omsagent-1.1.0-28.universal.x64.sh • sudo sh ./omsagent-1.0.0-27.universal.x86.sh --install –w

<workspaceid> -s <shared key>

• Details:• https://github.com/Microsoft/OMS-Agent-for-Linux/wiki • http://mms.microsoft.com/

Page 10: Operations Management Suite, the Penguins and the others

sh archive execution • User is created • Group is created • Sudoers configuration update• Syslog updates: /etc/syslogd/95-omsagent.conf (RHEL)•Modifications in /opt, /etc, /var

Page 11: Operations Management Suite, the Penguins and the others

Multi-homing • Connect your omsagent to your SCOM Management Group• Note: omsagent is in preview!• How to: • vi /etc/opt/omi/conf/omiserver.conf • httpsport=1270 • /opt/omi/bin/service_control restart

Page 12: Operations Management Suite, the Penguins and the others

DEMOOMS / omsagent onboarding

Page 13: Operations Management Suite, the Penguins and the others

Apache monitoring• Provider installed if Apache detected• Add Entries to /etc/httpd/conf/httpd.conf• Agent Restart • Add Performance Counters in OMS• Troubleshooting:• /opt/omi/bin/omicli ei root/apache Apache_HTTPDServer• /opt/omi/bin/omicli ei root/apache Apache_HTTPDServerStatistics• /opt/omi/bin/omicli ei root/apache Apache_HTTPDVirtualHost• /opt/omi/bin/omicli ei root/apache Apache_HTTPDVirtualHostCertificate• /opt/omi/bin/omicli ei root/apache Apache_HTTPDVirtualHostStatistics

Page 14: Operations Management Suite, the Penguins and the others

MySQL & MariaDB• Provider installed if MySQL / MariaDB detected• Install, Create user, Grants, Define accounts• Restart• Troubleshoot

• Discovery: /opt/omi/bin/omicli ei root/mysql MySQL_Server• Monitoring: /opt/omi/bin/omicli ei root/mysql MySQL_Server_Database• Monitoring: /opt/omi/bin/omicli ei root/mysql MySQL_ServerStatistics

• Add OMS perf counters• Check log files:

• /var/opt/microsoft/mysql-cimprov/log/omsagent/mysqllog.log• /var/opt/microsoft/mysql-cimprov/log/mysqllog.log

Page 15: Operations Management Suite, the Penguins and the others

DEMOOMS - MySQL & Apache

Page 16: Operations Management Suite, the Penguins and the others

Zabbix – OMS Integration

Page 17: Operations Management Suite, the Penguins and the others

About Zabbix• Zabbix is an enterprise-level software designed for

monitoring availability and performance of IT infrastructure components. • Zabbix is open source and comes at no cost.• Zabbix runs on Linux only• Provides Agent-based and Agentless monitoring

Page 18: Operations Management Suite, the Penguins and the others

OperationsManagement Suite

zabbix

oms_omi

oms_blob_out

nagios

exec syslog

FluentD

System CenterMonitor | Automate | Provision | Protect | Self-service

PS DSC

omsconfig

omsagent

Linux Server

zabbix server

Linux Server

Zabbix agent

Windows Server

Zabbix agent

UNIX Server

Zabbix agent

Page 19: Operations Management Suite, the Penguins and the others

Zabbix – OMS Configuration• /etc/opt/microsoft/omsagent/conf/omsagent.conf <source>

type zabbix_alerts run_interval 1m tag oms.zabbix zabbix_url http://localhost/zabbix/api_jsonrpc.php zabbix_username Admin zabbix_password zabbix

</source>

Page 20: Operations Management Suite, the Penguins and the others

DEMOZabbix and OMS integration

Page 21: Operations Management Suite, the Penguins and the others

More integrations!• Nagios/Icinga• Containers (Docker)• Custom Plugins• Custom Providers

Page 22: Operations Management Suite, the Penguins and the others

IOT – Raspberry PI monitoring

Page 23: Operations Management Suite, the Penguins and the others

DEMORaspberry PI with OMS

Page 24: Operations Management Suite, the Penguins and the others

Raspberry PI & OMS• No official agent package!• Compile/install Ruby and fluentd [Supported]• Verify with Treasure Data upload [Supported]• Add and modify OMS fluentd plugins• Onboard• Verify

Page 25: Operations Management Suite, the Penguins and the others

OperationsManagement Suite

zabbix

oms_omi

oms_blob_out

nagios

exec syslog

FluentD

System CenterMonitor | Automate | Provision | Protect | Self-service

PS DSC

omsconfig

omsagent

Linux Server

zabbix serverRaspberry PI

Zabbix agent

Page 26: Operations Management Suite, the Penguins and the others

Custom extensionsCreating providers Creating Add-ins

Page 27: Operations Management Suite, the Penguins and the others

OperationsManagement Suite

System CenterMonitor | Automate | Provision | Protect | Self-service

zabbix

oms_omi

oms_blob_out

Custom Add-on

exec syslog

fluentd

PS DSC

omsconfig

omsagent

omiserver

Apache Provider

SCX Provider (OS)

MySQL Provider

Custom Provider

Linux Server

Page 28: Operations Management Suite, the Penguins and the others

Custom provider• Linux Build system• C++ knowledge• http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/*checkout*/

pegasus/README.html?rev=1.6

Page 29: Operations Management Suite, the Penguins and the others

FluentD Add-in Development• Ruby Knowledge• http://docs.fluentd.org/articles/plugin-development

Page 30: Operations Management Suite, the Penguins and the others

DEMOCustom Provider & fluentd Add-in

Page 31: Operations Management Suite, the Penguins and the others

Known issues• Note: omsagent is in preview! • Incorrect MySQL credential let the mysqllog.log file grow

until /var full• Review known issue on GitHub

Page 32: Operations Management Suite, the Penguins and the others

Summary • OMS now has a Linux Agent!• omsagent is extensible and works with SCOM• Is in PREVIEW only• Allows OMS to become a super OpsMgr by integrating other

3rd Party monitoring systems

Page 33: Operations Management Suite, the Penguins and the others

www.systemcenteruniverse.asia

…for updated content and NEWS

THANK YOU