ibm-oms-pro-prod
IBM Order management Software Professional Edition v10 provides cross-channel order orchestration capabilities to enable intelligent brokering of orders across many disparate systems. It also provides a global view of inventory across the supply chain and enables business users to make changes to order process. Documentation For additional details regarding install parameters check http://ibm.biz/oms-helm-readme. License By installing this product you accept the license terms http://ibm.biz/oms-license and http://ibm.biz/oms-apps-license.
About this chart
ibm-oms-pro-prod
Readme for IBM Sterling Order Management Software Professional Edition, version 10.0.
Introduction
This document contains supplementary information about deploying the Sterling Order Management Software Professional Edition, version 10.0. For a comprehensive product documentation, visit IBM Knowledge Center.
Before you begin
Ensure that you set up and configure the database and messaging server because the Helm chart does not automatically install these middleware applications.
Note: You can by default deploy Sterling Order Management Software with Db2 database and MQ messaging by using the Helm chart. If you want to deploy Sterling Order Management Software with a different database and JMS provider, ensure that you customize the certified containers. For more information about customizing the certified containers, see Customizing certified containers.
Prerequisites
Before deploying Sterling Order Management Software, review and complete the following prerequisites:
-
Install the supported version of Kubernetes.
-
Install and configure Helm. For more information about configuring Helm, see Red Hat OpendShift documentation.
-
Install Db2 or Oracle database. For more information about the database versions, see Software Product Compatibility Reports. Ensure that the database is accessible from within the cluster. For more information about the database time zone considerations, see Time zone considerations.
-
Install MQ or any other JMS server. For more information about the system requirements, see Software Product Compatibility Reports. Ensure that the MQ server is accessible from within the cluster.
-
Load the container images to the appropriate container registry. The default images are available in the IBM Entitled Registry. When you are installing the Helm chart, if you want to automatically pull the images, use image pull secret. Alternatively, you can use customized images.
-
Configure container registry and container image to pull them to all Kubernetes worker nodes.
-
Create a Persistent Volume with access mode as 'Read write many' and having a minimum of 10 GB hard disk space. Ensure that the PersistentVolume storage is accessible by all containers across the cluster and the owner group of the PersistenceVolume directory has write access, and the owner group ID is specified in the global.persistence.securityContext.fsGroup parameter of the Sterling Order Management Software Helm chart.
-
Create a Secret with the datasource connectivity details.
-
Create a Role Based Access Control (RBAC).
-
Configure the agent or integration servers in the Helm chart. For more information about configuring the agent or integration servers, see Configuring agent and integration server.
-
If you have not enabled anyuid Security Context Constraint (SCC), enable it to the service account that is used for the deployment of Sterling Order Management Software on OpenShift Container Platform by using the following command:
oc adm policy add-scc-to-user anyuid -z <service_account_name> -n <namespace> -
If you have not enabled the edit permission to the service account, enable it for the specific project by using the following command:
oc adm policy add-role-to-user edit system:serviceaccount:<namespace>:<service_account_name>Note: The edit permission is required for setting up the developer certificate and also for propagating the data setup status. For security reasons, it is recommend that you revoke the edit permission after deploying the certified containers. To revoke the edit permission, run the following command:
oc adm policy remove-role-from-user edit system:serviceaccount:<namespace>:<service_account_name> -
Install PodDisruptionBudget.
The PodDisruptionBudget ensures that a certain number or percentage of pods with an assigned label are not voluntarily evicted at any point in time. For more information about PodDisruptionBudget, see Disruptions and Specifying a disruption budget for your application.
Note: oc commands are interchangeable with kubectl
Creating a Secret
To create a Secret, complete the following steps:
-
Configure the values as illustrated in the following <sample_secret_file>.yaml file:
apiVersion: v1 kind: Secret metadata: name: '<Release-name>-oms-secret' type: Opaque stringData: consoleadminpassword: '<liberty console admin password>' consolenonadminpassword: '<liberty console non admin password>' dbpassword: '<password for database user>' tlskeystorepassword: '<Liberty TLS KeyStore password. Required if SSL is enabled and using OpenShift cluster.>' trustStorePassword: '<password for custom TrustStore>' keyStorePassword: '<password for custom KeyStore>' -
Pass the name of the Secret as a value to the
global.appSecretparameter. ` Note: For the Secret name, it is recommended that you prefix release name. -
Run the following command:
oc create -f <sample_secret_file>.yaml -n <namespace>A Secret based on the values entered in the <sample_secret_file>.yaml is created and encoded.
Creating a Role Based Access Control (RBAC)
If you are deploying the application on a namespace other than the default namespace, and if you have not created Role Based Access Control (RBAC), create RBAC with the cluster admin role.
-
The following sample file illustrates RBAC for the default service account with the target namespace as
<namespace>. Configure the values as illustrated in the following <sample_rbac_file>.yaml file:kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: oms-role-<namespace> namespace: <namespace> rules: - apiGroups: [''] resources: ['secrets'] verbs: ['get', 'watch', 'list', 'create', 'delete', 'patch', 'update'] --- kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: oms-rolebinding-<namespace> namespace: <namespace> subjects: - kind: ServiceAccount name: default namespace: <namespace> roleRef: kind: Role name: oms-role-<namespace> apiGroup: rbac.authorization.k8s.io -
Run the following command:
oc create -f <sample_rbac_file>.yaml -n <namespace>An RBAC based on the values entered in the <sample_rbac_file>.yaml is created and encoded.
Chart details
The Helm chart creates following resources:
-
ConfigMap with the following resource names:
<deployment name>-config- Provides Sterling Order Management Software and Liberty configuration.<deployment name>-def-server-xml-conf- Provides the default server.xml for Liberty. However, if you are using a custom server.xml file, the Helm chart does not create this resource name.
-
Service with the name,
<deployment name>, to access the application server by using a consistent IP address. -
Deployment with the following names:
<deployment name>-appserver- Sterling Order Management Software application server.<deployment name>-<server name>- Sterling Order Management Software agent and integration servers that are configured.<deployment name>-healthmonitor- Sterling Order Management Software HealthMonitor agent if you enable health monitor.
-
Jobs with the following names:
<deployment name>-datasetup- Set up data for deploying and running the applications, if you enable data setup.<deployment name>-preinstall- Complete the pre-installation activities such as generating ingress, tls, and secret.
Here,
<deployment name>refers to<release name>-ibm-oms-pro-prod, which can be overridden withglobal.fullNameOverride.<release name>refers to the Helm release name.<server name>refers to the name of agent or integration server.
Time zone considerations
Before deploying the application, ensure that the database, application server, and agent server are all in the same time zone. Also, ensure that the time zone is compatible with locale code as specified in the application.
The containers are by default deployed in UTC time zone and the locale code is set to en_US_UTC. Therefore, ensure that you deploy the database in UTC time zone.
Ephemeral storage
Ephemeral storage is any storage that is not guaranteed to be persisted (in Kubernetes, ephemeral storage on the node is provided by locally-attached writeable devices or, sometimes, by RAM), this is usually an emptyDir or a writable layer in the container.
Ephemeral storage, like all storage, has the option to declare limits and requests for the Kubernetes runtime. Products that do not declare ephemeral storage limits and requests can give an inaccurate picture to the Kubernetes runtime for what their storage requirements are (in terms of memory and cpu units), and this can lead to clusters overcommitting on data requests that cannot be fulfilled.
This rule requires ephemeral-storage requests in all scenarios. For emptyDir - ephemeral-storage limits are needed when the container is non-ReadOnlyRootFilesystem and the emptyDir volume has no sizeLimit. For configMap, downardAPI, and secret ephemeral-storage limits are needed when the container is non-ReadOnlyRootFilesystem.
More information: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#local-ephemeral-storage
Resources
Minimum requirements
The Helm chart by default uses the following resources:
- 2560Mi memory for application server.
- 1024Mi memory for each agent or integration server and health monitor.
- 1 CPU core for application server.
- 0.5 CPU core for each agent or integration server and health monitor.
Recommended requirements
To achieve an approximate throughput of:
- 350 thousand order lines per hour with corresponding inventory calls
- 3 million inventory item updates or lookups per hour
- 200 concurrent call center users
- 1000 concurrent store users
use the following resources:
-
Master node (total resources spread across 3 Power9 machines):
- 4 CPU cores
- 24 GB memory
-
Worker nodes (3 worker nodes on 3 separate Power9 machines):
- 16 CPU cores each
- 32 GB memory each
Installing the Helm chart
You can install the Helm chart on a new or preloaded database by appropriately configuring the parameters of values.yaml.
Installing the Helm chart on a new database
To install the Helm chart on a new database that does not contain tables and factory data, configure the following parameters.
-
Set the value of
datasetup.loadFactoryDatatoinstallanddatasetup.modetocreate. -
Set the value of
datasetup.fixPack.loadFPFactoryDatatoinstallanddatasetup.fixPack.installedFPNoto0.The application takes appropriate action based on the configured values.
Note: Do not specify any agent or integration server in omserver.servers.name. When you are installing Helm
chart on a new database, deploy the application server and configure both agent and integration servers. For more
information about deploying the agent and integration servers, see Configuring agent and integration server.
Installing the Helm chart on a preloaded database
To install the Helm chart on a database that contains tables and factory data, configure the following parameters:
-
Set the value of
datasetup.loadFactoryDatatodonotinstallor blank. -
If you want to apply the fix pack factory setup, set the value of
datasetup.fixPack.loadFPFactoryDatatoinstallanddatasetup.fixPack.installedFPNoto the most recently installed fix pack number.
Configuration parameters in values.yaml
The following table describes the configurable parameters that are applicable for the Helm chart.
| Parameter | Description | Default |
|---|---|---|
global.license | Set the value to True to accept the application license. | |
global.licenseStoreCallCenter | Set the value to True to accept the Sterling Store and Commerce Call C |
Deploy ibm-oms-pro-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-oms-pro-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-oms-pro-prod is pinned at v6.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