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 » IBM ACE environmental variables with get env node.

Post new topic  Reply to topic
 IBM ACE environmental variables with get env node. « View previous topic :: View next topic » 
Author Message
sravan
PostPosted: Mon Jan 10, 2022 3:04 pm    Post subject: IBM ACE environmental variables with get env node. Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

Hi,

We have IIB version used with environmental variables loaded from a file
in the Linux server which can used for configuration values in the messages flows.

What are the options available in IBM ACE as replacement of environmental variables
using get env fix pack.

I could see policy set/policy option available but how exactly can we use it to
load environmental variables to the message flows at run time?

Are there any other options available.
_________________
skr_wmb
Back to top
View user's profile Send private message
sravan
PostPosted: Tue Jan 11, 2022 8:00 am    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

By getEnv node support pac I am referring to the IA9C support pac.
I am looking at some alternative to set the environmental variales with out a property file.
_________________
skr_wmb
Back to top
View user's profile Send private message
timber
PostPosted: Tue Jan 11, 2022 9:03 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Linux environment variables are not the only way to specify environment-dependent settings. In fact, IBM has never encouraged that approach, and other options have been available throughout the history of the WMB/IIB/ACE product line.

What exactly are you trying to configure, and why do you believe that environment variables are the best approach?
Back to top
View user's profile Send private message
sravan
PostPosted: Tue Jan 11, 2022 9:23 am    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

This is an existing set up in production for many years to load the system environmental variables from a file in the server for enable/disable messages from flows,set configurable values like host name and other properties related to hosts etc.

We use get Env node or IA9C support pac for this.

We are looking at alternatives to replace the IA9C atleast from our flows.
Can we use a Java copute node to access the system environmental variables

or any other way to load the properties file form server to load the values?
_________________
skr_wmb
Back to top
View user's profile Send private message
timber
PostPosted: Fri Jan 14, 2022 9:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Quote:
This is an existing set up in production for many years to load the system environmental variables from a file in the server for enable/disable messages from flows,set configurable values like host name and other properties related to hosts etc.
Thanks - that helps.

Others on this forum may have more experience of IA9C, so feel free to add your advice.

If the IA9C calls are scattered everywhere throughout the message flows then you have a big task on your hands. That's true regardless of what your replacement solution is.

But if the IA9C dependency is localised then you _may_ be able to 'wrap' the existing IA9C so that the rest of the code does not know that anything changed.

Options for environment-dependent config include
- user-defined configurable service
- custom flow that reads a config file on startup
- custom flow that uses Java to get some properties and then caches them
etc...

Sorry to be vague. It's hard to give specific advice without seeing your code and understanding your entire business/project environment.
Back to top
View user's profile Send private message
sravan
PostPosted: Fri Jan 14, 2022 9:45 am    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

Thanks it helps
I could develop a subflow which adds the system variables from linux server to environmental variables.

Also user defined config option not sure option seems better using policy in IBM ACE.
_________________
skr_wmb
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 » IBM ACE environmental variables with get env node.
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.