Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Utilizando software livre para alta disponibilidade de sistemas web Java

2,054 views

Published on

Este slide foi apresentado no minicurso do Software Freedom Day 2012 em Teresina-PI

  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • @Arijane Sim, eu apresentei no Software Freedom Day 2012
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Foi vc quem apresentou?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Utilizando software livre para alta disponibilidade de sistemas web Java

  1. 1. Software Freedom Day 2012 – TeresinaUtilizando ferramentas livres para aalta disponibilidade de sistemas web java Adriel Lucas
  2. 2. Sobre mim ● Tec. de Infraestrutura na Infoway E-Health Company ● Atuação: – Redes e servidores linux; – Virtualização (Xen e Esxi) – Banco de dados (Mysql e Postgres); – Servidores web (tomcat e apache)
  3. 3. Roteiro● Introdução● Cenário de Alta disponibilidade● Tomcat-Cluster● Balanceamento de Carga com Apache● Replicação de dados com Mysql;
  4. 4. Introdução Da pra prover alta disponibilidade de BD? É muito caro? É fácil ter alta disponibilidadeem sistemas web? Qual é o objetivo desta oficina?
  5. 5. Cenário de Altadisponibilidade
  6. 6. Tomcat-Cluster TOMCAT-CLUSTER Sessões Tomcat A Tomcat B➔ Requisitos: ➔ Todos os atributos das classes deveram implementar java.io.Serializable; ➔ Ter no arquivo web.xml o atributo <distributable/> ou definir no server.xml o atributo <Context distributable=”true”>; ➔ Definir um nome diferene para o atributo jvmRoute no arquivo server.xml <Engine name=”Catalina” jvmRoute=”node01” >;
  7. 7. Tomcat-Cluster TOMCAT-CLUSTER Sessões Tomcat A Tomcat B➔ Arquitetura: ➔ Receiver: recebe as conexões vinda dos outros nós do cluster; ➔ Sender: envia as sessões para outro tomcat; ➔ Menbership: realiza a parceria entre os nós do cluster; ➔ Valve: detecta se uma requisição foi completada ou não; ➔ Deployer: é responsável por deixar automática a gerencia das aplicações no cluster;
  8. 8. Tomcat-Cluster(Funcionamento)
  9. 9. Tomcat-Cluster(configuração)
  10. 10. Balanceamento de Carga com Apache
  11. 11. Balanceamento de Carga com Apache➢ Mod_proxy➢ Mod_proxy_balancer
  12. 12. Balanceamento de Cargacom Apache (Configuração)
  13. 13. Replicação de dados com MySQL
  14. 14. Replicação de dados com MySQL (configuração)➔ my.cnf➔ Master: ➔ log-bin=mysql-bin ➔ Server-id=1 ➔ relay_log = mysql-relay-bin ➔ log_slave_update = 1➔ Slave: ➔ log-bin = mysql-bin ➔ server-id = 2 ➔ relay_log = mysql-relay-bin ➔ log_slave_update = 1
  15. 15. DÚVIDAS??www.adrielltech.com

×