Author |
Message
|
sravan |
Posted: Mon Jan 10, 2022 3:04 pm Post subject: IBM ACE environmental variables with get env node. |
|
|
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 |
|
 |
sravan |
Posted: Tue Jan 11, 2022 8:00 am Post subject: |
|
|
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 |
|
 |
timber |
Posted: Tue Jan 11, 2022 9:03 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
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 |
|
 |
sravan |
Posted: Tue Jan 11, 2022 9:23 am Post subject: |
|
|
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 |
|
 |
timber |
Posted: Fri Jan 14, 2022 9:37 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
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 |
|
 |
sravan |
Posted: Fri Jan 14, 2022 9:45 am Post subject: |
|
|
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 |
|
 |
|