To start using Managed File Transfer 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 Managed File Transfer 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 qshell using
the following command:
CALL QSHELL
- Change to the following directory:
/QIBM/UserData/mqm/mqft/config/coordination_qmgr_name
- Issue the following command, replacing coordination_qmgr_name with the name of your queue manager:
/QSYS.LIB/QMQM.LIB/RUNMQSC.PGM coordination_qmgr_name < coordination_qmgr_name.mqsc
- 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 qshell using
the following command:
CALL QSHELL
- Change to the following directory: /QIBM/UserData/mqm/mqft/config/agent_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/QMQM.LIB/RUNMQSC.PGM agent_qmgr_name < agent_name_create.mqsc
-
If you have not already started the QMFT subsystem as part of the installation, from the
IBM i command line, start the QMFT subsystem using
the following command:
STRSBS SBSD(QMQMMFT/QMFT)
, or STRSBS
QMQMMFT/QMFT
-
Start your new agents using the fteStartAgent command.
-
From an IBM i command line, start qshell using
the following command:
CALL QSHELL
-
Change to the following directory: /QIBM/ProdData/mqm/bin
-
Issue the following command, replacing AGENT with the name of your agent:
What to do next
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 MFT agent sandboxes.