/** * © Copyright IBM Corporation 2014. * This is licensed under the following license. * The Eclipse Public 1.0 License (http://www.eclipse.org/legal/epl-v10.html) * U.S. Government Users Restricted Rights: Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ Here is how to use the plugin to install or uninstall but it can be used to read any response file: 1) Upload the releases/IMPlugin_v1.zip file as a plugin into UCD under "Settings" tab -> "Automation Plugins" -> "Load Plugin". 2) Create a component for WAS. 3) Create a Component File Template in component (Components -> CompName -> Configuration -> Configuration File Templates) named install.xml. 4) Put response file in template body. 5) Create Install process. 6) Add Install Template Step to process (Resource Tools -> Configuration Management -> Install Template). 7) Use install.xml as file name. 8) Add Execute Response File step. 9) Set IMCL path to the full path to imcl on the agent. 10) Set Response File Location to install.xml. 11) Attach Start -> Install Template -> Execute Response File -> Finish. 12) Attach Component To application and map agents to environment. 13) Create application process using the Install Component step with the websphere component you just created. ASSUMPTIONS: Agent is linux x86_64(only because my responseFile is for that). Installation Manager is installed on the agent machine. Install media for WebSphere BASE v85 is available as a local file path(once again was base 85 because thats what the response file expects. APPLICABLE CHANGES TO INSTALL.XML TEMPLATE Update the repository location to be accurate. You can use properties for this as needed. I am using an environment property @respositoryLocation@ which the install template step will detokenize for me from the value of an environment property called repositoryLocation. If not using WAS 8.5 or not using 64-bit, update the install.xml /agent-input/install/offering@features to reference the 32-bit for sdk and /agent-input/install/offering@id to be the correct package id. Also note that this install template is install was to /app/IBM/was85test/AppServer. You may wish to change this. You can use environment properties if you like. i.e. for install location specify @installLocation@ instead of /app/IBM... and then set a property on the environment with were to install it. This is a simple uninstall.xml to uninstall this installed profile. To make this work, create an uninstall process that looks like the same as the install process, except use uninstall.xml for file names. WHAT'S NEW IN VERSION 2: Starting with version 2, you can use Response file variables which were introduced in IBM Installation Manager 1.8.0. Response File variables are documented here: http://www-01.ibm.com/support/knowledgecenter/SSDV2W_1.8.0/com.ibm.silentinstall12.doc/topics/r_silent_install_variable.html Example: To install IBM WebSphere Application Server 8.5.5.2, proceed as follows: 1. Record a Response file from the repositories of IBM WebSphere Application Server 8.5.5 and IBM WebSphere Application Server 8.5.5.2, choosing to install directly the version 8.5.5.2. 2. Add inside the Response File the declaration of variables that will be used to replace all hardcoded paths 2. Replace any hardcoded values in the Response file with the Installation Manager variables, as in the following file: 3. Define variables in IBM UrbanCode Deploy to have the desired values for the particular Environment. These could be either Environment or Component Environment variables. You can define the environment variables with the same names used in the response file, as the syntax to reference them is different and there will be no conflict: WAS855RepositoryLocation WAS8552RepositoryLocation WAS8552InstallLocation 4. Configure the step: Execute Response File 5. Add the following values to the property: responseFileVariables, with the following value: WAS855RepositoryLocation=${p:environment/WAS855RepositoryLocation},WAS8552RepositoryLocation=${p:environment/WAS8552RepositoryLocation},WAS8552InstallLocation=${p:environment/WAS8552InstallLocation}