Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1751

infinispan setup to support environment variables within the standalone.xml file

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 7.0.1.Final
    • Fix Version/s: 7.1.1.Final
    • Component/s: Clustering
    • Labels:
      None

      Description

      When I kickstart the inifispan subsystem by using the start=EAGER option, saw that there are multiple "clusters" that get kickstarted as:
      GMS: address=traffic_instance_PL-3-31315, cluster=hibernate
      ........................................, cluster=web
      and others.

      Now, if I do have mutliple blades e.g. SC-1, SC-2, PL-3, PL-4 and then I would like to define two clusters e.g. "oam" , "traffic" where "oam" should be assigned for SC-x and "traffic" for PL-x, then I will certainly need to go in the standalone-ha.xml file and change all the "cache-container name" entries in order to have "oam" cluster distinguished from "traffic" cluster, right ?

      If so, it would be better if for example I could pass an jvm option via e.g. -DCLUSTER="oam" and then in the standalone-ha.xml file have this set as: "cache-container name=$

      {CLUSTER}

      -"

      In this way, I can obtain a dynamic config at runtime.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rachmato Richard Achmatowicz
                Reporter:
                lmcdasi Dan Sirbu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: