HACMP V5.3安裝文檔

HACMP V5.3安裝文檔

 

準備工作:

1、每臺主機兩個物理網卡boot1boot2(老版本中稱爲stby);boot1boot2爲不同網段。兩臺主機之間的boot1可以互相ping通,兩臺主機的boot2也能互相ping通。

2、每臺主機的/etc/hosts文件一致。

3、每臺主機/.rhosts文件一致,並使其權限爲600

4、兩臺主機通過串口做心跳,並確保已通過tty的測試。

5、每臺主機AIXHACMP的補丁均爲最新。

配置步驟(以下步驟通過smitty hacmp命令運行):

1、讓HACMP檢測當前的環境。

Extended Configuration > Discover HACMP-related Information

from Configured Nodes

 

2、配置cluster name

Extended Configuration > Extended Topology Configuration >

Configure an HACMP Cluster > Add/Change/Show an HACMP Cluster

 

3、分別加入參與該cluster的主機。

Extended Configuration > Extended Topology Configuration >

Configure HACMP Nodes > Add a Node to the HACMP Cluster

加入兩臺主機之後,再次運行一下Discover選項,會有如下輸出:

 

4、添加基於IP的網絡。

Configuration > Extended Topology Configuration >

Configure HACMP Networks> Add a Network to the HACMP Cluster

選擇“ethernet”,添加IP網絡

其中Enable IP Takeover via IP Aliases項,如果SVC IP地址與boot1地址在同一網段,則選擇“NO”,反之選擇“YES

 

5、添加基於非IP的網絡,即串口心跳。

Extended Configuration > Extended Topology Configuration >

Configure HACMP Networks > Add a Network to the HACMP Cluster

選擇RS232,添加串口心跳。

 

6、添加IP地址。

Extended Configuration > Extended Topology Configuration

> Configure HACMP Communication Interfaces/Devices > Add Communication

Interfaces/Devices.

 

7、同樣的路徑添加串口設備。

Extended Configuration > Extended Topology Configuration

> Configure HACMP Communication Interfaces/Devices > Add Communication

Interfaces/Devices.

 

8、添加SVC IP

Extended Configuration > Extended Resource Configuration >

HACMP Extended Resources Configuration > Configure HACMP Service IP

Labels/Addresses > Add a Service IP Label/Address

 

9、添加應用腳本,可先用空腳本來替代,單獨測試HACMP

Extended Configuration > Extended Resource Configuration >

HACMP Extended Resources Configuration > Configure HACMP Applications >

Configure HACMP Application Servers > Add an Application Server

 

10、添加資源組。

Extended Configuration > Extended Resource Configuration >

HACMP Extended Resource Group Configuration > Add a Resource Group

Participating Nodes (Default Node Priority)”項,可以用F4選擇,如果希望本資源組優先在node1主機起來,則將node1排在第一位,中間空格,再輸入node2節點名。

Startup Policy”項,選擇“Online On Home Node Only”。

Fallover Policy”項,選擇“Fallover To Next Priority Node In The List”。

Fallback Policy”項,選擇“Fallback To Higher Priority Node In The List”,則資源會自動切回。選擇“Never Fallback”,則資源不會自動切回。

 

11、修改資源組。

select Extended Configuration > Extended Resource Configuration >

Extended Resource Group Configuration > Change/Show Resources and Attributes

for a Resource Group

Service IP Labels/Addresses”項,用F4瀏覽選擇當前資源組的SVC IP

Application Servers”項,用F4瀏覽選擇當前資源組的應用腳本。

Volume Groups”項,用F4瀏覽當前資源組所需的VG

 

12、同步兩臺主機的HACMP配置。

Extended Configuration > Extended Verification and Synchronization

Automatically correct errors found during verification?”項,選擇“YES

 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章