Oracle HTTP Server powered by Apache



Similar documents
Load Balancing Oracle Web Applications. An Oracle White Paper November 2004

Exploring Oracle E-Business Suite Load Balancing Options. Venkat Perumal IT Convergence

Elke Phelps Technical Architect Humana Inc

LOAD BALANCING TECHNIQUES FOR RELEASE 11i AND RELEASE 12 E-BUSINESS ENVIRONMENTS

EQUELLA. Clustering Configuration Guide. Version 6.2

Oracle Application Server 10g Oracle HTTP Server Frequently Asked Questions October 2006

Configuring Nex-Gen Web Load Balancer

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on Oracle WebLogic Server

Revision ORACLE CORPORATION. Application Server Deployment Architecture Series. Using Web Cache as Reverse Proxy

Configuring Security for FTP Traffic

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.2 Web Applications Deployed on BEA WebLogic Server 9.2

IBM WEBSPHERE LOAD BALANCING SUPPORT FOR EMC DOCUMENTUM WDK/WEBTOP IN A CLUSTERED ENVIRONMENT

DEPLOYMENT GUIDE Version 1.0. Deploying the BIG-IP LTM with Apache Tomcat and Apache HTTP Server

Implementing a Weblogic Architecture with High Availability

White Paper DEPLOYING WDK APPLICATIONS ON WEBLOGIC AND APACHE WEBSERVER CLUSTER CONFIGURED FOR HIGH AVAILABILITY AND LOAD BALANCE

StreamServe Persuasion SP5 StreamStudio

EQUELLA. Clustering Configuration Guide. Version 6.0

10gAS SSL / Certificate Based Authentication Configuration

Web Server Manual. Mike Burns Greg Pettyjohn Jay McCarthy November 20, 2006

RSA SecurID Ready Implementation Guide

Red Hat JBoss Core Services Apache HTTP Server 2.4 Apache HTTP Server Installation Guide

Setting Up B2B Data Exchange for High Availability in an Active/Active Configuration

Configuring Apache HTTP Server With Pramati

HP ALM. Software Version: External Authentication Configuration Guide

Chapter 1 - Web Server Management and Cluster Topology

Oracle9i Application Server: Options for Running Active Server Pages. An Oracle White Paper July 2001

esync - Receiving data over HTTPS

SSL CONFIGURATION GUIDE

Spectrum Technology Platform Version Tutorial: Load Balancing Spectrum Spatial Services. Contents:

Forward proxy server vs reverse proxy server

Installing and Configuring Apache

Qualogy M. Schildmeijer. Whitepaper Oracle Exalogic FMW Optimization

Oracle Discoverer 4i Plus Firewall and SSL Tips. An Oracle White Paper February 2002

ELIXIR LOAD BALANCER 2

How to setup HTTP & HTTPS Load balancer for Mediator

Apache2 Configuration under Debian GNU/Linux. Apache2 Configuration under Debian GNU/Linux

Managing Virtual Servers

CA Process Automation

WEB2CS INSTALLATION GUIDE

Apache Web Server System Description

Load Balancing Oracle Application Server (Oracle HTTP Server) Quick Reference Guide

Application Servers - BEA WebLogic. Installing the Application Server

IBM Unica emessage Version 8 Release 6 February 13, Startup and Administrator's Guide

MS 10972A Administering the Web Server (IIS) Role of Windows Server

Administering mod_jk. To Enable mod_jk

MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # )

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

fåíéêåéí=péêîéê=^çãáåáëíê~íçêûë=dìáçé

Lotus Sametime. FIPS Support for IBM Lotus Sametime 8.0. Version 8.0 SC

2X HTML5 Gateway v10.6

TECHNICAL NOTE Stormshield Network Firewall AUTOMATIC BACKUPS. Document version: 1.0 Reference: snentno_autobackup

How To Configure An Orgaa Cloud Control On A Bigip (Cloud Control) On An Orga Cloud Control (Oms) On A Microsoft Cloud Control 2.5 (Cloud) On Microsoft Powerbook (Cloudcontrol) On The

How to Enable Remote JMX Access to Quartz Schedulers. M a y 1 2,

10972-Administering the Web Server (IIS) Role of Windows Server

Table of Contents Introduction and System Requirements 9 Installing VMware Server 35

Oracle Exam 1z0-102 Oracle Weblogic Server 11g: System Administration I Version: 9.0 [ Total Questions: 111 ]

Setting up an OracleAS myportal Enterprise Deployment Architecture with the CAI Networks, Inc WebMux Load Balancer. A Step-by-Step Guide Version 1.

HTTPS HTTP. ProxySG Web Server. Client. ProxySG TechBrief Reverse Proxy with SSL. 1 Technical Brief

App Orchestration 2.5

StreamServe Persuasion SP4 StreamServe Connect for SAP - Business Processes

Securing SAS Web Applications with SiteMinder

FileMaker Server 11. FileMaker Server Help

Active-Active and High Availability

JMETER - MONITOR TEST PLAN

CA SiteMinder Secure Proxy Server

Configuring Security for SMTP Traffic

Installing an SSL certificate on the InfoVaultz Cloud Appliance

Citrix NetScaler 10 Essentials and Networking

HP Device Manager 4.6

Code:1Z Titre: Oracle WebLogic. Version: Demo. Server 12c Essentials.

Load Balancing Web Applications

Oracle WebLogic Server

Administering the Web Server (IIS) Role of Windows Server

DMH remote access. Table of Contents. Project : remote_access_dmh Date: 29/05/12 pg. 1

Release Notes RSA Authentication Agent for Web for IIS 7.0, 7.5, and 8.0 Web Server

Integration Guide. SafeNet Authentication Service. SAS Using RADIUS Protocol with Apache HTTP Server

Set Up a VM-Series Firewall on the Citrix SDX Server

Setting Up SSL on IIS6 for MEGA Advisor

INSTALLING YOUR SSL CERTIFICATE ON THE FILEHOLD SERVER ON WINDOWS 2008 X64 ON IIS 7

END-TO-END SSL SETUP SAP WEB DISPATCHER Helps you to setup the End-To-End SSL Scenario for SAP Web Dispatcher

1.6 HOW-TO GUIDELINES

Configuring Single Sign-On for Documentum Applications with RSA Access Manager Product Suite. Abstract

WebBridge LR Integration Guide

Oracle Fusion Middleware

1. Configuring Apache2 Load Balancer with failover mechanism

An Overview of Oracle Forms Server Architecture. An Oracle Technical White Paper April 2000

DEPLOYMENT GUIDE Version 1.1. Deploying F5 with Oracle Application Server 10g

Apache and Tomcat Clustering Configuration Table of Contents

Facility Connect API: Setup & Troubleshooting. Version 1

Immersion Day. Creating an Elastic Load Balancer. Rev


Enterprise Content Management System Monitor. How to deploy the JMX monitor application in WebSphere ND clustered environments. Revision 1.

StreamServe Persuasion SP5 Control Center

FileMaker Server 12. FileMaker Server Help

JAMF Software Server Installation Guide for Linux. Version 8.6

To install and configure SSL support on Tomcat 6, you need to follow these simple steps. For more information, read the rest of this HOW-TO.

<Insert Picture Here> Oracle Web Cache 11g Overview

Installing Management Applications on VNX for File

Transcription:

Oracle HTTP Server powered by Apache Using mod_oprocmgr with mod_jserv Release 1.0.2.2 for UNIX April 2001 Part No. A90282-01 Introduction This document explains how to use the module mod_oprocmgr in the Oracle HTTP Server powered by Apache. mod_oprocmgr provides process management and load balancing services to participating modules such as mod_jserv. Terms Used in this Document Terms used in this document to describe the module and its functions are defined below: Servlet Engine Process A JVM instance that runs a servlet engine, such as JServ. Process manager A module (mod_oprocmgr) that handles topology management requests from modules such as mod_jserv. The process manager starts, stops, and detects death of processes. It receives the requests via HTTP request parameters. Group A set of processes, identical except for port numbers, across which request traffic is distributed. Oracle HTTP Server Infrastructure The Oracle HTTP Server infrastructure provides better system administration, high availability features, and process management for Oracle is a registered trademark. Other names may be trademarks of their respective owners. Copyright 2001, Oracle Corporation. All Rights Reserved.

Oracle9i Application Server. mod_oprocmgr, DMS and Resource Monitor are components of the infrastructure. How mod_oprocmgr Works with mod_jserv mod_oprocmgr provides new infrastructure capabilities when used with a modified version of mod_jserv that adds a new auto mode to the ApJServManual directive. mod_oprocmgr used with mod_jserv in auto mode provides automatic starting of processes, death detection and restart, and load balancing. When used with mod_oprocmgr, mod_jserv in auto mode registers itself at start-up time with mod_oprocmgr. Based on the mod_jserv configuration file, mod_oprocmgr starts the specified number of JServ engines, managing them for the life of the server. Benefits of Using mod_oprocmgr With mod_jserv mod_oprocmgr enhances the functionality and administration of mod_jserv in several ways: Process Management With `ApJServManual off', only one JServ engine can be started and managed automatically. Additional servlet engines have to be manually started, monitored and stopped. With `ApJServManual auto', any number of JServ engines can be started automatically. The process manager will continually monitor the health of these processes and kill and restart them, if necessary. You can still start JServ processes manually, if you need to. Configuration Configuring multiple JServ processes with `ApJServManual on'/`apjservmanual off' is more complicated and error prone. For example, a 10 process "balance" configuration requires 32 directives and 10 jserv.properties files. Configuring multiple JServ processes with the new `auto' mode requires much less effort. For example, a 10 process "balance" configuration requires only 3 directives. System Administration mod_oprocmgr provides a status handler which displays process information stored in shared memory. 2

Flexible architecture Without any new infrastructure, mod_jserv's functionality is limited. mod_ oprocmgr makes the new Oracle9i Application Server HTTP infrastructure available to it. Therefore, its functionality can be extended to accommodate dynamic configuration (by dynamically adding JServ process groups and mount points) at a future date. The biggest advantage of this architecture is in a site with multiple load-balanced HTTP servers where a new node can be dynamically added without affecting any of the other nodes. Configuring mod_jserv for Process Management If you have already used mod_jserv with ApJServManual on or ApJServManual off, you have the basic knowledge needed to use mod_ jserv in auto mode. For detailed information on the configuration directives for mod_jserv, see the documentation at http://java.apache.org/jserv/. Changes to httpd.conf To use mod_oprocmgr, include the directive below in the httpd.conf file in $ORACLE_HOME/Apache/Apache/conf/: <IfModule mod_oprocmgr.c> ProcNode my-sun.us.oracle.com 7777 <IfDefine SSL> ProcNode my-sun.us.oracle.com 80 </IfDefine> <Location /oprocmgr-service> SetHandler oprocmgr-service </Location> <Location /oprocmgr-status> SetHandler oprocmgr-status </Location> </IfModule> In addition, you must specify at least one non-ssl port. For a secure website (that is, one that only accepts SSL connections), you must provide an extra SSL port. To do this, add the directives shown below: 3

Listen <port> <VirtualHost _default_:port> SSLEngine Off <Location /> order deny, allow deny from all allow from <IP address 1 of local node> allow from <IP address 2 of local node> allow from <IP address 3 of local node> </Location> </VirtualHost> Changes to jserv.properties In the jserv.properties file, found in $ORACLE_HOME/Apache/Jserv/etc/, you specify the port to which JServ will bind, as shown in the example below. If none are specified, the server will choose ports for the JServ processes. port=8007 You can specify multiple ports, and separate the values with commas or spaces as shown in the example below. Note that a range of ports (9000-9010) is a valid value. port=8007,9000-9010,8010 or port=8007 9000-9010 8010 The server chooses ports from this list to which the JServ processes will bind. Changes to jserv.conf To use mod_oprocmgr with mod_jserv, you must change the directives as indicated below in the JServ configuration file jserv.conf, in: $ORACLE_HOME/Apache/Jserv/etc/ ApJServManual This directive accepts a new mode, auto, which invokes the new infrastructure functionality (in which mod_jserv delegates process management to mod_oprocmgr). The syntax is: ApJServManual auto You can set the mode to on or off to use the original mod_jserv functionality. 4

ApJServGroup This new directive defines groups for the process manager to manage for mod_jserv. If you have worked with mod_jserv, you will note that this directive replaces the ApJServBalance, ApJServHost, ApJServRoute and ApJServShmFile directives. All JServ processes to be managed must belong to a group, and each group has its own ApJServGroup directive. If you only have one JServ process, you must define a group with just that process in it. The processes in a group are identical except for their listening ports, so requests directed to the group are distributed evenly among the processes. The ApJServGroup directive takes four arguments: groupname, number of processes, node weight, and properties file. In the example below, the groupname is mygroup, the number of processes is 1, the node weight is 1, and the full path of the properties file used to start the JServ processes is /private2/up_1022/apache/jserv/etc/jserv.properties. ApJServGroup mygroup 1 1 /private2/up_1022/apache/jserv/etc/jserv.properties The node weight argument is relevant in a multi-node configuration (planned in a future release). Since the same group can be started on multiple nodes, the node weight is used for weighted load balancing among nodes for requests to that group. ApJServGroupMount This directive defines a mount point and maps it to a process group and zone. In the example below, the mount point is /servlets, the group is mygroup, and the zone is root. Note that the balance protocol is in use for routing, as in the standard JServ configuration. ApJServGroupMount /servlets balance://mygroup/root Place this directive after the ApJServGroup directive in the configuration file. ApJServGroupSecretKey This directive specifies the secret key that JServ needs to authenticate clients. It can be disabled, as shown below: ApJServGroupSecretKey disabled When activated, the directive takes one or two arguments. In the example below, with group and filename arguments, the filename mysecretkey applies to the group mygroup. ApJServGroupSecretKey mygroup /usr/local/apache/jserv/mysecretkey You can supply only the filename argument, as shown below. No group is named, so the secret key filename applies to all groups. ApJServGroupSecretKey /usr/local/apache/jserv/mysecretkey 5

You cannot combine directives using the one-argument syntax with directives using the two-argument syntax. If you use the two-argument syntax, the default for groups without a group-specific secret key is disabled. Place this directive after the ApJServGroup directive in the configuration file. Warning: The secret in the secret key file specified in ApJServSecretKey must be the same as that specified by the security.secretkey directive in the jserv.properties file. If the secrets are not the same, the death detection mechanism assumes that all the servlet engine processes are dead, eliminates them, and starts new processes to replace them (repeating the cycle endlessly). 6

Checking JServ Process Status The directive shown in "Changes to httpd.conf" on page 3 includes a status handler that enables you to monitor JServ processes managed by mod_ oprocmgr. You can access the status handler at http://myhost:port/oprocmgr-status, and display a page similar to that shown below. If there are zeroes instead of port numbers in the Process Port column, it could be that the JServ processes have not yet registered with the process manager. If you refresh the browser window and the port numbers still do not appear, then the JServ processes were unable to start (possibly because the specified ports were unavailable). Ensure that the specified ports are free, and that you have allotted enough port numbers for the JServ processes. To determine the cause of errors, see jserv.log and mod_jserv.log. 7

8