Care and Feeding of the Pacific Application Server for OpenEdge in Production David Cleary Principal Software Engineer Progress Software.

Slides:



Advertisements
Similar presentations
Server Access The REST of the Story David Cleary
Advertisements

SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
REST support for B2B access to your AppServer PUG Challenge Americas Michael Jacobs : Senior Software Architect Edsel Garcia : Principal Software.
OPS-7: Migrating your Distributed Application from V9 to OpenEdge ® 10 with (Almost) No Downtime Roy Ellis Principal QA Engineer.
DEV-13: You've Got a Problem, Here’s How to Find It
Scale Up Access to your 4GL Application using Web Services
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Report Distribution Report Distribution in PeopleTools 8.4 Doug Ostler & Eric Knapp 7264.
Pacific Application Server for OpenEdge
Tomcat Configuration A Very, Very, Very Brief Overview.
Introducing VMware vSphere 5.0
X2O Server Installation
Authenticating REST/Mobile clients using LDAP and OERealm
DEV-14: Understanding and Programming for the AppServer™
Pacific Application Server for OpenEdge
Performance testing of Progress Appservers and a plug-in for Jmeter
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
What’s new in Progress Developer Studio for OpenEdge 11.0?
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
A New Object Model for WebSpeed and HTTP
OPS-17: Utilizing Firewalls - In the Reign of Fire
C Copyright © 2009, Oracle. All rights reserved. Using Diagnosis and Debugging Techniques.
Mobile Tech Architecture Overview Phil Sirigiano Technical Services 3/4/2015.
Apache Tomcat Web Server SNU OOPSLA Lab. October 2005.
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
Oracle Application Express 3.0 Joel R. Kallman Software Development Manager.
Tomcat Spencer Uresk. Notes This is a training NOT a presentation Please ask questions This is being recorded
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
WaveMaker Visual AJAX Studio 4.0 Training Installation.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge.
DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager.
An Introduction to Progress Arcade ™ June 12, 2013 Rob Straight Senior Manager, OpenEdge Product Management.
OPS-15: What was Happening with My Database, AppServer ™, OS... Yesterday, Last Month, Last Year? Libor LaubacherRuanne Cluer Principal Tech Support Engineer.
SOA-14: Deploying your SOA Application David Cleary Principal Software Engineer.
INT-5: Integrate over the Web with OpenEdge® Web Services
COMP-1: OpenEdge® Management Overview and Demo Principal Technical Support Engineer Cyril E. Gleiman.
What’s new in OpenEdge 10.2B OpenEdge Management OpenEdge Replication
Migrating to Progress Application Server for OpenEdge (PASOE)
A New Object Model for WebSpeed and HTTP
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
DEV-8: AppServer ™ Mode Case Studies Simon Epps Solutions Engineer.
1 G52IWS: Example Web-services Chris Greenhalgh. 2 Contents Software requirements AXIS web service run-time components Getting started with Jetty & AXIS.
Configuring and Running the OPC.NET Generic Clients 1.
NJIT 1 Apache Tomcat (Version 6.0) THETOPPERSWAY.COM.
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
Professional Services NAME Roland de Pijper Principal Consultant Openedge TITLE TECHNICAL EXPERTISE.
Monitoring Alfresco with Nagios/Icinga Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Session Number Presentation_ID Unity Connection Provisioning API Matt Penning Unity.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
SpeedScript to Stylish UI with PAS for OE WebHandlers Irfan Pasha Syed 06/26/2016.
Why Progress Application Server for OpenEdge? Roy Ellis
Microsoft Dynamics NAV Microsoft Dynamics NAV managed service for partners, under the hood Dmitry Chadayev Corporate Vice President, Microsoft.
Edsel Garcia Shelley Chase Fantastic Web Apps in 11.6 WebSpeed in the Pacific AppServer for OpenEdge.
Jarmo Nieminen Sales Engineer, Principal, EMEA
242: Get Your Head in the Cloud!
Tomcat Celsina Bignoli
DEV-25: You've Got a Problem, Here’s How to Find It
Course Outcomes of Advanced Java Programming AJP (17625, C603)
What’s new in PDS for OE11.7 and a sneak peek into the future of (Cloud) IDEs Nischal Y 5th June 2017 Progress.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Apache Tomcat Web Server
Introduction to JBoss application server
The Ins and Outs of Performance Profiling and Debugging
5 Azure Services Every .NET Developer Needs to Know
Presentation transcript:

Care and Feeding of the Pacific Application Server for OpenEdge in Production David Cleary Principal Software Engineer Progress Software

Disclaimer This presentation is for informational purposes only. You are cautioned that any information contained in this presentation may change in the course of product development. This presentation may not be interpreted as any commitment on behalf of Progress, and future development, timing and release of any products, features or functionality described in this presentation remains at the sole discretion of Progress. D I S C L A I M E R

What We Will Be Talking About Architecture Configuration Administration Migration Demo Early Software Access Program Architecture: Quick overview of architecture, for more detailed information please refer to Dave Cleary’s talk ***need name of talk*** Configuration: Different Migration: Differences running an application from Classic to PAS for OE Administration: How to administer, monitor and manage DEMO: I love live demos! ESAP: This is great! How do I get the new PAS for OE?

PAS for OpenEdge Architecture

Not just the architecture, but how you have to think about an AppServer application. Not just the components, but how they interact and change management and administration.

It is not a repackaged AppServer Architecture: Basics It is a web server: Tomcat It is not a repackaged AppServer We migrated the functionality – not the implementation Its designed for the Cloud Scales New monitoring and administration tools

Architecture: Components Classic AppServer Components PAS for OpenEdge Components Client AIA WSA REST/Mobile Client AdminServer PAS for OpenEdge NameServer APSV (AIA) SOAP (WSA) REST/Mobile Session Manager AppServer CLASSIC Must have an AdminServer - AdminServer starts NameServer and AppServer - then the AdminServer is just used to monitor and manage Client connects to NameServer (optional) and is then redirected to the AppServer If the Client needs to connect through the internet (HTTP/HTTPS) - you must install and configure separate and distinct adapters AIA/WSA/REST/Mobile PAS for OE Start the PAS for OE instance Client connects using HTTP/HTTPS always + AdminServer is not necessary (except for running OEMgmt on the same machine or publishing) + There is NO NameServer (load balancing and fault tolerance are handled another way) Agent (1 ABL Session) MSAgent 1 ABL Session 1 ABL Session ABL Sessions

Architecture: Session Models Classic AppServer Instance PAS for OpenEdge Instance Session states are controlled and set at the AppServer State-aware State-reset Stateless State-free Client controls ABL session model via the CONNECT –sessionModel option Stateful session model -sessionModel Session-Managed Statefree session model -sessionModel Session-Free

Architecture: Multi-Session Agent Multiple client requests at the same time Supports both Session-Managed and Session-Free request simultaneously Manages database shared memory connections Uses much less system resources Is as much as 7 times faster than the single session AppServer agents

Classic AppServer Components Architecture: Sample Classic AppServer Components PAS for OpenEdge Components Client AIA WSA REST/Mobile Client AdminServer NameServer PAS for OpenEdge State-Free Rest/Mobile APSV (AIA) SOAP (WSA) REST/Mobile State-Aware Stateless Session Manager AppServer Agent (1 ABL Session) 50 Agents AppServer Agent (1 ABL Session) 50 Agents AppServer Agent (1 ABL Session) 50 Agents CLASSIC Must have an AdminServer - AdminServer starts NameServer and AppServer - then the AdminServer is just used to monitor and manage Client connects to NameServer (optional) and is then redirected to the AppServer If the Client needs to connect through the internet (HTTP/HTTPS) - you must install and configure separate and distinct adapters AIA/WSA/REST/Mobile PAS for OE Start the PAS for OE instance Client connects using HTTP/HTTPS always + AdminServer is not necessary (except for running OEMgmt on the same machine or publishing) + There is NO NameServer (load balancing and fault tolerance are handled another way) MSAgent 1 ABL Session 150 ABL Sessions

Architecture: Products PAS for OpenEdge Development Debug and management tools installed We create a sample instance at install time (OEPAS1) Limited concurrent connections Ability to compile code Installed automatically with Progress Developer Studio PAS for OpenEdge Production Designed for high security Unable to compile code Debug and management tools _NOT_ installed by default Unlimited concurrent connections

Architecture: NameServer and AdminServer There is _NO_ NameServer with PAS for OpenEdge Load balancing will be handled _before_ the PAS for OpenEdge instance Any HTTP/HTTPS load balancing product should work The AdminServer is not required to manage PAS for OE unless: you want to PUBLISH you want to manage PAS for OpenEdge using OpenEdge Explorer you want to monitor PAS for OpenEdge using OpenEdge Management

PAS for OpenEdge Configuration

Create a new PAS for OpenEdge instance Configuration Create a new PAS for OpenEdge instance In the Classic AppServer you created a new AppServer by adding a definition in the ubroker.properties file With PAS for OpenEdge you create an working instance of the “read-only” instance in $DLC/servers/pasoe in a new location $DLC/servers/pasoe/bin/tcman.sh create –p 8080 –P 8443 –s 8901 /psc/115/wrk/oepas1 Start the new PAS for OpenEdge instance /psc/115/wrk/oepas1/bin/tcman.sh start

Configuration: PAS for OpenEdge at Instance Create and Run-time PAS for OE Instance *.sh conf logs temp work webapps openedge /psc/115/wrk/oepas1 create ( CATALINA_BASE ) $DLC/servers/pasoe PAS for OE Process lib bin *.sh conf logs temp work webapps common/lib openedge run OS Process PAS for OE (template) lib bin *.sh conf webapps common/lib openedge extras ( ROOT [ *.war ] ) Full copy Copy & tailor ( CATALINA_HOME )

Configuration: Files openedge.properties In <pas_instance>/conf directory Use oeprop.sh/bat to make changes appserver.properties Use tcman.sh features to modify values in this file Log files In <pas_instance>/logs directory OpenEdge and Tomcat files

PAS for OpenEdge Administration

Administration: tcman.sh/.bat Server actions create start clean feature env Manager actions deploy enable delete stop clean -A ON or OFF shows env and running status undeploy web apps disable web apps TCMAN is your all-in-one administration tool tcman extends all Tomcat administration and enables PAS for OE administration For help with TCMAN: tcman.sh/.bat help tcman.sh/.bat help action

Administration: More Command Line Tools… deployREST.sh/.bat undeployREST.sh/.bat deploySOAP.sh/.bat undeploySOAP.sh/.bat oeprop.sh/.bat oeprop.sh/.bat testinst.ROOT.SOAP.wsaUrl=http://localhost:8888/soap oeprop.sh/.bat +AppServer.Agent.oepas1.PROPATH=.,${WRKDIR} oeprop.sh/.bat ~ AppServer.SessMgr.agentStartupParam="-db sports"

Administration: OpenEdge Explorer and Management For full management AdminServer must be local OpenEdge Management Can monitor and alert But trending is not available yet

Administration: Log Files Log files are located in the <pas_instance>/logs directory Problems with the web server: catalina.out – log for tomcat instance startup and shutdown catalina.<date>.log – same as catalina.out and standard error Problems with an application localhost.<date>.log – application logging localhost_access_log.<date>.txt – HTTP response messages (200,401,404) Problems with the PAS for OpenEdge instance <application_name>.<date>.log – session manager messages and errors <application_name>.agent.log – multi-session agent messages and errors

Administration: New Monitoring Access! Classic AppServer tools asbman –query OpenEdge Explorer or Management PAS for OpenEdge Management REST API The “oemanager” application must be installed for access to the REST API JMX Remote access Using Jconsole Locally by PID Remotely running “tcman.sh/.bat feature JMXLifecycle=on” Nagios 3rd party tool recommended by Tomcat for monitoring Uses the tools above to monitor, alert and graph

Migration - PASOE Upgrades Inst1 CATALINA_BASE Inst2 PASOE (version 11.5) PAS OE (version 11.6) Inst3 Inst4

PAS for OpenEdge Migration

Migration: Connect Method REST/Mobile clients: No differences in URL ../rest/.. to ../rest/.. SOAP clients: ../soap/.. instead of ../wsa/.. in URL OpenEdge clients URL connection format only -URL http[s]://host[:port]/[oeabl-path]/apsv Default URL -URL http://myhost:8810/apsv Reference: Connecting to AppServers Using a URL

Migration: Configuring AppServer Event Procedures Changes to openedge.properties New agent Startup and Shutdown values srvr values have been renamed to session Some ABL code may need changes CONNECT – as in previous slide sessionStartupProc & sessionShutdownProc Binding a session QUIT to clean up (mimic State-Reset)

PAS for OpenEdge Demo

Not Quite Live Demo Need extra power point slides showing demo in case of problems and when the slides are posted online. Show HTTP connect Show REST API call Show Nagios with data

We have several ways you can get metrics data with the new PAS for OE In development mode you can hit the http://hostname:port/ and you will see a landing page with Adapter Status. (This is an older screen shot, this will look different in 11.5 shipment, but the same data is represented. Here you can see the SessionID and the Session Type. Notice both Session-Managed and Session-Free can be run on any Session.

We also give you an OpenEdge Manager Application (oemanager We also give you an OpenEdge Manager Application (oemanager.war) automatically installed in Developer product. You have to install in Production product if you wish. This is a REST API application. This browser shows the data for a “sessions” call. You can run this from CURL or use the “jget” script in the $DLC/servers/pasoe/bin directory (a JAVA HTTP Curl-like command-line utility). You can get metrics, requests, agents and you can also run some management API’s, like terminating a session.

This is the OpenEdge Explorer or Management tool. It gives you all the tools to manage the Session, Requests, Connections and Agents. Here you can see the data about sessions and can terminate sessions.

This is the JAVA Jconsole. It comes with JDK 1. 6 or higher This is the JAVA Jconsole. It comes with JDK 1.6 or higher. So you will find it in your 11.5 install under $DLC/jdk/bin/jconsole. You may connect using the PID of the Jconsole is running on the same machine as the PAS for OE instance. Or you can setup remote administration using tcman.sh feature and turning on the JMXLifecycle. This will allow you to look for idle sessions, long running sessions (maybe you want to terminate long running sessions? You decide what long running means) You can do everything in the JMX console, same as REST API’s, but you don’t have to open ports if running on the same machine.

Now we can use the new metrics tools to plug into a 3rd party tool like Nagios. Nagios has a pay for Enterprise version, but it also has a free edition where you do all the configuration yourself. Nagios is the recommended tool to monitor Tomcat from Apache. Here we see the Nagios dash board. If you see the little graph icons, these are graphs you can quickly review. You can also set up Nagios to alert you if conditions aren’t OK, like if a service shows as WARNING or CRITICAL like in this picture.

Here we selected the graph for the JMX memory of the tomcat instance. This uses the JMX connection to gather this information, like Jconsole would, but in script form.

Here we selected “Concurrent Connections” these are snap shots of how many connections there are. This uses the REST API way of gathering metric information. We hope that all of the metric data we are now supplying will allow everyone to get the information they need to manage their Application in the new PAS for OE.

Some Tomcat References Connecting Tomcat to the World http://events.linuxfoundation.org/sites/events/files/slides/Tomcat%20Connectors.pdf Apache Tomcat and SSL http://events.linuxfoundation.org/sites/events/files/slides/2014-04-09-Tomcat-SSL.pdf Monitoring Apache Tomcat http://events.linuxfoundation.org/sites/events/files/slides/Monitoring%20Apache%20Tomcat% 20with%20JMX.pdf

PAS for OpenEdge Early Software Access Program

Early Software Access Program Want to try it before (almost) anyone else? Sign up for the ESAP program (started September 30, 2014) Download a cdimage Please log any issues in the ESAP forum early-software-admin@progress.com

Q&A

Visit the Resource Portal Get session details & presentation downloads Complete a survey Access the latest Progress product literature www.progress.com/exchange2014