Lab 2

Install travel discount rules on OpenShift Container Platform

Lab Goal

Install JBoss EAP, JBoss BRMS and travel discount rules project in container deployment.

ARCHITECTURE

Deploy travel discount rules on OpenShift Container Platform

INSTALL JBOSS BRMS

  • Download rhcs-destinasia-rules-demo and unzip
    • $ unzip rhcs-destinasia-rules-demo-master.zip

    • $ cd rhcs-destinasia-rules-demo-master

  • Download JBoss EAP and place in installs directory:
    • $ copy [path-to-download]/jboss-eap-7.0.0-installer.jar installs/jboss-eap-7.0.0-installer.jar

  • Download JBoss BRMS and place in installs directory:
    • $ copy [path-to-download]/jboss-brms-6.4.0.GA-deployable-eap7.x.zip installs/jboss-brms-6.4.0.GA-deployable-eap7.x.zip

INSTALL JBOSS BRMS

  • Run init.sh, init.bat or init-win10.bat (Windows admin privileges) with IP of target OpenShift Container Platform:

    • $ ./init{-win10}.{sh|bat} 192.168.99.100


  • The IP used here is address OpenShift Container Platform

PROJECT SETUP

Checks first, then setup...

VIEW PROJECTS

Log in to view Agile Cloud Integration...

UPLOAD PROJECT

Takes some time...

VIEW BUILD

Click on Monitoring, open destinasia-rules-demo build...

BUILD CONTAINER

Console shows same build log as in OCP console...

DEPLOYS CONTAINER

After build & deployment, note log in URL ...

VIEW DEPLOYMENTS

LOG IN TO JBOSS BRMS

Your IP address may differ, see console output

http://destinasia-rules-demo-appdev-in-cloud.192.168.99.100.nip.io/business-central

  • user: erics

  • password: jbossbrms1!

If unable to open URL, add this to your hosts file:

$ sudo vi /etc/hosts

# add host for OCP demo resolution
192.168.99.100 http://destinasia-rules-demo-appdev-in-cloud.192.168.99.100.nip.io

END LAB 2

QUESTIONS?

Eric D. Schabell
Portfolio Architect Director
@ericschabell
http://schabell.org

UP NEXT...

Lab 3 - Discount travel rules