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.
2. WHO WE ARE?
FIRST SCHOOL AND CONSULTING
LINUX IN BRAZIL.
17 YEARS OF PRATICE IN LINUX
12 YEARS WITH BEST LINUX IN BRAZIL
MORE THAN 50.000 STUDENTS TRAINED
MORE THEAN 5.000 CLIENTS TO
DIFERENT PROJECTS
LPI-C ATP IN BRAZIL
MORE: www.utah.com.br
4. Speaker: Fabio Pires
Mini Curriculum:
Graduated in Computer Science
Graduated in Bachelor of Computing
Post 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 Clusters
HIGH AVAILABILITY
HIGH PERFORMANCE (must popular
Beowulf).
LOAD BALANCE
8. HA CLUSTERS LAYOUT
MASTER 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.
10. HA CLUSTERS LAYOUT
MULTI-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.
12. DRBD
It is an open source system created by a
Austrian company called LINBIT. The
system was built to allow mechanisms for high
availability Linux systems.
Basically it's like a RAID a level between two
or more nodes.
The second version of DRBD, DRBD +
already has native support for multi-master
but it is paid.
More in: http://www.libit.com
14. HEARTBEAT
It is a term used when we want a
particular service is always eliminating
the maximum available time stop.
This service can be deployed on Linux
by software called hearthbeat.
When we talk about high availability SLA
and think about the amount of 9 (nine)
after the comma. The more nine longer
available.
15. OCFS2
Oracle 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.
17. SOFTWARES
OS → Debian GNU Linux AMD_64
HA → heartbeat
Replication → drbd8-utils
FileSystem → ocfs2-tools
WebServer → apache2
Database → mysql-server
LP → php5
Application → colabitive
18. Premisses
The partition does not receive the DRBD
file systems must possess
The 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 FAST
Update /etc/apt/sources.list
# echo “deb http://ftp.debian.org/debian squeeze
main contrib non-free” >> /etc/apt/sources.list
Update Mirrors List
# apt-get update
Install package
# apt-get install drbd8-utils