### Example WebLogic Start Command Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=overview-setting-up-weblogic-script-file An example of a complete WebLogic start command incorporating various configured properties, including Java options, vendor settings, and file encoding. ```Shell ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy= ${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} -Dfile.encoding=UTF-8 -Dvendor=shell -DvendorFile=/servers.properties ${PROXY_SETTINGS} ${SERVER_CLASS} ``` -------------------------------- ### Run Order Hub Setup Script Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=hub-setting-up-order Executes the Order Hub setup script. By default, it installs both the Order Hub UI and Storybook. Specific arguments can be used to install only the UI or only Storybook. ```bash ./orderhub-setup.sh ``` ```bash ./orderhub-setup.sh orderhub ``` ```bash ./orderhub-setup.sh storybook ``` -------------------------------- ### Install Reference Implementation Components (Windows) Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=implementation-install-all-reference-components-windows This command installs all components of the Reference Implementation on Windows. It requires navigating to the `/bin` directory and executing the `sci_ant.cmd` script with specific parameters. The example demonstrates loading configuration data, demo data, and the activator, while also specifying a log file. ```batch .\sci_ant.cmd -f ycd_load_oms_ref_impl.xml -Drunmasterdata=Y -logfile logfile.txt ``` -------------------------------- ### Run Setup Files Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=environment-enabling-oracle-database-developer-toolkit This command executes the `setupfiles.sh` script from the `/bin` directory. This script is typically used to prepare the environment or apply initial configurations before further deployment steps. ```bash ./setupfiles.sh ``` -------------------------------- ### Example of Profile ID in response.xml Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=installation-running-multiple-silent-installations-same-machine This snippet demonstrates how to define unique profile IDs within the `response.xml` file for multiple silent installations. Ensure both instances of the profile ID are updated for each variation. ```xml ``` -------------------------------- ### Run Setup Files Script (Windows/Linux/UNIX) Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=100-moving-release-preparation-tasks Executes the setupfiles script to prepare the environment for upgrade. This script has different commands for Windows and Linux/UNIX operating systems. ```batch \bin\setupfiles.cmd ``` ```bash /bin/setupfiles.sh ``` -------------------------------- ### Example: Install IBM OMS Gateway Operator Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=environment-installing-operator-online-without-operator-lifecycle-manager This example shows how to install the IBM OMS Gateway Operator ('oms-gateway') with a specific case version ('3.0.25'). ```bash op_util_linux_amd64 install oms-gateway --case-version 3.0.25 ``` -------------------------------- ### Example: Install IBM Sterling Intelligent Promising Operator Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=environment-installing-operator-online-without-operator-lifecycle-manager This example demonstrates installing the IBM Sterling Intelligent Promising Operator ('sip') with a specific case version ('3.0.25'). ```bash op_util_linux_amd64 install sip --case-version 3.0.25 ``` -------------------------------- ### Run Setup Files Script Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=codw-enabling-failover-in-multiple-node-oracle-rac-database-cluster-in-windows This command executes the `setupfiles.sh` script located in the `/bin` directory. This script is part of the order management system's installation and configuration process. ```bash sh setupfiles.sh ``` -------------------------------- ### Example: Install OMS Operator with specific version and edition Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=environment-installing-operator-online-without-operator-lifecycle-manager This example demonstrates how to install the IBM Sterling Order Management System Operator ('oms') with a specific case version ('3.0.25') and edition ('pro'). ```bash op_util_linux_amd64 install oms --case-version 3.0.25 --edition pro ``` -------------------------------- ### Set up Developer Toolkit Environment (Shell) Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=environment-setting-up-containerized-developer-toolkit This command initiates the setup of the developer toolkit environment. It can optionally take a full path to a customization package. This command also performs a wipe-clean of existing Docker data. ```shell ./om-compose.sh setup optional: full_path_to_customization_package ``` -------------------------------- ### Example: Generate Field/Summary Component with Parameters Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=hub-creating-components-angular-schematics An example command demonstrating the usage of the summary-component schematic with various parameters. This includes specifying the component name, path, JSON file path, whether it's a summary panel, the project name, and skipping import generation. ```bash ng g @buc/schematics:summary-component --name my-sample --path packages/order-search/src-custom/app/features/search --json-file-path packages/order-shared/assets/buc-app-order --is-summary-panel true --project order-search --skip-import ``` -------------------------------- ### Run Sterling Call Center Setup Script Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=center-setting-up-sterling-call Executes the Sterling Call Center setup script. By default, it installs both the UI and Storybook. Options are available to install only the UI ('callcenter') or only Storybook ('storybook'). ```bash ./call-center-setup.sh ``` ```bash ./call-center-setup.sh callcenter ``` ```bash ./call-center-setup.sh storybook ``` -------------------------------- ### Sample server.xml with Okta OpenID Connect Configuration Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=integration-configuring-okta-liberty This is a sample server.xml file demonstrating a complete configuration for Okta OpenID Connect integration. It includes feature enablement, HTTP settings, SSL configuration, and the OpenID Connect client setup. Note that sensitive information like keystore locations and passwords are placeholders. ```xml adminCenter-1.0 jdbc-4.1 jndi-1.0 jsp-2.3 servlet-3.1 ssl-1.0 appSecurity-2.0 openidConnectClient-1.0 ``` -------------------------------- ### Example: Install OMS Operator with custom registry Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=environment-installing-operator-online-without-operator-lifecycle-manager This example shows how to install the IBM Sterling Order Management System Operator ('oms') using a custom registry. It specifies the case version, edition, and details for mirroring images from a private registry. ```bash op_util_linux_amd64 install oms \ --case-version 3.0.25 \ --edition pro \ --registry my.registry.com \ --repository oms \ --registry-user omsuser \ --registry-pass omspass ``` -------------------------------- ### Example: Install JAR to agent dynamic classpath Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=utilities-installing-third-party-jar-files This example demonstrates how to install a specific JAR file (`wlclient.jar`) to the dynamic classpath of the agent using the `install3rdParty.sh` script. It specifies the vendor, version, file type (`-j` for JAR), the JAR file path, and the target JVM (`AGENT`). ```shell /bin/install3rdParty.sh weblogic 12.1.2 -j /wlserver_12.1.2/server/lib/wlclient.jar -targetJVM AGENT ``` -------------------------------- ### Copy Setup Properties File Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=hub-setting-up-order Creates a copy of the sample properties file to be used for configuration. This file will be modified to suit the specific environment. ```bash cp oh-setup.properties.sample oh-setup.properties ``` -------------------------------- ### Install Podman using apt Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=support-installing-developer-toolkit-using-podman-ubuntu Installs Podman on Ubuntu 22.04 by adding the unstable repository, updating package lists, and installing the podman package. It also starts the podman socket service. ```bash curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null sudo apt update sudo apt install podman systemctl start podman.socket ``` -------------------------------- ### Example ivtsetup.scp File Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=mq-configuring-access-by-webspheres-jndi-namespace An example of an `ivtsetup.scp` file demonstrating the creation of a QueueConnectionFactory named 'ivtQCF' and a queue named 'getATP' for Queue Manager 'SYSTEM.TEST' using client transport. ```text def qcf(ivtQCF) qmgr(SYSTEM.TEST) transport(CLIENT) host(127.0.0.1) CHANNEL(SYSTEM.DEF.SVRCONN) port (1414) def q(getATP) qu(getATP) QMGR(SYSTEM.TEST) end ``` -------------------------------- ### Get Installed Operator Version using oc Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=environment-installing-operator-online-operator-lifecycle-manager This command uses `jsonpath` to extract the installed CSV (Cluster Service Version) name from the subscription status, indicating the version of the installed Operator. Replace `` and `` with your specific values. ```bash oc get sub -o jsonpath=“{.status.installedCSV}” -n ``` -------------------------------- ### Run Setup Upgrade Script Source: https://www.ibm.com/docs/en/order-management-sw/10.0.0/index_topic=environment-enabling-oracle-database-developer-toolkit This command executes the setup upgrade script from the 'compose' folder. This script is likely responsible for applying necessary configurations and updates to the system based on the changes made, including the Oracle database integration. ```bash om-compose.sh setup-upg ```