ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ File Transfer Edition » setup file transfer in Linux

Post new topic  Reply to topic Goto page 1, 2  Next
 setup file transfer in Linux « View previous topic :: View next topic » 
Author Message
mlotfi
PostPosted: Wed Feb 24, 2016 10:37 am    Post subject: setup file transfer in Linux Reply with quote

Acolyte

Joined: 07 Jul 2015
Posts: 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
View user's profile Send private message
tomleend
PostPosted: Wed Feb 24, 2016 10:49 am    Post subject: Reply with quote

Acolyte

Joined: 24 Jan 2014
Posts: 51

Take a look at the Managed File Transfer documentation in the MQ v8 Knowledge Center:

https://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.wmqfte.doc/wmqfte_intro.htm?lang=en

And the "Configuring for first use" section:

https://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.wmqfte.doc/configuring_agents_first.htm?lang=en
Back to top
View user's profile Send private message
mlotfi
PostPosted: Wed Feb 24, 2016 11:16 am    Post subject: Reply with quote

Acolyte

Joined: 07 Jul 2015
Posts: 60

Thank you for the links, I have already saw them, I am looking for some easy steps like a tutorial.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 24, 2016 11:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
mlotfi
PostPosted: Wed Feb 24, 2016 12:19 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Jul 2015
Posts: 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
View user's profile Send private message
mlotfi
PostPosted: Wed Feb 24, 2016 12:35 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Jul 2015
Posts: 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
View user's profile Send private message
tomleend
PostPosted: Wed Feb 24, 2016 12:59 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Jan 2014
Posts: 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
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 24, 2016 1:21 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://www.mqseries.net/phpBB2/viewtopic.php?p=403911#403911
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
mlotfi
PostPosted: Wed Feb 24, 2016 5:45 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Jul 2015
Posts: 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
View user's profile Send private message
mlotfi
PostPosted: Thu Feb 25, 2016 5:56 am    Post subject: Reply with quote

Acolyte

Joined: 07 Jul 2015
Posts: 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
View user's profile Send private message
bruce2359
PostPosted: Thu Feb 25, 2016 6:00 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
mlotfi
PostPosted: Thu Feb 25, 2016 6:14 am    Post subject: Reply with quote

Acolyte

Joined: 07 Jul 2015
Posts: 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
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 25, 2016 6:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 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
View user's profile Send private message
mlotfi
PostPosted: Thu Feb 25, 2016 6:42 am    Post subject: Reply with quote

Acolyte

Joined: 07 Jul 2015
Posts: 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
View user's profile Send private message
tomleend
PostPosted: Thu Feb 25, 2016 7:57 am    Post subject: Reply with quote

Acolyte

Joined: 24 Jan 2014
Posts: 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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ File Transfer Edition » setup file transfer in Linux
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.