how to be a lion tamer
TRANSCRIPT
![Page 1: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/1.jpg)
How to be a lion tamer(or keeping WebSphere under control with free tools)
Sharon Bellamy James & Wannes Rams
![Page 2: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/2.jpg)
Sharon Bellamy James• IBM WebSphere since 1999 &
Connections since 2 / 2008
• Many years experience withmigrations, installations, administration,
integration, customization & DOCUMENTATION
• Tiny bit of a Star wars & Disney fan
• Charity fundraising Cosplayer/Costumer
• Part of the team that brings you ICON UK
2
![Page 3: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/3.jpg)
Wannes Rams
3
• Domino since 2000, Sametime since version 6.5.1Connections since 2.01
• Many years experience witharchitecture, migrations, installations, integration, customization
• Owner at Ramsit
• Hard core (average) table tennis player
• Social Connections User group board member
![Page 4: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/4.jpg)
Overview
• Nagios
• WebSphere PTT
• Nmon Visualizer
![Page 5: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/5.jpg)
• https://www.nagios.com• Nagios Core - The open source industry standard in IT infrastructure monitoring and
alerting
• Download Core: https://www.nagios.org/downloads/nagios-core/
• https://exchange.nagios.org – for 3rd party plugins and add ons
• Nagiosql (https://sourceforge.net/projects/nagiosql/ www.nagiosql.org ) - GUI configuration interface
• Front ends – Looking glass - https://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Web-Interfaces/Nagios-Looking-Glass/details
![Page 6: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/6.jpg)
• IS FREE !!! – well open source
• Linux based – runs on RHEL or CENTOS
• Super easy to set up – very well DOCUMENTED
• Features:Monitoring - System metrics, network protocols, applications, services, servers, and network infrastructureAlerting - Nagios sends alerts when critical infrastructure components fail and recover. Alerts can be delivered via email, SMS, or custom script.Reporting - Provide a historical record of outages, events, notifications, and alert response for later review. Availability reports help ensure your SLAs are being met.
![Page 7: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/7.jpg)
![Page 8: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/8.jpg)
![Page 9: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/9.jpg)
Nagios & Websphere• Basic WAS monitoring • Up or Down check on soap port of each server• Up or Down of host machine – via a ping or host up command• Plugins:
https://github.com/yannlambret/websphere-nagios - JVM heap monitoring, Server thread pools monitoring - including hung thread detection, JTA transactions monitoring,JDBC datasources monitoring, JMS connection factories monitoring, JMS 1.0 listeners status monitoring, SIB queues depth monitoring, HTTP sessions monitoring, Clustering support, Administrative security support
https://github.com/dvarounis/perfservmon - Perfservmon is a Nagios Plugin for IBM Websphere Application Server(WAS) using the perfservlet web application that comes with each WAS installation. Can monitor - Heap Usage, Web Container Thread Pool Usage, ORB Thread Pool Usage, JDBC Connection Pool Usage, Live HTTP Sessions, JMS SIB Destination(Queue, Topic) Metrics
![Page 10: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/10.jpg)
Nagios & HTTP• Basic HTTP monitoring• Ports up / down on 80, 443 and 8008 • Can monitor for specific codes 500 / 404 etc.• WAS plugins in the previous slides also monitor HTTP
sessions.
![Page 11: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/11.jpg)
Nagios & DB• Basic up and down check • Lots of plugins for monitoring
• https://github.com/angoca/monitor-db2-with-nagios - bunch of really useful stuff- check_hadr_status - works with V10.5- check_tablespace_size – 9.7 and up- check_db2diag –9.7 and up- check_instance_up – 9.7 and up- check_instance_memory – 9.7 and up- check_last_backup – 9.7 and up - check_log_consumption – 9.7 and up- check_log_usage – 9.7 and up
![Page 12: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/12.jpg)
Performance indicators WebSphere
• WebSphere Application Server Performance Tuning Toolkit (PTT)
• Free, Eclipse based tool provided by IBM• Yes, it’s free and from IBM and it works
![Page 13: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/13.jpg)
WebSphere Application Server Performance Tuning Toolkit (WAS PTT)
• Benefits:• No install on servers• Real time• Rule based• Easy to use interface
![Page 14: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/14.jpg)
WAS PTT
• Install: • Download, unzip, run…
• Configuration
![Page 15: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/15.jpg)
Data Collection
![Page 16: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/16.jpg)
Visual reports
![Page 17: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/17.jpg)
Visual reports
![Page 18: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/18.jpg)
Visual reports
![Page 19: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/19.jpg)
Visual reports
![Page 20: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/20.jpg)
Visual reports
![Page 21: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/21.jpg)
Visual reports
![Page 22: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/22.jpg)
Visual reports
![Page 23: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/23.jpg)
Reports• Ability to run reports (pdf, csv)
![Page 24: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/24.jpg)
WAS PTT• Ability to get tuning data (and update them)
![Page 25: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/25.jpg)
WAS PTT• Ability to generate:
• Thread Dump• Heap Dump• Enable Trace• Show Connection Pool contents• Get Server Logs
![Page 26: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/26.jpg)
How to find performance indicatorsHTTP Server: mod_status
• Apache module• HTML Interface:
Ex. : http://www.apache.org/server-status
![Page 27: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/27.jpg)
How to find performance indicatorsHTTP Server: mod_status
![Page 28: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/28.jpg)
How to find performance indicatorsHTTP Server: mod_status
• Easy to setup in httpd.conf
![Page 29: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/29.jpg)
Nmon Visualizer• Easier than the excel file• Open source tool • Developed by IBM to monitor Smartcloud• Apache 2.0 License• nmon files from Linux and AIX, IOStat files, IBM Verbose GC
logs, Windows Perfmon & ESXTop csv data and JSON data
![Page 30: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/30.jpg)
Nmon VisualizerDEMO
![Page 31: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/31.jpg)
Nagios & DB2 Monitoring• Each script is individually configurable• Edit the script directly or use GUI config (nagiosQL)• Alerting settings are configured at
Nagios level
![Page 32: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/32.jpg)
Nagios & DB2 Monitoring• https://github.com/angoca/monitor-db2-with-nagios• check_connection_qty - quantity of connections on the database and the
state they are currently in, lockwait, connecting, rollback etc .. • check_database_connection – checks a connection to the DB• check_database_size – set threshold alerts, etc.• check_lock_wait – 10.5 and above – checks lock waits • check_memory_usage - usage memory: total, free, usage• check_open_files – open files per instance
![Page 33: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/33.jpg)
References and links• Performance Tuning Toolkit
• http://www.ibm.com/developerworks/websphere/downloads/performtuning.html
• Mod_status• http://www.tecmint.com/monitor-apache-web-server-load-and-page-st
atistics/
• Nmon Visualizer
• http://nmonvisualizer.github.io/nmonvisualizer/
![Page 34: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/34.jpg)
References and links• Nagios
• Core Download - https://www.nagios.org/downloads/nagios-core/
• Nagios Exchange - https://exchange.nagios.org
• DB2 Plugins - https://github.com/angoca/monitor-db2-with-nagioshttp://www.dbatodba.com/db2/scripts-db2/nagios-plugins/
• WebSphere Plugins - https://github.com/yannlambret/websphere-nagios https://github.com/dvarounis/perfservmon
![Page 35: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/35.jpg)
Any Questions?
![Page 36: How to be a lion tamer](https://reader035.vdocument.in/reader035/viewer/2022081514/5872ca111a28ab0c718b70b7/html5/thumbnails/36.jpg)
Thank you
http://socialshazza.comdilftechnical@socialshazza
http://ramsit.com/blogwannesrams@wannesrams