[IBM i]

Configuring MFT on IBM i

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

  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 your queue manager:
      /QSYS.LIB/QMQM.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 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 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 

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

  3. 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
  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 your 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 Working with MFT agent sandboxes.