README-PLUGINS-SETUP

Prerequisites

Setting up the environment

To run (execute) the z2a/plugins-setup scripts in a standalone manner (i.e. from a Linux CLI session), you must execute the 0-kind/0a-env.sh script before you run any of the z2a/plugins-setup scripts.

Assumption:

The Acumos system-integration repository has been cloned into: $HOME/src or some other known location.

To setup the environment, execute the following commands:

cd $HOME/src/system-integration/z2a
./0-kind/0-env.sh

ACUMOS_GLOBAL_VALUE

For the scripts in the plugins-setup directory to run stand-alone (i.e. outside the z2a Flow-1 or Flow-2 context), the ACUMOS_GLOBAL_VALUE environment variable MUST be set BEFORE executing deploy.sh to install or configure any of the defined targets in the noncore-config/Makefile.

If you have cloned the Acumos system-integration repository from gerrit.acumos.org then the following command would set the ACUMOS_GLOBAL_VALUE environment variable:

$ export ACUMOS_GLOBAL_VALUE=$HOME/src/system-integration/helm-charts/global_value.yaml

Installing and Configuring Plugins

NOTE: At the time of this writing, only MLWB and it’s dependencies (CouchDB, JupyterHub and NiFi) are included in the plugins-setup directory.

Installing and Configuring - MLWB (ML WorkBench)

Execute ./deploy.sh mlwb will install (and configure based on the target script) MLWB.

$ cd $HOME/src/system-integration/z2a/plugins-setup
$ ./deploy.sh mlwb

Installing and Configuring - CouchDB (MLWB Dependency)

Execute ./deploy.sh couchdb will install (and configure based on the target script) CouchDB.

$ cd $HOME/src/system-integration/z2a/plugins-setup
$ ./deploy.sh couchdb

Installing and Configuring - JupyterHub (MLWB Dependency)

Execute ./deploy.sh jupyterhub will install (and configure based on the target script) JupyterHub.

$ cd $HOME/src/system-integration/z2a/plugins-setup
$ ./deploy.sh jupyterhub

Installing and Configuring - NiFi (MLWB Dependency)

Execute ./deploy.sh nifi will install (and configure based on the target script) NiFi.

$ cd $HOME/src/system-integration/z2a/plugins-setup
$ ./deploy.sh nifi
Created:2020/07/20
Last Modified:2020/08/12