How to automate installation for JBoss FSW 6

Solution Verified - Updated -

Environment

  • Red Hat JBoss Fuse Service Works (FSW) 6.0

Issue

Installation configuration XML file was generated after a successful FSW 6.x installation. This XML file can be used to automate numerous installations using java -jar jboss-fsw-installer-6.0.0.GA-redhat-4.jar InstallConfigRecord.xml command. However, the passwords are prompted for different components. What is the proper way of automating the process so that manual intervention is not required for subsequent installations?

Resolution

During the initial installation process there is an option to save the Installation configuration in an XML file (default auto.xml).The option should be chosen to save the file. After the installation two files would be generated by the installer, namely InstallConfigRecord.xml and InstallConfigRecord.xml.variables. The InstallConfigRecord.xml.variables can be edited and appropriate passwords can be set.

At this point, the two generated files can be used to install FSW 6.0 on remote machines automatically using the following command: java -jar /path/to/jboss-fsw-installer-6.0.0.GA-redhat-4.jar InstallConfigRecord.xml -variablefile InstallConfigRecord.xml.variables

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments