Saving streams to IBM Cloud Pak for Data

You can save streams to an IBM Cloud Pak for Data server where you can open them as flows and take advantage of the many features available in Cloud Pak for Data.

Cloud Pak for Data simplifies how you collect, organize, and analyze data and infuse AI across your business. Seamlessly integrate a broad range of data and AI software, leading governance and security, and a unified experience for collaboration. For more information, see https://www.ibm.com/products/cloud-pak-for-data. Contact your IBM representative if you're interested in Cloud Pak for Data.

To configure the server connection

These instructions are based on Firefox. Steps may vary based on which web browser you're using.

  1. Open Firefox, paste your Cloud Pak for Data URL in the address bar, and press Enter.

    You can obtain the URL by opening the Cloud Pak for Data web client and looking at the URL in your browser address bar (it's everything up to and not including /zen). By default, the URL takes the form https://<namespace>-cpd-<namespace>.apps.<cluster-subdomain>

    where:

    • <namespace> is your namespace (such as ab123).
    • <cluster-subdomain> is the subdomain name of your cluster (such as ocp454x86-aqt-mycompany.com)

    In this example, the URL is https://ab123-cpd-ab123.apps.ocp454x86-aqt-mycompany.com

    For more information about the Cloud Pak for Data URL, see the Cloud Pak for Data documentation.

  2. Click the yellow padlock icon to the left of the address bar, then click the arrow beside Connection not secure.
  3. Click More Information. The Page Info dialog opens.
  4. In the Page Info dialog, go to Security and click View Certificate.
  5. Scroll down to Miscellaneous and download the PEM certification file.
  6. From the command line, import the certification file to your IBM® SPSS® Modeler client directory as follows:
    On Windows:
    “%JAVA_HOME%”\bin\keytool.exe -importcert -trustcacerts -file <Certification file absolute path> -alias <alias> -keystore "<Modeler client installation path>"\jre\lib\security\cacerts
    On macOS:
    “%JAVA_HOME%”/bin/keytool -importcert -trustcacerts -file <Certification file absolute path> -alias <alias> -keystore "<Modeler client installation path>"/jre/lib/security/cacerts

    When prompted, enter changeit for the keystore password and enter yes to trust the certification.

  7. On the main menu in IBM SPSS Modeler, click:

    Tools > IBM Cloud Pak for Data Server > IBM Cloud Pak for Data Server Connections...

  8. Specify connection settings to the server. Use the same URL you used in step 1. If you're not sure which username or password to use, contact your local system administrator. If you select the API Key login method, use the following method to obtain the URL:
    • Log on to the Cloud Pak for Data cluster and run the command oc get routes -n ibm-common-services, then copy the HOST/PORT value for cp-console. In the following example, the URL is https://cp-console.apps.wml46x04.cp.myserver.com:
      [root@wml46x04-inf ocp-scripts]# oc get routes -n ibm-common-services
      NAME         HOST/PORT                                  PATH   SERVICES                   PORT    TERMINATION            WILDCARD
      cp-console   cp-console.apps.wml46x04.cp.myserver.com          icp-management-ingress     https   reencrypt/Redirect     None
      cp-proxy     cp-proxy.apps.wml46x04.cp.myserver.com            nginx-ingress-controller   https   passthrough/Redirect   None
  9. Click Connect to connect to the server.

To save streams to Cloud Pak for Data

  1. On the main menu, click:

    File > Store as Flow.... Streams are referred to as flows after they're migrated to Cloud Pak for Data.

    Alternatively, you can also right-click in the streams manager pane and select Store as Flow...

  2. Choose the Cloud Pak for Data Server you configured previously. Then select the project to which you want to save the flow.
Tip: You can also select multiple streams to save at one time. On the main menu, click Tools > IBM Cloud Pak for Data Server... > Bulk uploading streams to IBM Cloud Pak for Data Server. You'll then be prompted to select streams from your local file system, select a server, and select a project.