🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #815

[LearnNote]Windows 2003 Server Cluste&SQL Related

#815
From: Galaxy��VOLUNTEERS��Database
Date: Thu, 13 Nov 2008 09:06
85 lines
6707 bytes
Windows 2003 Server Cluster and SQL Server related

ѧϰ�����Ŀ����Ϊ����SQL Server Cluster��case��ϣ���Ҫ�Ұ�ͻ���cluster��
�����ҿ�ʼ���trainingʱû�ú���demo�ˡ���������Ϊ����Ӵ�cluster�ˣ���ѵ����
��졣����
���¶����ø������Ա����ܻ����������ϵ�ƫ�

һ ���۶���
Cluster��һ�����������������ʾΪһ��������ϵͳ��һ��Windows 2003 Serverװ��
��Cluster service��ͳ�Ϊһ���ڵ��ˣ���active��passive֮�֡����еĽڵ�䶼��
�����������ӡ�����һ���������Failover���������������������Ҫ��һ����Դ��
һ���ڵ��Ƶ�����һ���ڵ㣬һ����˵��Ϊ�˱�֤�߿����ԡ�һ��cluster��������Quor
um Resource���������cluster�Ĺ�����ݣ�����������ݿ�ͻָ���־��Cluster 
service�ǰ�������cluster��Ϊ��������ϡ�

�� ��ҵ����
�������Ҫ�������ϵĶ��塣�ڹ�ҵ�У�Cluster����һ����Ժʹ洢�豸������������
��Ŀ�ģ�
1. ��ɢ���?��
�ṩ�����ܼ��㣨HPC��
2. �Զ����ѻָ�
�ṩ�߿����ԣ�HA��
cluster����ֻ�Ǽ�̨����̫�����ӵ���ͨ���˵��Եļ��ϣ�Ҳ�����Ǻܸ߼��ġ�����ÿ
����һ���ڵ����ܾͻ���֮����ǿ��

�� Ӧ��ģʽ
ClusterӦ�õ�ģʽ����Ҫ����õ����������֣�
1. Shared-Everything or Shared device model������ɹ���һ�У���
2. Shared-Nothing model�������ʲô�������?��
һ��clusterͬʱ֧��������Ҳ���ԡ�����ݷ���������Ľ���ʹ��shared device 
model���Կ���չ��Ҫ��ߵĿ�����shared nothing cluster model��

��һ��Shared Device Model�����еĽڵ㶼�Թ�����Դ����ȵķ���Ȩ�ޡ����������
�����ͬһ����ݣ���Ҫ����һ�ݣ���ʱ�õ���Distributed Lock Manager (DLM)����
������ij����Դ����һ��������ڵ�Ҫ�õĻ���Ҫ�Ŷӵȴ�

�ڶ���Shared Nothing Cluster Model��ÿ���ڵ�ӵ��Cluster��һ������Դ��һ����Դ
ֻ�ܱ�һ���ڵ�ʹ�ã��������ʱ����һ���ڵ���֣��ͻ��˷���ʱ��ֱ�ӵ���ӵ��
����Դ�ķ��������������ƺ�������ģʽ�ȽϺá�

�� Availability
˵���ˣ�ͨ���������ﵽ�߿����ԡ����������Active/Passive������Щ�ݳޡ�����

�� Scalability
ƿ��������Ӳ�������硢Ӧ�ó�����ơ�����ϵͳ�ܹ��ȡ�����������Scalability��
Scale up�����ڴ�Ӵ��̼�CPU������Ǽ�Ӳ��
Scale out����һ��ϵͳ�ϵ���Դ��ɢ�����ϵͳ��
Scale down�������ϵͳ���е�һ����ǿ����ϵͳ��ȥ��

�� Microsoft Windows 2003 Cluster Types
��Ҫ����
1. Windows Compute Cluster Server 2003�������ʱ�޹أ�54��ɣ�
2. Network Load Balancing Cluster
3. Server Cluster
Microsoft 2003 Server cluster���֧��8��node������SQL Server�����Խ���ͬ��Ins
tance���ڲ�ͬ��Ӳ�������У��������˷�һ��node����passive״̬������
��SQL Server 2005 failover clustering����һ������ƽ��(load balanced)�Ľ����
����ֻ����Ϊһ����cluster�����ܵ�Network Load Balancing cluster������һ����˵
����SQL Server��˵ѡ��Server Cluster��

�� Cluster Models and Their Configurations
���õ����������
1. Active/ Active
2. Active/ Passive
3. N-1

Active / Active�����ָ��ܸ����У������˳����˾�Ҫ������˵�һ����������Capaci
ty planning����Ҫ�����ÿ���ĸ��ض�����50%��˵�����ͻ��������Ӧ�������ŵ�
�����ܸߣ���Ȼ����û�����������¡�������ÿ���ڵ��и�����
��Ҫ���������������Ӧ�ó���ͷ������̳��������

Active / Passive��һ�����ţ����˳����˶��ϡ��������ر���Ҫ��Ӧ�ú���Դ���Ͼ�
ƽʱ�ܹ���˷ѡ�����

N - 1����Active / Passive�����ж��Activeһ��Passive�������ۺϵķ�������ȻP
assive�ڵ�Ҳ�����Ƕ����

Okay�������ԵĶ�������Ϊֹ��ʣ�µ�ʵ��̳��Ժ��õ��ٿ����ˡ�ϣ�����������ҿ�
���ʱ�����õ������� 
--
Welcome to Database Board
��ӭ������ݿ��
http://bbs.sjtu.edu.cn/bbsdoc?board=database

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 207.46.55.30]
Technical Details
Message-ID: <4d2iBT$b0a@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,c712d86e1c8f27fa,start
X-Google-Attributes: gid101948,domainid0,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS��Database)
Newsgroups: cn.bbs.comp.database
Subject: [LearnNote]Windows 2003 Server Cluste&SQL Related
Date: 13 Nov 2008 09:06:58 GMT
Organization: ��ˮ˼Դ
Message-ID: <4d2iBT$b0a@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1226567213.A