Your SlideShare is downloading. ×
0
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

HIGH AVAILABLE CLUSTER IN WEB SERVER WITH HEARTBEAT + DRBD + OCFS2

3,158

Published on

Actually any people and employers get high available in your applications, maintain ours environment always available not is easy task. In Open Source World exist tools that maje it possible. This …

Actually any people and employers get high available in your applications, maintain ours environment always available not is easy task. In Open Source World exist tools that maje it possible. This appresentation is a module course UTAH NETWORXS about Hight Available and Performance Course. Utah Networxs is business school in Sao Paulo Brazil Work a Linux System for more than 17 years. Maked to Fabio Pires Directory Utah Networxs and Linux Specialist focusing Clusters and HA services.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,158
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
63
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. HIGH AVAILABLE CLUSTERMULTI-MASTER AND MASTER- SLAVE WITH DRBD + HA + OCFS2
  2. WHO WE ARE? FIRST SCHOOL AND CONSULTING LINUX IN BRAZIL. 17 YEARS OF PRATICE IN LINUX12 YEARS WITH BEST LINUX IN BRAZILMORE THAN 50.000 STUDENTS TRAINED MORE THEAN 5.000 CLIENTS TO DIFERENT PROJECTS LPI-C ATP IN BRAZIL MORE: www.utah.com.br
  3. SOCIAL MEDIAFollow! @fabioandpiresFollow! @utah_networxs Enjoy! Utah Networxs
  4. Speaker: Fabio Pires Mini Curriculum: Graduated in Computer Science Graduated in Bachelor of ComputingPost Graduate in Project Analysis and Systems - FATEC Post Graduate in S.O. Linux - UFLA LPIC Teacher of Undergraduate and Graduate Twitter in Spare Time Contact: fpires@utah.com.br
  5. TARGET“PRESENT SOLUTIONS CLUSTER MULTI- MASTERS AND MASTER SLAVE TO WEB SERVER ENVIRONMENT WITH LAMP SERVICES (LINUX, APACHE, MYSQL AND PHP) USING FREE SOFTWARES DRBD + HEARTBEAT AND OCFS2”.
  6. WHATS A CLUSTER?The cluster, or cluster of computers, is formed by a group computer, which uses a type special operating system classified as a distributed system.It is often constructed from conventional computers (personal computers), which are networked and communicate through the system, working as a unified large machine.
  7. Types of ClustersHIGH AVAILABILITYHIGH PERFORMANCE (must popular Beowulf).LOAD BALANCE
  8. HA CLUSTERS LAYOUTMASTER SLAVE It is when we have a primary node and another slave. Only the primary node provides particular network service for making to work with the secondary system failover.
  9. MASTER SLAVE LAYOUT
  10. HA CLUSTERS LAYOUTMULTI-MASTER The existence of two or more servers providing the same services on the network allowing the use of real-time both transparent to the network clients.
  11. MULTI-MASTER LAYOUT INTERNET LVS LVS
  12. DRBD It is an open source system created by aAustrian company called LINBIT. Thesystem was built to allow mechanisms for highavailability Linux systems.Basically its like a RAID a level between two or more nodes.The second version of DRBD, DRBD +already has native support for multi-masterbut it is paid.More in: http://www.libit.com
  13. DRBD LAYOUT M-S
  14. HEARTBEATIt is a term used when we want a particular service is always eliminating the maximum available time stop.This service can be deployed on Linuxby software called hearthbeat.When we talk about high availability SLAand think about the amount of 9 (nine)after the comma. The more nine longeravailable.
  15. OCFS2Oracle Cluster File System is a Files created and maintained by Oracle on the GNU / GPL License.One of the characteristics is to provide OCFS high performance and high availability in addition to the varying size block, flexible allocation, journaling, creating I / O failover and parallel.
  16. ENVIRONMENTNode 01hostname: jaspionIP: 172.158.50.100IP: 1.2.3.1Replicated Folders:/srv/www (master/master)/var/lib/mysql (master/slave)Node 02hostname: jirayaIP: 172.158.50.200IP: 1.2.3.2Replicated Folders:/srv/www (master/master)/var/lib/mysql (master/slave)
  17. SOFTWARESOS → Debian GNU Linux AMD_64HA → heartbeatReplication → drbd8-utilsFileSystem → ocfs2-toolsWebServer → apache2Database → mysql-serverLP → php5Application → colabitive
  18. PremissesThe partition does not receive the DRBD file systems must possessThe heartbeat in the version used does not OCFS2 has system support.The hardware for the deployment of cluster is recommended that they be identical.
  19. drbd8-utils INSTALL FASTUpdate /etc/apt/sources.list # echo “deb http://ftp.debian.org/debian squeeze main contrib non-free” >> /etc/apt/sources.listUpdate Mirrors List# apt-get updateInstall package# apt-get install drbd8-utils
  20. MAIN DRBD CONF FILE /etc/drbd.conf
  21. heartbeat INSTALL FAST# apt-get install heartbeat
  22. MAIN HEARTBEAT CONF FILES/etc/ha.d → work directory/etc/ha.d/ha.cf → config files/etc/ha.d/authkeys → change key file/etc/ha.d/haresources → config resources/etc/ha.d/resources.d → resources ha
  23. ocfs2-tools INSTALL FAST# apt-get install ocfs2-tools
  24. MAIN OCFS2 CONF FILES/etc/ocfs/cluster.conf → main conf file/etc/defaults/o2cb → init config files
  25. DÚVIDAS fpires@utah.com.brcursos@utah.com.br
  26. SOURCEwww.linbit.comwww.linux-ha.orghttps://oss.oracle.com/projects/ocfs2/Utah Cluster Course

×