+ All Categories
Home > Documents > Using WebSphere Message Broker Configurable Services

Using WebSphere Message Broker Configurable Services

Date post: 03-Feb-2022
Category:
Upload: others
View: 10 times
Download: 0 times
Share this document with a friend
29
IBM Software Group ® WebSphere ® Support Technical Exchange Using WebSphere Message Broker Configurable Services Michael Patton ([email protected]) WebSphere Message Broker L2 Support Team Lead 22 September 2010
Transcript
Page 1: Using WebSphere Message Broker Configurable Services

IBM Software Group

®

WebSphere® Support Technical Exchange

Using WebSphere Message Broker Configurable Services

Michael Patton ([email protected])WebSphere Message Broker L2 Support Team Lead22 September 2010

Page 2: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 2 of 29

Agenda

What is a Configurable ServiceBasic SecurityExamples

Page 3: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 3 of 29

What is a Configurable Service?

Page 4: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 4 of 29

What is a Configurable Service

Page 5: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 5 of 29

What is a Configurable Service Pros

Straightforward to configure

Visible in Admin tooling Cons

Require additional initial effort

Broker specific

Page 6: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 6 of 29

What is a Configurable Service mqsicreateconfigurableservice mqsideleteconfigurableservice mqsireportproperties mqsichangeproperties

-c to identify the configurable service type. -o to identify the name of the configurable service object. -n to identify the properties of the service. -v to identify the values of the properties specified.

mqsireportproperties brokerName -c AllTypes -o AllReportableEntityNames -r

Page 7: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 7 of 29

Basic Security Security ID

SSHIdentity File and passphrase

Page 8: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 8 of 29

Setting a security file - mqsisetdbparms Use the mqsisetdbparms command to associate a specific user ID

and password (or SSH identity file) with one or more resources that are accessed by the broker

-n resource name (below) -u userid -p password dsn:: - omit this prefix when using

cics:: - CICS Connection

jdbc:: - Java™ Database Connection

jms:: - Java Messaging Service

jndi:: - Java Naming and Directory Interface

ldap:: - Lightweight Directory and Access Protocol

eis:: - external adapters, ie., SAP

ftp:: - File Transfer Protocol

sftp:: - Secure File Transfer Protocol

sfm:: - Service Federation Management

Page 9: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 9 of 29

Setting a security profile – ftp example mqsisetdbparms v70broker -n ftp::ftpSecId -u

username -p password mqsisetdbparms v70broker -n sftp::sftpSecId -u

username -p password mqsisetdbparms v70broker -n sftp::sftpSecId -u

username -r SSHIdentityFile -r passphrase

SSHIdentityFile : Many UNIX® systems now provide an SSH implementation as part of their default distribution

Page 10: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 10 of 29

Aggregation Configurable Service Node Property

Timeout Admin Property

queuePrefix

Five Queues for Aggregation•SYSTEM.BROKER.AGGR.QueuePrefix.CONTROL •SYSTEM.BROKER.AGGR.QueuePrefix.REPLY •SYSTEM.BROKER.AGGR.QueuePrefix.REQUEST •SYSTEM.BROKER.AGGR.QueuePrefix.UNKNOWN •SYSTEM.BROKER.AGGR.QueuePrefix.TIMEOUT

mqsicreateconfigurableservice v70broker –c Aggregation –o myAggCfgSvc–n queuePrefix,timeoutSeconds –v myPrefixname,60

Class -c Aggregation

Page 11: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 11 of 29

Collection Configurable Service

Node PropertycollectionExpirySeconds

Admin PropertyqueuePrefix

• SYSTEM.BROKER.EDA.QueuePrefix.EVENTS

• SYSTEM.BROKER.EDA.QueuePrefix.COLLECTIONS

Class -c Collector

Page 12: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 12 of 29

EIS Configurable Service

Node Property (none) Admin Property

jarsURL

nativeLibs

mqsichangeproperties v70broker –c EISProviders –o EIS_type –n jarsURL,nativeLibs –v c:\sapjco\jars,c:\sapjco\bin

Class -c EISProviders

EIS_typesPeoplesoft SiebelSAP Twineball

Page 13: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 13 of 29

SAPConnection Configurable Service

applicationServerHost assuredOnceDelivery connectionidleTimeout gatewayHost gatewayService loadBalanacing logonGroup MessageServerHost numberOfListeners retryConnectionOnStartup

Class -c SAPConnection

retryInterval retryLimit RCFTraceLevel RFCTracePath RFCTraceOn rfcProgramID SAPSystemID sharedTidStoreClientDefinitionFile sharedTidStoreQmgr systemNumber

Page 14: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 14 of 29

FTP Configurable service

Page 15: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 15 of 29

IMS Configurable Service

Node PropertyHostname

PortNumber

DataStoreName

SocketTimeoutSeconds

ExecutionTimeoutSec mqsisetdbparms

Class -c IMSConnect

mqsicreateconfigurableservice v70broker -c IMSConnect -o myIMSCfgSvc -n Hostname,PortNumber,DataStoreName -v test.ims.ibm.com,9999,IMSA

Page 16: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 16 of 29

Java Class Loader Configurable Service

Node Properties (none) Admin Properties

includedDeployedJars

sharedJarPath

-o configurable service name

Requires EG restart/reload for a changed class to be loaded.

Class -c JavaClassLoader

Page 17: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 17 of 29

JDBC Configurable Service

Similar to IMS Configurable service, you must change an existing provider for security

1. mqsisetdbparms

mqsisetdbparms broker_name -n security_identity –u userID -p password

2. mqsichangeproperties

mqsichangeproperties broker_name -c JDBCProviders -o service_name -n securityIdentity -v security_identity

Service name is the IBM® preconfigured name

Class -c JDBCProviders

Page 18: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 18 of 29

JDBC Configurable Service 2 ConnectionUrlFormat ConnectionUrlFormatAttr1 2 3 4 5 databaseName databaseType (ie DB2) databaseVersion (ie 9.1) environmentParms jarsURL portNumber securityIdentity ServerName type4DatasourceClassName type4DriverClassName maxConnectionPoolSize

Page 19: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 19 of 29

JMS Configurable Service

Similar to IMS Configurable service, you must change an existing provider for security

Supplied configurables that have been suppliedActiveMQ BEA_WeblogicFioranoMQ Generic_FileGeneric_LDAP JBossJOnAS JoramOpenJMS Oracle_OEMSSeeBeyond SonicMQ SwiftMQ Tibco_EMSWebSphere_MQ WebSphere_WAS_Client

Class -c JMSProviders

Page 20: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 20 of 29

JMS Configurable Service 2 initialContextFactory jarsURL jndiBindingsLocation jndiEnvironmentParms nativeLibs proprietaryAPIHandler proprietaryAPIAttr1 2 3 4 5

Use mqsichangeproperties to alter a preconfigured servicemqsichangeproperties v70broker -c JMSProviders -o

Websphere_MQ –n initialContextFactory –v com.sun.jndi.fscontext.RefFSContextFactory

Page 21: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 21 of 29

Monitoring Configurable Service

Node Properties (none) Admin Properties (profileProperties)

1.Create a monitoring profile XML file2.Create a configurable service for the monitoring profile

mqsicreateconfigurableservice v70broker -c MonitoringProfiles -o myMonitoringProfile

3.Alter the profile to pair it with the configurable servicemqsichangeproperties v70broker -c MonitoringProfiles -o

myMonitoringProfile -n profileProperties -p myMonitoringProfile.xml

Class -c MonitoringProfiles

Page 22: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 22 of 29

Security Profile Configurable Service

configurable service is indicated at the flow level in the bar file

Class -c SecurityProfiles

Properties•Authentication•authenticationConfig•Authorization•AuthorizationConfig•Mapping•mappingConfig•passwordValue•propagation

Page 23: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 23 of 29

Service Registry Configurable ServiceIBM provides a predefined DefaultWSRR service

connectionFactoryName connectionTimeout enableCacheNotification endpointAddress initialContextFactory locationJNDIBinding needCache predefinedCacheQueries refreshQueriesAfterNotification subscriptionTopic timeout

Class -c ServiceRegistries

Use mqsichangeproperties !

Page 24: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 24 of 29

SMTP Configurable ServiceUsed with the mail node serverName securityIdentity

1.mqsicreateconfigurableservice v70broker –c SMTP –o SMTP_MyAlias

2.mqsichangeproperties v70broker –c SMTP –o SMTP_MyAlias –n serverName –v smtp.mqsi.ibm.com:25

3.mqsichangeproperties MY_BROKER –c SMTP –o SMTP_MyAlias –n securityIdentity –v mySecurityIdentitymqsisetdbparms

Class -c SMTP

Page 25: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 25 of 29

Timer Configurable Service

Node Property timeoutIntervalSeconds

Admin PropertyqueuePrefix

• SYSTEM.BROKER.TIMEOUT.QueuePrefix.QUEUE

Class -c Timer

Page 26: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 26 of 29

Summary

What is a Configurable Service Basic Security Examples

A complete list configurable service properties http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/

com.ibm.etools.mft.doc/an60170_.htm

Page 27: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 27 of 29

Additional WebSphere Product Resources Learn about upcoming WebSphere Support Technical Exchange webcasts, and access

previously recorded presentations at:http://www.ibm.com/software/websphere/support/supp_tech.html

Discover the latest trends in WebSphere Technology and implementation, participate in technically-focused briefings, webcasts and podcasts at:http://www.ibm.com/developerworks/websphere/community/

Join the Global WebSphere Community: http://www.websphereusergroup.org

Access key product show-me demos and tutorials by visiting IBM Education Assistant:http://www.ibm.com/software/info/education/assistant

View a webcast replay with step-by-step instructions for using the Service Request (SR) tool for submitting problems electronically:http://www.ibm.com/software/websphere/support/d2w.html

Sign up to receive weekly technical My Notifications emails:http://www.ibm.com/software/support/einfo.html

Page 28: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 28 of 29

We Want to Hear From You!

Tell us about what you want to learn

Suggestions for future topicsImprovements and comments about our webcasts

We want to hear everything you have to say!

Please send your suggestions and comments to: [email protected]

Page 29: Using WebSphere Message Broker Configurable Services

IBM Software Group

WebSphere® Support Technical Exchange 29 of 29

Questions and Answers


Recommended