ibm-cpq-prod
IBM Sterling Configure, Price, Quote (CPQ) solution enables you to quickly configure, price, quote and order the right products and services. To sell competitively in today’s multichannel environment, organizations need a way to easily manage product and service configuration and pricing rules that allow prospects, customers, sales staff, call center representatives and Business Partners to quickly find, configure and order the right products and services. IBM® Sterling Configure, Price, Quote solution automates every step of the configure, price and quote process to help organizations easily create Web storefronts, offer dynamic catalog and pricing information, and direct customers and partners to find, configure and order the right products and services. This enables you to transform how you sell complex products and services by removing the internal complexity of multi-tiered selling within your organization and with your partners. Documentation Additional information about installation can be found at https://ibm.biz/BdqqUS. License Sterling Configure Price Quote Software is licensed under https://ibm.biz/Bdqqgd which must be accepted during the install of the Product.
About this chart
Name
IBM Sterling Configure Price Quote Software
What's New in this release - v10.0.0.22
- Upgraded Order Management to FP27, FieldSales to FP16 and VisualModeler/Configurator to FP22
- Defect Fixes
- Security Fixes
- Qualified on the 4.4, 4.5, and 4.6 Red Hat OpenShift Container Platform versions
Introduction
- The v10.0.0.22 release of IBM Sterling Configure Price Quote is built and deployed on OpenShift 4.6.
- Red Hat OpenShift Container Platform 4.4+ has a feature of catalog experience for installation of helm charts. Helm charts which are onboarded to the Red Hat Helm Repo will appear in the OpenShift Developer Catalog out-of-the-box. This will facilitate the user to deploy Helm Charts from the Web UI , rather than CLI. This feature is available in Developer Catalog -> Add -> From Catalog -> Check Helm Chart Filter.
- This document describes how to deploy IBM Sterling Configure Price Quote Software v10.0.0.22. This helm chart does not install database server. Database need to be setup and configured separately for IBM Sterling Configure Price Quote Software.
Note: This helm chart supports deployment of IBM Sterling Configure Price Quote Software with DB2 or Oracle database.
Highlights of Previous Releases
- Featuring Helm Form in the Developer Catalog of Web Console of OCP(4.6). Making it easier to populate values yaml.
- Introduced timeZone property in CPQ applications, to set the timezone of the environment in which the Applications are running.
- Added support to execute custom script after Omni Configurator Server startup.
- Added support to disable the deployment of Configurator UI
- EhCache - The in-memory cache EhCache is implemented in OmniConfigurator, for improved performance.
- The EhCache works in a distributed mode and makes use of RMI replication to support multiple Pods. For more information refer 'Ehcache enablement in OC' topic.
- Visual Modeler Customization is enhanced. For more information refer 'Install repository' topic.
- Added support to populate default value for Function Handler and Custom Control Properties. For more information refer 'Out of Box value of Function Handler and Custom Control Properties' topic.
- Mechanism to apply Fixpack. For more information refer 'Fixpack Installation for IFS' and 'Fixpack Installation for VM and OC'
- Liberty Trustore is Upgraded to use PKCS12 standard.
- Liberty image is upgraded to 19.0.0.6.
- Added support to turn on/off Swagger UI and API docs through Omni Configurator deployment chart.
- Added support to execute VisualModeler Database SQL migration script using existing datasetup job.
- The Applications Pods run with a arbitrary user id, inside the containers.
- The Pod logs are externalized in the repository.
- Support for air gap Installation
- Implemented enhanced security for cleartext sensitive fields
- Upgraded Redhat to Universal Base Image v8 for Base Containers
- Upgraded Liberty Server to v20 for Application Containers
- Upgraded Helm client to 3.6x
- Container Images are now signed and certified for enhanced security
Checklist
- Use below checklist before launching the CPQ applications
- Helper scripts can be found in prereqs.zip to create pre-requisite cluster objects. This zip is packaged along with these charts.
- Helm is installed
- NFS is installed, if this is a option chosen for the configurator repository
- Configurator Repository is installed
- PV and PVC are created
- Hostnames are identified for VisualModeler, Configurator, FieldSales
- Certificates for application hostnames are available
- Secrets are created for above certificates
- User is created in Database
- Secrets are created with Database access information and key store
- Charts downloaded and fields in values.yaml are populated
- Install charts via helm install cmd
- Factory Data is loaded into Database by running Datajobs using these charts
Note : Please see below for details on each of above checklisted items.
Details
- The workload consists of application pods(along with associated objects like services,deployments,ingresses etc), one for each application i.e. VisualModeler, Configurator and FieldSales.
- The image names for these applications are as below -
- VisualModeler(VM) -
cpq-vm-app, runs VisualModeler application on liberty. - OmniConfigurator(OC) App -
cpq-oc-app, runs OmniConfigurator application on liberty. - Base image for VMOC -
cpq-vmoc-base, a configurator base container used to generate customized images. - Field Sales App -
cpq-ifs-app, runs Field Sales application on liberty. - Field Sales Agent -
cpq-ifs-agent, used for integration / data job with Field Sales. - Field Sales Base -
cpq-ifs-base, a FieldSales base container used to generate customized images. - Image tag for this release - For configurator -
10.0.0.22-amd64, For Field Sales -10.0.0.16-amd64
Chart Details
For VisualModeler and COnfigurator applications, this chart will do the following:
- Create a deployment
<release name>-ibm-cpq-prod-vmappserverfor IBM Sterling Visual Modeler(VM) application server with 1 replica by default. - Create a deployment
<release name>-ibm-cpq-prod-ocappserverfor IBM Sterling Omni Configurator(OC) application server with 1 replica by default. - Create a service
<release name>-ibm-cpq-prod-vmappserver. This service is used to access the VM application server using a consistent IP address. - Create a service
<release name>-ibm-cpq-prod-ocappserver. This service is used to access the OC application server using a consistent IP address. - Create a job
<release name>-ibm-cpq-prod-vmdatasetup. It is used for performing data setup for CPQ that is required to deploy and run the CPQ application. This may not be created if the data setup is disabled at the time of install or upgrade. - Create a ConfigMap
<release name>-ibm-cpq-prod-vm-config. This is used to provide VM and Liberty configuration. - Create a ConfigMap
<release name>-ibm-cpq-prod-oc-config. This is used to provide OC and Liberty configuration.
Note : <release name> refers to the name of the helm release and <server name> refers to the app server name.
For FieldSales application, please go to 'IBM Sterling FieldSales' section below.
Prerequisites
-
Kubernetes version >= 1.17.0
-
Ensure that DB2/Oracle database server is installed and the database is accessible from inside the cluster. For database timezone considerations refer section "Timezone considerations".
-
Ensure that the docker images for IBM Sterling Configure Price Quote Software are loaded to an appropriate docker registry. The default images for IBM Sterling Configure Price Quote Software can be downloaded from IBM Entitled Registry along with IBM Marketplace. Alternatively from IBM Passport Advantage.Customized images for IBM Sterling Configure Price Quote Software can also be used.
-
Ensure that the docker registry is configured in Manage -> Resource Security -> Image Policies and also ensure that docker image can be pulled on all of Kubernetes worker nodes.
-
When using podman for image operations for eg launching Base Container, make sure you have root priviledges for the logged in user. Otherwise option is to use sudo.
Dependency of CPQ Applications on each other
VM , OC and IFS to work together and hence their configurations are dependent on each other. When the applications are deployed over https protocol , they need to be aware of each other by exchanging the certificates and hence it is important to understand the dependencies since this can impact the installation sequence of these applications.
-
OC requires certificate of IFS. Hence when you install OC, make sure you have certificate created for IFS and populate the ingress fields -
Values.ifsappserver.ingress.hostandValues.ifsappserver.ingress.ssl.secretname. -
VM requires certificate of OC. Hence when you install VM, make sure you have certificate created for OC and populate the ingress fields -
Values.ocappserver.ingress.hostandValues.ocappserver.ingress.ssl.secretname. -
IFS requires certificate of OC. Hence when you install IFS, make sure you have certificate created for OC and populate the ingress fields -
Values.ocappserver.ingress.hostandValues.ocappserver.ingress.ssl.secretname.
*Note: If you do the above configuration change after installation of a application, you would need to re-install it to take above change into effect.
Installing
Installing the VisualModeler(VM) and OmniConfigurator(OC) Applications.
Prepare a custom values.yaml file based on the configuration section. Ensure that application license is accepted by setting the value of global.license to true.
Note:
- All the section in values.yaml like global, vmappserver, ocappserver, ifs, ifsappserver, ifsagentserver, ifsdatasetup, vmdatasetup, runtime and metering need to be populated before installing any application like VM, OC or IFS.
- Helper scripts can be found in prereqs.zip to create pre-requisite cluster objects. This zip is packaged along with these charts.
-
The reason is there is integration between VM and OC, VM and SBC, IFS and OC. So During installation of VM, the application requires ingress host of OC and ssl certificate of OC. The same applies for OC and IFS as well.
-
The integration will not work if the user populate one section at a time and install the application. For example user should avoid populating only vmappserver and install VM.
Air gap Installation
You can install certified containers in an air gap environment where your Kubernetes cluster does not have access to the internet. Therefore, it is important to properly configure and install the certified containers in such an environment.
Downloading Sterling Configure Price Quote Software case bundle
You can download the Sterling Configure Price Quote Software case bundle and the Helm chart from the remote repositories to your local machine, which will eventually be used for offline installation by running the following command:
cloudctl case save \
--case <URL containing the CASE file to parse.> \
--outputdir </path/to/output/dir>
For additional help on cloudctl case save, run cloudctl case save -h.
Setting credentials to pull or push certified container images
To set up the credentials for downloading the certified container images from IBM Cloud Registry to your local registry, run the appropriate command.
-
For local registry without authentication
# Set the credentials to use for source registry cloudctl case launch \ --case </path/to/downloaded/case> \ --inventory ibmCpqProd \ --action configure-creds-airgap \ --args "--registry $SOURCE_REGISTRY --user $SOURCE_REGISTRY_USER --pass $SOURCE_REGISTRY_PASS" -
For local registry with authentication
# Set the credentials for the target registry (your local registry) cloudctl case launch \ --case </path/to/downloaded/case> \ --inventory ibmCpqProd \ --action configure-creds-airgap \ --args "--registry $TARGET_REGISTRY --user $TARGET_REGISTRY_USER --pass $TARGET_REGISTRY_PASS"
Mirroring the certified container images
To mirror the certified container images and configure your cluster by using the provided credentials, run the following command:
cloudctl case launch \
--case </path/to/downloaded/case> \
--inventory ibmCpqProd \
--action mirror-images \
--args "--registry <your local registry> --inputDir </path/to/directory/that/stores/the/case>"
The certified container images are pulled from the source registry to your local registry that you can use for offline installation.
Installing the Helm chart in an air gap environment
Before you begin, ensure that you review and complete the prerequisites.
To install the Helm chart, run the following command:
cloudctl case launch \
--case </path/to/downloaded/case> \
--namespace <NAME_SPACE> \
--inventory ibmCpqProd \
--action install \
--args "--releaseName <release-name> --chart </path/to/chart>"
# --releaseName: refers to the name of the release.
# --chart: refers to the path of downloaded chart.
Uninstalling the Helm chart in an air gap environment
To uninstall the Helm chart, run the following command:
cloudctl case launch \
--case </path/to/downloaded/case> \
--namespace <NAME_SPACE> \
--inventory ibmCpqProd \
--action uninstall \
--args "--releaseName <release-name>"
# --releaseName: refers to the name of the release.
Installing the CASE
Below steps gives an example to install the helm chart into 'default' namespace of Openshift.
- Note The file permissions set up in the VM and OC Pod use owner as 1001 and group as root for the application related folders.
Pre-requisites for installing IBM Sterling Visual Modeler and IBM Sterling Omni Configurator applications
Pulling Image directly from Entitled Registry - Option 1
Out of the box , the charts are programmed to pull the image directly from Entitled Registry - cp.icr.io/ibm-cpq. (However you can change this behavior by going to Option 2.) To do that follow below steps -
1.Create a secret -
oc create secret docker-registry er-secret --docker-username=[Username] --docker-password=[Password] --docker-server=cp.icr.io
Username/Password can be following -
iamapikey/IAM KEY if Entitlement Key is obtained from Alchemy-registry / image-iam repo OR
`cp/Key From My IB
Deploy ibm-cpq-prod with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ibm-cpq-prod on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartibm-cpq-prod is pinned at v4.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply