Before installing MettleCI Command Line Interface you will need to perform a pre-installation Java update to make sure you Java environment is compatible with MettleCI.
These instructions assume you have already sourced a MettleCI license file during the Workbench installation process. Note that the installation of MettleCI Workbench is not a prerequisite to installing the MettleCI Command Line Interface.
Installation
Download the latest MettleCI CLI RPM distributable from the MettleCI software download website.
Open a shell and navigate to the $HOME directory of your DataStage Development Engine. Install the mettleCI CLI using Red Hat Package Manager (RPM)
$> sudo rpm -U dm-mettleci-command-shell-x.x-x.noarch.rpm $> # or for IBM AIX... $> sudo rpm -U dm-mettleci-command-shell-x.x-x.noarch.rpm --nodeps --ignoreos
… where x.x.x is the build version of the workbench you downloaded.
Navigate to
/opt/dm/mci/cli
and use your favourite editor to open theconfig.properties
file.If you don’t have one already, request a trial license for MettleCI from the link on the same site. This will be delivered to you via email as a file attachment. Save the file to the same directory into which you unzipped your MettleCI Command Shell distribution package.
Modify the
license.file=mettleci.lic
to point to your MettleCI License file. This will typically belicense.file=../mettleci.lic
(the parent directory) if you are installing the MettleCI CLI alongside the MettleCI Workstation on a DataStage engine tier.
Verify your install/upgrade
Verify your MettleCi is running:
$> mettleci MettleCI Command Line. Build xxx (C)2018-2020 Data Migrators Pty Ltd mettleci>
Uninstall the Command Line Interface
You can uninstall the MettleCI Workbench package like any other RPM package:
$> sudo rpm -e dm-mettleci-command-shell-x.x-x.noarch
Downgrading Workbench
If something goes wrong and you need to downgrade your version of MettleCI Workbench, without performing an uninstall/reinstall, you can use the following command:
$> rpm -Uvh --oldpackage dm-mettleci-command-shell-x.x-x.noarch.rpm
… where x.x.x is the build version of the CLI you want to downgrade to.