Skip to content

Keycloak jgroups-aws configuration #23

@mrexojo

Description

@mrexojo

Hi,
I'm trying config keycloak on ha mode with jgroups-aws without success.
I have compiled keycloak with maven adding the dependency of jgroups-aws, but I don't know if I have to do any other config before or after. (compilation results seems correct, but I don't know the correct steps for add this function)
What's xml section of configuration I must replace TCPPING? on keycloak on this case, I only view this section for replace it with :

 <subsystem xmlns="urn:jboss:domain:jgroups:6.0">
<stack name="tcp">
                    <transport type="TCP" socket-binding="jgroups-tcp"/>
                    <socket-protocol type="MPING" socket-binding="jgroups-mping"/>
                    <protocol type="MERGE3"/>
                    <protocol type="FD_SOCK"/>
                    <protocol type="FD_ALL"/>
                    <protocol type="VERIFY_SUSPECT"/>
                    <protocol type="pbcast.NAKACK2"/>
                    <protocol type="UNICAST3"/>
                    <protocol type="pbcast.STABLE"/>
                    <protocol type="pbcast.GMS"/>
                    <protocol type="MFC"/>
                    <protocol type="FRAG3"/>
                </stack>
            </stacks>
        </subsystem>

but the error says:


> OPVDX001: Validation error in standalone-ha.xml --------------------------------
> |
> |  339:                     <com.meltmedia.jgroups.aws.AWS_PING
> |                           ^^^^ 'com.meltmedia.jgroups.aws.AWS_PING' isn't an allowed element here
> |
> |                                Elements allowed here are:
> |                                  auth-protocol              relay
> |                                  encrypt-protocol           socket-discovery-protocol
> |                                  jdbc-protocol              socket-protocol
> |                                  protocol                   transport

The aws credentials must set on this section?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions