You can set your system up to create and run multiple instances of a connector by following the steps below. You must:
You must create a connector directory for each connector instance. This connector directory is named according to your platform.
The new directory must be named ProductDir\connectors\connectorInstance, where connectorInstance uniquely identifies the connector instance.
If the connector has any connector-specific meta-objects, you must create a meta-object for the connector instance. If you save the meta-object as a file, create the ProductDir\repository\connectorInstance directory to store that file.
You can specify the InterChange Server Express server name as a parameter of the start_WebSphereMQ.bat file. For example:
start_WebSphereMQ.bat connName WebSphereICSName
The new directory must be named /QIBM/UserData/WBIServer43/WebSphereICSName/connectors/connectorInstance, where WebSphereICSName is the name of the InterChange Server Express instance and connectorInstance uniquely identifies the connector instance.
If the connector has any connector-specific meta-objects, you must create a meta-object for the connector instance. If you save the meta-object as a file, create the /QIBM/UserData/WBIServer43/WebSphereICSName/repository/connectorInstance
You can specify the InterChange Server Express server name as a parameter of the start_WebSphereMQ.sh file. For example:
start_WebSphereMQ.sh connName WebSphereICSName [-cConfigFile]
The new directory must be named ProductDir/connectors/connectorInstance, where connectorInstance uniquely identifies the connector instance.
If the connector has any connector-specific meta-objects, you must create a meta-object for the connector instance. If you save the meta-object as a file, create the ProductDir/repository/connectorInstance directory to store that file.
You can specify the InterChange Server Express server name as a parameter of the connector_manager command, as follows:
connector_manager -start connName WebSphereICSName [-cConfigFile]
If the business object definitions for each connector instance do not already exist within the project, you must create them.
ProductDir\repository\initialConnectorInstance
Any additional files you create must be in the appropriate connectorInstance subdirectory of ProductDir\repository.
QIBM/UserData/WBIServer43/WebSphereICSName/repository /initialConnectorInstance
Any additional files you create must be in the appropriate connectorInstance subdirectory of QIBM/UserData/WBIServer43/WebSphereICSName/repository/.
ProductDir/repository/initialConnectorInstance
Any additional files you create must be in the appropriate connectorInstance subdirectory of ProductDir/repository.
You create a configuration file (connector definition) for the connector instance in Connector Configurator Express. To do so:
To create a startup script:
dirname
CONJAR=${CONDIR}/CWWebSphereMQ.jar
CRTDUPOBJ OBJ(QWBIWEBMQC) FROMLIB(QWBISVR43) OBJTYPE(*JOBD) TOLIB(QWBISVR43) NEWOBJ(newConName)
where newConName is a ten-character name that you use for the job description for the new WebSphere MQ connector.
You can now run both instances of the connector on your integration server at the same time.