Configuring MettleCI Workbench to use Custom App and Data Directories
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/mciLeave the following files in
/opt/dm/mci:-config.ymldm-mettleci-workbenchmci.logmettle-ui-x.x-xxx.jarMETTLE_UI.pidstart-mettleci.shAny
.p12files (exceptmettleci-trust.p12)Any
.keyfiles.secrets/git-credentials-keystore-password
Move all other files plus
mettleci-trust.p12to the newmettleHomedirectoryEnsure that ownership of files on
/data/mcimatch those of/opt/dm/mci. By default this ismciworkb:dstageStart 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