Question & Answer
Question
How do I install WebSphere Operational Decision Management (WODM) in silent mode?
Cause
In some cases, WODM has to be installed with in a specific configuration on multiple machines. The GUI installer makes the installation simple to perform, but difficult and cumbersome to repeat on multiple machines.
Answer
The silent installation is done by invoking IBM Installation Manager through the command line, and by specifying response files with the desired WODM components. The machines on which you perform the silent installation of WODM require IBM Installation Manager.
IBM Installation Manager uses a response file to run the installation in silent mode.
This document explains how to the generate the response files and then how to use those files to install silently.
As a first step in the preparation phase you must download and setup the installers.
Once you have generated the files you only need to repeat the step 3 (Silent installation) on all the machines to install WebSphere Operational Decision Management silently.
- Preparation
- Extracting the WODM installer package
- Installing IBM Installation Manager
- Response file generation
- Generating the response file for WebSphere Application Server
- Generating the response file for WebSphere Application Server iFix
- Generating the response file for Business Space (Optional)
- Installing the WebSphere Application Server, iFix and optional Business Space response files
- Installing WebSphere Extreme Scale in silent mode
- Generating the WebSphere Decision Center (WDC) and WebSphere Decision Server (WDS) response files
- Silent installation
- Installing WODM silently using the response files
- Extracting the WODM installer package
- Installing IBM Installation Manager
Download the WODM installer as described in the WebSphere Operational Decision Management V7.5 Download Document. Extract it using the archiving utility of your choice.
WODM installer is bundled with IBM Installation Manager 1.5.0, which can be installed silently.
To do so, navigate to the following directory of the WODM installer from the command line:
<file system path>\CI4V3ML\disk1\IM
Depending on whether you are administrator or not, you will be using installc or userinstc, from the above directory.
To customize the default installation location of IBM Installation Manager, you must edit install.xml and specify the location in the file. Refer to "Change the default installation location for Installation Manager" section of IBM Installation Manager documentation for more information.
For more information, read "Install Installation Manager silently by using the installer" section of IBM Installation Manager documentation.
To install IBM installation Manager, use one of the following commands, depending on whether you are administrator or not :
userinstc --launcher.ini silent-install.ini -acceptLicense (non-admin)
2 Response files generation
To generate response files, you must run IBM Installation Manager in GUI mode.
- Generating the response file for WebSphere Application Server (WAS):
- Generating the response file for WebSphere Application Server iFix:
- Generating the response file for Business Space:
- Installing WebSphere Extreme Scale
- Generating the response file for the WODM installation:
Installing WebSphere Application Server is the first step, because it is a prerequisite to the installation of other WODM modules. The WAS repository is typically located in the following directory:
<file system>\CI4V3ML\disk1\WAS.
To generate the response file for WAS, navigate to the installation location of IBM Installation Manager and run the following command:
IBMIM.exe -record c:\responseFile\WAS.xml -skipInstall C:\responseFile\data\WODMSILENT
The above command starts IBM Installation Manager in recording mode. When you specify the "skipInstall" flag, IBM Installation Manager skips the actual installation of the module, but records the installation information to the directory that you specify, along with the flag.
Once IBM Installation Manager has started, you must add the WAS repository as documented in "Repository preferences" and then choose to "Install" the WAS server, as described in Install packages by using wizard mode.
The WODM installer contains an iFix to WebSphere Application Server, that you must apply. The iFix repository is typically located in the following directory:
<file system path>\CI4V3ML\disk1\WAS_iFix
Run the following command to launch IBM Installation Manager in recording mode , add the iFix repository to IBM Installation Manager and instead of installing the package, select "Update" the existing WAS installation package, as described in Update packages by using wizard mode:
IBMIM.exe -record c:\responseFile\WASiFix.xml -skipInstall C:\responseFile\data\WODMSILENT
Note that the "skipInstall" directory is the same as the one you used for WAS. This allows the iFix to be applied to the recorded WAS installation.
To generate the response file for Business Space you must have the WAS installation in a recorded format as described above. Once you have generated the response file for WAS, you can proceed to generate the response file for Business Space.
To generate the response file for Business Space, run the following command to start IBM Installation Manager in recording mode and add the Business Space repository to IBM Installation Manager:
IBMIM.exe -record c:\responseFile\BSpace.xml -skipInstall C:\responseFile\data\WODMSILENT
For Linux and UNIX Operating Systems, use "./IBMIM" instead of "IBMIBM.exe"
Note that the "skipInstall" directory is the same as the one you used for WAS. This allows Business Space to be applied to the recorded WAS installation.
Note: Installing Business Space is optional.
Execute the following command to install WAS using the response file generated:
Linux and UNIX: ./imcl input ~/responseFile/WAS.xml -acceptLicense
The imcl.exe and imcl scripts can be found in the "eclipse\tools" directory of IBM Installation Manager.
Repeat the command above with the iFix and optionally, the Business Space response file.
Along with the installation of WAS and iFix, the generation of WebSphere Decision Center and Websphere Decision Server response files requires that Extreme Scale is installed in the WAS directory. Extreme Scale is required if you want to install any Events components.
The Extreme Scale installer is already bundled with a response file that you can reuse to install silently:
<file system path>\CI4V3ML\disk1\WXS\wxssetup.response
You must make the following changes in this file for the installation to be successful:
-OPT installLocation="<file system path>\WebSphere\Appserver"
After you have completed the changes, navigate to the following directory from command line:
<file system path>\CI4V3ML\disk1\WXS
Run the following command:
Windows:
install.bat -options "<file system path>\CI4V3ML\disk1\WXS\wxssetup.response" -silent -log # !c:\temp\log.txt @ALL
Linux and UNIX:
./install -options "<file system path>/CI4V3ML/disk1/WXS/wxssetup.response" -silent -log # !~/temp/log.txt @ALL
Note: You must specify the fully qualified response file name. If you only specify the relative path the installation fails with no indication that an error occurred.
The above command installs Extreme Scale silently into WebSphere Application Server.
If a problem occurs the log.txt file helps you troubleshoot installation issues.
Now you can generate the response file for WebSphere Decision Center and WebSphere Decision Server.
Start IBM Installation Manager in recording mode using a similar command:
This command starts IBM Installation Manager in recording mode. Add the WebSphere Decision Center (WDC) and WebSphere Decision Server (WDS) repositories to IBM Installation Manager. WDC and WDS repositories can be found respectively in the following directories :
<file system path>\CI4V3ML\disk1\WDC ,
<file system path>\CI4V3ML\disk1\WDS
In the wizard, select the components of WDC, WDS that you want to install. The response file is created after you close the IBM Installation Manager.
At the end of this phase, you will have generated the following files:
c:\responseFile\WAS.xml
c:\responseFile\WASiFix.xml
c:\responseFile\BSpace.xml
<folder>\CI4V3ML\disk1\WXS\wxssetup.response
c:\responseFile\WDCWDS.xml
This completes the process of generating the response files using IBM Installation Manager. You can now use these files on other machines with IBM Installation Manager, to install the WODM components silently.
3 Silent installation
The following command demonstrates how to use a response file with IBM Installation Manager:
Windows: imcl.exe input <response file> -acceptLicense
Linux and UNIX: ./imcl input <response file> -acceptLicense
To do a complete installation you must copy all the installation files and response files generated.
To perform the complete installation of the WODM components in silent mode, perform the installation in the following order:
- Install IBM Installation Manager:
installc --launcher.ini silent-install.ini -acceptLicense (administrator)
userinstc --launcher.ini silent-install.ini -acceptLicense (non-admin) - WebSphere Application Server
imcl.exe input c:\responseFile\WAS.xml -acceptLicense (windows)
./imcl input ~/responseFile/WAS.xml -acceptLicense (unix) - WebSphere Application Server iFix
imcl.exe input c:\responseFile\WASiFix.xml -acceptLicense (windows)
./imcl input ~/responseFile/WASiFix.xml -acceptLicense (unix) - Business Space (optional)
imcl.exe input c:\responseFile\BSpace.xml -acceptLicense (windows)
./imcl input ~/responseFile/BSpace.xml -acceptLicense (unix) - WebSphere Extreme Scale (optional)
install.bat -options "<installpath>\CI4V3ML\disk1\WXS\wxssetup.response" -silent -log # !c:\temp\log.txt @ALL (windows)
./install -options "<installpath>/CI4V3ML/disk1/WXS/wxssetup.response" -silent -log # !~/temp/log.txt @ALL (unix) - WebSphere Decision Center / WebSphere Decision Server
imcl.exe input c:\responseFile\WDSWDC.xml -acceptLicense (windows)
./imcl input ~/responseFile/WDSWDC.xml -acceptLicense (unix)
To learn more about using response files for installation, refer to the IBM Installation Manager documentation.
Was this topic helpful?
Document Information
Modified date:
23 July 2021
UID
swg21585276