Installing multiple connectors

To enable the integration broker to handle multiple business objects for SAP at the same time, you may want to install and configure multiple connector components for an SAP system and customize each connector to handle specific business objects.

Each connector component can subscribe to certain business objects depending on their type (such as Customer or Purchase Order). Because you can have multiple connectors accessing the same SAP application, each connector can process events and pass them on to the integration broker. In addition, multiple connectors can support multiple business object requests at the same time. This increases throughput and speeds up the transfer of data into and out of the SAP application.

It is recommended that you choose a unique naming convention for each connector component. For example, if you are using two connectors you could name them SAP1Connector and SAP2Connector.

To install and set up multiple connector components, do the following:

  1. Install each of the connectors as described in this chapter. This includes the connector shared library files. Give a unique name to each connector you install, and verify that you have the supporting connector files.

    If you are installing multiple connectors on the same machine, you need only make a copy of the shared library files and rename them. You do not need to install the transports again.

  2. Create a copy of the startup script:
  3. Make a copy of the connector definition file (CN_ConnectorName), rename it to match the new connector name, and then copy it to the repository directory (if IBM WebSphere MQ Integrator is the integration broker), or load it into the IBM WebSphere repository (if the IBM WebSphere InterChange Server is the integration broker).
  4. Make a copy of the connector class file, CWSAP.jarand rename it to the unique connector name, such as CWSAP1.jar.
  5. Initialize the connector configuration properties so that all connectors poll the same SAP application for events.
  6. Only if the the IBM WebSphere InterChange Server is the integration broker, add map references for each connector.
  7. Specify the business objects supported by each connector.
  8. Only if WebSphere InterChange Server is the integration broker, assign collaborations to the appropriate connectors. Currently, a collaboration can be handled by only one connector. If collaborations are already set up, you may need to stop them and then rebind the ports.
  9. If you are using the ABAP Extension Module for business object handing, set up the distribution of events to each connector that you install. Use IBM CrossWorlds Station (transaction /n/CWLD/HOME). See Setting up event distribution for instructions on setting up event distribution for each combination of business object, integration broker, and connector.
Important:
If a business object is not configured to go to a particular connector, the business object is sent to the next connector that polls for events. If a business object is configured to go to a particular connector, as for example during the testing phase, but the connector is not used in the production phase, the event queue for the connector fills up. To remedy this situation, delete the connector/business object configuration in the Event Distribution window (transaction /CWLD/RH).

Copyright IBM Corp. 1997, 2003