3 Cloud

This chapter describes the RIB cloud.

The following diagram describes a sample hybrid architecture in which some of the retail applications are on-premise and some other (including RIB) are in the cloud. In this architecture, the retail applications RWMS is on-premise, while RIB is on the cloud.

Figure 3-1 Retail Integration Suite - Cloud Architecture

Retail Integration Suite Cloud Architecture

In order to support cloud deployment (including a hybrid cloud), RIB is enhanced with the addition of two Web services. These are injector and publisher Web services that allow retail applications to communicate with other applications.

Configuring RIB-RWMS for Hybrid Cloud Deployment Topology

RWMS on-premise cannot communicate with RMS and other retail apps, which are all in cloud via RIB. As RIB is already supported in cloud, for enabling the integration of RWMS with all other retail applications which are in the hybrid cloud environment, RIB follows the primary/secondary approach. The secondary resides close to on-prem RWMS, while the primary is on-cloud. Communication between primary and secondary is through web service calls. The RIB-RWMS primary invokes the new web services exposed by secondary RIB-RWMS to send/receive messages to/from other applications on cloud via RIB.

For RIB-RWMS to communicate with RWMS on premise and RIB on cloud, it should be deployed in primary-secondary topology. Hybrid cloud set-up for RWMS involves a two part installation, one for each primary (cloud) and secondary components (on-premise).

Figure 3-2 RIB-RWMS Hybrid Cloud Architecture

RIB-RWMS Hybrid Cloud

Note:

The client-server architecture is only applicable to RIB and RWMS integration, where RIB is deployed on Next Gen SaaS Platform and the legacy RWMS is hosted on on-prem/PaaS.

Installation and Setup instructions for RIB-RWMS Secondary (On-Premise)

This section describes the installation and setup instructions. This includes the installation prerequisites, preparing the WebLogic server, creating a WebLogic domain, verifying installation of wls policies, extending an existing domain to add wls policies, and deploying the EAR file.

Note:

The screen captures included in the following steps are for example only. Therefore, consider the illustrations as guides only; the values shown may not always apply.
Installation Prerequisite

The rib-rwms secondary (on-premise) application requires Oracle WebLogic Server 12c (12.2.1.4.0) and must be built with Java 8 (JDK 1.8.0+ 64 bit or later), with the latest security updates.

Important:

If there is an existing WebLogic 12.x.x or 10.3.xc installation on the server, you must upgrade to WebLogic 12.2.1.4.0. All middleware components associated with WebLogic server 10.3.6 should be upgraded to 12.2.1.4.0. Back up the weblogic.policy file ($WLS_HOME/wlserver/server/lib) before upgrading your WebLogic server, because this file could be overwritten. Copy over the weblogic.policy backup file after the WebLogic upgrade is finished and the post-patching installation steps are completed. For upgrading your WebLogic server to 12.2.1.4.0, use the appropriate Upgrade Installer.
Prepare the WebLogic Server

Take the following steps to prepare the WebLogic server:

  1. Find fmw_12.2.1.4.0_infrastructure_Disk1_1of1.zip and download this file to your system.

  2. Extract the contents of this zip file to your system. Use the fmw_12.2.1.4.0_infrastructure.jar file to run the installer.

  3. Run the installer by executing the java -jar fmw_12.2.1.4.0_infrastructure.jar file. The Welcome window displays.

    Installer Step 1 Welcome Screen
  4. Click Next. The Auto Updates window displays.

    Installer Step 2 Auto Updates
  5. Select the appropriate radio button and click Next. The Installation Location window displays.

    Installer Step 3 Installation Location
  6. Click Browse to select the Oracle Home location where the Weblogic server is to be installed. Click Next. The Installation Type window displays.

    Installer Step 4 Installation Type
  7. Select Fusion Middleware Infrastructure and click Next. The installer performs the prerequisite checks and ensures all required conditions are satisfied.

    Installer Step 5 Prerequisite Checks
  8. When the prerequisite check completes successfully, click Next. The Installation Summary window displays.

    Installer Step 6 Installation Summary
  9. Click Install. The Installation Progress window displays.

    Installer Step 7 Installation Progress
  10. Click Next when the installation completes. The Installation Complete window displays.

    Installer Step 8 Installation Complete
Creating Required RCU Schema Using the Repository Creation Utility

To create a schema user for the domain, take the following steps:

  1. Run the RCU from the <MW_HOME>/oracle_common/bin folder. The Welcome window displays.

    Repository Creation Utility Step 1 Welcome Screen
  2. Click Next and select the Create Repository option.

    Repository Creation Utility Step 2 Create Repository
  3. Click Next. Enter the database credentials where the schema user has to be created.

    Repository Creation Utility Step 3 Database Connection Details
  4. Click Next. Specify the prefix to be used for the schema user creation. For example, INT. Select Metadata Services, Weblogic Services, and Oracle Platform Security Services.

    Repository Creation Utility Step 4 Select Components
  5. Click Next. Specify the password.

    Repository Creation Utility Step 5 Scheme Passwords
  6. Click Next. The window provides the details of tablespaces created as part of schema creation.

    Repository Creation Utility Step 6 Map Tablespaces
  7. Click Next. The Confirmation window displays.

    Repository Creation Utility Map Tablespaces Confirmation Prompt
  8. Click OK. The Summary window displays.

    Repository Creation Utility Step 7 Summary
  9. Click Create and proceed to create the schema. This could take a while to complete. The Completion Summary window displays.

    Repository Creation Utility Step 8 Completion Summary
Creating a WebLogic Domain with wls Policy

To create a new WebLogic domain with wls policy, take the following steps:

  1. Run config.sh from the <ORACLE_HOME>/oracle_common/common/bin folder. The Configuration Type window displays.

    Configuration Wizard Step 1 Create Domain
  2. Select Create a new domain, provide Domain Location, and click Next. The Templates window displays. By default, the Basic WebLogic Server Domain [wlserver] checkbox is selected. Select the Oracle JRF [oracle_common], Oracle Enterprise Manager [em], Oracle WSM Policy Manager [oracle_common], and Weblogic Advanced WebServices for JAX-WS Extension [oracle_common] check boxes.

    Configuration Wizard Step 2 Templates
  3. Click Next. The Application location window displays; provide the application location.

  4. Click Next. The Administrator Account window displays. Enter the user credentials you want to use to log in to the WebLogic Administration Console.

    Configuration Wizard Step 4 Administrator Account
  5. Click Next. The Domain Mode and JDK window displays. Set the Domain Mode as Production and select the JDK version (JDK 1.8 with the latest security updates) you want to use.

    Configuration Wizard Step 5 Domain Mode and JDK
  6. Click Next. The Database Configuration Type window displays.

    1. Select the RCU Data radio button.

    2. Select Oracle as the Vendor.

    3. Select Oracle's Driver (Thin) for Service connections; Version 9.0.1 and later as the Driver.

    4. Enter the Service, Host Name, Port, Schema Owner, and Schema Password for the *_STB schema created using RCU.

    5. Click Get RCU Configuration.

    The Connection Result Log displays the connection status.

    Configuration Wizard Step 6 Database Configuration Type
  7. Click Next. The JDBC Component Schema window displays.

    Configuration Wizard Step 7 JDBC Component Schema
  8. Click Next. The JDBC Component Schema Test window displays the status on whether the JDBC tests on the schemas were successful.

    Configuration Wizard Step 8 JDBC Component Schema Test
  9. Click Next. The Advanced Configuration window displays. Select all the checkboxes, except the Domain Frontend Host Capture and JMS File Store options, in this window.

    Configuration Wizard Step 9 Advanced Configuration
  10. Click Next. The Administration Server window displays. Enter the Listen Address and the Listen Port details.

    Configuration Wizard Step 10 Administration Server
  11. Click Next. The Node Manager window displays. Select the Node Manager Type and enter the Node Manager credentials.

    Configuration Wizard Step 11 Mode Manager
  12. Click Next. The Managed Servers window displays.

    1. Click Add to add a managed server on which you will deploy the application.

    2. Enter the Server Name, Listen Address, and Listen Port for the managed server.

    3. Set the Server Groups to JRF-MAN-SVR.

    Configuration Wizard Step 12 Managed Servers
  13. Click Next. The Clusters window displays.

    1. Click Add to add a cluster. This is an optional step in the procedure.

      Configuration Wizard Step 13 Clusters
  14. Click Next. The Server Templates window displays.

    1. Click Add to add a server template. This is an optional step in the procedure.

    Configuration Wizard Step 14 Server Templates
  15. Click Next. The Coherence Clusters window displays.

    1. Add a coherence cluster. This is an optional step in the procedure.

    Configuration Wizard Step 15 Coherence Clusters
  16. Click Next. The Machines window displays.

    1. Click Add.

    2. Enter the Name and the Node Manager Listen Address for the managed server.

    Configuration Wizard Step 16 Machines
  17. Click Next. The Assign Servers to Machines window displays. Add the Admin Server and the managed server to the computer.

    Configuration Wizard Step 17 Assign Servers to Machines
  18. Click Next. The Virtual targets window displays.

    1. Click Add to add a Virtual target. This is an optional step in the procedure.

    Configuration Wizard Step 18 Virtual Targets
  19. Click Next. The Partitions window displays.

    1. Click Add to add a Partition. This is an optional step in the procedure.

    Configuration Wizard Step 19 Partitions
  20. Click Next. The Deployments Targeting window displays. Select wsm-pm from Deployments and add it to Admin Server in Targets.

    Configuration Wizard Step 20 Deployments Targeting
  21. Click Next. The Services Targeting window displays.

    Configuration Wizard Step 21 Services Targeting
  22. Click Next. The Configuration Summary window displays. Verify that all information described in this window is accurate.

    Configuration Wizard Step 22 Configuration Summary
  23. Click Create. The Configuration Progress window displays a message when the domain is created successfully.

    Configuration Wizard Step 23 Configuration Progress
  24. Click Next. The Configuration Success window displays that describes the Domain Location and Admin Server URL once the configuration is complete. 

    Configuration Wizard Step 24 Configuration Success
  25. Click Finish to complete creating the WebLogic domain and managed servers.

Steps for ear Deployment

  1. Client connector pak contains the latest v24 rib-rwms application distribution for on-prem installation. Download and extract the RIB kernel for RMWS-secondary-app RibKernel24.0.000ForRwmsSecondary24.x.xApps_eng_ga.jar.

  2. Extract the contents of the jar file.

  3. Open rib-deployment-env-info.xml found inside ./rib-rwms-secondary-home/deployment-home/conf.

  4. Edit this file to specify your deployment environment information.

    1. Make sure the following entries are present in the <app-in-scope-for-integration> section:

      <app id="rwms" type=" slave-plsql-app" />
    2. Update the rib-jms-servers section to provide the AQ JMS server details. Because the secondary app deploys on premise, it will not have access to AQ JMS on the cloud. Use RWMS app schema detail for AQ JMS setup. For example:


      AQ JMS server details

    3. Update the RIB domain details in the weblogic-application-servers section.

    4. Skip updating the rib-func-artifact-server details. Rib-func-artifact deployment is not required for secondary (on-prem) rib-rwms.

    5. Update RIB-RWMS secondary server details. For example:


      RIB-RWMS secondary server details

    6. Make sure the datasource URL (host, port n service) entries are updated in the rib-app section of rib-rwms secondary.


      rib-rwms secondary

    Note:

    As the secondary app deploys on-premise, it will not have access to AQ JMS and Error hospital. Therefore, all the datasources must connect to the RWMS app schema.

  5. Compile: Run the rib-home/application-assembly-home/bin/rib-app-compiler.sh script with setup-security-credential from the rib-home/application-assembly-home/bin directory.

    Example:

    ./rib-app-compiler.sh -setup-security-credential
  6. Deploy: Execute the rib-home/deployment-home/bin/rib-app-deployer.sh script with the appropriate command line parameter.

    rib-app-deployer.sh -deploy-rib-app-ear rib-<app>
    rib-func-artifact deployment is not required.
  7. Verify: Once the rib-rwms secondary app is deployed, open the rib-admin-gui from a web browser using the credentials provided during compilation:

    <http or https://>host:port/rib-rwms-admin-gui
  8. Make sure the Publication and Subscription WS are available to use.

    Example:

    https://ribhost.example.com:17010/ RemotePlsqlPublisherComponentServiceBean/RemotePlsqlPublisherComponentServiceBeanService?WSDL
    https:// ribhost.example.com:17010/ PlsqlApplicationMessageInjectorServiceBean/PlsqlApplicationMessageInjectorServiceBeanService?WSDL