Tuesday, 6 September 2016

CRIMA1209E whilst using IBM Installation Manager from the command-line

As ever, I am tinkering with technology …

This time, it's the use of IBM Installation Manager (IIM) to install IBM Operational Decision Manager (ODM) 8.8.1 on Linux, via the command-line, rather than using a response file.

I'd previously unpacked the ODM media to a temporary directory: -

ls -l /Volumes/DaveHaySSD/Software/ODM88/

total 14601656
-rw-r--r--@ 1 davidhay  staff  2545807360 29 Jul 10:22 ODM_8.8.1_FOR_LNX_32_64B_DISK1_ML.tar
-rw-r--r--@ 1 davidhay  staff  2609827840 29 Jul 10:26 ODM_8.8.1_FOR_LNX_32_64B_DISK2_ML.tar
-rw-r--r--@ 1 davidhay  staff  2316298240 29 Jul 10:18 ODM_8.8.1_FOR_LNX_32_64B_DISK3_ML.tar

mkdir /tmp/odm88
cd /tmp/odm88
for i in /Volumes/DaveHaySSD/Software/ODM88/*.tar;do tar xvf $i; done

and then used IIM to validate what was available to install: -

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /mnt/hgfs/odm88/disk2/DecisionServerRules/,/mnt/hgfs/odm88/disk2/ProfileTemplateRules,/mnt/hgfs/odm88/disk3/DC/,/mnt/hgfs/odm88/disk3/ProfileTemplateDC/

com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819
com.ibm.websphere.odm.pt.rules.v88_8.8.1000.20160527_0949
com.ibm.websphere.odm.dc.v88_8.8.1000.20160527_0751
com.ibm.websphere.odm.pt.dc.v88_8.8.1000.20160527_0943

before attempting to simply install it: -

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819 -repositories /mnt/hgfs/odm88/disk2/DecisionServerRules/ -acceptLicense

which, alas, returned: -

ERROR: The following errors were generated while installing.
  CRIMA1209E ERROR: Validation failed for property user.wodm_was_home.
    ERROR: The Application Server Location is empty

    Explanation: The Application Server Location is empty

    User Action: 
  CRIMA1209E ERROR: Validation failed for property user.wodm_admin_password.
    ERROR: The password/confirm password is empty.

    Explanation: The password/confirm password is empty.

    User Action: 

So I then added the missing properties: -

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819 -repositories /mnt/hgfs/odm88/disk2/DecisionServerRules/ -acceptLicense -properties user.wodm_was_home=/opt/IBM/WebSphere/AppServer/

ERROR: The following errors were generated while installing.
  CRIMA1209E ERROR: Validation failed for property user.wodm_admin_password.
    ERROR: The password/confirm password is empty.

    Explanation: The password/confirm password is empty.

    User Action: 


/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819 -repositories /mnt/hgfs/odm88/disk2/DecisionServerRules/ -acceptLicense -properties user.wodm_was_home=/opt/IBM/WebSphere/AppServer/,user.wodm_admin_password=passw0rd

ERROR: The following errors were generated while installing.
  CRIMA1209E ERROR: Validation failed for property user.wodm_admin_password.
    ERROR: The passwords entered do not match.

    Explanation: The passwords entered do not match.

    User Action: 


/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819 -repositories /mnt/hgfs/odm88/disk2/DecisionServerRules/ -acceptLicense -properties user.wodm_was_home=/opt/IBM/WebSphere/AppServer/,user.wodm_admin_password=passw0rd,user.confirm_password=passw0rd

Installed com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819 to the /home/wasadmin/IBM/ODM881 directory.

In other words, a pure CLI installation is absolutely possible, provided that you provide the properties.

For the record, I didn't actually want the ODM binaries installed into my home directory … :-)

So I uninstalled the binary: -

/opt/IBM/InstallationManager/eclipse/tools/imcl uninstall com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819

Uninstalled com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819 from the /home/wasadmin/IBM/ODM881 directory.

and re-ran the installation with an additional parameter: -

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819 -repositories /mnt/hgfs/odm88/disk2/DecisionServerRules/ -acceptLicense -installationDirectory /opt/IBM/ODM881 -properties user.wodm_was_home=/opt/IBM/WebSphere/AppServer/,user.wodm_admin_password=passw0rd,user.confirm_password=passw0rd

Installed com.ibm.websphere.odm.ds.rules.v88_8.8.1000.20160527_0819 to the /opt/IBM/ODM881 directory.

and so on and so forth.

No comments: