Skip to main content

Migrate Jboss Application Server - JBoss EAP 7.0 to JBoss EAP 7.1

INTRODUCTION
This post describes how to migrate your application server configuration using the JBoss Server Migration Tool from a previous release of JBoss EAP 7.0 to JBoss EAP 7.1.


What is JBoss Server Migration Tool?
The JBoss Server Migration Tool is a Java application which ships with JBoss EAP 7.1 and 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.


Pre-Migration Tasks
Download the Jboss eap 7.1 and setup on your linux machine.
For example-
I’m using the EAP_HOME /opt/RH/TestApp_JB7.1 for jboss eap 7.1 and /opt/RH/TestApp_JB7.0 for jboss eap 7.0


Running the JBoss Server Migration Tool
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.

We will use Interactive mode to migrate the application server.

1. Run below command to migrate with interactive mode.

$cd /opt/rh/TestApp_JB7.1/bin                                          
$./jboss-server-migration.sh --source /opt/rh/TestApp_JB7.0


2. It will prompt for standalone migration. Type “yes” here and hit enter.
3. Then type “yes” for migrate all configuration files of standalone.

4. Because we have already deployed application in our old EAP 7.0 so type “no” here to migrate the deployed application as well. If any case the deployed application not migrated then copy it from old EAP 7.0 to new EAP 7.1

5. Our application running on standalone mode and we haven’t done any configuration changes on domain, so here no need to migrate domain. Type “no” for skip to domain migration.


6. Now the migration completed from Jboss EAP 7.0 to Jboss EAP 7.1. You can see the output log of migrated content.



7. Now the Jboss EAP 7.0 server configuration migrated to Jboss EAP 7.1. Go to the EAP 7.1 Home and start the instance to verify.

8. The same method to migrate from Jboss EAP 6 to Jboss EAP 7.1 and only one difference, you have to re-configure mod_cluster in Jboss EAP 7.1 because the configurations are different than the Jboss EAP 6.


Run the JBoss Server Migration Tool in Non-interactive Mode
This post is only for Interactive mode migration. But those who wants to migrate in Non-interactive mode please follow the bellow command.


$cd /opt/rh/TestApp_JB7.1/bin                                                                      
$ ./jboss-server-migration.sh --source /opt/rh/TestApp_JB7.0 --interactive false


By default, the tool automatically migrates all of the source server’s standalone and managed domain configuration files. However, you can configure the tool’s properties to skip migration of specific configurations. You can modify the property file at below path.

$EAP_HOME/migration/configuration/environment.properties

Upon completion, you should see the following message in the server console.

Migration Result: SUCCESS






 

Comments

Popular posts from this blog

How to configure a Datasource in JBoss / WildFly as a JAR Deployment

JDBC drivers can be installed as a JAR deployment using either the management CLI or the management console. As long as the driver is JDBC 4-compliant, it will automatically be recognized and installed as a JDBC driver upon deployment. 1. Download the appropriate JDBC driver from your database vendor. 2. Start the JBoss EAP/WildFly server. 3. Now most of the drivers coming with JDBC 4-compliant, but in case If the JDBC driver JAR is not JDBC 4-compliant, it can be made deployable using the following steps. i) Create a directory structure META-INF/services on your local system. $ mkdir -p META-INF/services    ii) Create a file inside META-INF/services/java.sql.Driver. $ touch META-INF/services/java.sql.Driver   iii) Add one line in the file to indicate the fully-qualified class name of the JDBC driver. $ echo “com.mysql.jdbc.Driver” > META-INF/services/java.sql.Driv...

Shift your Data into Virtualization

A single approach to data management that allows an application or user to retrieve and manipulate data without knowing any technical details about the data. That approach called Data Virtualization. Data Virtualization is different than traditional virtualization like - VMWare, Hypervisor, KVM, etc. because we already learned how to do virtualization of OS, Hardware and Storage, now time to add some more into virtualization, which is DATA. What is Data Virtualization? Data virtualization is a single window used to describe any approach to data management that allows an application to retrieve and manipulate data without requiring technical details about the data, such as how it is formatted, or where it is physically located. Why use Data Virtualization? Data virtualization promotes efficiency in data usage and processing and accelerates time to market on projects with complex data storage infrastructure. The purpose is to allow data to be accessed without creating extra ...

How to Install JBOSS EAP 7.0.0 on RHEL6.5/CentOS6.5 – a step by step tutorial of INSTALLER Installation

INTRODUCTION In this tutorial, we will demonstrate how to install and start a JBoss EAP 7.0.0 server on RHEL 6.5/CentOS 6.5. We use Oracle JDK 8 for this tutorial. This Tutorial Consists Of The Following Steps: Step 1: Download installer link Step 2: JDK installation and verification Step 3 to Step 14: JBoss EAP 7 installation procedure using INSTALLER Installation Step 15: Start Jboss EAP 7 server Red Hat JBoss EAP 7.0 is based on Wildfly 10 , and provides pre-configured options for features such as high-availability clustering, messaging, and distributed caching. And it is an application server that works as a middleware platform, is built on open standards, and is compliant with the Java EE 7 specification. Step 1: Download the installer from: https://developers.redhat.com/products/eap/download/ Select the EAP 7.0.0 (Developers version) from the list. Click on Installer option within Download column. For Linux/ Windows/Mac...