何謂 SQL Server 2000 容錯叢集? V irtual SQL Server(s) Private Network Public Network(s) Node B Node A
Windows Server 2000 容錯叢集
叢集節點 (Node)
Windows 2000 Advanced Server: 2
Windows 2000 Datacenter Server: 4
Heartbeat( 心跳 ) => Private Network
外部網路 => Public Network
共享叢集磁碟陣列 ( Share Disk )
Quorum 磁碟
存在於共享叢集磁碟
儲存叢集管理資料、復原記錄以及節點調停
確保所有節點上叢集設定之一致性
容錯叢集如何運作
使用 HEARTBEAT ( 心跳 ) 去檢查彼此之間的節點是否還存活著
每隔 5 秒鐘檢查一次 ”心跳” (Looks-alive)
假如失敗 , 還要再試驗 5 次 (Retry 5 times)
連續 5 次反應的話 , 才斷定另一節點失敗
此時將失敗節點的資源 , 轉移到另個節點上
Active-Passive 模式
Active-Active 模式
前置作業
安裝 Windows 2000 Server Cluster Step-by-Step Guide to Installing Cluster Service http://www.microsoft.com/windows2000/techinfo/planning/server/clustersteps.asp
確認事件檢視器中無任何錯誤
除了下列服務外,停掉所有其他的服務:
Alerter
Cluster Service
Computer Browser
Distributed File System
Distributed Link Tracking Client
Distributed Link Tracking Server
DNS Client
Event Log
License Logging Service
Logical Disk Manager
Messenger
Net Logon
Windows NT LM Security Support Provider
Network Connectors
Plug and Play
Process Control
Remote Procedure Call (RPC) Locator
Remote Procedure Call (RPC) Service
Remote Registry Service
Removable Storage
Security Accounts Manager
Server
Spooler
TCP/IP NetBIOS Helper
Windows Management Instrumentation
Driver Extensions
Windows Time Service
Workstation
安裝順序
安裝 Windows 2000 Advanced Server
設定網路組態,在內部私有網路上停用 NetBIOS
建立 Cluster 服務帳號
設定共享磁碟
在一個節點上安裝 Windows 叢集
將另一節點加入叢集
在所有節點執行 comclust.exe 以建立 MS DTC ( Microsoft Distributed Transaction Coordinator)
32 Windows 2000 Datacenter Server 8 Windows 2000 Advanced Server 8 Windows NT 4.0, Enterprise Edition 最大處理器數量 作業系統 64 GB ( 啟用 AWE) Windows 2000 Datacenter Server 8 GB ( 啟用 AWE) Windows 2000 Advanced Server 3 GB Windows NT 4.0, Enterprise Edition 最大記憶體 作業系統
SQL Server 2000 容錯叢集 相依性 (Dependency) SQL Server SQL Server FullText SQL Server SQL Server Agent SQL Server Network Name, Disk Resource SQL Server ( 虛擬伺服器本身 ) SQL Server IP Address SQL Server Network Name None SQL Server IP Address Cluster Name, Disk Resource MS DTC None Quorum Cluster IP Address Cluster Name None Cluster IP Address Dependencies Resource
檢驗 SQL Server 容錯叢集 DEMO
管理員帳戶
在安裝伺服器叢集與 SQL Server 虛擬伺服器前需設定一些 Windows 帳戶
建立一網域管理員帳戶,用來管理並擁有所有叢集,之後也會用來安裝 SQL Server 虛擬伺服器
至少建立一個用來管理 SQL Server 及 SQL Server Agent 的網域帳戶
此帳戶必需有以下權限
Local Administrators 群組的一員
Act as part of the operating system, Log on as a service 以及 Replace a process level token
Cluster service 的服務帳戶必需有登入 SQL Server 的權限
如果要改變 SQL Server 虛擬伺服器的帳戶,需使用 Enterprise Manager 來變更
在 SQL Server 安裝程式中出現 「無法刪除 SQL Server 的資源 , 必須以手動方式移除 , 解除安裝將繼續進行。」的錯誤訊息
如果 SQL Server 安裝程式無法刪除所有的 SQL Server 資訊,就會出現這個訊息。您必須進入「控制台」中,並將您在每個節點上嘗試要移除的 SQL Server 執行個體 (Instance) 解除安裝。
移除 SQL Server 需放入原先安裝之光碟,選擇”移除”項目
如何手動解除安裝 SQL Server ,請參照 INF Q276044 文件 http://support.microsoft.com/default.aspx?scid=kb;zh-tw;276044
無法啟用叢集作業系統的錯誤記錄檔 (Error Log)
錯誤記錄檔可供叢集組態方面的問題除錯 (Debug) 之用。若要啟用叢集錯誤記錄檔,請設定系統環境變數 CLUSTERLOG=<path to file> ( 例如, CLUSTERLOG=c:winntclustercluster.log) 。在 Windows 2000 中,預設會啟用這個錯誤記錄檔。
更多的資源網站
相關參考資料
Article Q254321, "Clustered SQL Server Do's, Don'ts, and Basic Warnings," in the Microsoft Knowledge Base at http:// support.microsoft.com/default.aspx?scid =kb;en-us;254321&sd=tech
Article Q259267, "Microsoft Cluster Service Installation Resources," in the Microsoft Knowledge Base at http:// support.microsoft.com/default.aspx?scid =kb;en-us;259267&sd=tech
別忘了還有 Technet and MSDN…
http://www.microsoft.com/ technet
http:// msdn.microsoft.com
好康道相報 -- 微軟線上專家對談
TechNet 線上社群「與微軟專家對談」
日期: 4 月 4 日 ( 星期五 ) 上午十點至十一點半
主題:如何部署及管理 SQL Server 2000 叢集技術 ( 資料庫伺服器 (SQL) 討論區 )
將抽出 10 位幸運參與討論者,各可獲得 TechNet T 恤乙件!
網址 : http://www.microsoft.com/taiwan/community/
將有微軟專家與您進行線上討論及解答您的問題 .
整體服務 Insights & Answers for IT Professionals
TechNet 光碟、 TechNet Plus 光碟
Microsoft ® TechNet 實務技術講座
網站
www.microsoft.com/taiwan/technet
TechNet Flash 資訊技術人電子快 訊
TechNet CD 標準版 內容 一年十二期
Microsoft Knowledge Base
精通所有產品的 Resource Kits
讓系統保持最佳狀態的 Service Packs, patches, drivers, tools 等等
實務技術文章
評估與部署指南
TechNet 技術訓練課程 (Seminar Online)
個案研討、建置策略白皮書
…
TechNet Plus CD 內容
TechNet Plus
=
TechNet 標準版光碟的內容
+
Microsoft 各種最新產品的 Beta 評估版以及正式評估版光碟
結 論 Windows + SQL Server 2000 容錯叢集 為您的資料庫提供絕佳的可用性與延展性 HIGH AVAILABILITY HIGH SCALABILITY
0 comments
Post a comment