Book Image

JBoss EAP6 High Availability

By : Weinan Li
Book Image

JBoss EAP6 High Availability

By: Weinan Li

Overview of this book

High availability is a system design approach and associated service implementation which ensures that a prearranged level of operational performance will be met during a contractual measurement period. High availability is usually a system combined with many different components that achieve different goals. High availability cluster implementations attempt to build redundancy into a cluster to eliminate single points of failure. JBoss EAP6 High Availability is the perfect guide for learning how to apply the newest technologies provided by JBoss to build your high availability system. With a clear explanation of the design of JBoss EAP6 and its clustering components, this book will help you customize each component to fulfill your specific requirements. Throughout the course of this book, you will learn how to build high availability clusters using the projects provided by JBoss. The book begins with an introduction to the design of JBoss EAP6 and its uses. The next step will be to explore the two companion open source projects - mod_jk and mod_cluster. In this section, you will get to grips with the concept of load balancing with mod_jk and mod_cluster. You will also learn how to enable SSL in the clustering environment and how to configure session replication between EAP6 servers. Furthermore, the appendix section introduces you to some troubleshooting techniques for Wildfly.
Table of Contents (15 chapters)
JBoss EAP6 High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing mod_cluster


In this section, we will learn how to compile mod_cluster from the source code and install it on our load balancer machine. The machine I'm using to install mod_cluster and httpd is called lb, which is the same machine used in the previous chapter.

We have learned how to compile and install httpd in the previous chapter, and we have put a lot of JK-related configurations in our httpd installation. To make the instructions in this chapter clearer, let's archive the following httpd installation from the previous chapter:

$ mv httpd httpd-for-jk

We'll need to use it in the next chapter, so please back it up properly. Our next step is to repeat the httpd compiling and installing processes as we have done in the previous chapter. We actually just need to rerun make install in the httpd source directory because we have already configured and compiled it properly, and we will get a fresh httpd installation by running this command. Now let's move on with the mod_cluster installation...