IBM Support

MultiCastGroup settings in MCS

Question & Answer


Question

What are the appropriate MultiCastGroup settings in MCS?

Answer

Information about setting MultiCastGroup IP and port in DistributedGlobalCache-Config.xml and DistributedEventService-config.xml:

  • MultiCastGroup IP and port is set for the EhCache to discover CacheManager peers participating in the cluster.
  • The MultiCastGroup IP and port number defined in the application property file are different from what is set at the application server level. It is NOT the IP:port of any physical machine.
  • Each environment should have unique IP:Port combination. As an example, you have Production and Staging as two environments. For production you chose 224.0.0.1:7001 and for staging 224.0.0.2:7001 is chosen. So, 224.0.0.1:7001 should be set in the property files of all the nodes in production and 224.0.0.2:7001 should be set in all the property files in Staging. They should NOT be same.
  • This is NOT the IP:port of the respective admin servers.
  • Please use the IP in the range 224.0.0.1 to 239.255.255.255. The Out of the box (OOTB) ports set in each property file can be used.
  • This property is set in DistributedEventService-config.xml and DistributedGlobalCache-Config.xml. It does not have to be set it in EhCache.xml as it would be redundant.

If a unique MultiCast IP:port is not set or the default values are left unaltered, EhCache for each environment will make RMI calls to each node across the environments causing an unnecessary increase in network traffic.

Also, if the logging level is changed in one environment (from admin UI) then it can potentially change the same for Production environment and cause a huge performance impact.

See also: How does EhCache work in a clustered environment

References:

  • Comments in EhCache.xml, DistributedEventService-config.xml and DistributedGlobalCache-Config.xml

http://www.ehcache.org/documentation/2.8/get-started/getting-started.html

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"MCS","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.0.2;8.0.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

FAQ3003

Document Information

Modified date:
16 June 2018

UID

swg21518502