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 » WebSphere Message Broker (ACE) Support » Configurable services or properties for file nodes

Post new topic  Reply to topic
 Configurable services or properties for file nodes « View previous topic :: View next topic » 
Author Message
artykito
PostPosted: Wed Jul 07, 2010 1:00 am    Post subject: Configurable services or properties for file nodes Reply with quote

Apprentice

Joined: 24 Jun 2010
Posts: 33

Hi, I have a special requirement where I can't put directly "hard-codes" on nodes properties or connections. I must use alias or configurable services in order to set this properties, because they want all these connections changes dinamically when the flow is deployed in DEV > QUA > PRD....for example the following data: SAP connection, FTP, queues, etc...

My problem is I don't know how can I set the folder and file name properties for a FileInput / FileOutput node. I was looking for a configurable service for that, but only FtpServer template allow me to put the folder. Neither want this node configure as an FTP, because I don't have to put user, IP, etc...

Do you know how to set the folder and filename for a FileInput/FileOutput node properties what changes dinamically when the broker changes from DEV to QUA for example?

They are not going to tell us any of this data, that's because I need to simulate all the folders, connections, etc. in my local machine and when I'll deploy the flow in other machine, all references to this connections/properties changes automatically.

I was checking older threads but I can't find a final solution for this question
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 07, 2010 8:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Normally this is taken care of in the configurable properties of the bar file.
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Wed Jul 07, 2010 9:47 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Read up on Bar File Overrides.

A word of advice though.
Design the bar file overrides carefully. If you get it wrong when you move between envinoments you can easily break your flow.

That said,
Data Set Names are already aliases.
WMQ Queue Names differences can be over come by using aliases queues for Local ones. Remote Q names are already ailases.
If you are running broker on Linux or Unix you can effectively alias directory paths by using links.
for some things, passwords etc can be set by configurable services.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
artykito
PostPosted: Wed Jul 07, 2010 10:15 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Jun 2010
Posts: 33

I know these properties are configurable from the .bar file, but they don't want to change anything...that's the problem.

I don't have problems with WMQ queue names because I'm already using alias queue.

smdavies, you say I can configure the paths by links (I don't understand what is it...where and how can I configure a link?) and passwords by configurable services, but I was checking the configurable services and I couldn't find one of them where I could set the password for a FileOutput, neither in FTP template... could you clarify me how to do these things?

Thanks in advance!
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jul 07, 2010 10:46 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

If you are running on Linux or Unix, the 'ln' command will do it for you.

Regarding the FileOutput point,
Ok, I was slightly wrong in strict terminology but the principle is the same
From the Info Centre - FileOutputNode

In Security identity, specify the name of a security identity that has been defined using the mqsisetdbparms command. The user identifier and password that are to be used to log on to the FTP or SFTP server are obtained from this definition, the name of which must have the prefix ftp::. The value of this property is overridden by the value in the FtpServer configurable service property securityIdentity, if it is set.

you set the username/password with mqsisetdbparms just like you would do with a DB access control.

You do however create a configurable service for a FileOUtput node that is going to use FTP. Then instead of hard codeing the IP address/DNS Name into the node, you code the Service Name.

It is not very difficult to try a few of these things out you know.
That's how I did it...
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
artykito
PostPosted: Thu Jul 08, 2010 1:33 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jun 2010
Posts: 33

Yep I know it's not very difficult for FTP, but as I said in the first post, I don't want a FTP...just a FileOutput. So, it must take the file from a path located in the local machine where broker is.

That's the problem...I need to configure the path/folder and file name dinamically (with an alias or configurable services or sth like that). And it must change when you deploy the flow in other machine.

So, is it possible to do that without a FtpServer configurable service? just configure the path and file name...

PS: I asked you for the user/password because I need that for another interface to set the FTP properties.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Configurable services or properties for file nodes
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.