Menu

Sunday 26 January 2020

JBOSS EAP 6 TO 7 Migration

Migration of JBOSS EAP 6 to JBOSS EAP 7 is now made easy.

  • The JBoss Server Migration Tool is a Java application that automatically migrates JBoss EAP server configurations with minimal or no interaction required.
  • The JBoss Server Migration Tool reads your existing source server configuration files and adds configurations for any new subsystems, updates the existing subsystem configurations with new features, and removes any obsolete subsystem configurations.

You can run the JBoss Server Migration Tool in either of the following ways

  • Interactive mode: This mode, which is the default, allows you to choose exactly which configurations you want to migrate.
  •  Non-interactive mode: This mode allows you to run the tool without prompts.

NOTE: You must Stop both target and source JBOSS EAP servers & Take Full Backup of target & Source JBoss EAP servers.


Command Syntax: 

$JBOSS-7.2-HOME/bin/jboss-server-migration.sh --source ../jboss-eap-6.4 --target ../jboss-eap-7.2


Step 1: Navigate to Target $JBOSS-7-HOME Server /bin folder.


Step 2: Use below command for Interactive mode way, it’s by default.

./jboss-server-migration.sh --source /JBOSS/jboss-eap-6.4 --target /JBOSS/jboss-eap-7.2





Where,
jboss-server-migration.sh : JBoss Migration tool script.
--source : location of old JBoss EAP Server.
-- target : Location of New targeted JBoss EAP server.

You may ask multiple interactive question for migration of  source standalone configuration, deployments & domain configurations.







Step 3: On Completion Migration Success message is available.






Step 4: New migration Configuration is available now.




Step 5: Migration Logs & reports, Reports are available in .xml & html file formats:



FOR,

 JBoss Server Migration Tool in  NonInteractive Mode:

NOTE: The JBoss Server Migration Tool automatically migrates all subsystem configurations for all server configuration files ONLY,  Deployements will going to be SKIP.

Use below Commands:

./jboss-server-migration.sh --source /JBOSS/jboss-eap-6.4 --target /JBOSS/jboss-eap-7.2 --interactive false






JBoss Migration Report is HTML format:



Thanks:-)