resin, deployment, cloud, clustering and ec2 (how to) part ii

28
Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server / Web Server Copyright (c) 1998-2012 Caucho Technology, Inc. All rights reserved. caucho® , resin® and quercus® are registered trademarks of Caucho Technology, Inc. Resin, Deployment, Cloud, Clustering and EC2 (How To) Part 2 Session Replication, App Deployment and Clustering on EC2 Thursday, April 5, 12

Upload: billdigman

Post on 01-Nov-2014

1.071 views

Category:

Technology


5 download

DESCRIPTION

http://www.caucho.com/resin-application-server/3g-java-clustering-cloud/ This covers setting up a Resin cluster in Amazon EC2. Much of the cluster setup would be the same in other environments as well. Resin is the only mainstream Java EE application server with clustering and cloud deployment built in and fully elastic that works in an EC2 environment. There are no add-ons, hacks, or tricks. Resin was simply designed to work well in the cloud. There are some extra things added for EC2, which would equally apply to other Virtualization 2.0 environments like Xen, and VMWare.

TRANSCRIPT

Page 1: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Resin Deployment Cloud Clustering and EC2 (How To) Part 2

Session Replication App Deployment and Clustering on EC2

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Related13 links

bull Part 1 Resin Java EE Application Server clustering and deployment to EC2

bull Part 2 Resin clustering and deployment to EC2 session replication Amazon Load Balancer (This in WIKI form)

bull Resin Java EE Application Serverrsquos Cloud Support and Clustering Support

bull Resin White Paper on Java EE Cloud Computing

bull Short video describing key concepts Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Gartner names Cauchoin Cool Vendors in Platformand Integration Middleware

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 works13 well13 in13 the13 cloud

bull This tutorial covers setting up a Resin cluster in Amazon EC2

bull This is part 2 make sure you start with part 1

bull Much of the cluster setup would be the same in other environments as well

bull Resin is only mainstream Java EE application server with clustering and cloud deployment built-in and fully elastic that works in an EC2 environment

bull No add-ons hacks or tricks needed

bull Resin simply designed to work well in cloud

bull Resin supports EC2

bull This EC2 support can equally apply to other Virtualization 20 environments like Xen and VMWare

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview

bull IP addresses are ephemeral in EC2 public IP addresses are not known (canrsquot see them with ifconfig bc NAT)

bull If you restart a server it loses its IP addresses

bull Think of DHCP but the lease expires instantly if the box is not using it

bull In a spoke hub architecture you need to know how to find the hub The hub is like a cluster DHCP server It knows the topology of the cluster

bull Resin clustering works around these issue by allowing Resin to use public IP to find Triad members and then members exchanging private IP addresses

bull Resin typically discovers the server id by looking up the address combination of the instance In this case the local boxes do not know any address so you have to tell Resin what the server id is so it can look up the address it

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 2: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Related13 links

bull Part 1 Resin Java EE Application Server clustering and deployment to EC2

bull Part 2 Resin clustering and deployment to EC2 session replication Amazon Load Balancer (This in WIKI form)

bull Resin Java EE Application Serverrsquos Cloud Support and Clustering Support

bull Resin White Paper on Java EE Cloud Computing

bull Short video describing key concepts Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Gartner names Cauchoin Cool Vendors in Platformand Integration Middleware

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 works13 well13 in13 the13 cloud

bull This tutorial covers setting up a Resin cluster in Amazon EC2

bull This is part 2 make sure you start with part 1

bull Much of the cluster setup would be the same in other environments as well

bull Resin is only mainstream Java EE application server with clustering and cloud deployment built-in and fully elastic that works in an EC2 environment

bull No add-ons hacks or tricks needed

bull Resin simply designed to work well in cloud

bull Resin supports EC2

bull This EC2 support can equally apply to other Virtualization 20 environments like Xen and VMWare

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview

bull IP addresses are ephemeral in EC2 public IP addresses are not known (canrsquot see them with ifconfig bc NAT)

bull If you restart a server it loses its IP addresses

bull Think of DHCP but the lease expires instantly if the box is not using it

bull In a spoke hub architecture you need to know how to find the hub The hub is like a cluster DHCP server It knows the topology of the cluster

bull Resin clustering works around these issue by allowing Resin to use public IP to find Triad members and then members exchanging private IP addresses

bull Resin typically discovers the server id by looking up the address combination of the instance In this case the local boxes do not know any address so you have to tell Resin what the server id is so it can look up the address it

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 3: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Gartner names Cauchoin Cool Vendors in Platformand Integration Middleware

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 works13 well13 in13 the13 cloud

bull This tutorial covers setting up a Resin cluster in Amazon EC2

bull This is part 2 make sure you start with part 1

bull Much of the cluster setup would be the same in other environments as well

bull Resin is only mainstream Java EE application server with clustering and cloud deployment built-in and fully elastic that works in an EC2 environment

bull No add-ons hacks or tricks needed

bull Resin simply designed to work well in cloud

bull Resin supports EC2

bull This EC2 support can equally apply to other Virtualization 20 environments like Xen and VMWare

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview

bull IP addresses are ephemeral in EC2 public IP addresses are not known (canrsquot see them with ifconfig bc NAT)

bull If you restart a server it loses its IP addresses

bull Think of DHCP but the lease expires instantly if the box is not using it

bull In a spoke hub architecture you need to know how to find the hub The hub is like a cluster DHCP server It knows the topology of the cluster

bull Resin clustering works around these issue by allowing Resin to use public IP to find Triad members and then members exchanging private IP addresses

bull Resin typically discovers the server id by looking up the address combination of the instance In this case the local boxes do not know any address so you have to tell Resin what the server id is so it can look up the address it

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 4: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Gartner names Cauchoin Cool Vendors in Platformand Integration Middleware

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 works13 well13 in13 the13 cloud

bull This tutorial covers setting up a Resin cluster in Amazon EC2

bull This is part 2 make sure you start with part 1

bull Much of the cluster setup would be the same in other environments as well

bull Resin is only mainstream Java EE application server with clustering and cloud deployment built-in and fully elastic that works in an EC2 environment

bull No add-ons hacks or tricks needed

bull Resin simply designed to work well in cloud

bull Resin supports EC2

bull This EC2 support can equally apply to other Virtualization 20 environments like Xen and VMWare

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview

bull IP addresses are ephemeral in EC2 public IP addresses are not known (canrsquot see them with ifconfig bc NAT)

bull If you restart a server it loses its IP addresses

bull Think of DHCP but the lease expires instantly if the box is not using it

bull In a spoke hub architecture you need to know how to find the hub The hub is like a cluster DHCP server It knows the topology of the cluster

bull Resin clustering works around these issue by allowing Resin to use public IP to find Triad members and then members exchanging private IP addresses

bull Resin typically discovers the server id by looking up the address combination of the instance In this case the local boxes do not know any address so you have to tell Resin what the server id is so it can look up the address it

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 5: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Gartner names Cauchoin Cool Vendors in Platformand Integration Middleware

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 works13 well13 in13 the13 cloud

bull This tutorial covers setting up a Resin cluster in Amazon EC2

bull This is part 2 make sure you start with part 1

bull Much of the cluster setup would be the same in other environments as well

bull Resin is only mainstream Java EE application server with clustering and cloud deployment built-in and fully elastic that works in an EC2 environment

bull No add-ons hacks or tricks needed

bull Resin simply designed to work well in cloud

bull Resin supports EC2

bull This EC2 support can equally apply to other Virtualization 20 environments like Xen and VMWare

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview

bull IP addresses are ephemeral in EC2 public IP addresses are not known (canrsquot see them with ifconfig bc NAT)

bull If you restart a server it loses its IP addresses

bull Think of DHCP but the lease expires instantly if the box is not using it

bull In a spoke hub architecture you need to know how to find the hub The hub is like a cluster DHCP server It knows the topology of the cluster

bull Resin clustering works around these issue by allowing Resin to use public IP to find Triad members and then members exchanging private IP addresses

bull Resin typically discovers the server id by looking up the address combination of the instance In this case the local boxes do not know any address so you have to tell Resin what the server id is so it can look up the address it

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 6: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

cauchoreg resinreg and quercusreg are registered trademarks of Caucho Technology Inc

Gartner names Cauchoin Cool Vendors in Platformand Integration Middleware

Java EE Certified

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 works13 well13 in13 the13 cloud

bull This tutorial covers setting up a Resin cluster in Amazon EC2

bull This is part 2 make sure you start with part 1

bull Much of the cluster setup would be the same in other environments as well

bull Resin is only mainstream Java EE application server with clustering and cloud deployment built-in and fully elastic that works in an EC2 environment

bull No add-ons hacks or tricks needed

bull Resin simply designed to work well in cloud

bull Resin supports EC2

bull This EC2 support can equally apply to other Virtualization 20 environments like Xen and VMWare

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview

bull IP addresses are ephemeral in EC2 public IP addresses are not known (canrsquot see them with ifconfig bc NAT)

bull If you restart a server it loses its IP addresses

bull Think of DHCP but the lease expires instantly if the box is not using it

bull In a spoke hub architecture you need to know how to find the hub The hub is like a cluster DHCP server It knows the topology of the cluster

bull Resin clustering works around these issue by allowing Resin to use public IP to find Triad members and then members exchanging private IP addresses

bull Resin typically discovers the server id by looking up the address combination of the instance In this case the local boxes do not know any address so you have to tell Resin what the server id is so it can look up the address it

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 7: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 works13 well13 in13 the13 cloud

bull This tutorial covers setting up a Resin cluster in Amazon EC2

bull This is part 2 make sure you start with part 1

bull Much of the cluster setup would be the same in other environments as well

bull Resin is only mainstream Java EE application server with clustering and cloud deployment built-in and fully elastic that works in an EC2 environment

bull No add-ons hacks or tricks needed

bull Resin simply designed to work well in cloud

bull Resin supports EC2

bull This EC2 support can equally apply to other Virtualization 20 environments like Xen and VMWare

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview

bull IP addresses are ephemeral in EC2 public IP addresses are not known (canrsquot see them with ifconfig bc NAT)

bull If you restart a server it loses its IP addresses

bull Think of DHCP but the lease expires instantly if the box is not using it

bull In a spoke hub architecture you need to know how to find the hub The hub is like a cluster DHCP server It knows the topology of the cluster

bull Resin clustering works around these issue by allowing Resin to use public IP to find Triad members and then members exchanging private IP addresses

bull Resin typically discovers the server id by looking up the address combination of the instance In this case the local boxes do not know any address so you have to tell Resin what the server id is so it can look up the address it

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 8: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview

bull IP addresses are ephemeral in EC2 public IP addresses are not known (canrsquot see them with ifconfig bc NAT)

bull If you restart a server it loses its IP addresses

bull Think of DHCP but the lease expires instantly if the box is not using it

bull In a spoke hub architecture you need to know how to find the hub The hub is like a cluster DHCP server It knows the topology of the cluster

bull Resin clustering works around these issue by allowing Resin to use public IP to find Triad members and then members exchanging private IP addresses

bull Resin typically discovers the server id by looking up the address combination of the instance In this case the local boxes do not know any address so you have to tell Resin what the server id is so it can look up the address it

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 9: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Overview13 how13 to13 overcome

bull Create two Elastic IP addresses

bull assuming you are using two machines both in a single Cluster

bull Use Amazon Console to create another instance of the server you setup in the first tutorial

bull The first three static servers in a cluster make up the Triad

bull Before you continue you may want some more background on how Resins spoke and hub (Triad) clustering architecture works Read White Paper cloud and clustering technology optimized for EC2

bull If you are in a hurry at least watch this short video Resin Clustering and Cloud Deployment

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 10: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Resin13 Pro13 Clustering13 and13 Session13 Replicaon

bull You will need to get an evaluation license or a license to use Resins clustering support To get an evaluation license go here Contact

bull Once you have a license you can copy it to varwwwlicenses

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 11: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 second13 Elasc13 IP13 Address

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 12: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

New13 Amazon13 AMI13 instance

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 13: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402713 and13 below

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 14: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Installing13 a13 Resin13 Pro13 License13 402813 and13 above

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 15: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Setup13 Amazon13 AMI13 user-shy‐data13 passing13 list13 of13 triad13

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 16: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 113 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 17: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 213 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 18: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Pass13 Server13 Id13 Part13 313 of13 3

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 19: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Pass13 Server13 Id13 Part13 113 of13 1

bull 4028 is much easier to pass the server id

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 20: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Amazon13 Load13 Balancer

bull Create an Amazon Load Balancer

bull Add the two instances to the LB (Use the smallest possible recheck interval for testing)

bull Use sticky cookie support use application cookie set the name to JSESSIONID

bull For more information on how to setup the Amazon Load Balancer go to this Amazon Load Balancer tutorial

bull Now you have a Load Balancer and session replication should just works

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 21: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 113 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 22: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 Amazon13 Load13 Balancer13 (Part13 213 of13 2)

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 23: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Deploy13 war13 file13 and13 show13 it13 is13 deployed13

bull Deploy the war file and show that it is deployed to every server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 24: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Seltng13 up13 third13 Triad13 Member

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 25: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402713 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 26: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

402813 Seltng13 up13 a13 Dynamic13 Spoke13 Server

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 27: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Managing13 deployments

bull Deploying to one Server deploys to every server in the cluster

Thursday April 5 12

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12

Page 28: Resin, Deployment, Cloud, Clustering and EC2 (How To) Part II

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server Web ServerCopyright (c) 1998-2012 Caucho Technology Inc All rights reserved

Summary13 of13 Servers13 and13 such

Thursday April 5 12