Customer Notes – JBoss AS 7 to JBoss EAP 6 Migration

Aug 22, 2012 1:57 PM, Shane K Johnson [ Original post ]

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