E-book details

JBoss EAP6 High Availability. From the basic uses of JBoss EAP6 through to advanced clustering techniques, this book is the perfect way to learn how to achieve a system designed for high availability. All that's required is some basic knowledge of Linux/Unix

JBoss EAP6 High Availability. From the basic uses of JBoss EAP6 through to advanced clustering techniques, this book is the perfect way to learn how to achieve a system designed for high availability. All that's required is some basic knowledge of Linux/Unix

Weinan Li

Ebook
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.
  • JBoss EAP6 High Availability
    • Table of Contents
    • JBoss EAP6 High Availability
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 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
            • The servers section
      • XSD documents
      • Summary
    • 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
    • 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
            • Configuring host.xml
            • Adding a user account for slave server
            • Setting up HornetQ
          • Setting up slave
            • Configuring host.xml
            • Configuring domain.xml on 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
    • 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
    • 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
    • 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
    • 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
    • 8. Developing Distributed Applications
      • Web session replication
        • CDI-session-scoped bean replication
        • Configuring sticky sessions with JK
        • Configuring sticky sessions with mod_cluster
      • Summary
    • Index
  • Title: JBoss EAP6 High Availability. From the basic uses of JBoss EAP6 through to advanced clustering techniques, this book is the perfect way to learn how to achieve a system designed for high availability. All that's required is some basic knowledge of Linux/Unix
  • Author: Weinan Li
  • Original title: JBoss EAP6 High Availability. From the basic uses of JBoss EAP6 through to advanced clustering techniques, this book is the perfect way to learn how to achieve a system designed for high availability. All that's required is some basic knowledge of Linux/Unix.
  • ISBN: 9781783282449, 9781783282449
  • Date of issue: 2013-12-24
  • Format: Ebook
  • Item ID: e_3cte
  • Publisher: Packt Publishing