To start using WebSphere® MQ
File Transfer Edition after
you have installed it, you must complete some configuration for your
coordination queue manager and agent.
About this task
After you have installed, you must run the configuration
scripts provided by
WebSphere MQ
File Transfer Edition for
new coordination queue managers and new agents before you can use
the coordination queue managers and agents to transfer files. You
must then start the agents you have created.
Procedure
- For all new coordination queue managers: run the MQSC commands
in the coordination_qmgr_name.mqsc file
against the coordination queue manager. If the coordination queue
manager is not on the same computer as the installation, copy the
MQSC script file to the computer where the queue manager is located
and then run the script.
- From an IBM® i command
line, start PASE using the following command: CALL QP2TERM
- Change to the following directory: /QIBM/UserData/WMQFTE/V7/config/coordination_qmgr_name
- Issue the following command, replacing coordination_qmgr_name with
the name of your queue manager:
/QSYS.LIB/MQM.LIB/RUNMQSC.PGM coordination_qmgr_name < coordination_qmgr_name.mqsc
You can configure the coordination queue manager manually
instead. For more information, see Configuring the coordination queue manager.
- For all new agents: run the MQSC commands in the <agent_name>_create.mqsc file
against the agent queue manager. If the agent queue manager
is not on the same computer as the agent, copy the MQSC script file
to the computer where the queue manager is located and then run the
script.
- From an IBM i command
line, start PASE using the following command: CALL QP2TERM
- Change to the following directory: /QIBM/UserData/WMQFTE/V7/config/coordination_qmgr_name/agents
- Issue the following command, replacing agent_qmgr_name with
the name of your agent queue manager and replacing agent_name with
the name of your agent:
/QSYS.LIB/MQM.LIB/RUNMQSC.PGM agent_qmgr_name < agent_name_create.mqsc
You can configure the agent queue manager manually instead.
For more information, see Configuring agent queue managers.
- If you have not already started the QFTE subsystem as part
of the installation, from the IBM icommand
line, start the QFTE subsystem using the following command:STRSBS
QFTE/QFTE
- Start your new agents using the fteStartAgent command.
- From an IBM i command
line, start PASE using the following command: CALL QP2TERM
- Change to the following directory: /QIBM/ProdData/WMQFTE/V7/bin
- Issue the following command, replacing AGENT with the
name of your agent:
./fteStartAgent AGENT
What to do next
To ensure that your coordination queue
manager can communicate with other WebSphere MQ
queue managers in your network, follow the instructions at: Configuring WebSphere MQ
queue managers.
You are recommended
to set up sandboxes to limit the areas of the file system that an
agent can access. This feature is described in Working with sandboxes.