Tuesday, 18 September 2018

IBM Master Data Management - "Cannot invoke Configure_MasterDataManagement for RDM installation"

Whilst building out a MDM Advanced Edition 11.6.0.5 box: -

cd /opt/ibm/MDM/mds/scripts
./madconfig.sh Configure_MasterDataManagement

Buildfile: build.xml
Trying to override old definition of task executeUpdateScript

initialize_taskdef_libs:

Configure_MasterDataManagement:
Cannot invoke Configure_MasterDataManagement for RDM installation

BUILD SUCCESSFUL
Total time: 1 second


Hmmmm

Thankfully, there's a -debug switch: -

./madconfig.sh -debug Configure_MasterDataManagement

but that didn't tell me much more: -

Configure_MasterDataManagement:
Setting project property: tstamp.Configure.MasterDataManagement -> 20180917155806
Override ignored for property DSTAMP
Override ignored for property TSTAMP
Override ignored for property TODAY
setting a recorder for name ../../logs/madconfig/Configure_MasterDataManagement_20180917155806.log
Property ${user.mdm.im.offering.id} has not been set
Cannot invoke Configure_MasterDataManagement for RDM installation

BUILD SUCCESSFUL
Total time: 1 second

Similarly, nothing much of use in the log: -

locate Configure_MasterDataManagement_20180917155806.log

cat /opt/ibm/MDM/logs/madconfig/Configure_MasterDataManagement_20180917155806.log

Cannot invoke Configure_MasterDataManagement for RDM installation

BUILD SUCCESSFUL


I double-checked that I had installed MDM: -

/opt/ibm/InstallationManager/eclipse/tools/imcl listInstalledPackages -features

com.ibm.cic.agent_1.8.9001.20180709_1302 : 
com.ibm.websphere.ND.v85_8.5.5013.20180112_1418 : com.ibm.sdk.6_64bit,ejbdeploy,embeddablecontainer,thinclient
com.ibm.mdm.advanced.0.5_11.6.0.FP05IF000_20180326-1642 : com.ibm.mdm.install.feature
com.ibm.mdm.mdph.0.5_11.6.0.FP05IF000_20180326-1642 : com.ibm.mdm.ds.ui.feature

I even went down the rabbit hole of Java SDKs, wondering whether the fact that I only had Java 8 installed …..

but it wasn't that

...

In a fit of pique, I uninstalled and reinstalled the MDM binaries etc.

...

and then realised what the problem was …..

Yes, it's another PEBCAK ….

My notes said, in part: -

Setup MDM Installer Properties File

vi /opt/ibm/MDM/properties/mdm_install.properties


which is fine ….

*BUT* I then simply REPLACED ALL OF THE CONTENT OF THATFILE with a few lines: -

user.was.password=passw0rd
user.db.password=passw0rd
user.was.admin.password=passw0rd
user.bla.name=passw0rd
user.bla.password=passw0rd
user.mq.password=passw0rd
user.kafka.statistics.enable=no
user.table.space.4k=TBS4K
user.table.space.8k=TBS8K
user.table.space.16k=TBS16K
user.table.space.index=IDXSPACE
user.table.space.long=LOBSPACE
user.table.space.eme.1=EMESPACE1
user.table.space.eme.2=EMESPACE2
user.was.type=ND
user.was.profile.home=/opt/ibm/WebSphere/AppServer/profiles/AppSrv01/
user.deploy.port=8879
user.deploy.host=lt.uk.ibm.com
user.was.cell=MDMCell1
user.was.node=lt86Node01
user.was.server=MDMClusterMember1
user.was.cluster=MDMCluster
user.was.cluster.flag=true
user.trust.file.url=/opt/ibm/WebSphere/AppServer/profiles/AppSrv01/etc/DummyClientTrustFile.jks

In other words, I replaced ~200 lines of probably quite important stuff with 24 lines of my own custom stuff, meaning that I had lost lines such as: -

wcc.install.home=/opt/ibm/MDM
user.mdm.bla.name=MDM-operational-server-EBA-E001
user.mdm.bla.description=MDMBLA

all of which are rather important.

The moral of the story ?

Update the documentation to say "APPEND" rather than "REPLACE"

….

./madconfig.sh Configure_MasterDataManagement

Buildfile: build.xml
Trying to override old definition of task executeUpdateScript

initialize_taskdef_libs:
Trying to override old definition of task EncryptDBPassword

Configure_MasterDataManagement:


--------------                                           ------------ 
--------------          Installing Feature Pack 11.6.0.5 ------------ 
--------------                                           ------------ 


Trying to override old definition of task executeUpdateScript
Trying to override old definition of task EncryptDBPassword
Trying to override old definition of task executeUpdateScript

ComponentDisplay:
#################################################################################
# #
# The following features will be configured in this process #
# - Database  #
# - Operation Server #
# - Consent Management UI #
# #
#################################################################################
set JAVA_EXT_DIRS=/opt/ibm/WebSphere/AppServer/java_1.7.1_64/jre/lib/ext
NOTE:  all specified passwords already encoded in target file == /opt/ibm/MDM/mds/scripts/soap.client.props


Now isn't that better ?

No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...