Use the iibcreateswitchcfg command to create the configuration files that are used to configure the Switch server and connectivity agent for callable flows.
The iibswitch command requires a configuration file to create the Switch server. If you are splitting flow processing between IBM Integration Bus and IBM Integration Bus on Cloud, you download the agent configuration from the cloud. If your callable flows are in different integration servers, you must first create the configuration files by running the iibcreateswitchcfg command. This command generates configuration files for the Switch server and for the connectivity agents that enable secure connectivity to the Switch server. You use the mqsichangeproperties command to configure the connectivity agents for each integration server.
>>-iibcreateswitchcfg--+-------------------------+--------------> '-/output--/host--/fsport-' >--+--------------------------------------+---------------------> '-/bsport--/adminport--/dname--/keyalg-' >--+-----------------------------------------+----------------->< '-/keysize--/sigalg--/validity--/password-'
>>-iibcreateswitchcfg--+----------------------------+-----------> '- -output-- -host-- -fsport-' >--+------------------------------------------+-----------------> '- -bsport-- -adminport-- -dname-- -keyalg-' >--+---------------------------------------------+------------->< '- -keysize-- -sigalg-- -validity-- -password-'
Create the configuration files for the connection agent and save them in the temp directory.
iibcreateswitchcfg /output c:\temp
iibcreateswitchcfg -output /temp
Generated self signed certificate file 'c:\temp\adminClient.p12'
Generated switch configuration file 'c:\temp\switch.json'
Generated agentx configuration file 'c:\temp\agentx.json'
The adminClient.p12 file contains certificates and is reserved for future use. switch.json is the configuration file that is used by the iibswitch command to create the Switch server. agentx.json is the configuration file that is used by the mqsichangeproperties command to configure the connectivity agents to connect securely to the Switch server.