HAMCP54配置手冊(cè)_第1頁(yè)
HAMCP54配置手冊(cè)_第2頁(yè)
HAMCP54配置手冊(cè)_第3頁(yè)
HAMCP54配置手冊(cè)_第4頁(yè)
HAMCP54配置手冊(cè)_第5頁(yè)
已閱讀5頁(yè),還剩3頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

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 以下操作只需在一個(gè)節(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)建磁盤(pán)心跳網(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、磁盤(pán)通信設(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. 校驗(yàn)并同步HACMP配置76. 啟動(dòng)/停止HACMP76.1 啟動(dòng)HACMP(快速路徑:#smitty clstart)76.2 停止HACMP(快速路徑:#smitty clstop)87. 測(cè)試HACMP(這里僅為模擬測(cè)試)81. 軟件環(huán)境1.1 AIX 5300-051.2 HAMCP 5.42. 硬件環(huán)境P630兩臺(tái)DS4300存儲(chǔ)

3、一臺(tái)串口線一根 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 以下操作只需在一個(gè)節(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 此選項(xiàng)決定了HACMP的IP切換方式,但值得一提的是只有“boot”、“standby”、“service”三個(gè)IP分別為三個(gè)不同網(wǎng)段時(shí)必須選用IP Aliases方式。如果“boot”、“standby”其中一個(gè)與“service”為同一個(gè)網(wǎng)段時(shí)必須選用IP Replace,則此選項(xiàng)應(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)建磁盤(pán)心跳網(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 同樣方法添加另一個(gè)通信接口到”net_ether_01” * IP Label/Address p630b_boot + * Network Type ether * Network Name net_ether_01 * Node Name

10、NodeB + Network Interface 同樣方法創(chuàng)建另一個(gè)通信接口 * 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)建另一個(gè)串口通信設(shè)備 * Device Name rs232_node_b * Network Type rs232 * Network Name net_rs232_01 * Device Path /dev/tty0 * Node Name NodeB +.3 創(chuàng)建磁盤(pán)通信設(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、一個(gè)磁盤(pán)通信設(shè)備 * Device Name diskhb_node_b * Network Type diskhb * Network Name net_diskhb_01 * Device Path /dev/hdisk1 * Node Name NodeA + 做磁盤(pán)心跳的磁盤(pán)必須將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需要手動(dòng)在兩個(gè)節(jié)點(diǎn)上建立“/hascript/clstart.sh”、“/hascript/clstop.sh”并保證其有執(zhí)行權(quán)限。如果是雙機(jī)互備的話需要建立兩個(gè)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 同樣方法配置第二個(gè)Service IP * IP Label/Address p630b_

17、svc +* Network Name net_ether_02 Network Name:“net_ether_01”、“ net_ether_02” 決定了與之對(duì)應(yīng)的Service IP默認(rèn)在哪個(gè)網(wǎng)卡上啟動(dò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ī)互備的話以同樣方法建立另一個(gè)資源組 * Resource Group Name rg_node_b Participating Nodes (Default Node Priority) NodeB NodeA + “Participating Nodes”選項(xiàng)決定了資源組中節(jié)點(diǎn)的優(yōu)先級(jí),寫(xiě)在前面的節(jié)點(diǎn)其優(yōu)先級(jí)高于后面的節(jié)點(diǎn)。 根據(jù)實(shí)際需求決定資源組

19、的:“Startup Policy”、“Fallover Policy”、“Fallback Policy”。 Startup Policy:Online On Home Node Only: 只在主節(jié)點(diǎn)啟動(dòng)。在 “Participating Nodes”中寫(xiě)在第一位的節(jié)點(diǎn)啟動(dòng)。Online On First Available Node:在第一個(gè)啟動(dòng)的節(jié)點(diǎn)啟動(dòng)。在“Participating Nodes”中所選擇的所有節(jié)點(diǎn)中最先啟動(dòng)的節(jié)點(diǎn)上啟動(dòng)。Online Using Distribution Policy:按照分布策略啟動(dòng)Online On All Available Nodes:在所有

20、啟動(dòng)的節(jié)點(diǎn)中啟動(dòng)。做并發(fā)群集時(shí)選擇此項(xiàng)。如:Oracle RAC Fallover Policy:Fallover To Next Priority Node In The List:節(jié)點(diǎn)失敗時(shí)資源組遷移到下一優(yōu)先級(jí)節(jié)點(diǎn)Fallover Using Dynamic Node Priority:節(jié)點(diǎn)失敗時(shí)動(dòng)態(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ù)時(shí)資源組返回優(yōu)先級(jí)高的節(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ī)互備以同樣方法修改另一個(gè)資源組屬性5. 校驗(yàn)并同步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. 啟動(dòng)/停止HACMP6.1 啟動(dòng)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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論