MAS DevOps Ansible Collection Ansible CLI
Edit on GitHub
Home Ansible Automation Platform OCP Install Cloud Pak For Data Install Core Add AIBroker Add IoT Add Manage Add Monitor Add Optimizer Add Predict Add Visual Inspection Update Upgrade Uninstall Core Backup & Restore ocp_cluster_monitoring ocp_config ocp_deprovision ocp_efs ocp_github_oauth ocp_login ocp_node_config ocp_provision ocp_roks_upgrade_registry_storage ocp_upgrade ocp_verify appconnect aws_bucket_access_point aws_documentdb_user aws_policy aws_route53 aws_user_creation aws_vpc cert_manager cis common-services configure_manage_eventstreams cos cos_bucket cp4d_admin_pwd_update cp4d cp4d_service db2 dro eck grafana ibm_catalogs kafka nvidia_gpu mongodb ocs sls turbonomic uds mirror_case_prepare mirror_extras_prepare mirror_images mirror_ocp ocp_idms ocp_simulate_disconnected_network registry suite_app_config suite_app_install suite_app_uninstall suite_app_upgrade suite_app_rollback suite_app_backup_restore suite_certs suite_config suite_db2_setup_for_manage suite_dns suite_install suite_manage_attachments_config suite_manage_birt_report_config suite_manage_bim_config suite_manage_customer_files_config suite_manage_imagestitching_config suite_manage_import_certs_config suite_manage_load_dbc_scripts suite_manage_logging_config suite_manage_pvc_config suite_uninstall suite_upgrade suite_rollback suite_verify suite_backup_restore ansible_version_check entitlement_key_rotation gencfg_jdbc gencfg_watsonstudio gencfg_workspace gencfg_mongo

Install Predict Application¤

Prerequisites¤

You will need a RedHat OpenShift cluster with IBM Maximo Application Suite Core v8.11 already be installed, the oneclick-core playbook can be used to set this up.

Overview¤

This playbook will add Predict v8.9 to an existing IBM Maximo Application Suite Core installation. It will also install CloudPak for Data + CP4D services.

This playbook can be ran against any OCP cluster regardless of its type; whether it's running in IBM Cloud, Azure, AWS, or your local datacenter.

All timings are estimates, see the individual pages for each of these playbooks for more information. Use this sample playbook as a starting point for installing any MAS application, just customize the application install and configure stages at the end of the playbook.

As of MAS 8.10, predict 8.8.0 will start to support SPSS Modeler, to install SPSS as part of CP4D set CPD_INSTALL_SPSS=true in your environment variables before running the playbook.

Required environment variables¤

These variables are required only if you set CP4D_INSTALL_WSL to false in optional varibles:

Warning

When not using this playbook to install Cloud Pak for Data it is important to ensure that your existing instance already has all the required services enabled.

Optional environment variables¤

Usage¤

Tip

If you do not want to set up all the dependencies on your local system, you can run the playbook from inside the CLI container image: docker run -ti --pull always quay.io/ibmmas/cli

Cloud Pak for Data is already installed¤

export MAS_INSTANCE_ID=inst1
export MAS_CONFIG_DIR=~/masconfig
export IBM_ENTITLEMENT_KEY=xxx

export MAS_APP_CHANNEL="8.9.x"

export CPD_PRODUCT_VERSION="4.6.4"
export CPD_WSL_PROJECT_ID="xxxx"
export CPD_WML_INSTANCE_ID="openshift"
export CPD_WML_URL="https://internal-nginx-svc.ibm-cpd.svc:12443"
export WML_VERSION="4.6"
export CPD_ADMIN_USERNAME="admin"
export CPD_ADMIN_PASSWORD="xxx"
export CPD_ADMIN_URL="https://mycp4durl"

oc login --token=xxxx --server=https://myocpserver
ansible-playbook ibm.mas_devops.oneclick_add_predict

Cloud Pak for Data is not installed¤

export MAS_INSTANCE_ID=inst1
export MAS_CONFIG_DIR=~/masconfig
export IBM_ENTITLEMENT_KEY=xxx

export MAS_APP_CHANNEL="8.9.x"

export CPD_PRODUCT_VERSION="4.6.4"
export CPD_INSTALL_PLATFORM="true"
export CPD_INSTALL_WSL="true"
export CPD_INSTALL_WML="true"
export CPD_INSTALL_SPARK="true"
export CPD_INSTALL_OPENSCALE="true"
export CPD_INSTALL_DISCOVERY="true"
export CPD_INSTALL_SPSS="true"
export CPD_WSL_PROJECT_ID="xxxx"
export CPD_WML_INSTANCE_ID="openshift"
export CPD_WML_URL="https://internal-nginx-svc.ibm-cpd.svc:12443"
export WML_VERSION="4.6"
export CPD_ADMIN_USERNAME="admin"
export CPD_ADMIN_PASSWORD="xxx"
export CPD_ADMIN_URL="https://mycp4durl"

oc login --token=xxxx --server=https://myocpserver
ansible-playbook ibm.mas_devops.oneclick_add_predict