Este contenido no está disponible en el idioma seleccionado.
Chapter 3. Updating JBoss EAP using the jboss-eap-installation-manager
3.1. Updating JBoss EAP using the jboss-eap-installation-manager Copiar enlaceEnlace copiado en el portapapeles!
You can update JBoss EAP periodically if new updates are available after you have downloaded and installed it.
Prerequisites
- You have access to the internet.
- You have created an account on the Red Hat customer portal and are logged in.
-
You have downloaded the
jboss-eap-installation-manager.
Procedure
-
Navigate to the directory containing the downloaded
jboss-eap-installation-managerby using your terminal emulator. Check for available updates:
./jboss-eap-installation-manager.sh update list --dir eap-8
./jboss-eap-installation-manager.sh update list --dir eap-8Copy to Clipboard Copied! Toggle word wrap Toggle overflow Update JBoss EAP by running the following command
Syntax
./jboss-eap-installation-manager.sh update perform --dir eap-8
./jboss-eap-installation-manager.sh update perform --dir eap-8Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example
./jboss-eap-installation-manager.sh update perform --dir eap-8 Updates found: org.wildfly.galleon-plugins:wildfly-galleon-plugins 6.3.1.Final-redhat-00001 ==> 6.3.2.Final-redhat-00001 org.wildfly.wildfly-http-client:wildfly-http-transaction-client 2.0.1.Final-redhat-00001 ==> 2.0.2.Final-redhat-00001
./jboss-eap-installation-manager.sh update perform --dir eap-8 Updates found: org.wildfly.galleon-plugins:wildfly-galleon-plugins 6.3.1.Final-redhat-00001 ==> 6.3.2.Final-redhat-00001 org.wildfly.wildfly-http-client:wildfly-http-transaction-client 2.0.1.Final-redhat-00001 ==> 2.0.2.Final-redhat-00001Copy to Clipboard Copied! Toggle word wrap Toggle overflow Follow the rest of the prompts to update JBoss EAP.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.2. Updating JBoss EAP offline using the jboss-eap-installation-manager Copiar enlaceEnlace copiado en el portapapeles!
You can update your JBoss EAP installation without access to the internet if new updates are available locally on your machine. This offline update capability gives you more control over the update process and can be useful in scenarios where access to external Maven repositories is not possible or if you prefer to manage updates manually.
Prerequisites
- You have created an account on the Red Hat customer portal.
-
You have downloaded the JBoss EAP
jboss-eap-installation-manager.
Procedure
- Download the offline repository from Red Hat customer portal.
- Extract the downloaded archive file.
Stop the server.
NoteBefore continuing, ensure you have correctly set the path to point to the extracted Maven-repository sub-folder.
Perform the update.
./jboss-eap-installation-manager.sh update perform \ --dir jboss-eap-8.0 \ --repositories mrrc::file:<PATH_TO_EXTRACTED_REPOSITORY>/jboss-eap-8.0.1.GA-maven-repository/maven-repository \ --offline
$ ./jboss-eap-installation-manager.sh update perform \ --dir jboss-eap-8.0 \ --repositories mrrc::file:<PATH_TO_EXTRACTED_REPOSITORY>/jboss-eap-8.0.1.GA-maven-repository/maven-repository \ --offlineCopy to Clipboard Copied! Toggle word wrap Toggle overflow Follow the remaining prompts to complete the update process for JBoss EAP.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.3. Reverting JBoss EAP updates using the jboss-eap-installation-manager Copiar enlaceEnlace copiado en el portapapeles!
After installing an update, you can revert back to a previously installed version of JBoss EAP.
Prerequisites
- You have access to the internet.
- You have created an account on the Red Hat customer portal and are logged in.
-
You have downloaded the
jboss-eap-installation-manager. - You have updated JBoss EAP.
Procedure
-
Navigate to the directory containing the
jboss-eap-installation-managerby using your terminal emulator. View the history of all versions of JBoss EAP, which you have installed:
./jboss-eap-installation-manager.sh history --dir eap-8
./jboss-eap-installation-manager.sh history --dir eap-8Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteThis command displays all JBoss EAP installations and updates with their respective installation state ID.
Investigate specific changes made to JBoss EAP during an update:
./jboss-eap-installation-manager.sh history --dir eap-8 --revision <Installation state>
./jboss-eap-installation-manager.sh history --dir eap-8 --revision <Installation state>Copy to Clipboard Copied! Toggle word wrap Toggle overflow This command displays specific JBoss EAP components that have been updated
Revert JBoss EAP by specifying the installation state of the JBoss EAP version in the following command:
Syntax
./jboss-eap-installation-manager.sh revert perform --dir eap-8 --revision <Installation state>
./jboss-eap-installation-manager.sh revert perform --dir eap-8 --revision <Installation state>Copy to Clipboard Copied! Toggle word wrap Toggle overflow ImportantYou must specify the installation state of the JBoss EAP version.
Example
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Follow the rest of the prompts to revert JBoss EAP updates.
Continue with revert [y/N]: y Applying changes Server reverted to state ea768519. Operation completed in 55.39 seconds.
Continue with revert [y/N]: y Applying changes Server reverted to state ea768519. Operation completed in 55.39 seconds.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.4. Managing JBoss EAP installation channels Copiar enlaceEnlace copiado en el portapapeles!
After successfully setting up JBoss EAP, you can change the channels to which your JBoss EAP installation is subscribed.
Prerequisite
-
You have downloaded the
jboss-eap-installation-managerfrom the Red Hat Customer Portal.
Procedure
Managing JBoss EAP installation channels
Investigate the channels your JBoss EAP installation is currently subscribed to by using the following command:
./jboss-eap-installation-manager.sh channel list --dir eap-8
./jboss-eap-installation-manager.sh channel list --dir eap-8Copy to Clipboard Copied! Toggle word wrap Toggle overflow Subscribe your JBoss EAP installation to a new channel by using the following command:
./jboss-eap-installation-manager.sh channel add --channel-name <CHANNEL_NAME> --manifest <GROUP_ID:ARTIFACT_ID> --repositories <ID::REPOSITORY_URL> --dir eap-8
./jboss-eap-installation-manager.sh channel add --channel-name <CHANNEL_NAME> --manifest <GROUP_ID:ARTIFACT_ID> --repositories <ID::REPOSITORY_URL> --dir eap-8Copy to Clipboard Copied! Toggle word wrap Toggle overflow unsubscribe your JBoss EAP installation from a channel using the following command:
./jboss-eap-installation-manager.sh channel remove --channel-name <CHANNEL_NAME> --dir eap-8
./jboss-eap-installation-manager.sh channel remove --channel-name <CHANNEL_NAME> --dir eap-8Copy to Clipboard Copied! Toggle word wrap Toggle overflow Export a server snapshot by using the following command:
./jboss-eap-installation-manager.sh clone export --dir=<directory> --path=<target_archive>
./jboss-eap-installation-manager.sh clone export --dir=<directory> --path=<target_archive>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Any modifications you have made to configuration files will not be exported.