Monitoring z/vm with SNMP. Session 10053. Jay Brenneman rjbrenn@us.ibm.com. Systems and Technology Group. Monitoring z/vm with SNMP Session 10053



Similar documents
The Consolidation Process

INTERNET MANAGEMENT PROTOCOLS TUTORIAL STOCKHOLM, SWEDEN 29 OCTOBER 1999 AIKO PRAS UNIVERSITY OF TWENTE THE NETHERLANDS

Configurable device discovery. Belgrade University Computer Centre, Serbia

IBM Systems and Technology Group Technical Conference

White Paper Case Study:

SHARE in Pittsburgh Session 15591

A Brief Introduction to Internet Network Management and SNMP. Geoff Huston NTW Track 4

Cloud Computing with xcat on z/vm 6.3

SNMP COMMAND SNMP SNMP [HELP] [COMMUNITY SYSCONTACT SYSLOCATION SYSNAME SYSOBJECID/OID TRAPS LIST]

Backups in the Cloud Ron McCracken IBM Business Environment

CS615 - Aspects of System Administration

What is it? SNMP. Agenda. Four Basic Elements

SNMP Basics BUPT/QMUL

Performance and scalability of a large OLTP workload

Managed Services - A Paradigm for Cloud- Based Business Continuity

PLANEAMENTO E GESTÃO DE REDES INFORMÁTICAS COMPUTER NETWORKS PLANNING AND MANAGEMENT

z/os Basics: z/os UNIX Shared File System environment and how it works

SuSE Linux High Availability Extensions Hands-on Workshop

CS z/os Application Enhancements: Introduction to Advanced Encryption Standards (AES)

CS z/os Network Security Configuration Assistant GUI

IBM Systems Director Navigator for i5/os New Web console for i5, Fast, Easy, Ready

z/tpf FTP Client Support

z/osmf Software Deployment Application- User Experience Enhancement Update

z/os V1R11 Communications Server System management and monitoring Network management interface enhancements

Network Management & Monitoring Introduction to SNMP

Arwed Tschoeke, Systems Architect IBM Systems and Technology Group

Network Monitoring & Management Introduction to SNMP

IBM Tivoli Web Response Monitor

Monitoring Linux Guests and Processes with Linux Tools

System and Network Management

Network Management & Monitoring Introduction to SNMP

CRMS SNMP Software Overview

Management with IBM Director

Simple Network Management Protocol SNMP

Performance of a webapp.secure Environment

TÓPICOS AVANÇADOS EM REDES ADVANCED TOPICS IN NETWORKS

This watermark does not appear in the registered version - SNMP and OpenNMS. Part 1 SNMP.

TELE 301 Network Management

z/os Basics: z/os UNIX Shared File System environment and how it works

How to Deliver Measurable Business Value with the Enterprise CMDB

Virtual Networking with z/vm Guest LANs and the z/vm Virtual Switch

Network Management. New York Institute of Technology CSCI 690 Michael Hutt

Migrating LAMP stack from x86 to Power using the Server Consolidation Tool

SNMP. Simple Network Management Protocol

SNMP and Network Management

Getting Started With WebSphere Liberty Profile on z/os

Demystifying SNMP. TruePath Technologies Inc 10/5/2015 2:11:14 PM Version 1.db. p.1

z/os V1R11 Communications Server system management and monitoring

IBM WebSphere Data Interchange V3.3

IBM Tivoli Storage FlashCopy Manager Overview Wolfgang Hitzler Technical Sales IBM Tivoli Storage Management

IBM Tivoli Monitoring for Network Performance

V01. IBM zseries Expo April 16-20, 2007 Munich, Germany

Forecasting Performance Metrics using the IBM Tivoli Performance Analyzer

How To Manage Energy At An Energy Efficient Cost

Energy Management in a Cloud Computing Environment

Hit the Ground Running with SNMP LISA 2006, Washington, DC Doug Hughes

Simple Network Management Protocol Reference Guide

Simple Network Management Protocol

Lisa Gundy IBM Corporation. Wednesday, March 12, 2014: 11:00 AM 12:00 PM Session 15077

Implementing Tivoli Storage Manager on Linux on System z

Virtual Networking with z/vm Guest LAN and Virtual Switch

System z Batch Network Analyzer Tool (zbna) - Because Batch is Back!

Chapter 15. Network management

SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)

How To Write An Architecture For An Bm Security Framework

Total Cost of Ownership (TCO): Comparing System z and Distributed Platforms

High Availability for Linux on IBM System z Servers

Using SNMP with Content Gateway (not V-Series)

Network Management. Jaakko Kotimäki. Department of Computer Science Aalto University, School of Science. 21. maaliskuuta 2016

Keywords- Network Management, DoS attack, Network Diagram.

High Availability Architectures for Linux in a Virtual Environment

The ABCs of SNMP. Info Sheet. The ABC of SNMP INTRODUCTION. SNMP Versions

Clustered Data ONTAP 8.3

Release Notes. IBM Tivoli Identity Manager Oracle Database Adapter. Version First Edition (December 7, 2007)

TUTORIAL SNMP: STATUS AND APPLICATION FOR LAN/MAN MANAGEMENT. Aiko Pras

Maximo Business Intelligence Reporting Roadmap Washington DC Users Group

Session Title: Cloud Computing 101 What every z Person must know

Best Practices for Monitoring a Vmware Environment. Gary Powell Senior Consultant IBM SWG Tivoli

IBM Software Group. Lotus Domino 6.5 Server Enablement

How To Use Ibm Tivoli Composite Application Manager For Response Time Tracking

Accelerate with ATS DS8000 Hardware Management Console (HMC) Best practices and Remote Support Configuration September 23rd, 2014.

Redbooks Paper. Local versus Remote Database Access: A Performance Test. Victor Chao Leticia Cruz Nin Lei

This Lecture. NWEN 403 Advanced Network Engineering. Network Management. Outline. Network management. Qiang Fu

Positioning the Roadmap for POWER5 iseries and pseries

SCS100 CATVisor SNMP COMMANDER

Aktuelles aus z/vm, z/vse, Linux on System z

How-to Access RACF From Distributed Platforms

SMP/E V3.5 Hands-on Lab: Learning to use SMP/E FIXCATs

Vorlesung Netzmanagement Übung MIB und ASN.1 Seite 1 von 8. Übung MIB und ASN.1

Simple Network Management Protocol Reference Guide

TEIN2 Measurement and Monitoring Workshop Passive Measurements.

PKI Services: The Best Kept Secret in z/os

Rational Developer for IBM i (RDi) Introduction to RDi

Integrated and reliable the heart of your iseries system. i5/os the next generation iseries operating system

SNMPv3 in Practice Workshop

z/vm Capacity Planning Overview

IBM FileNet Image Services

Management, Logging and Troubleshooting

Communications Server for Linux

IBM Lotus Enterprise Integrator (LEI) for Domino. Version August 17, 2010

Transcription:

Monitoring z/vm with SNMP Session 10053 Jay Brenneman rjbrenn@us.ibm.com Monitoring z/vm with SNMP Session 10053

Trademarks The following are trademarks of the International Business Machines Corporation in the United States and/or other countries. DB2* DB2 Connect DB2 Universal Database e-business logo* e-business on demand HiperSockets IBM* IBM eserver IBM logo* IMS Resource Link S/390* Tivoli* Tivoli Storage Manager TotalStorage* WebSphere* z/os* z/vm* zseries* * Registered trademarks of IBM Corporation The following are trademarks or registered trademarks of other companies. Java and all Java-related trademarks and logos are trademarks of Sun Microsystems, Inc., in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Microsoft, Windows and Windows NT are registered trademarks of Microsoft Corporation. UNIX is a registered trademark of The Open Group in the United States and other countries. SET and Secure Electronic Transaction are trademarks owned by SET Secure Electronic Transaction LLC. * All other products may be trademarks or registered trademarks of their respective companies. Notes: Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here. IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply. All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer configurations and conditions. This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult your local IBM business contact for information on the product or services available in your area. All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Information about non-ibm products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any other claims related to non-ibm products. Questions on the capabilities of non-ibm products should be addressed to the suppliers of those products. Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography. 2

Agenda SNMP and you z/vm SNMP capabilities z/vm Setup details SNMP Network Monitoring Stations 3

SNMP and you Simple Network Monitor Protocol Identifies the host and provides admin contact information Provides port numbers and addresses of network interfaces Sends notifications of link state changes The standard network monitor used by network admins everywhere. Good for getting buy in from network team, it makes VM less foreign. A good fit for VM: sends notifications when it needs to and uses no CPU when sleeping Uses a tree data structure: 4

The SNMP Tree A tree of OIDs ( Object Identifier ) Dot notation:.1.3.6.1.2.1.1.1 ASN notation:.iso.org.dod.internet.mgmt.mib-2.system.sysdescr.... ISO: 1...... org: 3...... DOD: 6... The sysdescr of one of my VM Systems: IBM 2097 z/vm Version 6 Release 1.0, service level 0901 (64-bit) VM TCP/IP Level 610 RSU 0901 running TCPIP MODULE M2, dated 10/29/09 at 16:47...... Internet: 1... mgmt: 2... Private: 4 mib-2: 1 Enterprises: 1 system: 1... dot1dbridge: 17 IBM: 2 sysdescr: 1 sysobjectid: 2 5

z/vm's SNMP capabilities z/vm's SNMP agent is already used by existing management tools Link State Changes ( traps ) Sep 1 11:13:26 litnetm1 snmptrapd[1178]: 2009-09-01 11:13:26 192.168.70.28(via UDP: [192.168.71.15]:161) TRAP, SNMP v1, community LTICVM9 IF- MIB::ifIndex Link Down Trap (0) Uptime: 5 days, 15:36:55.00 IF-MIB::ifIndex = INTEGER: 1 mib-2 data provided: System: sysdescr, sysobjectid, sysuptime, syscontact, sysname, syslocation Interfaces: ifnumber, iftable: ifindex, iftype, ifdescr, ifmtu, ifspeed, ifphysaddress, ifadminstatus, ifoperstatus, iflastchange, ifinoctets, ifinucastpkts, ifindiscards... IP: ipforwarding, ipinreceives, ipindiscards, ipoutrequests, ipaddrtable, iproutetable... ICMP: icmpinmsgs, icmpoutmsgs, icmpinechos, icmpoutechos, icmpoutdestunreachs... TCP: tcpactiveopens, tcppassiveopens, tcpretransegs, tcpinsegs, tcpoutsegs, tcpconntable... UDP: udpindatagrams, udpoutdatagrams, udptable... 6

Snmptrap command details snmptrap trape 1.1 number 30 1.2 text "UXZVM001" 1.3 text ITS BROKE ent 1.3.6.1.4.1.XXXX.6 Snmptrap trape extended trap allows multiple fields 1.1 number 30 field 1 is a number which is 30 1.2 text UXZVM001 field 2 is text which is UXZVM001 1.3 test ITS BROKE field 3 is text which is ITS BROKE Ent 1.3.6.1.4.1.XXXX.6 all fields appended to this Generic Trap OID Watch out for enterprise numbers, pick one not in use Check http://www.iana.org/assignments/enterprise-numbers for availability Use the SNMP Monitor in debug mode to fine tune the trap particulars 7

z/vm's SNMP capabilities z/vm 5.4 added support for a SNMP Subagent which provides access to VSWITCH counters. APAR VM64646 required to fix CP's responses to the subagent so that it does not abend dot1dbridge data provided: dot1dbase: dot1dbaseportaddress, dot1dbasenumports, dot1dbaseporttable, dot1dbaseportdelayexceededdiscards, dot1dbaseportmtuexceededdiscards... dot1dtp: dot1dtpporttable: dot1dtpportmaxinfo, dot1dtpportinframes, dot1dtpportoutframes, dot1dtpportindiscards Most useful is likely to be the port counts They provide the same data as seen in Q VSWITCH <vswname> USER <userid> 8

z/vm's SNMP limitations SNMP v1 only Plain text community names in all requests / responses Data structure limitations in v1 tree prevent some network configurations from being walkable Currently no way to tie a Vswitch port number to a guest Guests couple in to the lowest numbered port starting at port 65 Data returned by Q VSWITCH is stale as soon as its returned: a point in time snapshot Some SNMP monitor stations may be able to connect the dots based on MAC addresses Port count values are read only, and cannot be reset. Uncouple / Couple zeroes these values, but also changes the port number that the NIC is plugged in to. Ports are ephemeral they only exist when a guest NIC is coupled to them. 9

z/vm SNMP setup details Apply or verify APAR VM64646 CP change: requires an IPL Requires one device for each Vswitch to be monitored This should be through a different port than the one which services the Vswitch! TCPIP Profile changes: Add a Device & Link for the monitoring if you're not using an existing link Add SYSCONTACT and SYSLOCATION statements to fill in the system mib data Add SNMPD to the AUTOLOG section Add SNMPD to the PORT section Add SNMPD to the OBEY section Add the VSWITCH statement to the HOME definition for the LINK Start the new Device 10

z/vm SNMP setup details Add the following to SYSTEM DTCPARMS: :nick.snmpd :type.server :class.snmp :owner.tcpmaint :parms.-s SNMPSUBA :nick.snmpsuba :type.server :class.snmp_agent :owner.tcpmaint :parms.-u SNMPD Create PW SRC file accessible by SNMPSUBA: *Community *network *netmask TICLNET 192.168.71.249 255.255.255.255 TICLNET 192.168.71.48 255.255.255.255 TICLNET 192.168.71.49 255.255.255.255 Create SNMPTRAP DEST file accessible by SNMPSUBA: 11 *Host *Protocol 192.168.71.249 UDP 192.168.71.48 UDP 192.168.71.49 UDP *check the manuals You may not be able to use comments like this

z/vm SNMP setup details Copy MIB_EXIT SDATA from TCPMAINT's 591 disk to MIB_EXIT DATA on TCPMAINT's 198 disk Copy MIB_DESC SDATA from TCPMAINT's 591 disk to MIB_DESC DATA on TCPMAINT's 198 disk Copy MIBX2DSC SAMPEXEC from TCPMAINT's 592 disk to MIBX2DSC EXEC on TCPMAINT's 592 disk Run MIBX2DSC to copy some of the statements from MIB_EXIT DATA to MIB_DESC DATA MIBX2DSC MIB_EXIT DATA L MIB_DESC DATA L If you did it right there will be a new section at the bottom of MIB_DESC DATA containing the bridge OIDs: 1.3.6.1.2.1.17 12

z/vm SNMP setup details Verify that SNMPSUBA has class E privleges FORCE and XAUTOLOG SNMPD to verify that it brings up SNMPSUBA automatically Run snmpwalk from one of the PW SRC network monitor stations snmpwalk -t 10 -c TICLNET -v 1 192.168.70.24.1.3.6.1.2.1.1 snmpwalk -t 10 -c TICLNET -v 1 192.168.70.24.1.3.6.1.2.1.17 SNMPv2-MIB::sysDescr.0 = STRING: IBM 2097; z/vm Version 5 Release 4.0, service level 0901 (64-bit), VM TCP/IP Level 540; RSU 0901 running TCPIP MODULE M2 dated 05/28/09 at 11:41 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2- SMI::enterprises.2.2.1.2.3 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (180428500) 20 days, 21:11:25.00 SNMPv2-MIB::sysContact.0 = STRING: BOB ADMIN (TL 555-1122) GARY SYSPROG (TL 555-1133) DEPARTMENT OF REDUNDANCY DEPARTMENT SNMPv2-MIB::sysName.0 = STRING: LTICVM9.PDL.POK.IBM.COM SNMPv2-MIB::sysLocation.0 = STRING: BUILDINGA 123 FAKE STREET POUGHKEEPSIE, NY 12601 SNMPv2-MIB::sysServices.0 = INTEGER: 76 BRIDGE-MIB::dot1dBaseBridgeAddress.0 = Hex-STRING: 02 09 00 00 00 03 BRIDGE-MIB::dot1dBaseNumPorts.0 = INTEGER: 24 BRIDGE-MIB::dot1dBaseType.0 = INTEGER: transparent-only(2) BRIDGE-MIB::dot1dTpPort.1 = INTEGER: 1 BRIDGE-MIB::dot1dTpPort.65 = INTEGER: 65 BRIDGE-MIB::dot1dTpPort.66 = INTEGER: 66 BRIDGE-MIB::dot1dTpPort.67 = INTEGER: 67 BRIDGE-MIB::dot1dTpPortMaxInfo.1 = INTEGER: 9152 BRIDGE-MIB::dot1dTpPortMaxInfo.65 = INTEGER: 65472 BRIDGE-MIB::dot1dTpPortMaxInfo.66 = INTEGER: 65472 BRIDGE-MIB::dot1dTpPortMaxInfo.67 = INTEGER: 65472 BRIDGE-MIB::dot1dTpPortInFrames.1 = Counter32: 180755120 BRIDGE-MIB::dot1dTpPortInFrames.65 = Counter32: 17395512 BRIDGE-MIB::dot1dTpPortInFrames.66 = Counter32: 17238306 BRIDGE-MIB::dot1dTpPortInFrames.67 = Counter32: 22867486 BRIDGE-MIB::dot1dTpPortOutFrames.1 = Counter32: 228351243 BRIDGE-MIB::dot1dTpPortOutFrames.65 = Counter32: 6487738 BRIDGE-MIB::dot1dTpPortOutFrames.66 = Counter32: 2554372 BRIDGE-MIB::dot1dTpPortOutFrames.67 = Counter32: 13075687 13

PROFILE TCPIP (partial) example SYSCONTACT Bob Admin (TL 555-1122) Gary Sysprog (TL 555-1133) Department of Redundancy Department ENDSYSCONTACT SYSLOCATION BUILDINGA Floor 2 Red 11 Blue 48 123 Fake Street Poughkeepsie, NY 12601 ENDSYSLOCATION Guest1 Guest2 Guest3 AUTOLOG ( trimmed ) SNMPD password ; SNMP VM Agent Virtual Machine PORT ( trimmed ) 161 UDP SNMPD ; SNMP Agent OBEY SNMPD ENDOBEY SNMPSUBA SNMPD TCPIP CP DIAG DT70TAG DEVICE DEVETH4 OSD 0800 LINK LNKETH4 QDIOETHERNET DEVETH4 HOME 192.168.70.24 VSWITCH DT70TAG LNKETH4 z/vm 800 900 START DEVETH4 14

PROFILE TCPIP (partial) example: more vswitches! DEVICE DEVETH4 OSD 0800 LINK LNKETH4 QDIOETHERNET DEVETH4 DEVICE DEVETH5 OSD 0804 LINK LNKETH5 QDIOETHERNET DEVETH5 DEVICE DEVETH6 OSD 0808 LINK LNKETH6 QDIOETHERNET DEVETH6 HOME 192.168.70.24 VSWITCH DT70TAG LNKETH4 192.168.70.25 VSWITCH PRVV68 LNKETH5 192.168.70.26 VSWITCH PRVV71L2 LNKETH6 START DEVETH4 START DEVETH5 START DEVETH6 This appears as a single device to the SNMP Monitor station! Security implications if the three Vswitches are in different security zones? z/vm Guest1 SNMPSUBA SNMPD TCPIP 800 800 Guest2 DT70TAG 900 Guest3 PRVV68 A00 PRVV71L2 B00 15

Example: more vswitches and more security! Guest1 Guest2 Guest3 DT70TAG PRVV68 PRVV71L2 SNMPSUB1 SNMPSUB2 SNMPSUB3 SNMPD SNMPD1 SNMPD2 SNMPD3 TCPIP SWMDT70 SWMV68 SWMV71L2 z/vm 800 804 900 808 A00 80B B00 16

SNMP Network Monitor Stations Snmptrapd & ( Nagios Xymon ) OpenNMS NetView IBM Tivoli Network Manager IP Edition formerly Netcool Precision IP 17

SNMPtrapd and Nagios / Xymon Xymon is the new name for the Hobbit Monitor Both Nagios and Xymon are poller / pinger frameworks that come with built in scripts to verify service availability. Snmptrapd running on Linux receives and logs traps to /var/log/messages or whatever SNMPTT ( SNMP Trap Translator ) processes the logs and sends events to either Nagios or Xymon http://www.snmptt.org/about.shtml http://www.nagios.org/ http://snmptt.sourceforge.net/docs/snmptt.shtml#nagios-netsaint http://www.xymon.com/ http://cerebro.victoriacollege.edu/hobbit-trap.html 18

OpenNMS Open Network Monitor System Java based native SNMP monitor Bit of a resource hog, but rich functionality makes up for it Native Trap processing and notification functions http://opennms.org/ 19

IBM offerings Tivoli NetView http://www.ibm.com/developerworks/wikis/display/tivolidoccentral/tivoli+netview Tivoli Network Manager IP Edition http://www.ibm.com/developerworks/wikis/display/tivolidoccentral/tivoli+network+man ager+ip+edition 20

ITNM-IP Systems and Technology Group Integrates with Omnibus for event correlation Pulls real time performance counters and compares to historical averages Can also generate topology maps for root cause 21

For more information System Z Platform Test library: http://www-03.ibm.com/systems/services/platformtest/servers/systemz_library.html The SNMP Paper this presentation is based on: http://www-03.ibm.com/systems/resources/snmp-whitepaper-legal.pdf Another Excellent paper with descriptions of ITNM-IP setup: http://www-03.ibm.com/support/techdocs/atsmastr.nsf/webindex/wp101492 22

This slide intentionally left blank 23