Customer Notes – JBoss AS 7 to JBoss EAP 6 Migration

A Red Hat / JBoss enterprise customer recently migrated from JBoss AS 7 to JBoss EAP 6. After they completed the migration process in production, they sent us their notes with permission to share them.

The result, “lot of high-fives were made”.

Application Architecture

  • Stateless
  • REST (JSON)

Production Infrastructure

  • There are three physical servers.
  • There are two virtual machines per physical server.
  • There is a host controller and a managed server per virtual machine.
  • The host controllers a managed as a single domain.

Migration Process

  1. Installed and configured JBoss EAP 6 on each virtual machine using the port offset so that both JBoss AS 7 and JBoss EAP 6 can be started on the same virtual machine.
  2. Changed the JGroups multicast address so that the JBoss EAP 6 cluster does not overlap with the JBoss AS 7 cluster.
  3. Configured the JBoss EAP 6 host controllers in the same manner as the JBoss AS 7 host controllers: controller name, server group, server name.
  4. Configured the JBoss EAP 6 host controllers with a different password than the JBoss AS 7 host controllers.
  5. Deployed the same application build that was deployed to the JBoss AS 7 domain to the JBoss EAP 6 domain.
  6. Started the JBoss EAP 6 domain.
  7. Tested the application build.
  8. Stopped the JBoss EAP 6 domain.
  9. Updated the JBoss EAP 6 domain / host configuration to use the default ports (no port offset).
  10. Stopped the JBoss AS 7 domain controller.
    Note: The JBoss AS 7 host controllers were not stopped because they were configured with a different password than the JBoss EAP 6 host controllers.
  11. Started the JBoss EAP 6 domain controller.
  12. For each JBoss AS 7 host controller, stopped the JBoss AS 7 host controller and started the JBoss EAP 6 host controller.

Total Migration Time: 22 Minutes

Total Outage Time: 0 Minutes

, , ,

About Shane K Johnson

Technical Marketing Manager, Red Hat Inc.

View all posts by Shane K Johnson

2 Comments on “Customer Notes – JBoss AS 7 to JBoss EAP 6 Migration”

  1. Marco Bazzani (@marcobazzani) Says:

    Why he gone back to 6 EAP from 7 ?

    Reply

    • Shane K Johnson Says:

      Hi Marco,

      JBoss EAP 6 is based on JBoss AS 7.1.2 Final.

      To clarify, JBoss EAP is the enterprise, supported branch of JBoss AS.

      Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 117 other followers

%d bloggers like this: