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

Project deployment


Now let's deploy cluster-demo1 into other-server-group.

Deploying a project to other-server-group

In the previous chapter we already learned how to deploy a project into the server group, so I will briefly describe the process here:

  1. Log in to the management console of master EAP6.

  2. Click on Manage Deployments in the sidebar.

  3. Click on Add under the Content Repository tab and add cluster-demo1.war.

  4. Follow the instructions and save the deployment.

  5. Click on the Server Groups tab.

  6. Click on View of other-server-group.

  7. Click on Assign and select cluster-demo1.war.

  8. Save the deployment and click on En/Disable to start the cluster-demo1.war file.

If everything goes fine, you should see the server output from both master and slave. The following is the output on master:

[Server:master-server] 23:31:58,223 INFO  [org.jboss.as.server] (host-controller-connection-threads - 3) JBAS018559: Deployed "cluster-demo1.war" (runtime-name : "cluster-demo1.war")

The following is the output on slave:

[Server...