Configure MFT on IBM i

To start using Managed File Transfer after you have installed it, we must complete some configuration for the coordination queue manager and agent.


After you have installed, we must run the configuration scripts provided by Managed File Transfer for new coordination queue managers and new agents before we can use the coordination queue managers and agents to transfer files. We must then start the agents you have created.


Procedure

  1. 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.
    1. From an IBM i command line, start qshell using the following command: CALL QSHELL
    2. Change to the following directory: /QIBM/UserData/mqm/mqft/config/coordination_qmgr_name
    3. Issue the following command, replacing coordination_qmgr_name with the name of our queue manager:
      /QSYS.LIB/QMQM.LIB/RUNMQSC.PGM coordination_qmgr_name < coordination_qmgr_name.mqsc 

    We can configure the coordination queue manager manually instead. For more information, see Configure the coordination queue manager for MFT.

  2. 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.
    1. From an IBM i command line, start qshell using the following command: CALL QSHELL
    2. Change to the following directory: /QIBM/UserData/mqm/mqft/config/agent_qmgr_name/agents
    3. Issue the following command, replacing agent_qmgr_name with the name of our agent queue manager and replacing agent_name with the name of our agent:
      /QSYS.LIB/QMQM.LIB/RUNMQSC.PGM agent_qmgr_name < agent_name_create.mqsc 

    We can configure the agent queue manager manually instead. For more information, see Configure MFT Agent queue managers.

  3. If we 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
  4. Start your new agents using the fteStartAgent command.
    1. From an IBM i command line, start qshell using the following command: CALL QSHELL
    2. Change to the following directory: /QIBM/ProdData/mqm/bin
    3. Issue the following command, replacing AGENT with the name of our agent:
      ./fteStartAgent 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 Work with MFT agent sandboxes.

Parent topic: Configure Managed File Transfer


Related concepts