Table of contents

Installing SPSS Modeler

A project administrator can install SPSS Modeler on IBM® Cloud Pak for Data.

Permissions you need for this task
You must be an administrator of the OpenShift® project (Kubernetes namespace) where you will deploy SPSS Modeler.
Information you need to complete this task
  • SPSS Modeler needs only the restricted security context constraint (SCC).
  • SPSS Modeler must be installed in the same project as Cloud Pak for Data.
  • SPSS Modeler uses the following storage classes. If you don't use these storage classes on your cluster, ensure that you have a storage class with an equivalent definition:
    • OpenShift Container Storage: ocs-storagecluster-cephfs
    • IBM Spectrum® Scale Container Native: ibm-spectrum-scale-sc
    • NFS: managed-nfs-storage
    • Portworx: portworx-shared-gp3
    • IBM Cloud File Storage: ibmc-file-gold-gid

Before you begin

Ensure that the cluster meets the minimum requirements for installing SPSS Modeler. For details, see System requirements.

Additionally, ensure that a cluster administrator completed the required Pre-installation tasks for your environment. Specifically, verify that a cluster administrator completed the following tasks:

  1. Cloud Pak for Data is installed. For details, see Installing Cloud Pak for Data.
  2. For environments that use a private container registry, such as air-gapped environments, the SPSS Modeler software images are mirrored to the private container registry. For details, see Mirroring images to your container registry.
  3. The cluster is configured to pull the SPSS Modeler software images. For details, see Configuring your cluster to pull images.
  4. The SPSS Modeler operator subscription exists. For details, see Creating operator subscriptions.

If these tasks are not complete, the SPSS Modeler installation will fail.

Prerequisite services

Before you install SPSS Modeler, ensure that the following services are installed and running:

Procedure

Complete the following tasks to install SPSS Modeler:

  1. Installing the service
  2. Verifying the installation
  3. What to do next

Installing the service

To install SPSS Modeler:

  1. Log in to Red Hat® OpenShift Container Platform as a user with sufficient permissions to complete the task:
    oc login OpenShift_URL:port
  2. Create a Spss custom resource to install SPSS Modeler. Follow the appropriate guidance for your environment.
    • The recommended storage class names are described in Setting up shared persistent storage.

      Create a custom resource with the following format.

      cat <<EOF |oc apply -f -
      apiVersion: spssmodeler.cpd.ibm.com/v1
      kind: Spss
      metadata:
        name: spss-sample     # This is the recommended name, but you can change it
        labels:
          app.kubernetes.io/instance: ibm-cpd-spss-operator
          app.kubernetes.io/managed-by: ibm-cpd-spss-operator
          app.kubernetes.io/name: ibm-cpd-spss-operator
      spec:
        license:
          accept: true
          license: Enterprise|Standard|WatsonStudioPremium     # Specify the license you purchased (Enterprise, Standard, or WatsonStudioPremium)
        storageClass: storage-class-name     # See the guidance in "Information you need to complete this task" above
      EOF

Verifying the installation

When you create the custom resource, the SPSS Modeler operator processes the contents of the custom resource and starts up the microservices that comprise SPSS Modeler, including Spss. (The Spss microservice is defined by the spss-sample custom resource.) SPSS Modeler is installed when the Spss status is Completed.

To check the status of the installation:

  1. Change to the project where you installed SPSS Modeler:
    oc project project-name
  2. Get the status of SPSS Modeler (spss-sample):
    oc get Spss spss-sample -o jsonpath='{.status.spssmodelerStatus} {"\n"}'

    SPSS Modeler is ready when the command returns Completed

What to do next

The SPSS Modeler service is now ready to use. See Creating SPSS Modeler flows.