cancel
Showing results for 
Search instead for 
Did you mean: 

Global variables alignment

0 Kudos

Hello

we have a MII 12.2 with two application servers

It happens often that we add a new global variable and it is accessible just from an application server for long time.

Is there any way to enforce global variable alignment/refresh on all application servers?

Which is the default time for this kind of operation (used during standard MII installation)?


Thank you a lot

Best regards

Fabio

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Fabio,

If all of your application servers are connected to the same DB instance you could use the service:

http://server:port/XMII/Illuminator?Service=BLSManager&Mode=GlobalsReload&type=Transaction.

However, if the nodes connect to different Db instances, a re-start is a way to achieve the refresh on all nodes.

Regards,

Anushree

Answers (1)

Answers (1)

0 Kudos

Hello

Are we the only ones that use global variables and 2 application server? Nobody encountred this issue?

Regards

Fabio

Former Member
0 Kudos

Hi,

maybe your are 😉

How would you use data of one PO from n AppServers?

This is how you should use global "variables".

Just use MDOs or direct database. "global variables" are a bad design anyway in an enterprise system

with n AppServers.

Cheers,
Matt

former_member193328
Active Participant
0 Kudos

Hi Fabio

Can you elaborate how the cluster looks like? The global variables are cached in the Java Server for better access and are transferred to various app server via JMS. If your JMS messages are stuck it may be a reason for the variables not reflecting on the other app server.

Best option may be to restart the cluster. Or better still if you can use shared properties of MII 12.2 and not global variables.

Regards

Partha