<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
We should create a domain profile for this EC2 config.<br>
<br>
<div class="moz-cite-prefix">On 8/16/16 9:59 AM, Aikeaguinea wrote:<br>
</div>
<blockquote
cite="mid:1471355948.921113.696855193.408EA451@webmail.messagingengine.com"
type="cite">
<title></title>
<div>Yes, this gets more complicated than your standard
installation. AWS doesn't allow UDP communication in S3, and you
also need to configure your Infinispan cache to work while
you're running in Docker. <br>
</div>
<div><br>
</div>
<div>There was a thread on this list "Using Keycloak in AWS EC2.
What are people using? / Infinispan not working" where this was
discussed; this is from that three describing howI got things
working:<br>
</div>
<div><br>
</div>
<div>________________________________________________________</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">I just got JGroups/Infinispan with
JDBC_PING working from inside a<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">Docker cluster in ECS on EC2. I use
JDBC_PING rather than S3_PING, since<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">I need a database anyway and didn't
want to have to set up an S3 bucket<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">just for this one purpose. Nicolás, if
you're on AWS the default UDP<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">transport for JGroups doesn't work
because multicast isn't supported<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">inside EC2, which may be your problem.<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">Here are the configurations you'd need:<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">1. The JGroups module has to reference
to the db module. So in<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">jgroups-module.xml I have:<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <dependencies><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <module
name="javax.api"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <module
name="org.postgresql.jdbc"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </dependencies><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">2. The standalone-ha.xml has a JGroups
subsystem (with TCP and<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">JDBC_PING) that looks like the
configuration below; I read certain<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">variables from the environment, but may
use the Wildfly vault tool for<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">some of them. The external_addr
property configurations are only needed<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">if you're inside a Docker container,
since Wildfly has to read the<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">address of the EC2 instance hosting the
container to register itself<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">with JGroups. For the initialize_sql
you can generally use the default,<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">but for Postgres I needed a custom DDL
because I needed the BYTEA data<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">type which isn't in the default DDL.<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"><subsystem
xmlns="urn:jboss:domain:jgroups:4.0"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <channels
default="ee"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <channel
name="ee" stack="tcp"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </channels><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <stacks
default="tcp"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <stack
name="tcp"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <transport
type="TCP" socket-binding="jgroups-tcp"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <property<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> name="external_addr">${env.EXTERNAL_HOST_IP}</property><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </transport><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="JDBC_PING"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <property<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> name="connection_driver">org.postgresql.Driver</property><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <property<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> name="connection_url">jdbc:postgresql://${env.POSTGRES_TCP_ADDR}:${env.POSTGRES_TCP_PORT}/${env.POSTGRES_DATABASE}</property><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <property<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> name="connection_username">${env.POSTGRES_USER}</property><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <property<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> name="connection_password">${env.POSTGRES_PASSWORD}</property><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <property
name="initialize_sql"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> CREATE
TABLE IF NOT EXISTS jgroupsping (<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> own_addr
VARCHAR(200) NOT NULL,<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> cluster_name
VARCHAR(200) NOT NULL,<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> ping_data
BYTEA DEFAULT NULL,<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> PRIMARY
KEY (own_addr, cluster_name)<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> )<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </property><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </protocol><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="MERGE3"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="FD_SOCK" socket-binding="jgroups-tcp-fd"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <property<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> name="external_addr">${env.EXTERNAL_HOST_IP}</property><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </protocol><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="FD"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="VERIFY_SUSPECT"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="pbcast.NAKACK2"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="UNICAST3"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="pbcast.STABLE"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="pbcast.GMS"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="MFC"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <protocol
type="FRAG2"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </stack><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </stacks><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> </subsystem><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">3. If you're in a Docker container, you
have to expose the JGroups ports<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">so they are visible from outside the
container, so in standalone-ha.xml<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">in the socket bindings I have changed
to the public interface:<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <socket-binding
name="jgroups-tcp" interface="public"<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> port="7600"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> <socket-binding
name="jgroups-tcp-fd" interface="public"<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;"> port="57600"/><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">4. For Docker, the startup script needs
to pass the EXTERNAL_HOST_IP<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">variable. I have a wrapper start script
that first queries the AWS<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;">instance metadata service at
169.254.169.254 for the host's private IP address:<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;">export
EXTERNAL_HOST_IP=$(curl -s</span><span class="font"
style="font-family: menlo, consolas, monospace, sans-serif;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;">169.254.169.254/latest/meta-data/local-ipv4)</span><span
class="font" style="font-family: menlo, consolas, monospace,
sans-serif;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;">exec
$WILDFLY_HOME/bin/standalone.sh -c standalone-keycloak-ha.xml</span><span
class="font" style="font-family: menlo, consolas, monospace,
sans-serif;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: -webkit-standard;
letter-spacing: normal;"><span class="font" style="font-family:
menlo, consolas, monospace, sans-serif;">-Djboss.node.name=$HOSTNAME
-Djgroups.bind_addr=global -b $HOSTNAME</span><span
class="font" style="font-family: menlo, consolas, monospace,
sans-serif;"><br>
</span></div>
<div><br>
</div>
<div><br>
</div>
<div>On Tue, Aug 16, 2016, at 09:01 AM, Haim Vana wrote:<br>
</div>
<blockquote type="cite">
<div>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">Hi,</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">We are trying to set KeyCloak
1.9.3 with HA on AWS EC2 with docker, the cluster is up
without errors however the login fails with the below
error:</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"><b>WARN [org.keycloak.events]
(default task-10) type=LOGIN_ERROR, realmId=master,
clientId=null, userId=null, ipAddress=172.30.200.171,
error=invalid_code</b></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">we have followed this (<a
moz-do-not-send="true"
href="http://lists.jboss.org/pipermail/keycloak-user/2016-February/004940.html"
style="text-decoration: underline; color: rgb(5, 99,
193);">http://lists.jboss.org/pipermail/keycloak-user/2016-February/004940.html</a>
) post but used S3_PING instead of JDBC_PING.</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">It seems that the nodes detect
each other:</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"><b>INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport]
(Incoming-2,ee,6dbce1e2a05a) ISPN000094: Received new
cluster view for channel keycloak: [6dbce1e2a05a|1]
(2) [6dbce1e2a05a, 75f2b2e98cfd]</b></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">We suspect that the nodes doesn't
communicate with each other, when we queried the jboss
mbean "<b>jboss.as.expr:subsystem=jgroups,channel=ee" </b>the
result was:</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">jgroups,channel=ee =
[6dbce1e2a05a|1] (2) [6dbce1e2a05a, 75f2b2e98cfd]</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">jgroups,channel=ee
receivedMessages = 0</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">jgroups,channel=ee sentMessages
= 0</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">And for the second node:</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">jgroups,channel=ee =
[6dbce1e2a05a|1] (2) [6dbce1e2a05a, 75f2b2e98cfd]</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">jgroups,channel=ee
receivedMessages = 0</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">jgroups,channel=ee sentMessages
= 5</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">We also verified that the TCP
ports 57600 and 7600 are open.</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">Any idea what might cause it ?</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">Here is the relevant
standalone-ha.xml configuration and below is that
startup command:</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"><subsystem
xmlns="urn:jboss:domain:jgroups:4.0"></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <channels
default="ee"></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <channel
name="ee" stack="tcp"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </channels></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <stacks></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <stack
name="udp"></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <transport
type="UDP" socket-binding="jgroups-udp"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="PING"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="MERGE3"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="FD_SOCK" socket-binding="jgroups-udp-fd"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="FD_ALL"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="VERIFY_SUSPECT"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="pbcast.NAKACK2"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="UNICAST3"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="pbcast.STABLE"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="pbcast.GMS"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="UFC"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="MFC"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="FRAG2"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </stack></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <stack
name="tcp"></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <transport
type="TCP" socket-binding="jgroups-tcp"></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">
<property
name="external_addr">200.129.4.189</property></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">
</transport></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="S3_PING"></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">
<property
name="access_key">AAAAAAAAAAAAAA</property></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">
<property
name="secret_access_key">BBBBBBBBBBBBBB</property></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">
<property
name="location">CCCCCCCCCCCCCCCCCCCC</property></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </protocol></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="MERGE3"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="FD_SOCK" socket-binding="jgroups-tcp-fd"></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">
<property
name="external_addr">200.129.4.189</property></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">
</protocol></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="FD"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="VERIFY_SUSPECT"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="pbcast.NAKACK2"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="UNICAST3"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="pbcast.STABLE"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="pbcast.GMS"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="MFC"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <protocol
type="FRAG2"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </stack></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </stacks></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </subsystem></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <socket-binding
name="jgroups-tcp" interface="public" port="7600"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> <socket-binding
name="jgroups-tcp-fd" interface="public"
port="57600"/></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">And we start the server using the
below (<span class="colour" style="color:black"><span
class="font" style="font-family:'Courier New'"><span
class="size" style="font-size:11.5pt">$INTERNAL_HOST_IP
is the container internal IP address):</span></span></span></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="highlight"
style="background-color:white"><span class="font"
style="font-family:Calibri, sans-serif"><span
class="size" style="font-size:11pt"><span
class="colour" style="color:black"><span
class="font" style="font-family:'Courier New'"><span
class="size" style="font-size:11.5pt">standalone.sh
-c=standalone-ha.xml -b=$INTERNAL_HOST_IP
-bmanagement=$INTERNAL_HOST_IP
-bprivate=$INTERNAL_HOST_IP</span></span></span></span></span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">Any help will be appreciated.</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">Thanks,</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt">Haim.</span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
<p style="margin: 0in 0in 0.0001pt;"><span class="font"
style="font-family:Calibri, sans-serif"><span class="size"
style="font-size:11pt"> </span></span><br>
</p>
</div>
<div>The information contained in this message is proprietary to
the sender, protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the
designated recipient(s) of the message. If the reader of this
message is not the intended recipient, you are hereby notified
that any dissemination, use, distribution or copying of this
communication is strictly prohibited and may be unlawful. If
you have received this communication in error, please notify
us immediately by replying to the message and deleting it from
your computer. Thank you.<br>
</div>
<div><u>_______________________________________________</u><br>
</div>
<div>keycloak-user mailing list<br>
</div>
<div><a moz-do-not-send="true"
href="mailto:keycloak-user@lists.jboss.org"
style="text-decoration: underline; color: rgb(5, 99, 193);">keycloak-user@lists.jboss.org</a><br>
</div>
<div><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
style="text-decoration: underline; color: rgb(5, 99, 193);">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</div>
</blockquote>
<div><br>
</div>
<div id="sig3995191">
<div class="signature">--<br>
</div>
<div class="signature"> Aikeaguinea<br>
</div>
<div class="signature"> <a class="moz-txt-link-abbreviated" href="mailto:aikeaguinea@xsmail.com">aikeaguinea@xsmail.com</a><br>
</div>
<div class="signature"><br>
</div>
</div>
<div><br>
</div>
<pre>--
<a class="moz-txt-link-freetext" href="http://www.fastmail.com">http://www.fastmail.com</a> - Same, same, but different...
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>