Thursday, July 9, 2015

analyzing single cluster topology workload balancing

Single-cluster topology

http://www-01.ibm.com/support/knowledgecenter/SSBN76_7.0.0/com.ibm.wdpe.install.server.doc/WDPEserver/concept/single-clustertopology.html

Considerations for selecting a topology

https://www-01.ibm.com/support/knowledgecenter/SS7J6S_7.0.0/com.ibm.websphere.wesb.doc/doc/cpln_considerations_top_selection.html

Improving the performance of BPEL process navigation
http://www-01.ibm.com/support/knowledgecenter/SS7NQD_8.0.1/com.ibm.wbpm.bpc.doc/topics/t5tuneint_processnavigation.html

WebSphere Process Server operational architecture: Part 1: Base architecture and infrastructure components

http://www.ibm.com/developerworks/websphere/library/techarticles/0809_faulhaber/0809_faulhaber.html





Messaging Engine data store connection is lost


Configuring messaging engine and server behavior when a data store connection is lost

 https://www-01.ibm.com/support/knowledgecenter/SSAW57_7.0.0/com.ibm.websphere.nd.doc/info/ae/ae/tjm_dsconnloss.html


Messaging engine troubleshooting tips


https://www-01.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.nd.doc/ae/rjk_prob0.html

CWSIS1538I, CWSIS1546I: Messaging engine failover operation fails due to lost database locks

http://www-01.ibm.com/support/docview.wss?uid=swg21434092


Saturday, July 4, 2015

Setting up Derby database for BPC explorer


Step 1:
Go to WAS_INSTALL_ROOT\ProcessChoreographer\config

cd D:\IBM\WID7_WTE\runtimes\bi_v7\ProcessChoreographer\config

The below command can be run for standalone profile in case you have multiple profiles

setupEventCollector.bat -conntype none -profileName rwps

where rwps is the name of the profile .

 Optionally , you can add  parameters ([-node nodeName] [-server serverName] ) | ( -cluster clusterName) if you are using  multiple nodes, multiple servers , cluster.

In a network deployment environment, you must start the tool on the deployment manager node, using the -profileName option to specify the deployment manager profile.

Please refer to the below link


While specifying the name of database, you can also give an existing database name.
Even if you give create database as yes in this case, it will identify that database exists already and will create the required schemas only.

D:\IBM\WID7_WTE\runtimes\bi_v7\ProcessChoreographer\config>setupEventCollector.bat -conntype none -profileName rwps

WASX7357I: By request, this scripting client is not connected to any server pro

ess. Certain configuration and application operations will be available in loca

 mode.

-------------------------------------------------------------------------------

 

 

 Welcome to the WebSphere Business Process Choreographer Event Collector setup!

 

 

-------------------------------------------------------------------------------

 

Logfile is 'D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rwps\logs\setupEventCollect

r.log'.

Initializing ...

 

 

Commands Menu

 

  1) Prepare a database for the Event Collector and reporting function

  2) Install the Event Collector application

  3) Remove the Event Collector application and related objects

  4) Change configuration settings of an installed Event Collector

  5) Drop the database schema of the Event Collector and reporting function

  6) Administer reporting function related user-defined functions

 

  0) Exit Menu

 

Your selection:  1

==> Prepare a database for the Event Collector and reporting function

 

Select the type of your database provider:

 

  c) Derby

  d) DB2 Universal

  i) DB2 iSeries

  8) DB2 V8 on z/OS

  9) DB2 V9 on z/OS

  o) Oracle

 

  0) Exit Menu

 

Your selection: [c]

==> Derby

 

Do you want to create an SQL file only (delay database preparation)?

  y) yes

  n) no

Your selection: [n]

==> no

 

Specify the JDBC driver type to be used:

 

  1) Connect using the embedded or embedded 40 JDBC driver

  2) Connect using the network or network 40 JDBC driver

 

Your selection: [1]

==> Connect using the embedded or embedded 40 JDBC driver

 

Specify the database to be used.

Note: For Derby provide the fully qualified path, like '/WPS/databases/OBSVRDB'

 

 

Specify the name of your database:  [D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rw

s\databases\BPEDB]

==> D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rwps\databases\BPEDB

ERROR: The specified path D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rwps\database

\BPEDB does not exist or is inaccessible.

Do you want to create the database D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rwps

databases\BPEDB?

  y) yes

  n) no

  c) cancel

Your selection: [y]

==> yes

 

Specify the directory of your JDBC driver:  [D:\IBM\WID7_WTE\runtimes\bi_v7\der

y\lib]

==> D:\IBM\WID7_WTE\runtimes\bi_v7\derby\lib

 

Trying to connect to database 'D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rwps\dat

bases\BPEDB;create=true' ...

Connected to 'D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rwps\databases\BPEDB;crea

e=true'.

 

Specify the database schema to be used:  [APP]

==> APP

 

Processing the SQL file ...

 

BUILD SUCCESSFUL

Total time: 13 seconds

The setup of the database completed successfully.

SQL statements were written to 'D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rwps\db

cripts\ProcessChoreographer\Derby\BPEDB\APP\createSchema_Observer.sql'.

Database logfile is written to 'D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\rwps\lo

s\Derby_BPEDB_APP.log'.

Note: To allow the Event Collector to work with this database, you must also se

up a datasource within the Administrative Console.

 

Commands Menu

 

  1) Prepare a database for the Event Collector and reporting function

  2) Install the Event Collector application

  3) Remove the Event Collector application and related objects

  4) Change configuration settings of an installed Event Collector

  5) Drop the database schema of the Event Collector and reporting function

  6) Administer reporting function related user-defined functions

 

  0) Exit Menu

 

Your selection:

 

 

 
Step 2:
Create the DataSource in WebSphere with authentication alias as none and map it to BPC explorer application.

Thursday, July 2, 2015

fix mq connection error 2035 from websphere application server

Error description is as below

JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'XYZ' with connection mode 'Client' and host name 'x.x.x.x(1415)'.
Please check if the supplied username and password are correct on the QueueManager to which you are connecting.
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED').


To check authentication and authorization permissions for connecting to QMGR with a client user id

dspmqaut -m "QMGR NAME" -t qmgr -p "CLIENT USER ID"



To modify authentication and authorization permissions for connecting to QMGR with a client user id

setmqaut -m "QMGR NAME" -t qmgr -p "CLIENT USER ID" +all


runmqsc 
"QMGR NAME" 
REFRESH SECURITY(*)


To check authentication and authorization permissions for a particular channel connection to specified QMGR

dspmqaut -m "QMGR NAME" -n "Channel Name" -t channel -p "CLIENT USER ID"

 To modify authentication and authorization permissions for a particular channel connection to specified QMGR

setmqaut -m "QMGR NAME" -n "Channel Name" -t channel -p "CLIENT USER ID" +all


dspmquat Usage:

dspmqaut [-m QMgrName] [-n ObjName] -t ObjType
                (-p Principal | -g Group) [-s ServiceComponent]

 -g   User group name.
 -m   Queue manager name.
 -n   Profile name, either an object name or a generic profile name.
 -t   Object type:
        authinfo, channel, clntconn, comminfo, listener,
        namelist, process, queue, qmgr, rqmname, service,
        topic.
 -p   Principal name.
 -s   Name of the authorization service.

Make sure that client ID in WebSphere Application Server is correctly set and matches to the MCAUSER defined for the channel .
Otherwise , modify the value in WebSphere Console by following the below path

Resources , JMS, Queue Connection Factory, QCF Name, Client ID

Below is the command to modify MCAUSER for MQ Channel SYSTEM.DEF.SVRCONN in a particular Queue Manager

runmqsc
ALTER CHANNEL('SYSTEM.DEF.SVRCONN') CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER('MUSR_MQADMIN')  MAXMSGL(104857600)