Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

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

  1. Download the latest MettleCI CLI RPM distributable from the MettleCI software download website.

  2. As per the MettleCI Workbench installation, the DM_WORKBENCH_USER environment variable can be used to set file ownership to a user other than the default mciworkb.

  3. Open a shell and navigate to the ,location of your . Install the mettleCI CLI using Red Hat Package Manager (RPM)

    Code Block
    $> 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.

  4. If you are installing the MettleCI CLI alongside the MettleCI Workstation on a DataStage engine tier, you will already have a MettleCI license file which the Command Shell will use without need for configuration.

  5. If you don’t already have a MettleCI license file:

    1. 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.

    2. By default, the config.properties configuration file refers to the license file location by license.file=../mettleci.lic (the parent directory). Save the license file and update the license.file setting to refer to its location.

Verify your install/upgrade

  1. Verify your MettleCi is running:

    Code Block
    $> mettleci
    MettleCI Command Line. Build xxx
    (C)2018-2020 Data Migrators Pty Ltd
    mettleci>

Uninstall the Command Line Interface

  1. You can uninstall the MettleCI Workbench package like any other RPM package:

    Code Block
    $> sudo rpm -e dm-mettleci-command-shell

Downgrading Command Line Interface

  1. If something goes wrong and you need to downgrade your version of MettleCI Command Line Interface, without performing an uninstall/reinstall, you can use the following command:

    Code Block
    $> 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.

...