HACMP安装、配置,施实全过程环境:两台P630:P630_1,P630_2磁盘陈列:7133-D40共享卷组:oravg1、在两台计算机上设置IP地址〔1 在p630_1机上:A. 配置第一块boot网卡->#smitty->Communications Applications and Services->TCP/IP->Minimum Configuration & Startupselect en2* HOSTNAME [p630_1]* Internet ADDRESS [10.10.9.1]Network MASK [255.255.255.0]* Network INTERFACE en1NAMESERVERInternet ADDRESS []DOMAIN Name []Default GATEWAY Address [] B. 配置第二块boot网卡->#smitty->Communications Applications and Services->TCP/IP->Minimum Configuration & Startupselect en1* HOSTNAME [p630_1]* Internet ADDRESS [10.10.10.1]Network MASK [255.255.255.0]* Network INTERFACE en3NAMESERVERInternet ADDRESS []DOMAIN Name []Default GATEWAY Address [] 〔2 在p630_2机上:A. 配置第一块boot网卡->#smitty->Communications Applications and Services->TCP/IP->Minimum Configuration & Startupselect en2* HOSTNAME [p630_2]* Internet ADDRESS [10.10.9.2]Network MASK [255.255.255.0]* Network INTERFACE en1NAMESERVERInternet ADDRESS []DOMAIN Name []Default GATEWAY Address [] B. 配置第二块boot网卡->#smitty->Communications Applications and Services->TCP/IP->Minimum Configuration & Startupselect en1* HOSTNAME [p630_2]* Internet ADDRESS [10.10.10.2]Network MASK [255.255.255.0]* Network INTERFACE en3NAMESERVERInternet ADDRESS []DOMAIN Name []Default GATEWAY Address [] 2、修改/etc/hosts文件,内容如下:127.0.0.1 loopback localhost p630_1 10.10.9.1 boot_11 p630_110.10.10.1 boot_12 p630_1192.168.1.1 service110.10.9.2 boot_21 p630_210.10.10.2 boot_22 p630_2192.168.1.2 service23、在p630_1上建立共享卷组建立oravg共享卷组->#smitty ->System Storage Management ->Logical Volume Manager->Volume Groups->Add a Volume GroupVOLUME GROUP name [oravg]Physical partition SIZE in megabytes [128]* PHYSICAL VOLUME names [hdisk2]Activate volume group AUTOMATICALLY [no]at system restart?Volume Group MAJOR NUMBER []Create VG concurrent Capable? [yes]Auto-varyon in Concurrent Mode? [no]4、在p630_2上import共享卷组〔1 import oravg共享卷组->#smitty->System Storage Management ->Logical Volume Manager->Volume Groups->Import a Volume GroupVOLUME GROUP name [oravg]* PHYSICAL VOLUME name [hdisk2]Volume Group MAJOR NUMBER []Make this VG Concurrent Capable noMake default varyon of VG Concurrent? no〔2 修改oravg共享卷组属性->#smitty->System Storage Management ->Logical Volume Manager->Volume Groups->Set Characteristics of a Volume Group->Change a Volume Groupselect * VOLUME GROUP name [oravg]VOLUME GROUP name [oravg]* ACTIVATE volume group AUTOMATICALLY [no]at system restart?* A QUORUM of disks required to keep the volume [yes]group on-line?Convert this VG to Concurrent Capable? [no]* Autovaryon VG in Concurrent Mode? [no]5、在p630_1 和p630_2上配置非TCP/IP网络->#smitty->Devices->TTY->Add a TTYselect tty rs232 Asynchronous TerminalTTY type [tty]TTY interface [rs232]Description [Terminal asynchrone]Parent adapter [sa3]* PORT number [0]BAUD rate [9600]PARITY [none]BITS per characte Number of STOP BITS [1]TERMINAL type [dumb]STATE to be configured at boot time [available]......Enable LOGIN [disable]用Serial to Serial Cable连接一号机和二号机的COM3,作为HACMP的心跳线测试心跳线:1> 在p630_1机上执行: cat < /dev/tty02> 在p630_2上执行: cat /etc/hosts > /dev/tty03> 在p630_1上若显示出p630_2的/etc/hosts文件内容,说明心跳线配置正确6、建立应用服务器启动脚本在/etc/hascript下分别建立dbstart.sh, dbstop.sh, 然后修改文件属性为755:#chomd 755 *7、 HACMP的设置〔1定义CLUSTER->Initialization and Standard Configuration->Add Nodes to an HACMP ClusterAdd/Change/Show an HACMP Cluster[输入字段]* Cluster Name [wly]NOTE: HACMP must be RESTARTEDon all nodes in order for change to take effect〔2定义p630_1节点-> Extended Configuration-> Extended Topology Configuration->Configure HACMP Nodes-> Add a Node to the HACMP ClusterAdd a Node to the HACMP Cluster[输入字段]* Node Name [p630_1]Communication Path to Node [] +〔2定义p630_2节点-> Extended Configuration-> Extended Topology Configuration->Configure HACMP Nodes-> Add a Node to the HACMP ClusterAdd a Node to the HACMP Cluster[输入字段]* Node Name [p630_1]Communication Path to Node [] +<3> 定义网络A. 定义IP网络-> Extended Configuration->Extended Topology Configuration->Configure HACMP Networks-> Add a Network to the HACMP Cluster Add an IP-Based Network to the HACMP Cluster[输入字段] * Network Name [net_ether_01] * Network Type ether* Netmask [255.255.255.0] +* Enable IP Address Takeover via IP Aliases [Yes] +IP Address Offset for Heartbeating over IP Aliases []B. 定义非IP网络-> Extended Configuration->Extended Topology Configuration->Configure HACMP Netwo。