Monitoring HP OO 10. Overview. Available Tools. HP OO Community Guides



Similar documents
HP OO 10.X - SiteScope Monitoring Templates

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

Oracle WebLogic Server 11g Administration

WebSphere Server Administration Course

IBM WebSphere Server Administration

WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE

How to Set Up Disaster Recovery for HP OO

Tuning WebSphere Application Server ND 7.0. Royal Cyber Inc.

MONITORING A WEBCENTER CONTENT DEPLOYMENT WITH ENTERPRISE MANAGER

A technical guide for monitoring Adobe LiveCycle ES deployments

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

Holistic Performance Analysis of J2EE Applications

Integrated Billing Solutions with HP CSA 4.00

Tool - 1: Health Center

Windows Server 2012 Server Manager

Installation and Configuration Guide for Windows and Linux

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

WEBLOGIC ADMINISTRATION

Installation and Configuration Guide for Windows and Linux

vcenter Operations Management Pack for SAP HANA Installation and Configuration Guide

1 Download & Installation Usernames and... Passwords

MONITORING PERFORMANCE IN WINDOWS 7

An Oracle White Paper September Advanced Java Diagnostics and Monitoring Without Performance Overhead

Semantic based Web Application Firewall (SWAF V 1.6) Operations and User Manual. Document Version 1.0

HP SiteScope. HP Vertica Solution Template Best Practices. For the Windows, Solaris, and Linux operating systems. Software Version: 11.

Secure Messaging Server Console... 2

J2EE-JAVA SYSTEM MONITORING (Wily introscope)

Using LDAP Authentication in a PowerCenter Domain

How To Improve Performance On An Asa 9.4 Web Application Server (For Advanced Users)

SQL Tuning and Maintenance for the Altiris Deployment Server express database.

HP Operations Orchestration Software

User Guide for VMware Adapter for SAP LVM VERSION 1.2

Big Data Operations Guide for Cloudera Manager v5.x Hadoop

Tuning Your GlassFish Performance Tips. Deep Singh Enterprise Java Performance Team Sun Microsystems, Inc.

VMware vrealize Operations. Management Pack for. PostgreSQL

NSi Mobile Installation Guide. Version 6.2

InspecTView Highlights

SQL diagnostic manager Management Pack for Microsoft System Center. Overview

Avalanche Site Edition

Justin Bruns, Performance Test Lead, Fireman's Fund Insurance Robert May, Enterprise Software Tools Administrator Fireman's Fund Insurance

XpoLog Center Suite Log Management & Analysis platform

5nine Cloud Monitor for Hyper-V

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

HP SiteScope software

Sample. WebCenter Sites. Go-Live Checklist

No.1 IT Online training institute from Hyderabad URL: sriramtechnologies.com

Network Licensing. White Paper 0-15Apr014ks(WP02_Network) Network Licensing with the CRYPTO-BOX. White Paper

Aradial Installation Guide

HP Operations Orchestration Software

Client Overview. Engagement Situation

Robert Honeyman

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

Winning the J2EE Performance Game Presented to: JAVA User Group-Minnesota

WebLogic Server Admin

Introduction to Source Control Management in OO 10

Blackboard Learn TM, Release 9 Technology Architecture. John Fontaine

Sample HP OO Web Application

ITG Software Engineering

Central Administration QuickStart Guide

System Administration Training Guide. S100 Installation and Site Management

Symantec Endpoint Protection Shared Insight Cache User Guide

Monitor Solution Best Practice v3.2 part of Symantec Server Management Suite

Spectrum Technology Platform. Version 9.0. Spectrum Spatial Administration Guide

Application Performance in the Cloud

JBoss AS Administration Console User Guide. by Shelly McGowan and Ian Springer

Performance Best Practices Guide for SAP NetWeaver Portal 7.3

Monitoring Remedy with BMC Solutions

Edit system files. Delete file. ObserveIT Highlights. Change OS settings. Change password. See exactly what users are doing!

CLOUD CRUISER FOR WINDOWS AZURE PACK

HP Diagnostics. Java Agent Guide. For the Windows, Solaris and Linux operating systems. Software Version: Document Release Date: May 2014

HP Device Manager 4.7

Hands-on Lab Exercise Guide

Configuring ActiveVOS Identity Service Using LDAP

Monitoring Agent for Citrix Virtual Desktop Infrastructure Version Reference IBM

Basic TCP/IP networking knowledge of client/server concepts Basic Linux commands and desktop navigation (if don't know we will cover it )

Providing Self-Service, Life-cycle Management for Databases with VMware vfabric Data Director

How To Monitor A Server With Zabbix

QUANTIFY INSTALLATION GUIDE

HP Client Automation Standard Fast Track guide

HP LeftHand SAN Solutions

Informatica Master Data Management Multi Domain Hub API: Performance and Scalability Diagnostics Checklist

iway iway Business Activity Monitor User's Guide Version Service Manager (SM) DN

FileMaker Server 14. FileMaker Server Help

Glassfish Architecture.

Contents Introduction... 5 Deployment Considerations... 9 Deployment Architectures... 11

SQL Server. SQL Server 100 Most Asked Questions: Best Practices guide to managing, mining, building and developing SQL Server databases

Oracle vs. SQL Server. Simon Pane & Steve Recsky First4 Database Partners Inc. September 20, 2012

CA Nimsoft Monitor. Probe Guide for Active Directory Server. ad_server v1.4 series

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

Setup Guide. network support pc repairs web design graphic design Internet services spam filtering hosting sales programming

The SkySQL Administration Console

Java Management Extensions (JMX) and IBM FileNet System Monitor

CA Nimsoft Monitor Snap

System Administration of Windchill 10.2

SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package Data Federation Administration Tool Guide

OMU350 Operations Manager 9.x on UNIX/Linux Advanced Administration

This presentation covers virtual application shared services supplied with IBM Workload Deployer version 3.1.

Preparing a SQL Server for EmpowerID installation

Transcription:

HP OO Community Guides Monitoring HP OO 10 This document describes the specifications of components we want to monitor, and the means to monitor them, in order to achieve effective monitoring of HP Operations Orchestration 10.0x. Overview This document includes components to monitor, technical monitoring options, and some demonstrations of usage of monitoring tools. It is focused on monitoring Central and RAS through all the relevant layers. This includes using OO REST API calls to monitor the application level, monitoring the JVM performance and monitoring the infrastructure level components such as DB, Services, CPU, memory, etc. HP Operations Orchestration HP Operations Orchestration (HP OO) is a next generation IT Process Automation solution that is designed from the ground up to increase automation adoption whether in a traditional data center or hybrid cloud environment. OO 10 Community This guide is created for the OO community. To get started with HP OO 10 check out our community onboarding kit that contains three persona-based learning tracks for administrators, flow authors, and end users. Each track provides knowledge assets of the following types: Videos Tutorials Quick Guides Presentations This document does not contain recommended thresholds, tuning and sizing guidelines. Available Tools In order to ease the process of building a monitoring infrastructure for OO, you can utilize the following tools. Java Melody: Java Melody is implemented in the OO web application. HP SiteScope (SiS): We chose to demo some of the monitors utilizing HP SiteScope as the monitoring application. HP OO Flows and Operations: Our base content pack contains several operations which can be easily used in order to build your own health check flows. For example: JVM Low Memory Check JVM Memory Usage Statistics Http Client Get LDAP Search Service Status Some of these tools such as Java Melody, SiteScope generic monitors and OO flows, are available Out-Of-The-Box.

Monitoring Layers The figure above illustrates relevant monitors and available tools for monitoring Central and RAS. Central OO Application Layer: In this layer we can use the OO REST API, as well as logs in order to get feedback in the functional level. Java Application Server and JVM Layer: In this layer we can monitor the JVM using JMX, logs and OO operations. We can also get valuable information regarding the Java Application status and performance using Java Melody (See Appendix 2). Infrastructure Layer: Includes OS, services, database, etc. This layer can be monitored via standard monitoring as well as using Out-Of-The-Box OO Flows. RAS RAS is a java based application; it is not an application server (thus it cannot contain Java Melody). And as a remote agent it is of course much thinner then Central. When monitoring RAS, we should focus on its connectivity to Central, and on the JVM and OS related metrics. The next sections describe the detailed monitoring for each layer in a top-bottom fashion.

OO Application Layer Application layer monitoring data resides in the database and logs. It can be retrieved by using the following: REST API Logs Central REST API Metric REST Syntax Remarks RAS Servers Status Get /workers Example JSON result: [{ "uuid":"16fcc0d1-17e2-48d6-8d60-4abcf4fd3571", "installpath":"c:/program Files/Hewlett-Packard/HP Operations Orchestration/central", "os":"windows Server 2008 R2", "jvm":"1.7.0_40", "description":"16fcc0d1-17e2-48d6-8d60-4abcf4fd3571", "dotnetversion":"4.x", "hostname":"myhost.mydomain.corp", "groups":[ "RAS_Operator_Path" ], "status":"running", "active":true LDAP Communication Status }] Request: POST/authns/ldap-config/{id}/test Description: Test an existing LDAP configuration. Request: POST/authns/ldap-config/test Description: Test an ad hoc LDAP configuration. The body of this request must contain a JSON object with the search details. Example: {"type":"open_dj", "domain":"catlab", "addresses":[{"host":"myhost.mydomain.corp","port":389}], "securedchannel":false, "enabled":true, "privilegeduser":"cn=ooadmin,ou=services,dc=catlab,dc=corp", "privilegeduserpassword":"********", "groupsdns":["ou=oo,ou=applications,dc=catlab,dc=corp"], "groupssearchrecursive":true, "groupsfilter":"(&(objectclass=groupofnames)(member={0}))", "groupnameattribute":"cn", "usersfilter":"(&(uid={0})( (objectclass=inetorgperson)(objectclass=organizationalperson) (objectclass=person)))", "usersdns":["ou=users,dc=catlab,dc=corp"], "userssearchrecursive":true, "usercommonnameattribute":"cn", "useremailattribute":null, "groupmembershipattribute":null, "username":"admin", "userpassword":"admin", "customgroupsattributesnames":null} Several REST options (any operations which perform an LDAP search) can be used for this purpose. This specific example tests the LDAP configuration and returns the attributes of the user you have tested with (The same as clicking the test button in the UI). Utilizing the REST API has the advantage of an end-to-end check from the OO application to the LDAP Server. Central Logs Metric Log Remarks\Examples Failed Executions Execution.log 2013-11-10 23:11:00,713 [WorkerExecutionThread-2_142895324] (ExecutionServiceImpl.java:498) ERROR - Error occurred during operation execution. Execution id: 142895324

com.hp.oo.internal.sdk.execution.flowexecutionexception: Failed to execute content action: com.hp.oo:oo-base-legacy-plugin:1.0.135-snapshot -> com.iconclude.content.actions.cmd.ping.localping In general it is recommended to capture ERROR and FATAL statements in the log file. Java Application Server and Java Virtual Machine Layer Application Server level monitoring can be done by using the following tools: For Central Servers JMX (for the JVM - in case you can/will not use JMX, please view Appendix 1) Java Melody (please view Appendix 2) OO Operations OO Logs For RAS Servers JMX (for the JVM - in case you can/will not use JMX, please view Appendix 1) OO Operations RAS Log The quickest way to achieve Java Application Monitoring will be to use the Out-Of-The-Box Site Scope JMX monitor for both Central and RAS. Using JMX In the following screenshot, you can see an Out-of-the-Box SiS JMX performance monitor, showing data of an OO 10.0x standalone RAS. The following table describes the java metrics: Counter java.lang/garbagecollector/ps MarkSweep/CollectionCount java.lang/garbagecollector/ps MarkSweep/CollectionTime java.lang/garbagecollector/ps Scavenge/CollectionCount java.lang/garbagecollector/ps Scavenge/CollectionTime Description Number of Major garbage collection since the start of the JVM and the cumulative CPU time these GC took Indicates the amount of minor garbage collections - meaning garbage collection from the young/eden and survivor spaces in the heap Cumulative amount of CPU time minor garbage collection

Counter java.lang/garbagecollector/ps Scavenge/LastGcInfo/duration java.lang/garbagecollector/ps MarkSweep/LastGcInfo/duration java.lang/memory/heapmemoryusage/used java.lang/memory/nonheapmemoryusage/used java.lang/threading/threadcount OO/WorkerManagerMBean/workerManagerMBean/InBufferSize OO/WorkerManagerMBean/workerManagerMBean/OutBufferSize Description Duration of the last minor GC Duration of the last major GC, long periods of time may indicate a memory problem Amount of memory used, if the amount of memory used is close to the maximum available memory to the heap this can indicate excessive memory usage PERM memory, used mainly to store loaded classes Amount of threads in the JVM Current size of the inbuffer which holds the steps the worker is supposed to run Current size of the outbuffer, which holds the steps that need to be persisted to the DB. Note JMX offers 2 optional methods for authentication and authorization against the JMX server: 1. Using text files, where the password is not encrypted. The files are protected using standard file system security. 2. Using LDAP. In order to secure JMX, it is highly recommended to configure it with LDAP Authentication and enable SSL. Using the OO operations There are 2 very useful OO operations for the JVM health: JVM Low Memory Check: This operation retrieves the JVM memory pool info, including the maximum memory, used memory, memory pools, and returns a response if there is a low memory issue or memory is within thresholds. JVM Memory Usage Statistics: A detailed description of these operations is available in the operation s description tab. OO Logs The OO Log files are located under <OO installation Folder>\central\var\logs and it is recommended to monitor for ERROR and FATAL events. The following log files are available for Central (while only the wrapper and execution logs are available for RAS): Metric Log Remarks Failed HTTP requests to Central Access The access log contains every request sent to the OO by HTTP/HTTPS the server Log JVM and wrapper issues Wrapper.log The wrapper log contains messages such as startup/shutdown of the server, memory issues in the server etc. Execution errors Execution.log All logged messages General.log Infrastructure Layer OS It is advised to use standard OS monitoring:

CPU Utilization Disk Space Memory Usage Services HP Operations Orchestration Central service status HP Operations Orchestration RAS service status Both OS and Services can be monitored in several ways: SiS Monitors. OO flows, utilizing the following operations: Get CPU Usage. Get Available Memory in Megabytes Service Status Windows File System, Network, Memory diagnostics and system health check OOB flows. Any standard monitoring tool. DB The OO application rolls data in tables and the growth should be relatively consistent. We recommend checking the DB size growth consistency. A good threshold will be an alert if the DB size is doubled over the last day. In addition, we advise to use standard DB monitoring: Available free space for the OO schema DB size Database error logs Swap file usage HA (In case you use High availability ) Monitor backup validity Note: Indications regarding the DB performance are also available via Java Melody. DB monitoring recommendations and monitoring relevant SQL commands and tools are vendor specific. Please also consult your DBA regarding the server s CPU, system IOPS ( I/O per Second), memory usage, DB connections, open DB files, temp usage and more. SiS has Out-Of-The-Box monitors for Oracle and SQL Server. For other Databases you can use the custom DB monitor or other solutions. LDAP Verify that there is access from the Central Server to the relevant LDAP (Default ports are 389 for simple bind, 636 for LDAP over SSL). Verify that the OO application User logins successfully to the LDAP server. Note: This can also be done in the application layer. And that s the end of guide. If you have any questions then please post them on the OO community forums: https://hpln.hp.com/node/21/og/forum/37

Appendix 1: Logging the JVM Memory Usage Information Some organizations chose not to enable the JMX debug console for Java based applications due to e.g. security concerns. In this case you can log Java memory usage data by turning on several java-logging options in the Java Additional Parameters section of the ras-wrapper.conf file. The following example outputs garbage collection information to a separated log: wrapper.java.additional.22="-xloggc:%ras_home%/var/logs/jvm.log" wrapper.java.additional.23="-xx:-usegclogfilerotation" wrapper.java.additional.25="-xx:gclogfilesize=10240k" These settings will produce the following information: [GC 138232K->17428K(494976K), 0.0038747 secs] The above line indicates: [GC/Full GC <amount of memory in young/old generation before the GC> -> <amount of memory in young/old generation after the GC>(Committed size of the heap in Kb), <duration of the GC in seconds>] This data can indicate memory issues if we see the following: Similar or close Amount of memory before and after a Full GC can indicate insufficient heap or a memory leak over time Long periods of garbage collections (more than a few seconds) can indicate insufficient memory or a memory leak and can also indicate and over loaded system There many online resources that can provide addition information and suggestions for logging JVM metrics to a file.

Appendix 2: Using Java Melody Java Melody is a Java Application Server monitoring tool which is implemented in the OO Central Application. Java Melody displays statistics regarding memory usage, CPU usage, http sessions and the database. To access the JavaMelody statistics, please go to: http://<centralserver>:<port>/oo/monitoring Metric Details Remarks Used Memory Memory utilization metrics % CPU CPU Usage. Active jdbc Currently working JDBC Provides metrics regarding DB connections. connections connections Used jdbc Currently opened JDBC Provides information regarding DB connections pooling connections connections http hits per Amount of http requests to Provides information regarding web server load. minute the server per minute HTTP Mean Times Sql hits per minute SQL Mean Times Average times for the HTTP requests sent to the server (note that these requests can be drilled down to in statistics http section Provides information regarding DB server load. Average times for the SQL requests generated by the server Amount of SQL requests generated by the server Java Melody has a REST API, in case you want to query it with your own monitoring tool. The results can be returned in JSON or XML format. The API documentation is available here: https://code.google.com/p/javamelody/wiki/externalapi