12. Running the WMLA install module in an air-gapped environment

12.1. Overview

POWER-Up can be used to install Watson Machine Learning Accelerator in an air-gapped environment (i.e. isolated network without access to public software repositories).

Required dependencies first must be collected using pup software wmla121 –prep in an environment with access repositories. Once collected the dependencies can be bundled into an archive to facilitate easy transfer into the air-gapped environment.

12.2. Collect and bundle dependencies

  1. Setup installer node

  2. Collect WMLA software

  3. Run –prep to collect WMLA dependencies:

    $ pup software wmla121 --prep
  4. Run –download-install-deps to collect POWER-Up install dependencies:

    $ pup software wmla121 --download-install-deps
  5. Run –status to verify all dependencies are present:

    $ pup software wmla121 --status
  6. Run –bundle-to to archive dependencies in single file:

    $ pup software wmla121 --bundle-to ./
  7. Archive can now be transferred:

    $ ls wmla.*.tar

12.3. Install and run POWER-Up using dependency archive

  1. Extract archive:

    $ sudo mkdir -p /srv/pup/wmla121-ppc64le/
    $ sudo tar xvf wmla.*.tar -C /srv/pup/wmla121-ppc64le/
  2. Enable local yum repository:

    $ echo "[pup-install]
    name=POWER-Up Installation Dependencies
    gpgcheck=0" | sudo tee /etc/yum.repos.d/pup-install.repo
  3. Update yum cache:

    $ sudo yum makecache
  4. Install Git:

    $ sudo yum -y install git
  5. Clone POWER-UP from local repo:

    $ git clone /srv/pup/wmla121-ppc64le/power-up.git/
  6. Checkout POWER-UP release tag:

    $ cd power-up
    $ git checkout wmla121-1.0.1
  7. Install POWER-Up software:

    $ ./scripts/install.sh -p /srv/pup/wmla121-ppc64le/repos/pup_install_pip/
    $ source ./scripts/setup-env
  8. Verify all dependencies are present:

    $ pup software wmla121 --status

12.4. Continue with ‘–init-clients’ and ‘–install’

  1. Initialize Client Nodes
  2. Installation