High Availability CAS



Similar documents
CLUSTERING CAS for High Availability. Eric Pierce, University of South Florida

Implementing CAS. Adam Rybicki Jasig Conference, San Diego, CA March 7, 2010

TIBCO Spotfire Platform IT Brief

Apache Tomcat. Tomcat Clustering: Part 2 Load balancing. Mark Thomas, 15 April Pivotal Software, Inc. All rights reserved.

Implementing a Well- Performing and Reliable Portal

Sakai and uportal Integration Options

Implementing CAS. Adam Rybicki Jasig Conference, Dallas, TX March 1, 2009

Apache Tomcat. Load-balancing and Clustering. Mark Thomas, 20 November Pivotal Software, Inc. All rights reserved.

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

Welcome to Spring Forward September 26, 2006 Penn State Great Valley

CloudCERT (Testbed framework to exercise critical infrastructure protection)

ActiveVOS Clustering with JBoss

How To Configure The Jasig Casa Single Sign On On A Workstation On Ahtml.Org On A Server On A Microsoft Server On An Ubuntu (Windows) On A Linux Computer On A Raspberry V

IdP Clustering. You want to prevent service outages. High Availability and Load Balancing. Possible problems: HW failures

Apache Tomcat Clustering

CA Process Automation

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

Intro to Load-Balancing Tomcat with httpd and mod_jk

1. Introduction 2. Getting Started 3. Scenario 1 - Non-Replicated Cluster 4. Scenario 2 - Replicated Cluster 5. Conclusion

IBM TRAINING L13. Replacing Windows Servers with Linux. Mark Post. Orlando, FL Mark Post

ACE Management Server Deployment Guide VMware ACE 2.0

Tushar Joshi Turtle Networks Ltd

Practical Load Balancing

Load Balancing Web Applications

VMware vcenter Server 5.5 Deployment Guide TECHNICAL MARKETING DOCUMENTATION V 1.0/NOVEMBER 2013/JUSTIN KING

DIGIPASS Authentication for Microsoft ISA 2006 Single Sign-On for Outlook Web Access

Architecture and Mode of Operation

Portal In Anger. Ray Ploski Team Lead - Solutions Architecture, JBoss by Red Hat June 22, 2010

Technical White Paper - JBoss Security

How To Set Up A Load Balancer With Windows 2010 Outlook 2010 On A Server With A Webmux On A Windows Vista V (Windows V2) On A Network With A Server (Windows) On

ConcourseSuite 7.0. Installation, Setup, Maintenance, and Upgrade

Prepared by Enea S.Teresa (Italy) Version October 24

Routing Security Server failure detection and recovery Protocol support Redundancy

Apache Tomcat & Reverse Proxies

DIGIPASS Authentication for Cisco ASA 5500 Series

Server Load Balancing made easy & affordable. Detlef Lilje KEMP Technologies

This presentation covers virtual application shared services supplied with IBM Workload Deployer version 3.1.

Filr 2.0 Administration Guide. April 2016

Authentication Methods

CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft SQL Server

JBoss Seam Performance and Scalability on Dell PowerEdge 1855 Blade Servers

RSA SecurID Ready Implementation Guide

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

Coding Serbia. Systematic Load Testing of Web Applications.

Oracle WebLogic Server 11g Administration

Oracle Communications WebRTC Session Controller: Basic Admin. Student Guide

Get Success in Passing Your Certification Exam at first attempt!

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

ClearPass A CAS Extension Enabling Credential Replay

By PANKAJ SHARMA. Concepts of Server Load Balancing

Approaches and challenges for a SSO enabled extranet using Jasig CAS. Florian Holzschuher René Peinl

Access Management Analysis of some available solutions

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

1. Configuring Apache2 Load Balancer with failover mechanism

WHITE PAPER. Domo Advanced Architecture

Architecture and Mode of Operation

How To Choose Between A Relational Database Service From Aws.Com

Qualogy M. Schildmeijer. Whitepaper Oracle Exalogic FMW Optimization

EQUELLA. Clustering Configuration Guide. Version 6.0

CA SiteMinder. Implementation Guide. r12.0 SP2

Load Balancing. Outlook Web Access. Web Mail Using Equalizer

Configuration Worksheets for Oracle WebCenter Ensemble 10.3

CENTRAL AUTHENTICATION SERVICE (CAS) SSO FOR EMC DOCUMENTUM REST SERVICES

High Availability Technical Notice

High-Availability. Configurations for Liferay Portal. James Min. Senior Consultant / Sales Engineer, Liferay, Inc.

Configuring Integrated Windows Authentication for JBoss with SAS 9.3 Web Applications

Administering the Web Server (IIS) Role of Windows Server

JobScheduler. Architecture and Mode of Operation. Software for Open Source

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.0

2 Downloading Access Manager 3.1 SP4 IR1

McAfee Agent Handler

Integrating the F5 BigIP with Blackboard

Exploiting the Web with Tivoli Storage Manager

Identikey Server Performance and Deployment Guide 3.1

Reverse Proxy Guide. Version 2.0 April 2016

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

Deploying the BIG-IP System v11 with Microsoft Exchange 2010 and 2013 Client Access Servers

Sophos Mobile Control Installation prerequisites form

DEPLOYMENT ROADMAP March 2015

Layer 4-7 Server Load Balancing. Security, High-Availability and Scalability of Web and Application Servers

.NET UI Load Balancing & Clustering

Enterprise Deployment of the EMC Documentum WDK Application

Integrating Peoplesoft Enterprise Campus Solutions with Sakai

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

Administration Guide Novell Filr 1.1 January 2015

How Comcast Built An Open Source Content Delivery Network National Engineering & Technical Operations

Oracle Database Security and Audit

JMETER - MONITOR TEST PLAN

Connection Broker The Leader in Managing Hosted Desktop Infrastructures and Virtual Desktop Infrastructures (HDI and VDI) DNS Setup Guide

DNS records. RR format: (name, value, type, TTL) Type=NS

StreamServe Persuasion SP5 StreamStudio

Secure Web Gateway Version 11.7 High Availability

Configuring PPP And SIP

Chapter 2 TOPOLOGY SELECTION. SYS-ED/ Computer Education Techniques, Inc.

HUAWEI OceanStor Load Balancing Technical White Paper. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

How To Secure Your Data Center From Hackers

Introduction to Hyper-V High- Availability with Failover Clustering

Open-source Single Sign-On with CAS (Central Authentication Service)

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.2

Transcription:

High Availability CAS Adam Rybicki, Scott Battaglia 2009 Jasig Conference, Dallas, TX March 4, 2009 Copyright Unicon, Inc., 2009. This work is the intellectual property of Unicon, Inc. Permission is granted for this material to be shared for non-commercial purposes, provided that this copyright statement appears on the reproduced materials and notice is given that the copying is by permission of Unicon, Inc. To disseminate otherwise or to republish requires written permission from Unicon, Inc.

1. Overview a. Introductions b. Definitions 2. Part 1: Clustering CAS (uptime) a) Methods From CAS Manual b) Other Tried Options 3. Part 2: High Availability (now that it stays up) 4. Conclusions

Overview CAS Overview Challenges unique to clustering CAS How is CAS availability handled today? What Is High Availability? High Availability vs. Uptime CAS Manual Addresses Only Uptime

Browser CAS in a nutshell CAS Authenticates via password (once) Determines validity of user s claimed authentication Authenticates without sending password Web application

Single CAS Server SSL UI Ticket Validation and Management Authentication Auth DB (LDAP, Kerberos, etc) Ticket Registry

Primary with a Backup Primary Heartbeat Backup SSL SSL UI UI Ticket Validation and Management Authentication Ticket Validation and Management Authentication Ticket Registry Auth DB (LDAP, Kerberos, etc)

Load-Balanced Cluster SSL Load Balancer CAS 1 CAS 2 UI UI Ticket Validation and Management Authentication Ticket Validation and Management Authentication Ticket Registry Auth DB (LDAP, Kerberos, etc)

http://en.wikipedia.org/wiki/high-availability_cluster High Availability

Part 1: Clustering CAS According to the CAS Manual Guarantee ticket uniqueness set host.name in cas.properties Distributed ticket registry Tomcat session replication Why this is not really necessary It complicates things considerably It can be eliminated with this simple change: in WEB-INF/cas-servlet.xml set <flow:executor id="flowexecutor" registry-ref="flowregistry" repository-type="client">

Distributed Ticket Registry CAS Manual Only Talks About JBoss Cache Ticket Registry There are at least 2 other tested options: JPA Ticket Registry Memcache Ticket Registry

JBoss Cache Ticket Registry Problems reported using the default JBoss Cache 1.4.1 (prior to CAS 3.3 release) Unlimited number of nodes Default version does not persist the cache Default Registry Cleaner may be OK, and it may be OK to run it on all cluster nodes

Memcache Ticket Registry Memcached is a high-performance distributed memory object caching system Memcached assumes that objects may be reloaded from persistent storage when not in cache Scales by adding more nodes Replication possible with the repcached patch If it runs out of memory, it throws away LRU objects Many client libraries, including one in Java Impossible to run a registry cleaner Memcache has its own expiration/cleaner

JPA Ticket Registry Surprisingly good throughput shown in testing under moderate load (used MySQL in that test) Concurrent access neatly solved using database transactions and Hibernate Default registry cleaner insufficient Now all you have to do is to make your database HA

Other Possible Methods Terracotta (http://www.terracotta.org/) Sample configuration contributed (http://www.jasig.org/wiki/x/ihjp) Requires the use of Terracotta server(s) Ehcache (http://ehcache.sourceforge.net/) Just like JBoss Cache, does not require dedicated servers If uportal can use it, why not CAS? Apache Tribes (http://tomcat.apache.org/tomcat-6.0- doc/tribes/introduction.html) That s the only publically-accessible documentation No dedicated server required

Registry Cleaner Limitations Running a cleaner on two cluster nodes may not work The current TicketRegistry permits the retrieval of all tickets Memcache does not allow to retrieve all entries JBoss registry allows it, but it may take too long to process Default cleaner can stall database access because it goes through the entire registry in 1 transaction

Part 2: Items Not Addressed by the CAS Manual Load-balancing Fail-Over of CAS Single Sign-out Authentication Database Availability Network Power

http://en.wikipedia.org/wiki/high-availability_cluster High Availability

Load-balancing Should Be Easy to Solve With Apache Using AJP Protocol Allows to offload SSL server processing to Apache mod_proxy Now Supports AJP Simple HTTP Proxy Not Recommended mod_jk May Still Be More Flexible than mod_proxy

Fail-over of CAS Is Apache a Single Point of Failure? Can Use Linux-HA to Watch the Apache Server Have a "Spare" or "Standby" Server Available Linux-HA Does IP Swap of a Failed Server After The Swap the Standby Activates FOSS!

Authentication Source LDAP (using OpenLDAP) 1. Can be dealt with using Linux-HA 2. Can configure CAS to authenticate to several LDAP servers Kerberos JAAS can be configured to authenticate to several KDCs Database Database-specific

Network Use Multiple Locations Use Multiple Interfaces Use Multiple DNS Records Use Multiple ISPs

Power UPS Generators Multiple Locations Multiple Power Suppliers

Conclusions A Complete CAS Cluster Can Be Implemented With FOSS Yes, there is investment in expertise Proprietary software expertise is not free Commercial support for FOSS is available Do Not Try to Replace Proven Commercial Software With FOSS Just Because It's Free Try to Follow Methods Proven at Your Institution

Questions? Adam Rybicki arybicki@unicon.net www.unicon.net