• Duy trì độ sẵn sàng cao cho hệ thống. • Cơ chế khôi phục nhanh chóng. • Quá trình chuyển tiếp trong suốt. • Bảo vệ tính đồng nhất dữ liệu. • Hỗ trợ tự phát triển ứng dụng cluster. • Online trong quá trình bảo trì, nâng cấp. • Quản trị bằng giao diện Web và command
Trang 1GIAI PHAP CLUSTER TREN LINUX
Wireless ©" Home Networks
Giai phap High Availability trén Linux
Trang 2
> Giới thiệu
> Cơ sở kỹ thuật của hệ thông cluster
> Giải pháp cluster trên Linux dùng phân mềm
Trang 3
¢ Hau hét các hoạt động kinh doanh,
giải trí hiện nay đều diễn ra trên
* M6 hinh NonStop voi kha nang
24x7x365 là điêu kiện cần của các
doanh nghiệp kinh doanh hiện nay
°ồ Hướng tới mục tiêu xây dựng giải
Trang 4Cơ sở kỹ thuật
Đặc điểm
Acceptable System Failover Time
survey of Data Center Managers
¢ Hiéu suat hoat déng cao
99.9% 8 hours 30 minutes =a:
(Most high availability systems) (Redundancy-Resilience)
99.95% 4 hours, 23 minutes > « z az
(the best high availability today) ¢ Kha nang tich hop nhiéu
Trang 5
> Giới thiệu
> Cơ sở kỹ thuật của hệ thông cluster
> Giải pháp cluster trên Linux dùng phân mềm
Trang 6Cơ sở kỹ thuật
Các thành phân cluster
CLUSTERING
¢ Cac node thanh viéen
¢ Chwong trinh quan tri cluster
R z 3 re oe Tre seen es Ais et B
Ung dung cluster TH mlÍ [||
Trang 7Cơ sở kỹ thuật
Nguyên lý hoạt động
Failure Modes and Recovery for High Availablility
Power down failed processing node
Unsuccessful recove
Power cycle failed processing node
Unsuccessful recovery
recovery
Fail over all applications on processing node Successful
and reboot failed processing node recovery
node and reinitialize failed application Successful
recovery Unsuccessful Unsuccessful
Trang 9- | gS eeese rileeeeee
Giải pháp High Availability trên Linux
Trang 10Cơ sở kỹ thuật
Phân loại cluster (f0
¢ Single System Image
A
— | | Middieware | | Middleware | | Middleware | Middleware q)
COI
3 Single system image operating environment: NonStop Clusters
á) (Virtual memory, process mgmt, file system, sockets, interprocess comm, etc)
3
q Processor Processor Processor Processor
ServerNet technology
< Internode message flow :
Giải pháp High Availability trên Linux
Trang 11Cơ sở kỹ thuật
Cac mo hinh cluster
Load Balancing Cluster High Availability Cluster
WAS WAS WAS e-mail e-mail e-mail
instance Instance Instance Server Server Server
2 3
Bai Balancer Balancer
alancer Primary Backup
Cluster chia tai Cluster HA
5 6
DB DB Partition Psrtition
5 6
DB DB Partition Partition
7 8
Code Code Segment Segment
High Performance Interconnect High Performance Interconnect
Cluster xw li song song (tt) Cluster xw li song song (tm)
Giai phap High Availability trén Linux
Trang 12Cơ sở kỹ thuật
Một số hệ cluster trên Linux
¢ High Performance Cluster: Beowulf
¢ Load-leveling Cluster: Mosix, LVS, Pirahna
¢ Storage Cluster: Sistina’s GFS, OpenGFS
¢ Database Cluster: Oracle 91 RAC
¢ High Avalaibility Cluster: LifeXeeper, FailSafe, Heartbeat
Giai phap High Availability trén Linux
Trang 13Storage Area Network
¢ Host Bus Adapter
Trang 14Storage Area Network
Giải pháp High Availability trên Linux
Storage Subsystems Market
Trang 15
> Giới thiệu
> Cơ sở kỹ thuật của hệ thông cluster
> Giải pháp cluster trên Linux dùng phân mềm
Trang 16iải pháp cluster Linux-LifeKeeper
Ưu điểm của cluster Linux
Giải pháp High Availability trên Linux
Trang 17Giải pháp cluster Linux-LifeKeeper
Đối tượng - Phạm vi ứng dụng
Các cơ quan nghiên cứu, trường học
Các doanh nghiệp hoạt động trong lĩnh vực tài chính, ngân hàng,
bảo hiém
Cac nha cung cap dich vu
Cac co quan nha nuoc
Giai phap High Availability trén Linux
Trang 18p cluster Linux-LifeKeeper
Mo hinh
Cluster in SolP SAN using
tên ng charod SCSI and FC end devicee
{ouch 34 MSCSor YCS) gure "
Giai phap High Availability trén Linux
Trang 19Giải phap cluster Linux-LifeKeeper
Mo hinh (to)
Application Recovery Kits
(Database-ARK, Apache-ARK, Print-ARK, NFS-ARK,
NAS-ARK, Mail-ARK, Samba-ARK, DR-ARK .)
LifeKeeper SDK
_ LifeKeeperCore - LifeKeeper Core LifeKeeper
LifeKeeper O Gnas t LifeKeeper
Giải pháp High Availability trén Linux
Trang 21SteelEye Cấu trúc phần mềm LifeKeeper:
=n | ~ | s & & &| 1 LifeKeeper Core Package Cluster
| X6 ⁄ go 5 (Database, Web, Print, File, SDK)
Trang 22Cluster Linux-Lifekeeper
Phan mém LifeKeeper (tt)
¢ Duy trì độ sẵn sàng cao cho hệ thống
‹ Cơ chế khôi phục nhanh chóng
¢ Qua trinh chuyén tiếp trong suốt
- Bao vệ tính đồng nhất dữ liệu
¢ H6 tro tu phat triển ứng dụng cluster
¢ Online trong qua trình bảo trì, nâng cấp
Trang 23Cluster Linux-Lifekeeper
Phan mém LifeKeeper (tt)
Cơ chế bảo vệ tích cực:
°Ò_ Tạo được nhiều đường
heartneat (ethernet, serial)
‹_ Có cơ chế failover qua các card
mạng trong cùng một node
- Kiém tra trạng thái hệ thống
trwoc khi failover
¢ Qua trinh thuwc hién failover cho
từng dịch vụ riêng biệt
Giải pháp High Availability trên Linux
Trang 24Cluster Linux-Lifekeeper
Phan mém LifeKeeper (tt)
‹ Khả năng mở rộng cao và dễ dàng (32nodes)
‹ Cho phép chuyền tiếp qua nhiều mức
Giải pháp High Availability trên Linux
Trang 25Cluster Linux-Lifekeeper
Phan mém LifeKeeper (tt)
¢ Chia sé thiét bi lwu trữ
Shared Dota Support
Trang 26Application with Disk Partition X X X
Trang 28"Mà: Replication hau hét cac mang tng dung
N ° C6 thé xay dựng các hệ thông Disaster
Trang 29
> Giới thiệu
> Cơ sở kỹ thuật của hệ thông cluster
> Giải pháp cluster trên Linux dùng phân mềm
Trang 30Giải pháp High Availability trên Linux
Trang 31
> Giới thiệu
> Cơ sở kỹ thuật của hệ thông cluster
> Giải pháp cluster trên Linux dùng phân mềm
Trang 32—Heartbeat: eth1 (HP J2973A NIC), Serial (COM1)