zevent Mobile Application Dr. Qais Noorshams, IBM DE noorshams@de.ibm.com 15. 18. September @ Zeit für z - z/os Kundentag und GSE z/os Guide in Böblingen
The zevent Mobile Application And what about critical events and z/os performance monitoring on mobile devices? 2015 IBM Corporation 2
The zevent Mobile Application Receive push messages based on critical system events Access to z/os performance data from mobile devices Single point of control for the enterprise Developed with IBM MobileFirst Platform Closed beta release upcoming (Android, ios) Current availability target is Q1 2016 Supported Monitoring Facilities: RMF Performance Data Portal z/osmf Resource Monitoring 2015 IBM Corporation 3
Content Overview Basic Idea Components and Flow Administration Push Mechanism Using the zevent App Getting Started Configuration and Settings Push Server Setup Inbound Functions Events Snapshots Outbound Functions RMF Performance Data Portal z/osmf Resource Monitoring Launch in Context Demo 2015 IBM Corporation 4
Idea Solution and Scenario Time between occurrence of an event and the time a resolution is required is so small that a rapid notification which helps to resolve the problem is critical Provide a system programmer with the means to get immediately notified when an important event occurs to check major system indicators to decide whether the event requires immediate attention Solution Mobile app which receives event notifications z/os back end to send events and manage participants 1. System Programmer/Administrator: Not at workplace 2. Event happens on mainframe, e.g. Defined Capacity Limit reached or performance stalls 3. Alert is generated by MPF, CPM, RMF, SA etc and send via push notification to mobile phone 4. Solution allows to check back status/additional information from mobile phone to mainframe 5. Then take action (at workplace) or classify status as uncritical 2015 IBM Corporation 5
zevent Components Push Notification Registration Push Services Mobile App Setup Event Generation Setup Access to Systems Management functions z/os Host User Administration Monitoring Products Admin System Administrator 2015 IBM Corporation 6
zevent Components Mobile Application z/os host system Push server zevent requires three parts The mobile application which displays events, snapshots and which allows to access monitoring functions on z/os z/os host system which provides user administration, a mechanism to recognize and send important events to the push services, and monitoring tools which can be accessed to further analyze system status Push services which are open services to deliver notifications to registered end user devices zevent is part of z/osmf 2.2 2015 IBM Corporation 7
zevent Complete Flow 3. Push Token 2015 IBM Corporation 8
zevent Complete Flow Encrypted message flow to guarantee secure message delivery Encryption using ICSF CSNBSYE service on z/os One of the most important aspects of zevent is secure message delivery All events and snapshots can be encrypted on the z/os host The decryption takes place at the mobile devices Events and snapshots which are saved on the mobile device are encrypted by a master password Used encryption: AES-128, -192, or -256 Registration Mobile devices connects to push server and retrieves a push token The push token is sent to the z/os (zevent) system administrator who adds the user to zevent and assigns it to user groups 2015 IBM Corporation 9
Encryption zevent Administration The event administration provides the following functions: User and Group definition Event Mappings Push Connections Email SMS z/osmf zevent Service built on Bluemix provides zosmf Notification API Invokes to send push messages Client Management Push Service Management Targets and Defaults evaluates Rexx Bridge z/osmf persistent data store notifies Other Applications MPF, SA, 2015 IBM Corporation 10
zevent: Push Services Push services for ios and Android devices depend on Apple Push Notification Services (APNS) for ios Google Cloud Messaging (GCM) for Android IBM zevent Push Services Use IBM Bluemix which provides the umbrella to assure that no end-to-end communication addresses can be identified Optionally: Google Cloud Messaging can be used w/o IBM Bluemix (only for Android devices) Extensible: Interface open to other implementations (e.g., direct APNS communication) Use AES-256 encryption (on z/os: ICSF CSNBSYE service) to assure that no message can be read On Mobile device Messages only encrypted when user displays them otherwise application is password secured and messages are always encrypted (see next page) 2015 IBM Corporation 11
zevent: Push Notifications (Managed by OS on ios) (Android) 2015 IBM Corporation 12
Content Overview Basic Idea Components and Flow Administration Push Mechanism Using the zevent App Getting Started Configuration and Settings Push Server Setup Inbound Functions Events Snapshots Outbound Functions RMF Performance Data Portal z/osmf Resource Monitoring Launch in Context Demo 2015 IBM Corporation 13
zevent App Startup Start: Splash Screen Events: Always shown after Startup Settings: Show/Hide Tabs Connect to Push Server Connect to Monitors 2015 IBM Corporation 14
Tabs and Dialogs Tab Selection The Events tab is the main tab and it is always present All other tabs can be configured based on need and functions which should be exploited Snapshot: to display graphical information which also receives as push notifications RMF: accesses the RMF data portal to display RMF performance data z/osmf RM: accesses z/osmf to display RMF performance data Note: The information on RMF and z/osmf can be redundant and the option is simply provided as a user s choice 2015 IBM Corporation 15
zevent Registration 5 1 4 3 2 The first required step is to connect to the push server Connection information can be provided by a QR code which can also be created by the Mobile App After scanning the QR code, the connection information is filled into the push settings display Pressing the Connect button sends a message to the push server to retrieve the push token The push token (Android: Reg. ID) is also displayed in the settings dialog 2015 IBM Corporation 16
zevent Push Server Connection 6 8 5 6 7 Registration is required when the application is installed and used for the first time and after each re-install The application checks whether the push token has changed and if yes it provides a dialog to send the information to the system administrator The user can select the email program and the connection information is entered in JSON format After pressing the SEND button the information is on its way 2015 IBM Corporation 17
Tabs and Dialogs Events For the first time Filled with events Pressing on an event allows to display message details Pressing on the details shows a pop-up dialog to go to RMF, z/osmf RM or to delete the events 2015 IBM Corporation 18
Tabs and Dialogs Snapshot Snapshots are performance information which are displayed as graphical charts Provide important analysis information immediately with an important event on a regular basis without requesting the user to pull the information The usage is the same as on the Events tab: The occurrence of a snapshot or chart is signaled as an event Clicking on the event displays the chart A chart can be manipulated (zooming) or deleted 2015 IBM Corporation 19
Snapshot The Idea Key metrics on the z/os systems are monitored continuously by the zevent provider A push message with the chart as JSON payload is sent to the zevent app The App receives the JSON document and visualizes the chart graphically "charts" : [{ "sys" : "SYS2", "time" : "17:53:44", "title" :"CPU Consumption", "xaxis" : { "title" : "Time (h)", "label" : [1,2,3,4,5,6,7,8,9,10,11] }, "yaxis" : {"title" : "MSU"}, "series": [{ "title" :"CPU1", "type" :"Lines", "markers":false, "color" :"#6656756A", "values" :[17,22,17,21,4,21,8,5,1,6,21] },{ "title" :"CPU2", "type" :"Lines", "markers":false, "color" :"#66A48E24", "values" :[24,29,20,15,21,30,6,17,28,18,9] }], "usr" {"Date":"15/04/28","Time":"17:30:00"} }] 2015 IBM Corporation 20
Tabs and Dialogs RMF & z/osmf RMF and z/osmf allow the mobile user to logon to the z/os system and to obtain additional information to further analyze a performance event RMF accesses the RMF performance data portal z/osmf accesses z/osmf RM 2015 IBM Corporation 21
zevent RMF Performance Data Portal The RMF Performance Data Portal appears on the RMF tab when the following URL is specified with the connection profile: http://hostname:8803/gpm/root.xml From the primary screen the user can now navigate to any preferred metric 2015 IBM Corporation 22
zevent z/osmf Resource Monitoring The z/osmf Resource Monitoring Dashboard list is displayed on the z/osmf tab when the following URL is specified with the connection profile: http://hostname:443/zosmf/izur The user can now open the preferred Dashboard 2015 IBM Corporation 23
Tabs and Dialogs Connection In order to access the z/os system it is necessary to provide The label is the name of the server The URL for RMF resp. z/osmf Timeout value in milliseconds Userid and password 2015 IBM Corporation 24
Tabs and Dialogs Connect A connection can be established by the mobile user Pressing the connection entry and then Connect The mobile device accesses the z/os system A connection can also be established under the cover from an event or snapshot entry for the system from which the event or snapshot was sent Assuming a connection entry is defined for that system 2015 IBM Corporation 25
Launch in Context RMF DDS Metric 2015 IBM Corporation 26
Launch in Context RMF Monitor III Report 2015 IBM Corporation 27
Launch in Context RMF Postprocessor Report 2015 IBM Corporation 28
Launch in Context z/osmf Dashboard 2015 IBM Corporation 29
Content Overview Basic Idea Components and Flow Administration Push Mechanism Using the zevent App Demo Getting Started Configuration and Settings Push Server Setup Inbound Functions Events Snapshots Outbound Functions RMF Performance Data Portal z/osmf Resource Monitoring Launch in Context 2015 IBM Corporation 30
Demo 2015 IBM Corporation 31
The zevent Mobile Application Summary Receive push messages based on critical system events Instant access to z/os performance data from mobile devices Added value through collective app integration Launch in context provides additional value Quick entry to monitoring facilities through automated login Representation of the data is well suited for mobile devices RMF Performance Data Portal with individual Metric views z/osmf Resource Monitoring Dashboards are arranged vertically Closed beta release upcoming (Android, ios) Looking for interests to test zevent Feedback will be integrated into Q1 2016 release zevent: About me: http://www-03.ibm.com/systems/z/os/zos/features/zevent/zevent.html Dr. Qais Noorshams IBM DE noorshams@de.ibm.com 2015 IBM Corporation 32
Thank you!