Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11750

Allow cluster to use DNS addresses instead of IP addresses

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 16.0.0.Beta1
    • Clustering
    • None

      We would need a configuration that would allow for the cluster to use DNS addresses instead of IP addresses. The reason is that OpenShift guarantees the node identity under DNS address and not under IP address.

      Sample scenario that may currently fail when application are deployed in OpenShift:
      A (application)
      B (clustered application)

      1. A calls transactional invocation on B
      2. as a result of discovery process A obtains a cluster topology from B and uses one of obtained IP addresses for the connection
      3. as the invocation is transactional the object-store records are written in A's persistent object store; those records are based on the data obtained from the cluster => subordinate node is identified by the IP address from point two
      4. B node fails
      5. OpenShift restarts node B on another IP address
      6. A attempts recovery and persistently fails

      OTOH OpenShift guarantees node identity under DNS address. As a result, at point 5 node is guaranteed to restart on established DNS address so if the cluster used this address instead of physical addresses the scenario above will finish with A being able to recover the transaction.

            pferraro@redhat.com Paul Ferraro
            tadamski@redhat.com Tomasz Adamski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: