• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
 

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

on

  • 3,211 views

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.

Statistics

Views

Total Views
3,211
Views on SlideShare
3,210
Embed Views
1

Actions

Likes
2
Downloads
48
Comments
0

1 Embed 1

https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

    • HIGH AVAILABLE CLUSTERMULTI-MASTER AND MASTER- SLAVE WITH DRBD + HA + OCFS2
    • 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
    • SOCIAL MEDIAFollow! @fabioandpiresFollow! @utah_networxs Enjoy! Utah Networxs
    • 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
    • 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”.
    • 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.
    • Types of ClustersHIGH AVAILABILITYHIGH PERFORMANCE (must popular Beowulf).LOAD BALANCE
    • 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.
    • MASTER SLAVE LAYOUT
    • 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.
    • MULTI-MASTER LAYOUT INTERNET LVS LVS
    • 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
    • DRBD LAYOUT M-S
    • 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.
    • 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.
    • 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)
    • SOFTWARESOS → Debian GNU Linux AMD_64HA → heartbeatReplication → drbd8-utilsFileSystem → ocfs2-toolsWebServer → apache2Database → mysql-serverLP → php5Application → colabitive
    • 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.
    • 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
    • MAIN DRBD CONF FILE /etc/drbd.conf
    • heartbeat INSTALL FAST# apt-get install heartbeat
    • 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
    • ocfs2-tools INSTALL FAST# apt-get install ocfs2-tools
    • MAIN OCFS2 CONF FILES/etc/ocfs/cluster.conf → main conf file/etc/defaults/o2cb → init config files
    • DÚVIDAS fpires@utah.com.brcursos@utah.com.br
    • SOURCEwww.linbit.comwww.linux-ha.orghttps://oss.oracle.com/projects/ocfs2/Utah Cluster Course