Adding Anaconda distributions

You can either create an Anaconda distribution package or use an existing deployment to add a Anaconda distribution to IBM® Spectrum Conductor.

Before you begin

You must be a cluster administrator or have the ANACONDA_DISTRIBUTION_CONFIGURE, ANACONDA_DISTRIBUTION_VIEW, ANACONDA_DISTRIBUTION_INSTANCE_VIEW, and EGO_CONSUMER_VIEW permissions. If you want to use an existing deployment, you must also need the EGO_RESPLAN_VIEW, DEPLOY_PKG_CONTROL, EGO_CONSUMER_CONTROL, and EGO_SERVICE_CONFIGURE permissions.

About this task

IBM Spectrum Conductor includes default distributions that you can use without having to add a new distribution:
Distribution Name / Anaconda Version / Python Version / Operating System
Anaconda5-1-0-Python3-Linux-ppc64le / 2019.03 / 3 / Linux on POWER 64-bit Little Endian (LE)
Anaconda5-1-0-Python3-Linux-x86-64 / 2019.03 / 3 / Linux 64-bit
Anaconda distribution instances created from existing deployments have the following limitations:
  • Existing conda environments are not managed by IBM Spectrum Conductor.
  • Removing an Anaconda distribution does not undeploy Anaconda.

Procedure

  1. From the cluster management console, click Resources > Frameworks > Anaconda Management.
  2. Click Add.
  3. On the Distribution Settings tab, enter the distribution name. Specify a unique (per cluster) distribution name that starts with a letter and can contain letters, numbers, and dashes. The maximum length is 64 characters.

    You can automatically complete the fields by dragging and dropping an existing Anaconda distribution package into the Add Anaconda Distribution dialog.

  4. Choose either to use an existing deployment, or select a package file.
    • Click Use an existing deployment and then fill in the following information:
      • Anaconda version: Specify the Anaconda version that contains 1 to 4 numbers. Numbers must consist of 1 to 3 digits and separated by periods.
      • Optional: Python version: Specify the Python version.
      • Optional: Operating system: Specify either Linux or Linux® on POWER®.
      • Optional: Default conda channel: Specify the default conda channel of the Anaconda repository.
      • Instance name: Specify a unique instance name.
      • Deployment directory: Specify the existing Anaconda deployment directory. This directory must exist on all hosts in the cluster.
      • Relative Anaconda path: Specify the path to the Anaconda installation relative to the deployment directory.
      • Consumer: Select the consumer that you have access to.
      • Resource Group: Select the resource group.
      • Optional: Execution user: Specify the execution user to deploy the Anaconda distribution. Default, if left blank, is the cluster administrator.
    • Choose an Anaconda distribution package file and then complete the following information:
      • Anaconda version: Specify the Anaconda version that contains 1 to 4 numbers. Numbers must consist of 1 to 3 digits and separated by periods.
      • Optional: Python version: Specify the Python version.
      • Optional: Operating system: Specify either Linux or Linux on POWER.
      • Optional: Default conda channel: Specify the default conda channel of the Anaconda repository.
  5. Optional: Click the Environment Variables tab and then Add a variable to set any environment variables. For example:
    HTTP_PROXY=username:pass@proxy.company.org:8080
    Tip: If your environment contains servers behind a firewall, to ensure connection, add these proxy environment variables and values for them: HTTPS_PROXY, HTTP_PROXY, and FTP_PROXY.
  6. Click Add.
    You can see the Anaconda distribution on the Anaconda Management page.

What to do next

  • You can deploy the Anaconda distribution to the cluster. See Deploying Anaconda distributions.
  • You can configure the Anaconda distribution by clicking Configure. Specify or modify the default conda channel or add or modify environment variables and then click Configure. For example, if your environment contains servers behind a firewall, to ensure connection, add these proxy environment variables and values for them: HTTPS_PROXY, HTTP_PROXY, and FTP_PROXY.
  • You can remove an Anaconda distribution that hasn’t been deployed by selecting the distribution name and clicking Remove > Remove. If a Anaconda distribution has been deployed, you would need to undeploy before you can remove it.