XCP APP FAILOVER CONFIGURATION FOR WEBLOGIC CLUSTER AND APACHE WEBSERVER



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

Process Integrator Deployment on IBM Webspher Application Server Cluster

DEPLOYING EMC DOCUMENTUM BUSINESS ACTIVITY MONITOR SERVER ON IBM WEBSPHERE APPLICATION SERVER CLUSTER

Enterprise Deployment of the EMC Documentum WDK Application

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

DEPLOYING WEBTOP 6.8 ON JBOSS 6.X APPLICATION SERVER

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

PROXY SETUP WITH IIS USING URL REWRITE, APPLICATION REQUEST ROUTING AND WEB FARM FRAMEWORK OR APACHE HTTP SERVER FOR EMC DOCUMENTUM EROOM

EMC Documentum Connector for Microsoft SharePoint

EMC Documentum Content Management Interoperability Services

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

EMC Documentum Interactive Delivery Services Accelerated Overview

EMC Documentum My Documentum for Microsoft SharePoint

EMC Documentum Repository Services for Microsoft SharePoint

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

How to setup HTTP & HTTPS Load balancer for Mediator

CERTIFICATE-BASED SINGLE SIGN-ON FOR EMC MY DOCUMENTUM FOR MICROSOFT OUTLOOK USING CA SITEMINDER

EMC DOCUMENTUM xplore 1.1 DISASTER RECOVERY USING EMC NETWORKER

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

Subversion Server for Windows

SETTING UP ACTIVE DIRECTORY (AD) ON WINDOWS 2008 FOR EROOM

JD Edwards EnterpriseOne 9.1 Clustering Best Practices with Oracle WebLogic Server

1z0-102 Q&A. DEMO Version

Copyright 2013 EMC Corporation. All Rights Reserved.

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

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

EMC Documentum xcelerated Composition Platform

Configuring BEA WebLogic Server for Web Authentication with SAS 9.2 Web Applications

SITEMINDER SSO FOR EMC DOCUMENTUM REST

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

xcp Application Deployment On Tomcat Cluster

Polar Help Desk Installation Guide

Sample copy. Introduction To WebLogic Server Property of Web 10.3 Age Solutions Inc.

EMC Data Protection Search

Using EMC Unisphere in a Web Browsing Environment: Browser and Security Settings to Improve the Experience

Configuring Apache HTTP Server With Pramati

EMC DOCUMENTUM XPLORE 1.2 AND XPLORE 1.3 HIGH AVAILABILITY IN AN ACTIVE-ACTIVE SETUP WITH LOAD BALANCER

SMTP POP3 SETUP FOR EMC DOCUMENTUM eroom

XMS FULLY AUTOMATED PROVISIONING: SERVER CONFIGURATION AND QUICK START GUIDE

EMC ViPR Controller Add-in for Microsoft System Center Virtual Machine Manager

EMC Documentum Content Services for SAP Repository Manager

IBM TRIRIGA Application Platform Version 3 Release 4.1. Single Sign-On Setup User Guide

Deploying Load balancing for Novell Border Manager Proxy using Session Failover feature of NBM and L4 Switch

EMC Documentum Content Management Interoperability Services

ENABLING SINGLE SIGN-ON FOR EMC DOCUMENTUM WDK-BASED APPLICATIONS USING IBM WEBSEAL ON AIX

Deploying Intellicus Portal on IBM WebSphere

EMC DOCUMENTUM JAVA METHOD SERVER HIGH AVAILABLITY CONFIGURATION

Integration Guide. SafeNet Authentication Service. Oracle Secure Desktop Using SAS RADIUS OTP Authentication

Technical Notes. EMC NetWorker Performing Backup and Recovery of SharePoint Server by using NetWorker Module for Microsoft SQL VDI Solution

DOCUMENTUM CONTENT SERVER CERTIFICATE BASED SSL CONFIGURATION WITH CLIENTS

Oracle WebCenter Sites. Installing on Oracle WebLogic Application Server 11g Release 1 (11.1.1)

Disaster Recovery. Websense Web Security Web Security Gateway. v7.6

Issues Faced during Installing. WebCenter Sites 11gR1 on Exalogic. Version 1.0. Vivek V Singh. Principal Solutions Architect.

Project Management (PM) Cell

An Oracle White Paper October BI Publisher 11g Scheduling & Apache ActiveMQ as JMS Provider

LAE 5.1. Windows Server Installation Guide. Version 1.0

IN EMC DOCUMENTUM WEBTOP

Contents Preparing for Installation... 5 Installing Contract Management on an Application Server... 14

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

Third-Party Software Support. Converting from SAS Table Server to a SQL Server Database

Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications

By the Citrix Publications Department. Citrix Systems, Inc.

Configuring IBM HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on IBM WebSphere Application Server

SOA Software: Troubleshooting Guide for WebSphere Application Server Agent

EMC Documentum Documentum Administrator

ConcourseSuite 7.0. Installation, Setup, Maintenance, and Upgrade

Kony MobileFabric. Sync Windows Installation Manual - WebSphere. On-Premises. Release 6.5. Document Relevance and Accuracy

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

REMOTE KEY MANAGEMENT (RKM) ENABLEMENT FOR EXISTING DOCUMENTUM CONTENT SERVER DEPLOYMENTS

EMC Documentum CenterStage

EMC Documentum Interactive Delivery Services Accelerated: Step-by-Step Setup Guide

TROUBLESHOOTING RSA ACCESS MANAGER SINGLE SIGN-ON FOR WEB-BASED APPLICATIONS

WebLogic Server: Installation and Configuration

Deploying EMC Documentum WDK Applications with IBM WebSEAL as a Reverse Proxy

EMC Documentum Enterprise Content Integration Services

Luminis Platform Banner Document Management Suite Portal Guide. Release November 2011

High Availability Setup Guide

EMC AVAMAR INTEGRATION WITH EMC DATA DOMAIN SYSTEMS

Dell Enterprise Reporter 2.5. Configuration Manager User Guide


Installing RMFT on an MS Cluster

Configuring EPM System for SAML2-based Federation Services SSO

Greenplum Database (software-only environments): Greenplum Database (4.0 and higher supported, or higher recommended)

EMC VoyenceControl Integration Module. BMC Atrium Configuration Management Data Base (CMDB) Guide. version P/N REV A01

Novell Access Manager

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

Instant Chime for IBM Sametime High Availability Server Guide

SA Server 2.0. Application Note : Evidian SafeKit 7.0.4, Failover

Oracle WebLogic Server 11g Administration

ABSTRACT. February, 2014 EMC WHITE PAPER

Configuring Load Balancing for EMC ViPR SRM

EMC VIPR SRM: VAPP BACKUP AND RESTORE USING EMC NETWORKER

VMware Site Recovery Manager with EMC RecoverPoint

FioranoMQ 9. High Availability Guide

Instant Chime for IBM Sametime For IBM Websphere and IBM DB2 Installation Guide

CA Spectrum and CA Service Desk

EMC NetWorker Module for Microsoft Applications Release 2.3. Application Guide P/N REV A02

An Oracle White Paper March Integrating the SharePoint 2007 Adapter with WebCenter Spaces ( & )

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

Transcription:

XCP APP FAILOVER CONFIGURATION FOR WEBLOGIC CLUSTER AND APACHE WEBSERVER ABSTRACT This white paper deals with the explanation of configuration of failover of xcp application session across nodes of weblogic when accessed with webserver. We are using Apache webserver and 2.2 xcp app will be deployed on two nodes of weblogic cluster 12.1.2. This whitepaper assumes that xcp application is already deployed on weblogic cluster, xcp Deployment guide which deals with explanation of configurations required to deploy xcp app on weblogic cluster. December, 2014 EMC WHITE PAPER

To learn more about how EMC products, services, and solutions can help solve your business and IT challenges, contact your local representative or authorized reseller, visit www.emc.com, or explore and compare products in the EMC Store Copyright 2014 EMC Corporation. All Rights Reserved. EMC believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. The information in this publication is provided as is. EMC Corporation makes no representations or warranties of any kind with respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a particular purpose. Use, copying, and distribution of any EMC software described in this publication requires an applicable software license. For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com. Part Number H13738 2

TABLE OF CONTENTS MAIN SUMMARY... 4 AUDIENCE... 4 CONFIGURING THE WEBLOGIC SERVER... 4 WEBLOGIC-XCP FAILOVER SETUP... 5 WEBLOGIC SERVER CONFIGURATION... 6 APACHE WEBSERVER CONFIGURATION... 10 TESTING... 10 CONCLUSION... 11 3

MAIN SUMMARY EMC Documentum based product xcp is a powerful composition platform for developing custom application with maximum flexibility and minimum efforts. Customers use this xcp application to deploy on various application platforms including Weblogic. This whitepaper deals with weblogic application server platform, In a typical customer scenario, they would deploy on more than node of weblogic which are all in cluster mode. Each node will be typically on different machine to separate resource constraints. We can configure the widely used Apache webserver for this cluster, through which the users can access it. The advantage of this scenario is the application access will be load balanced across all the nodes. However the user will be connected to only one node during a session, if that node is brought down forcefully maybe due to maintenance or by accident, we need a failover mechanism to continue services through the other nodes which are up. This whitepaper assumes the cluster setup is done in weblogic, we discuss how to setup cluster for failover mechanism. AUDIENCE This white paper is intended for Customers, Partners, Tech Support Engineers. Language is basic to help understand everybody with various level of understanding. Basic understanding of weblogic should be more than enough, following steps should be enough help the failover setup. For knowing how to do weblogic cluster setup, please refer whitepaper http://www.emc.com/collateral/white-papers/h10662-deploying-wdk-application-weblogic-wp.pdf. CONFIGURING THE WEBLOGIC SERVER Ensure the WebLogic Server is installed and not running when you configure the WebLogic Server. Configure the WebLogic Server before you deploy the xcp application on it. 1. At the root of the server home directory, perform the following steps: a. Create a folder, for example, Customconf. b. Copy the dfc.properties file from the %Documentum%\Config folder on the Content Server to the Customconf folder in the application server home directory. For example, <application_server_home>\customconf c. (Optional) Create the rest-api-runtime.properties file in the <application_server_home>\customconf folder and add the following property for performance tuning of the MS SQL Server: rest.api.paged_query_template.db_hint.com.emc.documentum. rest.dfc.impl.query.folderchildrenquerytemplate= SQL_SERVER( FORCESEEK ) d. When configuring for the BAM server, create a folder, for example, bam. Extract bam.properties from /WEB- INF/classes/config/ and log4j.properties from /WEB-INF/classes/ of the bam-server.war file. Make modifications to these files and copy these files to the bam folder. 2. When configuring for the xcp application host, perform the following steps: a. Extract the bam-server.war file you downloaded and open bam-server.properties. b. Remove the comment symbol (#) from the following lines and enter values for your environment: # bam.server.host=hostname # bam.server.port=8010 # bam.server.context=bam-server If you deploy the BAM Server in a clustered environment, specify the IP address and port details of the load balancer for BAM. c. Copy the bam-server.properties file to the Customconf folder on the application server instance. For example, <application_server_home>\<server_instance>\customconf d. Create the deployment.properties file in the <application_server_home>\customconf folder and add xcp.repository.name=<repository name> to the end of the file. 4

3. In the <WebLogic domain directory>\bin\ folder, edit the setdomainenv.cmd file and perform the following steps: a. Set the classpath by adding the following line at the end of the file: set CLASSPATH=%CLASSPATH%;<application_server_home>\customConf where <application_server_home> is the home directory of WebLogic Server. b. Set the bam.properties and log4j.configuration system properties by modifying the following line: When configuring for the BAM server: -Dweblogic.home=%WLS_HOME% to set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME% -Dbam.properties=<application_server_home>\bam\bam.properties -Dlog4j.configuration=<application_server_home>\bam\log4j.properties When configuring for the xcp application host: set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME% to set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME% -Dlog4j.configuration=<application_server_home>\log4j.properties c. Set the memory settings by adding the following lines: Memory arguments: if "%JAVA_VENDOR%"=="Sun" set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx1024m set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx1024m Maximum permanent size: set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=1024m set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=1024m 4. Save the setdomainenv.cmd file. 5. In the <WebLogic domain directory>\config\ folder, edit the config.xml file by adding these lines in the <security-configuration> element: <security-configuration> <enforce-valid-basic-auth-credentials> false </enforce-valid-basic-auth-credentials> </security-configuration> 6. Save the config.xml file. For a clustered environment with multiple WebLogic Servers, repeat this procedure on each WebLogic server node. WEBLOGIC-XCP FAILOVER SETUP Load balancing mechanism in about distributing the load or requests that are sent towards the cluster of nodes, the distribution method across nodes depends upon the distribution allocation algorithm which is being used. Failover mechanism is about 5

sustaining the request that is already established with a particular node. If the node goes down we will try to replicate the session in another node of the same cluster. Basic high level diagram of weblogic cluster with apache webserver would look like this- Admin Server Node 1 Node 2 Apache Webserver End User Weblogic Server Configuration Deploy the xcp application from Designer while pointing to the XMS Agent which includes the details of weblogic cluster. Once the deployment is done, the application would be deployed to both the nodes of weblogic cluster. We can verify this by looking into the deployment target of the war file in weblogic console. 6

We have verified that app is deployed to all nodes of the cluster, now we will stop both the nodes of cluster Open the weblogic console, now Goto Environments -> Servers, Open first node, go to Cluster tab. Make following changes in Replication Group and Preferred Secondary Group Field Replication Group Preferred Secondary Group Value Repgroup1 Repgroup2 7

Open the second node, in Cluster tab. Make following changes Field Value Replication Group Repgroup2 Preferred Secondary Group Repgroup1 Save Changes, made to both the nodes. The value Repgroup1 and Repgroup2 is for illustration purpose, it can be any value. 8

Stop both the nodes, delete all the contents of cache folder like tmp folder. Now after we have made changes in weblogic nodes to support failover, we need to modify the weblogic.xml which is inside the xcp app war file to support replication. We need to do this changes on both the nodes and admin server. We will modify weblogic.xml in three location, Admin server and both nodes In Admin Server machine, go under %WL_HOME%/user_projects/your_domain/servers/AdminServer/upload. Copy the war file of your application under this location to some temporary location and expand it to separate folder. Go under folder WEB-INF, open weblogic.xml. Under <session-descriptor> element of this xml, you will find two child elements <cookie-http-only> and <cookie-path>; below <cookie-path> tag line, add this line- <persistent-store-type>replicated_if_clustered</persistent-store-type> Save this file and repackage the war file, and replace the war file in the above location. In first node of the weblogic, under the location %WL_HOME%/user_projects/your_domain/servers/first_node/stage, you will find the war file of your application, replace the war file here as well. In second node of the weblogic, under the location %WL_HOME%/user_projects/your_domain/servers/second_node/stage, you will find the war file of your application, replace the war file here as well. 9

Now the original war deployed on both the nodes will be replaced by the repackaged war file. Make sure all the temp folder, cache is cleared on all nodes; as we need to make sure that the repackaged war file is exploded newly. Apache Webserver Configuration Install Apache Webserver in new machine, Edit httpd.conf file under conf folder, enable by uncommenting following modules, LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_connect_module modules/mod_proxy_connect.so Add mod_wl.so under modules folder, refer your weblogic manual, and add corresponding compatible version of.so file. Add this line in httpd.conf file, under all the above LoadModule statements LoadModule weblogic_module modules/mod_wl.so This will done so that apache webserver can interact with our weblogic server. Add this section at the end of file <IfModule mod_weblogic.c> WebLogicCluster <node1 ip>:port1,<node2 ip>:port2 </IfModule> <Location /> SetHandler weblogic-handler </Location> Restart the apache webserver, we should be now able to access the nodes individually and also through apache webserver http://<node1_ip>:<port1>/app http://<node2_ip>:<port2>/app http://<webserver_ip>:<webserver_port>/app We will able to access the weblogic nodes through webserver. This concludes webserver setup. Testing In Admin server StartWeblogic.cmd To start nodes: Node1 StartManagedWeblogic.cmd StartNodeManager.cmd <node1_name> http://<admin-server>:<port> 10

Node2 StartManagedWeblogic.cmd StartNodeManager.cmd <node2_name> http://<admin-server>:<port> Hit this URL in browser, http://<webserver_ip>:<webserver_port>/app Start accessing the application, it will be accessing through one of the nodes, you could see operation in command window if managedweblogic, stop this node To stop nodes: Node1 & Node2 Press CTRL+C, in command line in the StartManagedWeblogic.cmd window If the setup is proper, session will failover to the other node which is up, rather than creating a new session and redirecting to login page. Conclusion In conclusion, we have created a load balanced as well as failover enabled Weblogic cluster setup with Apache webserver. If you choose to use different webserver, refer the corresponding webserver guide, but the weblogic side setup should ideally remain the same. This setup is aimed to give a seamless interaction with the application from end user point-of-view. 11