.NET UI Load Balancing & Failover



Similar documents
.NET UI Load Balancing & Clustering

White Paper. ThinRDP Load Balancing

Architecting ColdFusion For Scalability And High Availability. Ryan Stewart Platform Evangelist

Purpose-Built Load Balancing The Advantages of Coyote Point Equalizer over Software-based Solutions

FILECLOUD HIGH AVAILABILITY

High Availability and Clustering

INUVIKA TECHNICAL GUIDE

Siemens PLM Connection. Mark Ludwig

Web Application Hosting Cloud Architecture

Deployment Topologies

Scaling Progress OpenEdge Appservers. Syed Irfan Pasha Principal QA Engineer Progress Software

Load Balancing Web Applications

Deploying Remote Desktop Connection Broker with High Availability Step-by-Step Guide

Intellicus Enterprise Reporting and BI Platform

Cloud Based Application Architectures using Smart Computing

Pacific Application Server for OpenEdge: Getting Started. Progress OpenEdge 11.5 Workshop

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

Intro to Load-Balancing Tomcat with httpd and mod_jk

DEPLOYMENT GUIDE CONFIGURING THE BIG-IP LTM SYSTEM WITH FIREPASS CONTROLLERS FOR LOAD BALANCING AND SSL OFFLOAD

Load Balancing for Microsoft Office Communication Server 2007 Release 2

SCALABILITY AND AVAILABILITY

By the Citrix Publications Department. Citrix Systems, Inc.

Aqua Connect Load Balancer User Manual (Mac)

Tushar Joshi Turtle Networks Ltd

Learn Oracle WebLogic Server 12c Administration For Middleware Administrators

Chapter 10: Scalability

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

High Availability with Elixir

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

Building a Highly Available and Scalable Web Farm

Oracle BI Publisher Enterprise Cluster Deployment. An Oracle White Paper August 2007

Lab 5 Explicit Proxy Performance, Load Balancing & Redundancy

McAfee Agent Handler

Microsoft Office Communications Server 2007 & Coyote Point Equalizer Deployment Guide DEPLOYMENT GUIDE

Enterprise Deployment of the EMC Documentum WDK Application

Active-Active and High Availability

High Performance Cluster Support for NLB on Window

Configure AlwaysOn Failover Cluster Instances (SQL Server) using InfoSphere Data Replication Change Data Capture (CDC) on Windows Server 2012

INCREASE SYSTEM AVAILABILITY BY LEVERAGING APACHE TOMCAT CLUSTERING

Configuring the BIG-IP system for FirePass controllers

JBoss Seam Performance and Scalability on Dell PowerEdge 1855 Blade Servers

HDFS Federation. Sanjay Radia Founder and Hortonworks. Page 1

CommuniGate Pro White Paper. Dynamic Clustering Solution. For Reliable and Scalable. Messaging

ActiveVOS Clustering with JBoss

NetIQ Access Manager 4.1

Multiple Public IPs (virtual service IPs) are supported either to cover multiple network segments or to increase network performance.

Configuring Windows Server Clusters

CS312 Solutions #6. March 13, 2015

Resonate Central Dispatch

Uptime Infrastructure Monitor. Installation Guide

CNS-208 Citrix NetScaler 10 Essentials for ACE Migration

Lustre SMB Gateway. Integrating Lustre with Windows

Load Balancing & High Availability

Astaro Deployment Guide High Availability Options Clustering and Hot Standby

CS 188/219. Scalable Internet Services Andrew Mutz October 8, 2015

Cisco Active Network Abstraction Gateway High Availability Solution

LARGE SCALE INTERNET SERVICES

Blue Coat Systems. Client Manager Redundancy for ProxyClient Deployments

Citrix NetScaler 10 Essentials and Networking

Load Balancing and High availability using CTDB + DNS round robin

Clustering ExtremeZ-IP 4.1

mod_cluster A new httpd-based load balancer Brian Stansberry JBoss, a division of Red Hat

Fixed Price Website Load Testing

Deploying the BIG-IP LTM with the Cacti Open Source Network Monitoring System

High Availability for Citrix XenApp

Synology High Availability (SHA): An Introduction Synology Inc.

VMware Identity Manager Connector Installation and Configuration

Synology High Availability (SHA)

Load Balancing using Pramati Web Load Balancer

DNS ROUND ROBIN HIGH-AVAILABILITY LOAD SHARING

Syncplicity On-Premise Storage Connector

LinuxWorld Conference & Expo Server Farms and XML Web Services

Technical Note. vsphere Deployment Worksheet on page 2. Express Configuration on page 3. Single VLAN Configuration on page 5

LISTSERV in a High-Availability Environment DRAFT Revised

Routing Security Server failure detection and recovery Protocol support Redundancy

Deployment Guide Oracle Siebel CRM

Load Balancing BEA WebLogic Servers with F5 Networks BIG-IP

NETWORK ATTACHED STORAGE DIFFERENT FROM TRADITIONAL FILE SERVERS & IMPLEMENTATION OF WINDOWS BASED NAS

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

EMC ISILON SMARTCONNECT

EMC DOCUMENTUM JAVA METHOD SERVER HIGH AVAILABLITY CONFIGURATION

Availability Digest. Redundant Load Balancing for High Availability July 2013

Global Server Load Balancing

Blackboard Learn TM, Release 9 Technology Architecture. John Fontaine

Load Balancing IBM Lotus Instant Messaging and Web Conferencing Servers with F5 Networks BIG-IP System

High Availability Implementation for JD Edwards EnterpriseOne

High Availability Essentials

Deployment Guide July-2014 rev. a. Deploying Array Networks APV Series Application Delivery Controllers with Oracle WebLogic 12c

Synology High Availability (SHA)

Snapt Redundancy Manual

High Availability and Load Balancing Cluster for Linux Terminal Services

ColdFusion 8. Performance Tuning, Multi-Instance Management and Clustering. Sven Ramuschkat MAX 2008 Milan

EXPRESSCLUSTER X for Windows Quick Start Guide for Microsoft SQL Server Version 1

GRAVITYZONE HERE. Deployment Guide VLE Environment

Load Balancing IBM WebSphere Servers with F5 Networks BIG-IP System

Deployment Guide AX Series with Citrix XenApp 6.5

APV9650. Application Delivery Controller

BASICS OF SCALING: LOAD BALANCERS

Transcription:

QAD.NET UI Load Balancing & Clustering Nectarios Daloglou President & Principal Consultant Dalo Consulting Inc. 1 2014 Dalo Consulting Inc. Agenda Introduction.NET UI Architecture Manual Load Balancing DNS Round Robin Hardware Load Balancing Other Solutions Case Study: Load Balancing with 1000+ Users Questions 2 2014 Dalo Consulting Inc. Dalo Consulting Inc. One of the first to implement Load Balancing with.net UI Performed specialized services at more than 50 QAD customer sites: Progress Database Administration Install/Upgrades/Migrations of Progress & QAD Applications (.NET UI, Qxtend, etc ) Technical Audits / Performance Tuning Business Continuity Strategies Key Member in a large ongoing QAD Implementation 3 2014 Dalo Consulting Inc. 1

Before We Start Your Mileage May Vary Information in this presentation may not necessarily apply to your environment Focused primarily on.net UI, not a full load balancing / clustering solution for the rest of the QAD system 4 2014 Dalo Consulting Inc. What is Load Balancing? Load balancing is a computer networking method for distributing workloads across multiple computing resources. Load balancing aims to optimize resource use, maximize throughput, minimize response time, and avoid overload of any one of the resources. Reference: http://en.wikipedia.org/wiki/load_balancing_(computing); Image: http://beyondearthseries.com/2012/05/09/seesaw-of-life/ 5 2014 Dalo Consulting Inc. Why Load Balance.NET UI? Scalability: Performance and stability issues with 250+ connections in past versions (400-600 in later/current versions) per Tomcat instance Calculate your connections: Number of UI Configurations X Number of users X Maximum connections (tabs) in User Option Telnet Maintenance Example: (DEV 10 users X 5 Max) + (QA 20 X 5 Max) + (PROD 100 X 5 Max) = 650 Connections Reference: QAD.NET UI Deployment Considerations Sep. 2007 6 2014 Dalo Consulting Inc. 2

Max Connections 7 2014 Dalo Consulting Inc. Why Load Balance.NET UI? High Availability: Downtime Avoidance Protect against localized failure such as a server crash or hardware failure Ability to maintain a server or node without rendering the UI unavailable Seamlessly failover to working nodes/servers Reference: QAD.NET UI Deployment Considerations Sep. 2007 8 2014 Dalo Consulting Inc. Agenda Introduction.NET UI Architecture Manual Load Balancing DNS Round Robin Hardware Load Balancing Other Solutions Case Study: Load Balancing with 1000+ Users Questions 9 2014 Dalo Consulting Inc. 3

.NET UI Architecture Reference: QAD.NET UI Deployment Considerations Sep. 2007 10 2014 Dalo Consulting Inc. Tomcat Monitoring Tomcat Status: http://<server>:<tomcat Port> Example: http://serv456.com:8086 11 2014 Dalo Consulting Inc. Tomcat Monitoring cont'd Tomcat Status: Other Methods: Check if process is running: PID=`cat $TOMCAT/logs/tomcat.pid` PID_STATUS=`ps -ef grep $PID grep c $TOMCAT[\/] Use port monitor: (OE Management, Monitoring Framework or other tool) 12 2014 Dalo Consulting Inc. 4

Connection Manager Monitoring http://<tomcat Host>:<Port>/<UI Name> Example: http://serv456.com:8086/prod_294 13 2014 Dalo Consulting Inc. Connection Manager Pool Monitoring Connection Manager Heartbeat URLs: idle.jsp: Returns number of idle sessions status.jsp: Returns total/busy/initializing/idle status: All: 3 Busy: 1 Init: 0 Idle: 2 busy.jsp: Returns number of busy sessions 14 2014 Dalo Consulting Inc. Connection Manager Pool Monitoring cont'd Connection Manager Heartbeat URLs: init.jsp: Returns number of sessions initializing list.jsp: Returns detailed info on busy sessions: 15 2014 Dalo Consulting Inc. 5

Connection Manager Pool Monitoring cont'd Connection Manager Heartbeat URLs: Can be accessed via web browser: http://<tomcat Host>:<Port>/<UI-name>/heartbeat/idle.jsp Can also be accessed by using a command line browser such as lynx : http://lynx.isc.org/ With lynx, we can incorporate web commands into scripts for monitoring, starting and stopping the connection pool Can be used by load balancing device 16 2014 Dalo Consulting Inc. Agenda Introduction.NET UI Architecture Manual Load Balancing DNS Round Robin Hardware Load Balancing Other Solutions Case Study: Load Balancing with 1000+ Users Questions 17 2014 Dalo Consulting Inc..NET UI Load Balancing Requirements Load balancing method must enforce session persistence Static data located within the Tomcat webapps, such as process maps, must be replicated throughout all Tomcat instances User data, such as favorites must be available from any of the Tomcat instances Located in <Tomcat Install>/webapps/qadhome/configurations/<UI Config>/storage Can be replicated using scripting Can exist in a common location and accessed using NFS mounts (mapped drives) or soft links 18 2014 Dalo Consulting Inc. 6

Ensuring Persistence Database Server.NET UI Session UI Launch System Selection List Tomcat client.session.xml Progress AppServer Progress Webspeed Embedded Telnet Sessions Maintenance Screen PROD_294 19 2014 Dalo Consulting Inc. QAD DB Manual Load Balancing Specifically assigned groups of users to Separate.NET UI instances Example: Users 1-50 assigned to Tomcat1 Users 51-100 assigned to Tomcat2 Easy to implement Must keep track of user assignment No support for high availability, unless the client front end is hosted (Citrix / Terminal Server) and also load balanced. 20 2014 Dalo Consulting Inc. Manual Load Balancing Architecture Tomcat A Tomcat B.NET UI User 1.NET UI User 2.NET UI User 3 21 2014 Dalo Consulting Inc..NET UI User 51.NET UI User 52.NET UI User 53 7

Manual Load Balancing Architecture with Citrix Tomcat A Tomcat B Citrix Farm 2 22 2014 Dalo Consulting Inc. 1 53 14 51 75 Round-Robin Robin DNS Works by translating a common web address into multiple IP addresses Example: Users are configured to connect to http://loadbalancer.corp, but can be redirected to any of fthe following servers: 192.168.10.1 192.168.10.2 192.168.10.3 Easy to implement No need to keep track of user assignment No support for high availability 23 2014 Dalo Consulting Inc. DNS Load Balancing Architecture Tomcat A Tomcat B 192.168.10.1 192.168.10.2 DNS Server loadbalancer.corp 24 2014 Dalo Consulting Inc. 8

Hardware Load Balancing Load balancing device features: Can determine if a Tomcat instance is unavailable and will stop redirecting to unavailable instance until it becomes available Can track least busiest server via heartbeat URLs Other metrics can be used such as CPU, response time, etc Can be costly and complex to set up 25 2014 Dalo Consulting Inc. Hardware Load Balancing Architecture 26 2014 Dalo Consulting Inc. Hardware Load Balancing Architecture cont'd 27 2014 Dalo Consulting Inc. 9

.NET UI Load Balancing As user base increases, so does the need for more nodes:.net Client Launch Load Balancer TOMCAT 8086 UIREG01 UIREG02 UIREG03 UI List UI List UI List TOMCAT 8087 UIREG01 UIREG02 UIREG03 TOMCAT 8088 UIREG01 UIREG02 UIREG03 28 2014 Dalo Consulting Inc. Hardware Load Balancing Benefits Maximizes uptime by providing automatic failover Improved user performance as load is distributed Improved user experience as the load balancer device will skip failed or busy instances Ensures persistent connections 29 2014 Dalo Consulting Inc..NET UI Configuration Guidelines for Load Balancing Use actual server names when configuring additional.net UI builds Files/Directories that contain hostname and Port information: DELETE: /<TOMCAT>/webapps/<UI NAME>/screen.xml DELETE: /<TOMCAT>/webapps/<UI NAME>/headerhtml.out DELETE: /<TOMCAT>/webapps/<UI NAME>/cache/* CHANGE SERVER NAME: /<TOMCAT>/webapps/<UI NAME>/WEB- INF/conf/ connectionmanagerconfig.xml CHANGE SERVER NAME: /<TOMCAT>/webapps/<UI NAME>/WEB- INF/conf/process-config.xml CHANGE SERVER NAME: /<TOMCAT>/webapps/qadhome/configurations/<UI NAME>/client-session.xml 30 2014 Dalo Consulting Inc. 10

.NET UI Configuration Guidelines for Load Balancing Configuration Guidelines for this Load Balancing Architecture (con t): Make sure that each client config file in the qadhome directory points to its respective instance Use the load balancer URL to install or re-install.net UI clients Example: Instead of http://mydot net:8080/qadhome Use http://loadbalancer:8080/qadhome 31 2014 Dalo Consulting Inc. Scripted Load Balancing Scripts can be set up to monitor the least busiest instances and automatically modify the client-session.xml files accordingly Uses only one qadhome server which is regularly synchronized for failover Can provide failover capabilities among Tomcat instances, but not server failures. Can be combined with other load balancing schemes No known sites using this in production 32 2014 Dalo Consulting Inc. Scripted Load Balancing Architecture Tomcat.NET UI Session UI Launch System Selection List client.session.xml PROD_294 Scripts polling Copying pre-configured client-session.xml Maintenance Screen Tomcat client.session.xml PROD_294 33 2014 Dalo Consulting Inc. Scripts polling Copying pre-configured Client-session.xml 11

Apache/Tomcat Load Balancing Apache or Tomcat can be used to enable load balancing between multiple Tomcat instances Useful for distributing load and provides failover capability among Tomcat instances Introduces a single point of failure via the single load balancing address / webapp. Have not tested this Details here: http://tomcat.apache.org/connectorsdoc/generic_howto/loadbalancers.html 34 2014 Dalo Consulting Inc. Apache/Tomcat Load Balancing Architecture Tomcat A Tomcat B 192.168.10.1 192.168.10.2 Apache Tomcat Connector loadbalancer.corp 35 2014 Dalo Consulting Inc. Agenda Introduction.NET UI Architecture Manual Load Balancing DNS Round Robin Hardware Load Balancing Other Solutions Case Study: Load Balancing with 1000+ Users Questions 36 2014 Dalo Consulting Inc. 12

Case Study: Large Auto Parts Manufacturer Large QAD UI User base: 1000+ Users worldwide Limited number of connections per Tomcat was 250 at the time of implementation High availability and redundancy d required Solution: Hardware load balancing Hardware: Redundant Cisco CSS 11500 Series Clients: Citrix & Windows 7 User data shared using softlinks and an NFS mount 37 2014 Dalo Consulting Inc. Scripted Load Balancing Architecture Server 1.NET UI Citrix Farm Tomcat 8080 Tomcat 8081 Tomcat 8082 NA_291 NA_291 NA_291 EU_291 EU_291 EU_291 netui:8080 AP_291 AP_291 AP_291 Tomcat 8080 Server 2 Tomcat 8081 Tomcat 8082 NA_291 EU_291 AP_291 38 2014 Dalo Consulting Inc. User data NA_291 EU_291 AP_291 NA_291 EU_291 AP_291 Questions? 39 2014 Dalo Consulting Inc. 13

Questions Questions or comments? Feel free to e- mail me: Nectar Daloglou: nd@daloconsulting.com For a copy of this presentation and for other useful stuff, visit our website: www.daloconsulting.com 40 2014 Dalo Consulting Inc. Thank You! 41 2014 Dalo Consulting Inc. 14