版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、配置HACMP5.3(使用磁盤(pán)做心跳)S5.2.0.0 ML=520007 HACMP=5.3 HA_FIX=IY84883 使用別名ALIAS方式配置HACMP5.3 一、定義兩臺(tái)機(jī)的網(wǎng)卡地址,修改 /etc/hosts/etc/hosts10.0.0.70 lpar01_boot10.0.0.71 lpar02_boot 10.1.0.
2、71 lpar2_stb10.1.0.70 lpar1_stb 18.0.45.10 lpar1_svc18.0.45.11 lpar2_svc 18.0.45.100 lpar1_per18.0.45.101
3、0; lpar2_per 二、建立共享VG和心跳VG (本例單獨(dú)使用heartbeat VG 來(lái)做心跳,在使用中沒(méi)有varyon) 建磁盤(pán)心跳的vg,該vg必須是concurrent類型的vg 在Lpar01 mkvg -C V44 y hb_vg hdisk4注意:在64bit 下只能Enhanced Concurrent volume groups在Lpar02&
4、#160; importvg -V44 -y hb_vg hdisk4 注意:2邊vg的major要一致,可以用lvlstmajor命令查看,分配沒(méi)有使用的major給該vg。 建HA資源組控制的vg 在Lpar01mkvg -n V45 -y sharevg1 hdisk5mkvg -n V46 -y sharevg2 hdisk6 在Lpar02# importvg -V
5、45 -y sharevg1 hdisk5#chvg a n sharevg1# importvg -V 46 -y sharevg2 hdisk6#chvg a n sharevg2 二、配置smitty hacmp (1)Extended ConfigurationExtended Topology ConfigurationConfigure an
6、HACMP Cluster Add/Change/Show an HACMP Cluster* Cluster Name
7、 cluster (2)Extended Configuration Extended Topology ConfigurationConfigure HACMP Nodes Add a Node to the HACMP Cluster* Node Name &
8、#160; lpar01 Communication Path to Node
9、160; lpar01_boot + (3)Extended ConfigurationExtended Topology ConfigurationConfigure HACMP Nodes Add a Node to the&
10、#160;HACMP Cluster* Node Name lpar02
11、0;Communication Path to Node lpar02_boot (4)Extended ConfigurationDiscover HACMP-related Information from
12、 Configured Nodes如果有警告或報(bào)錯(cuò) 通訊問(wèn)題,檢查每臺(tái)機(jī)/usr/es/sbin/cluster/etc/rhosts,將上面lpar01_boot 和lpar02_boot分別加入到對(duì)方機(jī)(為了減少麻煩,可以直接把所有的label全部寫(xiě)進(jìn)該文件) (5)Extended ConfigurationExtended Topology Configuration Configure HACMP Networks# Discovered IP-based
13、 Network Types > ether Add an IP-Based Ne
14、twork to the HACMP Cluster* Network Name
15、160;net_ether_01 * Network Type
16、160; ether* Netmask &
17、#160; 255.255.255.0 * Enable IP Address Takeover via IP Aliases Yes
18、60; IP Address Offset for Heartbeating over IP Aliases 10.10.10.1 (可選) (6)Extended ConfigurationExtended Topology Configuration Configure HACMP Networks# Di
19、scovered Serial Device Types >&
20、#160;diskhb &
21、#160; Tmssa Add a Serial Network to the HACMP Cluster
22、0; Entry Fields* Network Name
23、; net_diskhb_01 * Network Type
24、0; diskhb (7)Extended ConfigurationExtended Topology Configuratio
25、n Configure HACMP Communication Interfaces/Device Add Discovered Communication Interface and Devices Communication Interfaces net_ether_01 &
26、#160; &
27、#160; # Node / Network
28、 # Interface IP Label &
29、#160; IP Address # net_ether_01 / lpar01
30、160; > en0 &
31、#160; lpar01_boot 10.0.0.70 > &
32、#160;en1 lpar1_stb 10.1.0.70
33、0; # net_ether_01 / lpar02
34、160; > en2 lpar02_boot
35、160; 10.0.0.71 > en3 lpar2_stb &
36、#160; 10.1.0.71 (8)Extended ConfigurationExtended Topology Configuration Configure HACMP Communication Interfaces/Device Add
37、 Discovered Communication Interface and Devices # Node Device D
38、evice Path Pvid lpar01 hdisk
39、4 /dev/hdisk4 0000176f7b3 lpar02 hdisk4 &
40、#160;/dev/hdisk4 0000176f7b3 lpar01 hdisk5 /dev/hdis
41、k5 0000176f5b5 lpar02 hdisk5 /dev/hdisk5
42、 0000176f5b5 lpar02 tmssa1 /dev/tmssa1
43、160; lpar01 tmssa2
44、160;/dev/tmssa2 lpar01
45、60; tty0 /dev/tty0 lpar01
46、160; tty1 /dev/tty1 (9)Extended ConfigurationExtended Topology Configuration Configure HACMP Persistent Node IP Label/A
47、ddresses Add a Persistent Node IP Label/Addresslpar01 &
48、#160; Entry Fields* Node Name
49、; lpar01 * Network Name
50、; net_ether_01 +* Node IP Label/Address
51、160; lpar1_per + (10)Extended ConfigurationExtended Topology Configurati
52、on Configure HACMP Persistent Node IP Label/Addresses Add a Persistent Node IP Label/Address lpar01
53、160; Entry Fields* Node Name
54、 lpar02 * Network Name
55、 net_ether_01 +* Node
56、 IP Label/Address lpar2_per +
57、; (11)Extended ConfigurationExtended Resource Configuration HACMP Extended Resources Configuration Configure HACMP Applications Configure HACMP Application Servers-
58、 Entry Fields*
59、Server Name lpar01_app* Start script
60、0; /hascript/hastart1 * Stop script
61、; /hascript/hastop1 Application Monitor Name(s)
62、; (12)Extended ConfigurationExtended Resource Configuration HACMP Extended Resources ConfigurationConfigure HACMP Applications Configure HACMP Application Servers- &
63、#160; &
64、#160; Entry Fields* Server Name lpar02_ap
65、p* Start script /hascript/hastart2 * Stop
66、script /hascript/hastop2 Application Monitor&
67、#160;Name(s) (13)Extended ConfigurationExtended Resource Configuration HACMP Extended Resources Configuration Configure HACMP Service IP Labels/Addresses Add a
68、 Service IP Label/Address Configurable on Multiple Nodes net_ether_01
69、; Entry Fields* IP Label/Address
70、160; lpar1_svc +* Network Name
71、0; net_ether_01 Alternate Hardware Address to accompany IP Label/A
72、160; ddress
73、160; (14)Extended ConfigurationExtended Resource Configuration HACMP Extended Resources Configuration Configure HACMP Service IP
74、60;Labels/Addressesà Add a Service IP Label/Address Configurable on Multiple Nodesà net_ether_01
75、 Entry Fields* IP Label/Address
76、60; lpar2_svc +* Network Name
77、; net_ether_01 Alternate Hardware Address to accompany IP
78、0;Label/A ddress (15)Extended ConfigurationExtended Resource ConfigurationHACMP Extended Re
79、source Group Configuration Add a Resource Group &
80、#160; Entry Fields* Resource Group Name
81、160; lpar1_resource* Participating Nodes (Default Node Priority) lpar01 lpar02 + &
82、#160; Startup Policy Online On Home Node Only
83、0; + Fallover Policy Fallover To Next
84、;Priority Node In The Lis> + Fallback Policy Fallback To
85、0;Higher Priority Node In The L> + (16)Extended ConfigurationExtended Resource ConfigurationHACMP Extended Resource Group Configuration Add a Resource Group
86、60; Entry Fields* Resource&
87、#160;Group Name lpar2_resource* Participating Nodes (Default Node Priority)
88、0; lpar02 lpar01 Startup Policy
89、60; Online On Home Node Only + Fallover Policy
90、0; Fallover To Next Priority Node In The Lis> + Fallback Policy
91、; Fallback To Higher Priority Node In The L> + (17)Extended ConfigurationExtended Resource ConfigurationHACMP Extended Resource Group ConfigurationChang
92、e/Show Resources and Attributes for a Resource Group lpar1_resource Service IP Labels/Addresses lpar1_svc
93、60; + Application Servers
94、160; lpar01_app + Volume Gro
95、ups sharevg1 &
96、#160; (18)Extended ConfigurationExtended Resource ConfigurationHACMP Extended Resource Group ConfigurationChange/Show Resources and
97、;Attributes for a Resource Group lpar1_resource Service IP Labels/Addresses lpar2_svc
98、160; + Application Servers &
99、#160; lpar02_app + Volume Groups
100、160; sharevg2 (19)Extended ConfigurationExtended Verification and Synchronization
101、60; Ent
102、ry Fields* Verify, Synchronize or Both Both
103、; +* Automatically correct errors found during No
104、 + verification? 此處選擇YES,系統(tǒng)會(huì)自動(dòng)的修正同步校驗(yàn)時(shí)發(fā)現(xiàn)的問(wèn)題,最好先使用No,自己先去解決出現(xiàn)的問(wèn)題。 (20)#smitty clstartStart Cluster Services
105、60;
106、60; Entry Fields* Start now, on system restart or both now
107、 Start Cluster Services on these nodes lpar01
108、0; BROADCAST message at startup? tr
109、ue Startup Cluster Information Daemon? false Reacquire resources after forced down ?
110、; false Ignore verification errors
111、? false Automatically correct errors found during No
112、60; cluster start? 注意:啟動(dòng)機(jī)器或hacmp 5.3 hacmp停了后,以下進(jìn)程還是活的:# lssrc -g clusterSubsystem Group
113、;PID Status clstrmgrES cluster 417996 active (注意這個(gè)是以前舊版本不一樣) 三、同步校驗(yàn)出現(xiàn)的問(wèn)題(
114、1)對(duì)于安裝后的系統(tǒng),HA校驗(yàn)會(huì)提示更改2個(gè)網(wǎng)絡(luò)選項(xiàng)的值。Network option "nonlocsrcroute" is set to 0,need set to 1Network option "ipsrcrouterecv" is set to 0,need set to 1用下面的命令更改no o nonlocsrcroute=1no
115、o ipsrcrouterecv =1(2)錯(cuò)誤信息提示2個(gè)節(jié)點(diǎn)的共享卷組的time stamp不一致,可以讓系統(tǒng)自動(dòng)修正(3)提示/usr/es/sbin/cluster/etc/clhosts.client文件內(nèi)容不包括HA中的label,通過(guò)檢查發(fā)現(xiàn)該文件并不存在,使用系統(tǒng)自動(dòng)修正,系統(tǒng)產(chǎn)生了該文件并添加了必要的內(nèi)容。 四、磁盤(pán)心跳檢查 在2個(gè)節(jié)點(diǎn)上,用于磁盤(pán)心跳的hb_vg并不需要varyon。(1)# lssrc -ls topsvcs Subsystem
116、160; Group PID Status topsvcs topsvcs 450634 activeNetwork Name Indx Defd Mbrs St Adapter ID Group IDnet_ether_01_0 0 2 0
溫馨提示
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2023年快速搜索定位儀項(xiàng)目資金申請(qǐng)報(bào)告
- 人教版體育三年級(jí)上冊(cè) 跪跳起 教學(xué)設(shè)計(jì)
- 粵教花城版七年級(jí)上冊(cè)音樂(lè) 6.5同一首歌 教案
- 《武術(shù)-抱腿涮摔》教學(xué)設(shè)計(jì)( )
- 第一單元達(dá)標(biāo)測(cè)試卷 (單元測(cè)試)2024-2025學(xué)年統(tǒng)編版語(yǔ)文五年級(jí)上冊(cè)
- 10《塑料》教學(xué)設(shè)計(jì)-2024-2025學(xué)年科學(xué)一年級(jí)上冊(cè)湘科版
- 裝修合同簽訂技巧探討
- 商業(yè)綜合體渣土轉(zhuǎn)運(yùn)協(xié)議
- 花店裝飾合同范本
- 進(jìn)口食品跨國(guó)貨運(yùn)合同
- 2024年中考英語(yǔ)(真題+模擬題)狀語(yǔ)從句(解析版)
- 低嘌呤飲食健康宣教
- pp包覆膜的工藝
- 2024年汽車維修工高級(jí)(三級(jí))技能鑒定考試復(fù)習(xí)題庫(kù)-下(多選、判斷題匯總)
- 鐵路護(hù)路安全教育課件
- 不追逐打鬧安全教育課件
- 促進(jìn)深度學(xué)習(xí)的中學(xué)生物學(xué)教學(xué)策略
- 2024年四川九洲電器集團(tuán)有限責(zé)任公司招聘筆試參考題庫(kù)附帶答案詳解
- 性健康教育教學(xué)課件
- 創(chuàng)新創(chuàng)業(yè)公司的融資策略分析
- 出院手續(xù)的辦理流程和注意事項(xiàng)
評(píng)論
0/150
提交評(píng)論