In the event that there are constraints which prevent using the usual Mettle Home directory /opt/dm/mci for storage, it is possible to move the ‘MettleHome’ directory to a different location residing in a data area. For example, this would be useful in a grid environment where /opt/dm/mci is not on shared storage but the data area is on shared storage.
Steps for moving ‘MettleHome' to /data/mci are as follows:
-
Shutdown the workbench service
-
Edit
/opt/dm/mci/config.ymland changemettleHometo/data/mci -
Leave the following files in
/opt/dm/mci:--
config.yml -
dm-mettleci-workbench -
mci.log -
mettle-ui-x.x-xxx.jar -
METTLE_UI.pid -
start-mettleci.sh -
Any
.p12files (exceptmettleci-trust.p12) -
Any
.keyfiles -
.secrets/git-credentials-keystore-password
-
-
Move all other files plus
mettleci-trust.p12to the newmettleHomedirectory -
Ensure that ownership of files on
/data/mcimatch those of/opt/dm/mci. By default this ismciworkb:dstage -
Start the workbench service
-
Edit
/opt/IBM/InformationServer/Server/PXEngine/bin/osh-dmand changeexport DM_METTLE_HOMEto/data/mci
Workbench and unit testing will now work fine. You don’t need to bounce DataStage for changes to take effect.
Installing an update to the Unit Test harness will overwrite osh-dm, so…
-
When upgrading the Parallel Unit Test Harness you must re-apply Step 7
-
When upgrading the Workbench you will not need to re-apply Step 7