EAP - CLUSTER BALANCER TCP - Dinamic Context

Description

Mind Map on EAP - CLUSTER BALANCER TCP - Dinamic Context, created by Luiz Eduardo on 21/02/2021.
Luiz  Eduardo
Mind Map by Luiz Eduardo, updated more than 1 year ago
Luiz  Eduardo
Created by Luiz Eduardo almost 4 years ago
488
0

Resource summary

EAP - CLUSTER BALANCER TCP - Dinamic Context

Annotations:

  • • A execução em clusters está disponível no EAP usando a configuração padrão nos arquivos de configuração do servidor ha ou full-ha.
  1. HOST A - DC
    1. DOMAIN CONTROLLER - NODE master - HOST-MASTER.XML
      1. $sudo -u jboss ./domain -Djboss.domain.base.dir=/opt/domain --host-config=host-master.xml
        1. STACK CLUSTER TCP - ESTÁTICO
          1. INITIAL_HOSTS - 7600
            1. $sudo -u jboss ./jboss-cli.sh --connect --controller=192.168.99.112 --file=tcp-stack.cli
              1. /socket-binding-group=full-ha-sockets/remote-destination-outbound-socket-binding=lb:add(host=172.25.250.254,port=9080)

                Annotations:

                • Como você desativou os anúncios, é necessário configurar os nós de back-end do EAP com uma lista de proxies (balanceadores de carga). Configure os nós de back- end do EAP para se comunicarem com o balanceador de carga na VM workstation. Certifique-se de que você adicionou uma ligação de soquete de saída que aponta para o endereço IP e a porta do balanceador de carga (172.25.250.254:9080).
                1. /profile=full-ha/subsystem=modcluster\ /mod-cluster-config=configuration:list-add(name=proxies,value=lb)

                  Annotations:

                  • Em seguida, adicione os proxies à configuração do mod_cluster:
            2. STACK UDP DESATIVADA
              1. $/profille=full-ha/subsystem=modcluster/mod--cluster-config=configuration:write-attributer(name=advertise,value=false)

                Annotations:

                • Configure o subsistema mod_cluster Por padrão, o EAP está definido para anunciar seu status para os balanceadores de carga usando multicast UDP. Desative essa função no subsistema mod_cluster do perfil full-ha.
            3. STANDALONE FULL-HA - LOAD BALANCER
              1. $sudo -u jboss ./standalone.sh -Djboss.server.base.dir=/opt/standalone/ --server-config=standalone-full-ha.xml -bmanagement=.0.0.0.0 -b=0.0.0.0 -Djboss.socket.binding.port-offset=1000
                1. mod_cluster
                  1. /cluster
                    1. http://172.25.250.254:9080/cluster
                  2. :::BALANCER CONFIGURE:::
                    1. /subsystem=modcluster/mod-cluster-config=\ configuration:write-attribute\ (name=advertise-security-key, value=redhat)

                      Annotations:

                      • Configure o subsistema modcluster para agir como um balanceador de carga front- end. Defina uma senha exclusiva para advertise-security-key
                      1. /subsystem=undertow/configuration=filter/mod-cluster=modcluster:add\ (management-socket-binding=http, advertise-socket-binding=modcluster,\ security-key=redhat)

                        Annotations:

                        • Configure filtro o mod_cluster Anuncie o balanceador de carga usando a ligação de soquete modcluster e utilize o protocolo HTTP para a ligação de soquete de gerenciamento. Certifique-se de que o atributo security-key corresponde ao advertise-security-key configurado na etapa anterior.
                        1. /subsystem=undertow/server=\ default-server/host=default-host/filter-ref=modcluster:add

                          Annotations:

                          • Como etapa final, associe o filtro modcluster ao undertow default-server
                          1. :reload standalone
                            1. registo dos nós
                              1. Registering node servera:servera.1, connection: ajp://172.25.250.10:8009/?#\ Registering node serverb:serverb.1, connection: ajp://172.25.250.11:8009/?#
                              2. reload domain
                  3. HC - NODE A
                    1. servera.1
                      1. servera.2
                        1. Group1
                          1. Deploy cluster.war
                        2. HC - NODE B
                          1. serverb.1
                            1. serverb.2
                            2. CONFIGURAR
                              1. DOMAIN, STANDALONE(LB) E CONTROLLERS
                                1. ATIVAR STACK TCP
                                  1. DESATIVAR STACK UDP(ADVERSIMENT)
                                    1. CONFIGURAR PROXY(MOD_CLUSTER) NO DC (NO PROFILE)
                                      1. CONFIGURAR LOAD BALANCE(MOD_CLUSTER)
                                2. DOC
                                  1. CONFIGURATION GUIDE ----->22.2.3.
                                3. EAP - CLUSTER BALANCER TCP - static Context
                                  1. Balancer - Standalone
                                    1. /subsystem=undertow/configuration=handler/reverse-proxy=bcluster-handler:add()
                                      1. /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=remote-node1:add(host=192.168.99.121,port=8009)
                                        1. /subsystem=undertow/configuration=handler/reverse-proxy=cluster-handler/host=remote-node1:add(outbound-socket-binding=remote-node1,scheme=ajp,instance-id=node1,path=/cluster)
                                          1. /subsystem=undertow/server=default-server/host=default-host/location=\/app:add(handler=my-handler)
                                  Show full summary Hide full summary

                                  Similar

                                  KEE1
                                  harrym
                                  Criminal Law
                                  jesusreyes88
                                  Waves
                                  kate.siena
                                  An Inspector calls Themes
                                  anya14
                                  History of Psychology
                                  mia.rigby
                                  Edexcel Additional Science Biology Topic 1- Genes and Enzymes
                                  hchen8nrd
                                  “The knower’s perspective is essential in the pursuit of knowledge.” To what extent do you agree with this statement?
                                  Lucia Rocha Mejia
                                  Testing for ions
                                  Joshua Rees
                                  I wish I..
                                  Cristina Cabal
                                  2PR101 1.test - 7. část
                                  Nikola Truong
                                  1PR101 2.test - Část 8.
                                  Nikola Truong