| Author | Message | 
		
		  | mlotfi | 
			  
				|  Posted: Wed Feb 24, 2016 10:37 am    Post subject: setup file transfer in Linux |   |  | 
		
		  | Acolyte
 
 
 Joined: 07 Jul 2015Posts: 60
 
 
 | 
			  
				| Hi, 
 I have created a vagrant virtual machine in my Windows 7, installed MQ8, crteated a queue manager called ACPDC1, I am able to connect to that QM from MQ Explorer in my windows.
 
 Now, how to test transferring files  ?
 
 Thanks, I am new here, learning, please your help is appreciated
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | tomleend | 
			  
				|  Posted: Wed Feb 24, 2016 10:49 am    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 24 Jan 2014Posts: 51
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mlotfi | 
			  
				|  Posted: Wed Feb 24, 2016 11:16 am    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 07 Jul 2015Posts: 60
 
 
 | 
			  
				| Thank you for the links, I have already saw them, I am looking for some easy steps like a tutorial. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Wed Feb 24, 2016 11:28 am    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| 
   
	| mlotfi wrote: |  
	| Thank you for the links, I have already saw them, I am looking for some easy steps like a tutorial. |  Look closer. The links give you a step by step tutorial. Follow them!
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mlotfi | 
			  
				|  Posted: Wed Feb 24, 2016 12:19 pm    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 07 Jul 2015Posts: 60
 
 
 | 
			  
				| 
   
	| fjb_saper wrote: |  
	| 
   
	| mlotfi wrote: |  
	| Thank you for the links, I have already saw them, I am looking for some easy steps like a tutorial. |  Look closer. The links give you a step by step tutorial. Follow them!
  |  
 Are you talking about :
 
 
  ? 
	| Code: |  
	| Related tasks:
 Configuring IBM MQ queue managers
 Configuring agent queue managers
 Configuring the coordination queue manager
 Creating an IBM MQ Managed File Transfer agent or logger command data set
 Updating an existing IBM MQ Managed File Transfer agent or logger command data set
 
 |  |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mlotfi | 
			  
				|  Posted: Wed Feb 24, 2016 12:35 pm    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 07 Jul 2015Posts: 60
 
 
 | 
			  
				| I am trying to use one single QM and two MFT agents, what are the steps for a newbie like me ? Thanks
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | tomleend | 
			  
				|  Posted: Wed Feb 24, 2016 12:59 pm    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 24 Jan 2014Posts: 51
 
 
 | 
			  
				| In a very brief nutshell you need to: 
 - Run fteSetupCoordination command specifying the appropriate options, then execute the resulting MQSC file against your queue manager
 
 - Run the fteSetupCommands command specifying the appropriate options
 
 - Run the fteCreateAgent twice to create two agents (again specifying the appropriate options) and run the MQSC file for each agent against your queue manager.
 
 You are now setup in terms of basic configuration.  Then you can start your agents using the fteStartAgent command and request a file transfer (either via the CL using the fteCreateTransfer command or via the Explorer GUI MFT plug-in).
 
 All of the commands with example usage are fully and clearly documented in the Knowledge Center.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Wed Feb 24, 2016 1:21 pm    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mlotfi | 
			  
				|  Posted: Wed Feb 24, 2016 5:45 pm    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 07 Jul 2015Posts: 60
 
 
 | 
			  
				| 
   
	| tomleend wrote: |  
	| In a very brief nutshell you need to: 
 - Run fteSetupCoordination command specifying the appropriate options, then execute the resulting MQSC file against your queue manager
 
 - Run the fteSetupCommands command specifying the appropriate options
 
 - Run the fteCreateAgent twice to create two agents (again specifying the appropriate options) and run the MQSC file for each agent against your queue manager.
 
 You are now setup in terms of basic configuration.  Then you can start your agents using the fteStartAgent command and request a file transfer (either via the CL using the fteCreateTransfer command or via the Explorer GUI MFT plug-in).
 
 All of the commands with example usage are fully and clearly documented in the Knowledge Center.
 |  
 Thanks lot, this is very helpful , I don't know why the ibm documentation is to big for me.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mlotfi | 
			  
				|  Posted: Thu Feb 25, 2016 5:56 am    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 07 Jul 2015Posts: 60
 
 
 | 
			  
				| [quote] - Run fteSetupCoordination command specifying the appropriate options, then execute the resulting MQSC file against your queue manager
 
 
   
	| Quote: |  
	| 
 my first command :
 
 
 
   
	| Code: |  
	| fteSetupCoordination -coordinationQMgr QM_COORD
 -coordinationQMgrHost localhost
 -coordinationQMgrPort 1414
 -coordinationQMgrChannel SYSTEM.DEF.SVRCONN
 
 |  
 I have thre questions :
 
 1)for the coordinationQMgrChannel, which one is better to use SYSTEM.DEF.SVRCONN or create your own ?
 
 2)Because I am new in linux and WMQ, let say I execute the above command, is there any way to delete the QM_COORD or if I do the same command with different prperties it will overwrite the it ?
 
 3)You said " execute the resulting MQSC file against your queue manage"
 did you mean against the coordination queue manager QM_COORD  ?
 Thanks.
 |  
 Last edited by mlotfi on Thu Feb 25, 2016 6:13 am; edited 1 time in total
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Thu Feb 25, 2016 6:00 am    Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 Location: US: west coast, almost. Otherwise, enroute.
 
 | 
			  
				| 
   
	| mlotfi wrote: |  
	| 1)for the coordinationQMgrChannel, which one is better to use SYSTEM.DEF.SVRCONN or create your own ?
 |  Better for what?
 _________________
 I like deadlines. I like to wave as they pass by.
 ב''ה
 Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mlotfi | 
			  
				|  Posted: Thu Feb 25, 2016 6:14 am    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 07 Jul 2015Posts: 60
 
 
 | 
			  
				| 
   
	| bruce2359 wrote: |  
	| 
   
	| mlotfi wrote: |  
	| 1)for the coordinationQMgrChannel, which one is better to use SYSTEM.DEF.SVRCONN or create your own ?
 |  Better for what?
 |  
 I meant what the difference between creating a new channel and using the system one ?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Thu Feb 25, 2016 6:22 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 | 
			  
				| From a security point of view, SYSTEM.DEF.SVRCONN should be blocked from use by anyone or any app. _________________
 chmod  -R ugo-wx /
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mlotfi | 
			  
				|  Posted: Thu Feb 25, 2016 6:42 am    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 07 Jul 2015Posts: 60
 
 
 | 
			  
				| 
   
	| mqjeff wrote: |  
	| From a security point of view, SYSTEM.DEF.SVRCONN should be blocked from use by anyone or any app. |  
 when I did :
 
 
 
   
	| Code: |  
	| fteSetupCoordination -coordinationQMgr QM_COORD
 -coordinationQMgrHost localhost
 -coordinationQMgrPort 1414
 -coordinationQMgrChannel SYSTEM.DEF.SVRCONN
 
 |  
 I did not see the new QM_COORD
 
 
 
   
	| Code: |  
	| -bash-4.1$ cd /var/mqm/qmgrs/
 -bash-4.1$ ls
 ACPDC1  @SYSTEM
 -bash-4.1$
 
 |  
 Is that because I used SYSTEM.DEF.SVRCONN ?
 
 Thanks.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | tomleend | 
			  
				|  Posted: Thu Feb 25, 2016 7:57 am    Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 24 Jan 2014Posts: 51
 
 
 | 
			  
				| The fteSetupCoordination command does not create a new queue manager. 
 You specify as an argument to it an existing queue manager that you want to use in the MFT "Coordination" role for your MFT topology.  (The terms "Agent queue manager", "Command queue manager" and "Coordination queue manager" should really be thought of a roles played by one or more existing queue managers.)
 
 In your case, you said you created one queue manager "ACPDC1" that you want to use for all the coordination, command and agent roles.  So specify that.
 
 You really need to read the docs (as already suggested) and perhaps the getting started FTE readbook:
 
 http://www.redbooks.ibm.com/redbooks/pdfs/sg247760.pdf
 
 (FTE turned into MFT when it got rolled into the MQ product at v7.5)
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |