Wednesday, 4 November 2015

IBM Business Process Manager database troubleshooting

This via Twitter: -


IBM® Business Process Manager (BPM) typically interacts and communicates with other software products. Therefore, if you understand cross-product troubleshooting tools you can quickly understand and solve problems. This tutorial shows what you can learn from the content of the BPMDB database in IBM BPM to troubleshoot performance problems and database-related issues. This content is part of the IBM Business Process Management Journal.


Learn about some common problem scenarios to use as examples for solving performance and database issues with IBM® Business Process Manager (BPM) and the BPMDB database. Examples with IBM DB2® for Linux®, UNIX®, and Windows® demonstrate and explain the root causes of performance issues you might face in your environment. This content is part of the IBM Business Process Management Journal.

Monday, 2 November 2015

Integrate IBM MQ with your IBM Business Process Manager processes

I think I "found" this via Twitter, but it was a few days ago :-)

Learn the various approaches to send and receive messages from a business process through IBM® MQ, communicating with back-end systems. Walk through examples with sample code to see the steps that are required to integrate IBM MQ V8.x with IBM Business Process Manager (BPM) V8.5.x. Gain an understanding of fundamental approaches to use IBM MQ to exchange data with other systems from IBM BPM processes.

Friday, 30 October 2015

IBM Operational Decision Manager Rules - Problems augmenting profiles

So I've been battling with an issue today, whilst also wrestling with SSL/TLS ciphers and wrangling and munging Java class loader issues.

Essentially, I've installed IBM Operational Decision Manager (ODM) Advanced Decision Server onto my Linux VM.

I'm then creating the necessary WebSphere Application Server (WAS) profiles to build out an ODM cell.

Here's the profile creation part: -

/opt/ibm/WebSphere/AppServer/bin/manageprofiles.sh -create -templatePath /opt/ibm/WebSphere/AppServer/profileTemplates/management -profileName Dmgr01 -nodeName Dmgr -isDefault -enableAdminSecurity true -adminUserName wasadmin -adminPassword passw0rd

/opt/ibm/WebSphere/AppServer/bin/manageprofiles.sh -create -templatePath /opt/ibm/WebSphere/AppServer/profileTemplates/managed -profileName AppSrv01 -nodeName Node1


I then start the Deployment Manager: -

/opt/ibm/WebSphere/AppServer/profiles/Dmgr01/bin/startManager.sh

and add the node into the cell: -

/opt/ibm/WebSphere/AppServer/profiles/AppSrv01/bin/addNode.sh `hostname` 8879 -profileName AppSrv01 -username wasadmin -password passw0rd

Finally ( for now ) I stop the Deployment Manager: -

/opt/ibm/WebSphere/AppServer/profiles/Dmgr01/bin/stopManager.sh -username wasadmin -password passw0rd

before augmenting the DM profile: -

/opt/ibm/WebSphere/AppServer/bin/manageprofiles.sh -augment -profileName Dmgr01 -templatePath /opt/ibm/WebSphere/AppServer/profileTemplates/rules/management/ds/

This bit failed with: -

<record>
    <date>2015-10-30T04:28:58</date>
    <millis>1446222538186</millis>
    <sequence>41</sequence>
    <logger>com.ibm.wsspi.profile.WSProfileTemplate</logger>
    <level>INFO</level>
    <class>com.ibm.wsspi.profile.WSProfileTemplate</class>
    <method>parseTemplateMetadata</method>
    <thread>0</thread>
    <message>Unexpected exception caught!</message>
</record>
<record>
    <date>2015-10-30T04:28:58</date>
    <millis>1446222538186</millis>
    <sequence>42</sequence>
    <logger>com.ibm.wsspi.profile.WSProfileTemplate</logger>
    <level>SEVERE</level>
    <class>com.ibm.wsspi.profile.WSProfileTemplate</class>
    <method>parseTemplateMetadata</method>
    <thread>0</thread>
    <message>Exception caught while parsing template metadata: null</message>
</record>
<record>
    <date>2015-10-30T04:28:58</date>
    <millis>1446222538186</millis>
    <sequence>43</sequence>
    <logger>com.ibm.ws.profile.utils.PrereqTemplateUtils</logger>
    <level>INFO</level>
    <class>com.ibm.ws.profile.utils.PrereqTemplateUtils</class>
    <method>getListOfTemplatePathsForStackAugment</method>
    <thread>0</thread>
    <message>[/opt/ibm/WebSphere/AppServer/profileTemplates/rules/management/ds/] is not a valid profile template for Dmgr01.</message>
</record>


This is what I had installed: -

/opt/ibm/InstallationManager/eclipse/tools/imcl listInstalledPackages -features

com.ibm.cic.agent_1.8.2000.20150303_1526 : 
com.ibm.websphere.ND.v85_8.5.5007.20150820_2101 : com.ibm.sdk.6_64bit,ejbdeploy,embeddablecontainer,samples,thinclient
com.ibm.websphere.IHS.v85_8.5.5007.20150820_2101 : arch.64bit
com.ibm.websphere.PLG.v85_8.5.5007.20150820_2101 : com.ibm.jre.6_64bit
com.ibm.websphere.odm.ds.rules.v87_8.7.0.20141114_0949 : com.ibm.wds.rules.res.feature


/opt/ibm/InstallationManager/eclipse/tools/imcl listInstalledPackages -features -long

/opt/ibm/InstallationManager/eclipse : com.ibm.cic.agent_1.8.2000.20150303_1526 : IBM® Installation Manager : 1.8.2 : 
/opt/ibm/WebSphere/AppServer : com.ibm.websphere.ND.v85_8.5.5007.20150820_2101 : IBM WebSphere Application Server Network Deployment : 8.5.5.7 : com.ibm.sdk.6_64bit,ejbdeploy,embeddablecontainer,samples,thinclient
/opt/ibm/HTTPServer : com.ibm.websphere.IHS.v85_8.5.5007.20150820_2101 : IBM HTTP Server for WebSphere Application Server : 8.5.5.7 : arch.64bit
/opt/ibm/WebSphere/Plugins : com.ibm.websphere.PLG.v85_8.5.5007.20150820_2101 : Web Server Plug-ins for IBM WebSphere Application Server : 8.5.5.7 : com.ibm.jre.6_64bit
/opt/ibm/ODM87 : com.ibm.websphere.odm.ds.rules.v87_8.7.0.20141114_0949 : Decision Server Rules : 8.7.0.0 : com.ibm.wds.rules.res.feature

using this response file: -

...
  <profile id='Operational Decision Manager V8.7' installLocation='/opt/ibm/ODM87'>
    <data key='eclipseLocation' value='/opt/ibm/ODM87'/>
    <data key='user.import.profile' value='false'/>
    <data key='cic.selector.os' value='linux'/>
    <data key='cic.selector.arch' value='x86_64'/>
    <data key='cic.selector.ws' value='gtk'/>
    <data key='cic.selector.nl' value='en'/>
    <data key='user.lic.dsr' value='full'/>
    <data key='user.prod.dsr' value='false'/>
    <data key='user.wodm_was_home' value='/opt/ibm/WebSphere/AppServer'/>
    <data key='user.lic.dsr' value='full'/>
    <data key='user.prod.dsr' value=''/>
    <data key='user.lic.dc' value='full'/>
    <data key='user.wodm_admin_username' value='wasadmin'/>
    <data key='user.wodm_admin_password' value='passw0rd'/>
    <data key='user.confirm_password' value='passw0rd'/>
  </profile>
  <install modify='false'>
    <offering profile='Operational Decision Manager V8.7' id='com.ibm.websphere.odm.ds.rules.v87' version='8.7.0.20141114_0949' features='com.ibm.wds.jdk.feature,base,com.ibm.wds.rules.res.feature' installFixes='none'/>
  </install>

...

To the best of my knowledge / experience, that should've been all I needed ( from a pure ODM perspective ).

And yet .....

I dug back into a prior blog post: -


which is what had led me to install this particular component of ODM: -

I guessed that I might be missing the appropriate WAS template for ODM, so I then installed the Decision Server Rules profile templates for WebSphere Application Server  8.7.0.0 element: -

/opt/ibm/InstallationManager/eclipse/tools/imcl listInstalledPackages -features

com.ibm.cic.agent_1.8.2000.20150303_1526 : 
com.ibm.websphere.ND.v85_8.5.5007.20150820_2101 : com.ibm.sdk.6_64bit,ejbdeploy,embeddablecontainer,samples,thinclient
com.ibm.websphere.IHS.v85_8.5.5007.20150820_2101 : arch.64bit
com.ibm.websphere.PLG.v85_8.5.5007.20150820_2101 : com.ibm.jre.6_64bit
com.ibm.websphere.odm.ds.rules.v87_8.7.0.20141114_0949 : com.ibm.wds.rules.res.feature
com.ibm.websphere.odm.pt.rules.v87_8.7.0.20141114_1039 : 


/opt/ibm/InstallationManager/eclipse/tools/imcl listInstalledPackages -features -long

/opt/ibm/InstallationManager/eclipse : com.ibm.cic.agent_1.8.2000.20150303_1526 : IBM® Installation Manager : 1.8.2 : 
/opt/ibm/WebSphere/AppServer : com.ibm.websphere.ND.v85_8.5.5007.20150820_2101 : IBM WebSphere Application Server Network Deployment : 8.5.5.7 : com.ibm.sdk.6_64bit,ejbdeploy,embeddablecontainer,samples,thinclient
/opt/ibm/HTTPServer : com.ibm.websphere.IHS.v85_8.5.5007.20150820_2101 : IBM HTTP Server for WebSphere Application Server : 8.5.5.7 : arch.64bit
/opt/ibm/WebSphere/Plugins : com.ibm.websphere.PLG.v85_8.5.5007.20150820_2101 : Web Server Plug-ins for IBM WebSphere Application Server : 8.5.5.7 : com.ibm.jre.6_64bit
/opt/ibm/ODM87 : com.ibm.websphere.odm.ds.rules.v87_8.7.0.20141114_0949 : Decision Server Rules : 8.7.0.0 : com.ibm.wds.rules.res.feature
/opt/ibm/ODM87 : com.ibm.websphere.odm.pt.rules.v87_8.7.0.20141114_1039 : Decision Server Rules profile templates for WebSphere Application Server  : 8.7.0.0 : 


via another IIM response file: -

...
  <profile id='Operational Decision Manager V8.7' installLocation='/opt/ibm/ODM87'>
    <data key='eclipseLocation' value='/opt/ibm/ODM87'/>
    <data key='user.import.profile' value='false'/>
    <data key='cic.selector.os' value='linux'/>
    <data key='cic.selector.arch' value='x86_64'/>
    <data key='cic.selector.ws' value='gtk'/>
    <data key='cic.selector.nl' value='en'/>
    <data key='user.lic.dsr' value='full'/>
    <data key='user.prod.dsr' value='false'/>
    <data key='user.wodm_was_home' value='/opt/ibm/WebSphere/AppServer'/>
    <data key='user.lic.dc' value='full'/>
    <data key='user.wodm_admin_username' value='wasadmin'/>
    <data key='user.wodm_admin_password' value='passw0rd'/>
    <data key='user.confirm_password' value='passw0rd'/>
  </profile>
  <install modify='false'>
    <!-- Decision Server Rules profile templates for WebSphere Application Server  8.7.0.0 -->
    <offering profile='Operational Decision Manager V8.7' id='com.ibm.websphere.odm.pt.rules.v87' version='8.7.0.20141114_1039' features='main.feature' installFixes='none'/>
  </install>

...

Now we're good to go ...

/opt/ibm/WebSphere/AppServer/bin/manageprofiles.sh -augment -profileName Dmgr01 -templatePath /opt/ibm/WebSphere/AppServer/profileTemplates/rules/management/ds/

INSTCONFSUCCESS: Profile augmentation succeeded.

So that's all good then .....

I do need to work out the differences but that's a job for another day ...

IBM Business Process Manager - What Goes In What Databases ?

My client asked me this, so I thought I'd share it here.

Context

In the world of IBM BPM Advanced 8.5, with DB2, we have three (five) distinct databases.

Most typically, we have the Process Server database ( often known as the BPM Database, BPMDB ), the Shared Database ( often known as the Common Database, CMNDB ) and the Performance Database ( often known as the Performance Data Warehouse Database, PDWDB ).

Optionally, we can have two more databases; the Messaging Engine Database ( MEDB ) and the Business Process Choreographer Database ( BPCDB ).




Most of the time, I use the three DB topology pattern, which is more-or-less the default. This separation allows me to put different databases in different places, perhaps on different disks ( LUNs ), user IDs ( instances ), different servers etc.

For the record, I'm a DB2 guy by trade, so I realise that, in the world of Oracle, we have a single database ( Oracle itself ) and multiple schemas.

But the principle remains much the same ...

Thursday, 29 October 2015

New iCloud Terms and Conditions

I kept seeing this on an iPhone 5S after an update to iOS 9.1: -


New iCloud Terms and Conditions

To use iCloud on this iPhone you must accept the new Terms and Conditions.

However, each time I clicked on View Terms I merely got taken to the iCloud page in Settings, which made no difference.

I tried Turning It Off And On Again but to no avail.

I then Google'd about for a while, and found a post suggesting that I needed to go into Settings > Mail, Contacts, Calendars.

I then selected the iCloud mail account and ... saw a Terms and Conditions link.

I selected this, read the Ts & Cs, accepted them and .... we're now good to go :-)

Which is nice :-)

Tuesday, 27 October 2015

IBM Integration Bus v10 self study labs

This via Twitter: -


IBM® Integration Bus V10 betaworks labs have been published and can be found here. Each lab comprises one or more guides as PDF files, and is usually accompanied by an archive file (.zip file) that you can use to complete the lab activities. These self study labs provide the opportunity to develop your skills in IBM Integration Bus.

Please let us know if there are any areas you would like to see covered by a self study lab.

Note to self - Firefox and local connections

 Whilst trying to hit my NAS from Firefox on my Mac, I kept seeing errors such as:- Unable to connect Firefox can’t establish a connection t...