




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、HACMP 5.4配置文檔1.軟件環(huán)境21.1 AIX 5300-0521.2 HAMCP 5.422. 硬件環(huán)境23. 系統(tǒng)環(huán)境23.1 /etc/hosts23.2 /.rhosts24. 配置HACMP 以下操作只需在一個節(jié)點(diǎn)上操作即可24.1 配置網(wǎng)絡(luò)拓樸24.1.1 配置Cluster Name24.1.2 配置Cluster節(jié)點(diǎn)24.1.3 配置HACMP網(wǎng)絡(luò)34.1.3.1 創(chuàng)建IP網(wǎng)絡(luò)34.1.3.2 創(chuàng)建串口心跳網(wǎng)絡(luò)34.1.3.3 創(chuàng)建磁盤心跳網(wǎng)絡(luò)34.1.4 添加網(wǎng)絡(luò)到Cluster34.1.4.1 創(chuàng)建IP通信接口34.1.4.2 創(chuàng)建串口通信設(shè)備44.1.4.3 創(chuàng)建
2、磁盤通信設(shè)備54.2 配置HACMP資源54.2.1 配置資源54.2.1.1 創(chuàng)建Applications Servers54.2.1.2 創(chuàng)建Service IP54.2.2 配置資源組64.2.2.1 創(chuàng)建資源組64.2.2.2 配置資源組屬性65. 校驗并同步HACMP配置76. 啟動/停止HACMP76.1 啟動HACMP(快速路徑:#smitty clstart)76.2 停止HACMP(快速路徑:#smitty clstop)87. 測試HACMP(這里僅為模擬測試)81. 軟件環(huán)境1.1 AIX 5300-051.2 HAMCP 5.42. 硬件環(huán)境P630兩臺DS4300存儲
3、一臺串口線一根 3. 系統(tǒng)環(huán)境3.1 /etc/hosts 127.0.0.1 loopback localhost p630a(另一節(jié)點(diǎn)為p630b) p630a_stb p630b_stb p630a_boot p630b_boot p630a_svc p630b_svc3.2 /.rhosts192.168.1.100 192.168.1.200 4. 配置HACMP 以下操作只需在一個節(jié)點(diǎn)上操作即可4.1 配置網(wǎng)絡(luò)拓樸 配置Cluster Name # smitty hacmp Extended Configuration Extended Topology Configuration
4、 Configure an HACMP Cluster Add/Change/Show an HACMP Cluster * Cluster Name testcluster 配置Cluster節(jié)點(diǎn) # smitty hacmp Extended Configuration Extended Topology Configuration Configure HACMP Nodes Add a Node to the HACMP Cluste *NodeName NodeA Communication Path to Node p630a_boot +以同樣方法將NodeB添加到Cluster中
5、 *NodeName NodeB Communication Path to Node p630b_boot + 配置HACMP網(wǎng)絡(luò).1 創(chuàng)建IP網(wǎng)絡(luò) # smitty hacmp Extended Configuration Extended Topology Configuration Configure HACMP Networks Add a Network to the HACMP Cluster * NetworkName net_ether_01 * NetworkType ether * Netmask 255.255.255.0 +* Enable IP Address Ta
6、keover via IP Aliases Yes + IP Address Offset for Heartbeating over IP Aliases 使用同樣的方法創(chuàng)建net_ether_02 * Enable IP Address Takeover via IP Aliases Yes 此選項決定了HACMP的IP切換方式,但值得一提的是只有“boot”、“standby”、“service”三個IP分別為三個不同網(wǎng)段時必須選用IP Aliases方式。如果“boot”、“standby”其中一個與“service”為同一個網(wǎng)段時必須選用IP Replace,則此選項應(yīng)選“NO”。.
7、2 創(chuàng)建串口心跳網(wǎng)絡(luò) # smitty hacmp Extended Configuration Extended Topology Configuration Configure HACMP Networks Add a Network to the HACMP Cluster * NetworkName net_rs232_01* Network Type rs232 .3 創(chuàng)建磁盤心跳網(wǎng)絡(luò) # smitty hacmpExtended Configuration Extended Topology ConfigurationConfigure HACMP Networks Add a N
8、etwork to the HACMP Cluster* Network Name net_diskhb_01* Network Type diskhb 添加網(wǎng)絡(luò)到Cluster.1 創(chuàng)建IP通信接口 # smitty hacmp Extended Configuration Extended Topology Configuration Configure HACMP Networks Configure HACMP Communication Interfaces/Devices Add Communication Interfaces/Device Add Pre-defined Com
9、munication Interfaces and Devices Communication Interfaces * IP Label/Address p630a_boot + * Network Type ether * Network Name net_ether_01 * Node Name NodeA + Network Interface 同樣方法添加另一個通信接口到”net_ether_01” * IP Label/Address p630b_boot + * Network Type ether * Network Name net_ether_01 * Node Name
10、NodeB + Network Interface 同樣方法創(chuàng)建另一個通信接口 * IP Label/Address p630a_ stb + * Network Type ether * Network Name net_ether_02 * Node Name NodeA + Network Interface * IP Label/Address p630b_ stb + * Network Type ether * Network Name net_ether_02 * Node Name NodeB + Network Interface .2 創(chuàng)建串口通信設(shè)備 # smitty h
11、acmp Extended Configuration Extended Topology Configuration Configure HACMP Networks Configure HACMP Communication Interfaces/Devices Add Communication Interfaces/Device Add Pre-defined Communication Interfaces and Devices Communication Devices * Device Name rs232_node_a * Network Type rs232 * Netwo
12、rk Name net_rs232_01 * Device Path /dev/tty0 * Node Name NodeA + 以同樣方法創(chuàng)建另一個串口通信設(shè)備 * Device Name rs232_node_b * Network Type rs232 * Network Name net_rs232_01 * Device Path /dev/tty0 * Node Name NodeB +.3 創(chuàng)建磁盤通信設(shè)備 # smitty hacmp Extended Configuration Extended Topology Configuration Configure HACMP N
13、etworks Configure HACMP Communication Interfaces/Devices Add Communication Interfaces/Device Add Pre-defined Communication Interfaces and Devices Communication Devices * Device Name diskhb_node_a * Network Type diskhb * Network Name net_diskhb_01 * Device Path /dev/hdisk1 * Node Name NodeA + 同樣方法創(chuàng)建另
14、一個磁盤通信設(shè)備 * Device Name diskhb_node_b * Network Type diskhb * Network Name net_diskhb_01 * Device Path /dev/hdisk1 * Node Name NodeA + 做磁盤心跳的磁盤必須將VG創(chuàng)建為Concurrent模式4.2 配置HACMP資源 配置資源.1 創(chuàng)建Applications Servers # smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resources
15、 Configuration Configure HACMP Applications Servers Add an Application Server * Server Name appserver * Start Script /hascript/clstart.sh* Stop Script /hascript/clstop.sh需要手動在兩個節(jié)點(diǎn)上建立“/hascript/clstart.sh”、“/hascript/clstop.sh”并保證其有執(zhí)行權(quán)限。如果是雙機(jī)互備的話需要建立兩個App Server。方法相同。.2 創(chuàng)建Service IP # smitty hacmp Ex
16、tended Configuration Extended Resource Configuration HACMP Extended Resources Configuration Configure HACMP Service IP Labels/Addresses Add a Service IP Label/AddressConfigurable on Multiple Nodes * IP Label/Address p630a_svc +* Network Name net_ether_01 同樣方法配置第二個Service IP * IP Label/Address p630b_
17、svc +* Network Name net_ether_02 Network Name:“net_ether_01”、“ net_ether_02” 決定了與之對應(yīng)的Service IP默認(rèn)在哪個網(wǎng)卡上啟動。 配置資源組.1 創(chuàng)建資源組 # smitty hacmp Extended Configuration Extended Resource Configuration Add a Resource Group* Resource Group Name rg_node_a Participating Nodes (Default Node Priority) NodeA NodeB +
18、 Startup Policy Online On Home Node O + Fallover Policy Fallover To Next Prio + Fallback Policy Fallback To Higher Pr +如果是雙機(jī)互備的話以同樣方法建立另一個資源組 * Resource Group Name rg_node_b Participating Nodes (Default Node Priority) NodeB NodeA + “Participating Nodes”選項決定了資源組中節(jié)點(diǎn)的優(yōu)先級,寫在前面的節(jié)點(diǎn)其優(yōu)先級高于后面的節(jié)點(diǎn)。 根據(jù)實際需求決定資源組
19、的:“Startup Policy”、“Fallover Policy”、“Fallback Policy”。 Startup Policy:Online On Home Node Only: 只在主節(jié)點(diǎn)啟動。在 “Participating Nodes”中寫在第一位的節(jié)點(diǎn)啟動。Online On First Available Node:在第一個啟動的節(jié)點(diǎn)啟動。在“Participating Nodes”中所選擇的所有節(jié)點(diǎn)中最先啟動的節(jié)點(diǎn)上啟動。Online Using Distribution Policy:按照分布策略啟動Online On All Available Nodes:在所有
20、啟動的節(jié)點(diǎn)中啟動。做并發(fā)群集時選擇此項。如:Oracle RAC Fallover Policy:Fallover To Next Priority Node In The List:節(jié)點(diǎn)失敗時資源組遷移到下一優(yōu)先級節(jié)點(diǎn)Fallover Using Dynamic Node Priority:節(jié)點(diǎn)失敗時動態(tài)選擇遷移節(jié)點(diǎn)Bring Offline (On Error Node Only):將資源組下線 Fallback Policy:Fallback To Higher Priority Node In The List:節(jié)點(diǎn)恢復(fù)時資源組返回優(yōu)先級高的節(jié)點(diǎn)Never Fallback:不進(jìn)行資源
21、組回遷.2 配置資源組屬性 # smitty hacmp Extended Configuration Extended Resource Configuration Change/Show Resources and Attributes for a Resource Group Resource Group Name rg_node_a Participating Nodes (Default Node Priority) NodeA NodeB Startup Policy Online On Home Node O Fallover Policy Fallover To Next Pr
22、io Fallback Policy Fallback To Higher Pr Fallback Timer Policy (empty is immediate) + Service IP Labels/Addresses p630a_svc +Application Servers appserver + Volume Groups datavg+Use forced varyon of volume groups, if necessary false+Automatically Import Volume Groups ture+Filesystems (empty is ALL f
23、or VGs specified) +Filesystems Consistency Check fsck+Filesystems Recovery Method sequential+Filesystems mounted before IP configured false+Filesystems/Directories to Export +Filesystems/Directories to NFS Mount Network For NFS Mount +Tape Resources +Raw Disk PVIDs +Fast Connect Services +Communicat
24、ion Links +Primary Workload Manager Class +Secondary Workload Manager Class +如果是雙機(jī)互備以同樣方法修改另一個資源組屬性5. 校驗并同步HACMP配置 # smitty hacmp Extended Configuration Extended Verification and Synchronization * Verify, Synchronize or Both Both +* Automatically correct errors found during Interactively + verificat
25、ion? * Force synchronization if verification fails? No +* Verify changes only? No +* Logging Standard +6. 啟動/停止HACMP6.1 啟動HACMP(快速路徑:#smitty clstart) # smitty hacmp System Management (C-SPOC) Manage HACMP Services Start Cluster Services * Start now, on system restart or both now Start Cluster Services on these nodes NodeA NodeB * Manage Resource Groups Automatically BROADCAST message at startup? true Startup Cluster Inf
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 江蘇南京金陵中學(xué)2024~2025學(xué)年高二下冊期末考試數(shù)學(xué)試題學(xué)生卷
- 江蘇常州聯(lián)盟學(xué)校2024~2025學(xué)年高一下冊期末調(diào)研數(shù)學(xué)試題學(xué)生卷
- 農(nóng)村居民消費(fèi)升級對農(nóng)村金融服務(wù)的需求變化考核試卷
- 創(chuàng)新思維培訓(xùn)效果評估考核試卷
- 設(shè)備自動化升級方案考核試卷
- 健康促進(jìn)項目評估中的慢性病預(yù)防與控制效果評價考核試卷
- 水資源保護(hù)法規(guī)考核試卷
- 壓力傳感器數(shù)據(jù)傳輸考核試卷
- 哺乳期營養(yǎng)保健品效果評價考核試卷
- 智能化醫(yī)療器械產(chǎn)品追溯系統(tǒng)考核試卷
- 江蘇省南京市六校聯(lián)合體2024-2025學(xué)年高一下學(xué)期期末調(diào)研測試歷史試題(含答案)
- 2025年法律職業(yè)資格考試民法專項練習(xí)卷:合同法真題解析及試題
- 2025年河南省高考物理真題(解析版)
- 玻尿酸介紹課件
- 2025中國心肌病綜合管理指南要點(diǎn)解讀課件
- 7數(shù)滬科版期末考試卷-2024-2025學(xué)年七年級(初一)數(shù)學(xué)下冊期末考試模擬卷03
- 涼山州木里縣選聘社區(qū)工作者筆試真題2024
- 公共組織績效評估-形考任務(wù)一(占10%)-國開(ZJ)-參考資料
- GB/T 45439-2025燃?xì)鈿馄亢腿細(xì)馄块y溯源二維碼應(yīng)用技術(shù)規(guī)范
- 臺球廳股東合同范例
- 2024年個人信用報告(個人簡版)樣本(帶水印-可編輯)
評論
0/150
提交評論