Part III. Clustering Guide

Table of Contents

15. Introduction and Quick Start
15.1. Quick Start Guide
15.1.1. Initial Preparation
15.1.2. Launching a JBoss Enterprise Web Platform Cluster
15.1.3. Web Application Clustering Quick Start
16. Clustering Concepts
16.1. Cluster Definition
16.2. Service Architectures
16.2.1. Client-side interceptor architecture
16.2.2. External Load Balancer Architecture
16.3. Load Balancing Policies
16.3.1. Client-side interceptor architecture
16.3.2. External load balancer architecture
17. Clustering Building Blocks
17.1. Group Communication with JGroups
17.1.1. The Channel Factory Service
17.1.2. The JGroups Shared Transport
17.1.3. Distributed Caching with JBoss Cache
17.1.4. The HAPartition Service
18. Clustered JNDI Services
18.1. How it works
18.2. Client configuration
18.2.1. For clients running inside the Enterprise Web Platform
18.2.2. For clients running outside the Enterprise Web Platform
18.3. JBoss configuration
18.3.1. Adding a Second HA-JNDI Service
19. Clustered Session EJBs
19.1. Stateless Session Bean in EJB 3.0
19.2. Stateful Session Beans in EJB 3.0
19.2.1. The EJB application configuration
19.2.2. Optimize state replication
19.2.3. CacheManager service configuration
19.3. Stateless Session Bean in EJB 2.x
19.4. Stateful Session Bean in EJB 2.x
19.4.1. The EJB application configuration
19.4.2. Optimize state replication
19.4.3. The HASessionStateService configuration
19.4.4. Handling Cluster Restart
19.4.5. JNDI Lookup Process
19.4.6. SingleRetryInterceptor
20. Clustered Entity EJBs
20.1. Entity Bean in EJB 3.0
20.1.1. Configure the distributed cache
20.1.2. Configure the entity beans for cache
20.1.3. Query result caching
20.2. Entity Bean in EJB 2.x
21. HTTP Services
21.1. Configuring load balancing using Apache and mod_jk
21.1.1. Download the software
21.1.2. Configure Apache to load mod_jk
21.1.3. Configure worker nodes in mod_jk
21.1.4. Configuring JBoss to work with mod_jk
21.1.5. Configuring the NSAPI connector on Solaris
21.2. Configuring HTTP session state replication
21.2.1. Enabling session replication in your application
21.2.2. HttpSession Passivation and Activation
21.2.3. Configuring the JBoss Cache instance used for session state replication
21.3. Using FIELD-level replication
21.4. Using Clustered Single Sign-on (SSO)
21.4.1. Configuration
21.4.2. SSO Behavior
21.4.3. Limitations
21.4.4. Configuring the Cookie Domain
22. Clustered Deployment Options
22.1. Clustered Singleton Services
22.1.1. HASingleton Deployment Options
22.1.2. Determining the master node
22.2. Farming Deployment
23. JGroups Services
23.1. Configuring a JGroups Channel's Protocol Stack
23.1.1. Common Configuration Properties
23.1.2. Transport Protocols
23.1.3. Discovery Protocols
23.1.4. Failure Detection Protocols
23.1.5. Reliable Delivery Protocols
23.1.6. Group Membership (GMS)
23.1.7. Flow Control (FC)
23.2. Fragmentation (FRAG2)
23.3. State Transfer
23.4. Distributed Garbage Collection (STABLE)
23.5. Merging (MERGE2)
23.6. Other Configuration Issues
23.6.1. Binding JGroups Channels to a Particular Interface
23.6.2. Isolating JGroups Channels
23.6.3. JGroups Troubleshooting
24. JBoss Cache Configuration and Deployment
24.1. Key JBoss Cache Configuration Options
24.1.1. Editing the CacheManager Configuration
24.1.2. Cache Mode
24.1.3. Transaction Handling
24.1.4. Concurrent Access
24.1.5. JGroups Integration
24.1.6. Eviction
24.1.7. Cache Loaders
24.1.8. Buddy Replication
24.2. Deploying Your Own JBoss Cache Instance
24.2.1. Deployment Via the CacheManager Service
24.2.2. Deployment Via a -service.xml File
24.2.3. Deployment Via a -jboss-beans.xml File