APEX power! Alan Arentsen brought to you by GlassFish.

Slides:



Advertisements
Similar presentations
Implementing Tableau Server in an Enterprise Environment
Advertisements

SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
1 OBJECTIVES To generate a web-based system enables to assemble model configurations. to submit these configurations on different.
Module 6: Configuring Windows XP Professional to Operate in a Microsoft Network.
Clustering and load balancing with Apache 2.2 mod_proxy
June 23rd, 2009Inflectra Proprietary InformationPage: 1 SpiraTest/Plan/Team Deployment Considerations How to deploy for high-availability and strategies.
5 Copyright © 2006, Oracle. All rights reserved. Securing Grid Control.
Progress Report 11/1/01 Matt Bridges. Overview Data collection and analysis tool for web site traffic Lets website administrators know who is on their.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
ArcGIS for Server Reference Implementations An ArcGIS Server’s architecture tour.
© 2004 IBM Corporation BEA WebLogic Server Introduction and Training.
Oracle 11g Architecture and Internals by Suresh Karnati
Barracuda Web Filter Overview March 26, 2008 Alan Pearson, Monroe County School District Marcus Burge, Network Engineer.
11 SERVER CLUSTERING Chapter 6. Chapter 6: SERVER CLUSTERING2 OVERVIEW  List the types of server clusters.  Determine which type of cluster to use for.
VMware vCenter Server Module 4.
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
Understanding and Managing WebSphere V5
Fronting Tomcat with Apache Httpd Mladen Turk Red Hat, Inc.
1 © Talend 2014 Service Locator Talend ESB Training 2014 Jan Bernhardt Zsolt Beothy-Elo
Linux Operations and Administration
Hyrax Installation and Customization Dan Holloway James Gallagher.
Additional SugarCRM details for complete, functional, and portable deployment.
Monitoring Scale-Out with the MySQL Enterprise Monitor Andy Bang Lead Software Engineer MySQL-Sun, Enterprise Tools Team Wednesday, April 16, :15.
Basics of the HTTP Protocol and Apache Web Server Brandon Checketts.

Oracle Application Server 10g (9.0.4) Recommended Topologies Pavana Jain.
ColdFusion MX Server Administration J2EE Deployment and Clustering Adam Wayne Lehman J2EE Deployment and Clustering Adam Wayne.
4 Copyright © 2009, Oracle. All rights reserved. Designing Mappings with the Oracle Data Integration Enterprise Edition License.
Development and deployment Web applications ITNET2 Spring 2011 Jesper Rosholm Tørresø.
The Power of mod_proxy Proxy servers, load balancers and how to implement with Apache HTTP Server.
CSE 190: Internet E-Commerce Lecture 5. Exam Material Lectures 1-4 (Presentation Tier) –3-tier architecture –HTML –Style sheets –Javascript –DOM –HTTP.
© Copyright 2009 Sysgem AG, 8002 Zurich, Switzerland Sysgem Products Sysgem Enterprise Manager (SEM)  Identity & Access Management  System Management.
Apache HTTP mod_ftp William A. Rowe, Jr. ASF Member, httpd and APR projects Sr. Software Engineer, Covalent Technologies.
Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id:
From Virtualization Management to Private Cloud with SCVMM 2012 Dan Stolts Sr. IT Pro Evangelist Microsoft Corporation
Module 11: Implementing ISA Server 2004 Enterprise Edition.
Open Search Office Web Services Database Doc Mgt Sys Pipeline Index Geospatial Analysis Text Search Faceting Caching Query parsing Clustering Synonyms.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Multiplexing OID, SSO, PORTAL Virtual Private Portals (VPP) Presented By: Author Surender Sara - Co-Author Vivek Pavle -
ArcGIS Server for Administrators
Server Performance, Scaling, Reliability and Configuration Norman White.
Module 10: Windows Firewall and Caching Fundamentals.
ICM – API Server Gary Ratcliffe. 2 Agenda Webinar Programme API Server Overview JSON-RPC iCM API Service API Server and Forms New services under.
IBM Http Server Basic Administration. CONTENTS Web server IHS How does IHS differ from Apache Basic configurations Advanced Configurations Performance.
Managing the Oracle Application Server in a Datacenter Environment Nicole Haba Senior Product Manager Oracle Corporation Session id:
Top Gun 2007 Hyperion BPMA and HFM Installation and Configuration Presented By Jonathan Singer.
Microsoft Virtual Academy Module 12 Managing Services with VMM and App Controller.
Google Code Libraries Dima Ionut Daniel. Contents What is Google Code? LDAPBeans Object-ldap-mapping Ldap-ODM Bug4j jOOR Rapa jongo Conclusion Bibliography.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
#SummitNow Alfresco Deployments on AWS Cost-Effective, Scalable & Secure Michael Waldrop Director, Solutions Engineering .
Manage Tomcat in production environments INFN-CNAF 13/11/09 Michele Orrù Network&Security IntegratingWeb 1.
© 2014 IBM Corporation Architecture & Deployment IBM Connections 5.0 Workshop Author: Paul Godby IBM Ecosystem Development Duration: 30 minutes.
Oracle 10g Administration Oracle Server Introduction Copyright ©2006, Custom Training Institute.
Slide 1 © 2016, Lera Technologies. All Rights Reserved. Oracle Data Integrator By Lera Technologies.
Project Cumulus Overview March 15, End Goal Unified Public & Private PaaS for GlassFish/Java EE Simplify deployment of Java EE Apps on top of.
Presented by Michael Rainey South Mississippi Linux Users Group
Bentley Systems, Incorporated
Admin Console for Glassfish v2
Users and Administrators
Securing the Network Perimeter with ISA 2004
GlassFish in the Real World
Ansible for Easy Provisioning and Application Deployment
Oracle Architecture Overview
SpiraTest/Plan/Team Deployment Considerations
IS 4506 Server Configuration (HTTP Server)
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
Managing Services with VMM and App Controller
Users and Administrators
Presentation transcript:

APEX power! Alan Arentsen brought to you by GlassFish

@alanarentsen alanarentsen.blogspot.com

Application Express Architecture

Supported J2EE Web Servers Application Servers

Supported Application Servers

Miaauw! Virtually everything designed to work on Tomcat works on GlassFish. The GlassFish logo is definitely more attractive than the brown kitty. …

Supported Application Servers GlassFish is a full Java 2 Enterprise Environment (J2EE) environment. GlassFish has a comprehensive administration GUI. Glassfish has a bigger knowledge base because it’s supported much longer than Tomcat.

GlassFish Server Database Application Server Load

Database GlassFish Server Connection Pool HTTP / HTTPS Application Server Load

Database GlassFish Server Connection Pool Application Server Load

hardware overload Connection Pool Application Server Load HTTP / HTTPS

Connection Pool Application Server Load HTTP / HTTPS hardware failure

? redundancy Application Server Load

Load balancer redundancy Application Server Load

Administrative Nightmare

redundancy GlassFish Clustering Node 1 Node 2 Node 3Node 4

redundancy GlassFish Clustering Node 1 Node 2 Node 3Node 4 Cluster 1 Cluster 2

GlassFish Clustering Domain DAS Repository Applications Resources Configuration

Domain Administration Server (DAS) Cluster Site02 Cluster Site01 GlassFish Clustering Node001 Node002 Node003 Instance Node 001 Instance Node 003

GlassFish Clustering Domain DAS Repository Applications Resources Configuration Cluster Site01 Node001 Node002 Node003 Cluster Site02 Instance Node 001 Instance Node 003

GlassFish Clustering Domain DAS Repository Applications Resources Configuration Nodes

GlassFish Clustering Domain DAS Repository Applications Resources Configuration Nodes S1_InstanceN01 Repsitory Cache S2_InstanceN01 Repsitory Cache

GlassFish Clustering Domain DAS Repository Applications Resources Configuration Nodes S1_InstanceN01 Repsitory Cache S2_InstanceN01 Repsitory Cache S2_InstanceN03 Repsitory Cache

GlassFish Clustering Nodes S1_InstanceN01 Repsitory Cache S2_InstanceN01 Repsitory Cache S2_InstanceN03 Repsitory Cache

GlassFish Clustering Nodes S1_InstanceN01 Repsitory Cache S2_InstanceN01 Repsitory Cache S2_InstanceN03 Repsitory Cache ?

Application Express Architecture

Apache HTTP server

Apache Load Balancer

Apache HTTP server Apache Load Balancer httpd.conf VirtualHost: site02.ordina.nl BalancerMember S1_InstanceN01 Repsitory Cache S2_InstanceN01 Repsitory Cache S2_InstanceN03 Repsitory Cache

Apache Load Balancer Application Express Architecture DAS Domain Connection Pool firewall APEX power!

Administration Tools Administration Console asadmin Utility REST Interfaces

Administration Tools Administration Console Pros / Cons: Very nice and complete interface A lot of work to configure Use it for: Minor configuration changes Overview and searching in configurations

Administration Tools asadmin Utility Pros / Cons: Not user friendly GUI Fast configuring server Use it for: Installation scripts Fast configuring multiple servers

Administration Tools REST Interfaces Pros / Cons: Not user friendly GUI Fast configuring server Use it for: Installation scripts Configuring from other applications

Administration Tools Administration Console asadmin Utility REST Interfaces

Live Demo asadmin --user admin --passwordfile ~/passwords --port host localhost

Live Demo asadmin --user admin --passwordfile ~/passwords --port host localhost

Live Demo asadmin --user admin --passwordfile ~/passwords --port host localhost

Live Demo asadmin --user admin --passwordfile ~/passwords --port host localhost

Live Demo asadmin --user admin --passwordfile ~/passwords --port host localhost

Live Demo create-domain --portbase= savemasterpassword=true --savelogin=true DAS_02

Live Demo create-domain --portbase= savemasterpassword=true --savelogin=true DAS_02

Live Demo create-domain --portbase= savemasterpassword=true --savelogin=true DAS_02

Live Demo create-domain --portbase= savemasterpassword=true --savelogin=true DAS_02

Live Demo create-domain --portbase= savemasterpassword=true --savelogin=true DAS_02

Live Demo start-domain DAS_02

Live Demo start-domain DAS_02 stop-domain DAS_02

Live Demo start-domain DAS_02 stop-domain DAS_02 restart-domain DAS_02

Live Demo enable-secure-admin

Live Demo enable-secure-admin restart-domain DAS_02

Live Demo

Live Demo create-node-ssh --nodehost sshuser glassfish --installdir /u00 das02_node001

Live Demo create-node-ssh --nodehost sshuser glassfish --installdir /u00 das02_node001

Live Demo create-node-ssh --nodehost sshuser glassfish --installdir /u00 das02_node001

Live Demo create-node-ssh --nodehost sshuser glassfish --installdir /u00 das02_node001

Live Demo create-node-ssh --nodehost sshuser glassfish --installdir /u00 das02_node001

Live Demo create-node-ssh --nodehost sshuser glassfish --installdir /u00 das02_node001 create-node-ssh --nodehost sshuser glassfish --installdir /u00 das02_node002

Live Demo create-cluster site02

Live Demo create-instance --portbase= cluster site02 --node das02_node001 instance01

Live Demo create-instance --portbase= cluster site02 --node das02_node001 instance01

Live Demo create-instance --portbase= cluster site02 --node das02_node001 instance01

Live Demo create-instance --portbase= cluster site02 --node das02_node001 instance01

Live Demo create-instance --portbase= cluster site02 --node das02_node001 instance01

Live Demo create-instance --portbase= cluster site02 --node das02_node001 instance01 create-instance --portbase= cluster site02 --node das02_node002 instance02

Live Demo scp /root/glassfish3/glassfish/domains/DAS_02/master-password

Live Demo scp /root/glassfish3/glassfish/domains/DAS_02/master-password

Live Demo scp /root/glassfish3/glassfish/domains/DAS_02/master-password

Live Demo scp /root/glassfish3/glassfish/domains/DAS_02/master-password

Live Demo scp /root/glassfish3/glassfish/domains/DAS_02/master-password scp /root/glassfish3/glassfish/domains/DAS_02/master-password

Live Demo start-cluster site02

Live Demo

Live Demo stop-instance instance01

Live Demo stop-instance instance01 start-instance --sync full instance01

Live Demo stop-instance instance01 start-instance --sync full instance01

Live Demo stop-instance instance02 start-instance --sync full instance02

Live Demo deploy --force --target site02 ords.war

Live Demo deploy --force --target site02 ords.war

Live Demo deploy --force --target site02 ords.war

Live Demo deploy --force --target site02 ords.war

Live Demo deploy --force --target site02 ords.war deploy --force --target site02 i.war

Live Demo

Live Demo ServerName site02.local BalancerMember BalancerMember ProxyPass / balancer://glassfish_node_servers/ stickysession=JSESSIONID ProxyPassReverse / balancer://glassfish_node_servers/ ProxyPreserveHost on Order deny,allow Allow from all SetHandler balancer-manager Order Deny,Allow Deny from all # Only allow from internal network Allow from Allow from /24 # Custom log file locations ErrorLog "D:\Apache\Apache2.2.GlassFish\logs\site02-error.log" CustomLog "D:\Apache\Apache2.2.GlassFish\logs\site02-access.log" combined

Live Demo ServerName site02.local BalancerMember BalancerMember ProxyPass / balancer://glassfish_node_servers/ stickysession=JSESSIONID ProxyPassReverse / balancer://glassfish_node_servers/ ProxyPreserveHost on Order deny,allow Allow from all SetHandler balancer-manager Order Deny,Allow Deny from all # Only allow from internal network Allow from Allow from /24 # Custom log file locations ErrorLog "D:\Apache\Apache2.2.GlassFish\logs\site02-error.log" CustomLog "D:\Apache\Apache2.2.GlassFish\logs\site02-access.log" combined BalancerMember BalancerMember

Live Demo ServerName site02.local BalancerMember BalancerMember ProxyPass / balancer://glassfish_node_servers/ stickysession=JSESSIONID ProxyPassReverse / balancer://glassfish_node_servers/ ProxyPreserveHost on Order deny,allow Allow from all SetHandler balancer-manager Order Deny,Allow Deny from all # Only allow from internal network Allow from Allow from /24 # Custom log file locations ErrorLog "D:\Apache\Apache2.2.GlassFish\logs\site02-error.log" CustomLog "D:\Apache\Apache2.2.GlassFish\logs\site02-access.log" combined BalancerMember BalancerMember

Live Demo ServerName site02.local BalancerMember BalancerMember ProxyPass / balancer://glassfish_node_servers/ stickysession=JSESSIONID ProxyPassReverse / balancer://glassfish_node_servers/ ProxyPreserveHost on Order deny,allow Allow from all SetHandler balancer-manager Order Deny,Allow Deny from all # Only allow from internal network Allow from Allow from /24 # Custom log file locations ErrorLog "D:\Apache\Apache2.2.GlassFish\logs\site02-error.log" CustomLog "D:\Apache\Apache2.2.GlassFish\logs\site02-access.log" combined BalancerMember BalancerMember

Live Demo ServerName site02.local BalancerMember BalancerMember ProxyPass / balancer://glassfish_node_servers/ stickysession=JSESSIONID ProxyPassReverse / balancer://glassfish_node_servers/ ProxyPreserveHost on Order deny,allow Allow from all SetHandler balancer-manager Order Deny,Allow Deny from all # Only allow from internal network Allow from Allow from /24 # Custom log file locations ErrorLog "D:\Apache\Apache2.2.GlassFish\logs\site02-error.log" CustomLog "D:\Apache\Apache2.2.GlassFish\logs\site02-access.log" combined BalancerMember BalancerMember

Live Demo ServerName site02.local BalancerMember BalancerMember ProxyPass / balancer://glassfish_node_servers/ stickysession=JSESSIONID ProxyPassReverse / balancer://glassfish_node_servers/ ProxyPreserveHost on Order deny,allow Allow from all SetHandler balancer-manager Order Deny,Allow Deny from all # Only allow from internal network Allow from Allow from /24 # Custom log file locations ErrorLog "D:\Apache\Apache2.2.GlassFish\logs\site02-error.log" CustomLog "D:\Apache\Apache2.2.GlassFish\logs\site02-access.log" combined ProxyPass / balancer://glassfish_node_servers/ stickysession=JSESSIONID

Live Demo

Live Demo

Load Monitoring

GlassFish Performance Tuning

Alan Arentsen alanarentsen.blogspot.com