JBoss EAP6 High Availability


JBoss EAP6 High Availability
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
$20.39
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
$39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • A thorough introduction to the new domain mode provided by JBoss EAP6
  • Use mod_jk and mod_cluster with JBoss EAP6
  • Learn how to apply SSL in a clustering environment

Book Details

Language : English
Paperback : 166 pages [ 235mm x 191mm ]
Release Date : December 2013
ISBN : 1783282436
ISBN 13 : 9781783282432
Author(s) : Weinan Li
Topics and Technologies : All Books, Open Source


Table of Contents

Preface
Chapter 1: JBoss EAP6 Overview
Chapter 2: Using JBoss EAP6
Chapter 3: Setting Up a JBoss EAP6 Cluster
Chapter 4: Load Balancing with mod_jk
Chapter 5: Load Balancing with mod_cluster
Chapter 6: Clustering with SSL
Chapter 7: Configuring mod_cluster with SSL
Chapter 8: Developing Distributed Applications
Index
  • Chapter 1: JBoss EAP6 Overview
    • Understanding high availability
    • JBoss EAP6 high availability
      • JBoss Web, Apache httpd, mod_jk, and mod_cluster
      • EJB session bean
      • JBossWS and RESTEasy
      • HornetQ
      • Hibernate and Narayana
      • JGroups and JBoss Remoting
    • Domain management
    • Installing JBoss EAP6
    • The JBoss EAP6 startup mode
      • The domain mode
      • The standalone mode
    • Starting JBoss EAP6 in the standalone mode
      • Understanding the startup process
      • The standalone.xml file
      • Alternative configuration files
      • The --help option
      • Configuration files
    • Starting JBoss EAP6 in the domain mode
      • The domain mode
      • Configuration files
        • The domain.xml file
        • The host.xml file
        • The domain-controller section
    • XSD documents
    • Summary
  • Chapter 2: Using JBoss EAP6
    • Configuring the JBoss EAP6 management console
      • Security realms
      • Setting up an admin account
    • Using the web-based management console
      • Deploying a project in the standalone mode
        • Testing
      • Deployment scanner
    • Introducing JBoss DMR
    • Deploying a project in the domain mode
      • The main-server-group
        • Testing
    • CLI Usages
      • Connecting to CLI
        • ls
        • cd
      • Basic commands
        • echo-dmr
        • read-operation
      • The GUI
      • Deploying a project
    • Summary
  • Chapter 3: Setting Up a JBoss EAP6 Cluster
    • Designing a cluster
    • Setting up a server group
      • The main-server-group versus other-server-group
      • Server configuration
        • Setting up master
        • Setting up slave
    • Testing the server group
      • Running master
      • Running slave
      • Checking the server status
    • Project deployment
      • Deploying a project to other-server-group
      • Clustering with the standalone mode
    • Summary
  • Chapter 4: Load Balancing with mod_jk
    • Preparing a machine to install Apache httpd
    • Compiling and installing Apache httpd
      • Downloading httpd
      • Compiling httpd
      • Installing httpd
      • Starting httpd
      • Stopping httpd
      • Configuring httpd
    • Compiling and installing mod_jk
      • Installing JK
      • Configuring JK
        • Configuring httpd-jk.conf
        • The workers.properties configuration
    • Testing the cluster
      • The jk-status module
    • Summary
  • Chapter 5: Load Balancing with mod_cluster
    • The design of mod_cluster
    • Installing mod_cluster
      • Downloading mod_cluster
      • Compiling and installing mod_cluster
    • Configuring mod_cluster
      • Configuring httpd.conf
      • Configuring mod_cluster
        • Configuring EAP6
    • Testing the cluster
      • Starting up httpd
      • The protocol analysis
        • The advertising channel
        • The management channel
      • The connector channel analysis
      • Accessing the cluster
        • Failover
        • Stress testing
    • Summary
  • Chapter 6: Clustering with SSL
    • Using SSL in JBoss EAP6
      • Enabling SSL in EAP6
    • Using SSL in the JBoss EAP6 cluster
      • Configuring JK with SSL
        • Generating a certificate for httpd
        • Configuring httpd to use certificates
    • Summary
  • Chapter 7: Configuring mod_cluster with SSL
    • The design of mod_cluster
    • Enabling SSL for the mod_cluster management channel
      • An introduction to SSL mutual authentication
      • Configuring SSL mutual authentication
        • Creating a CA certificate
        • Creating a certificate for httpd
        • Setting up OpenSSL
        • Signing the httpd.csr file
        • Creating a certificate for EAP6
      • Configuring httpd
      • Configuring EAP6
      • Testing the configuration
    • Enabling SSL in the proxy channel
    • Summary

Weinan Li

Weinan Li started off as a Metro Railway Engineer and has worked at Alcatel since 2004 playing with hardware and assembly language.

He entered Red Hat in 2011 and is currently working as a Senior Software Engineer in the JBoss EAP team. He is also the productization leader of JBoss EWS and an active contributor to RESTEasy.

He currently lives in Beijing with his wife and their three-year-old son.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 1 submitted: last submission 24 Feb 2014

Page Number: 71 | Type:  Technical

Last paragraph, last line, the sentence "Open the httpd.conf file and add the following line at the bottom:" should be "Open the  /etc/hosts file and add the following line at the bottom:"

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

JBoss EAP6 High Availability +    Apache Mahout Cookbook =
50% Off
the second eBook
Price for both: €26.85

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Understand the basic usages of JBoss EAP6
  • Learn about domain management in JBoss EAP6
  • Use mod_jk as the load balancer of a JBoss AS cluster
  • Deploy mod_cluster as the load balancer of a JBoss AS cluster
  • Learn how to apply SSL into a cluster
  • Enable session replication in a cluster
  • Understand CDI and EJB stateful session bean clustering
  • Configure sticky sessions with JK and mod_cluster

In Detail

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.

Approach

An easy-to-follow guide full of hands-on examples of real-world administration tasks.

Who this book is for

JBoss EAP6 High Availability is ideal for those who want to learn how to use JBoss EAP6 to set up a cluster. Basic knowledge of Linux/Unix is required.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software