首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > 其他操作系统 > P550上HACMP V5.3配置文档
【标  题】:P550上HACMP V5.3配置文档
【关键字】:P550,HACMP,V5.3
【来  源】:http://www.cublog.cn/u/16863/showart.php?id=111964

P550上HACMP V5.3配置文档

环境:两台P550P550_1P550_2

磁盘陈列:DS4800 82A
共享卷组:oravg

1 在两台计算机上设置IP地址
1 p550_1机上:
A. 配置第一块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup

select en2

* HOSTNAME [p550_1]
* Internet ADDRESS (dotted decimal) [10.10.9.1]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en1
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default GATEWAY Address []

B. 配置第二块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup

select en1

* HOSTNAME [p550_1]
* Internet ADDRESS (dotted decimal) [10.10.10.1]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en3
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default GATEWAY Address []

2 p550_2机上:
A.
配置第一块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup

select en2

* HOSTNAME [p550_2]
* Internet ADDRESS (dotted decimal) [10.10.9.2]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en1
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default GATEWAY Address []


B.
配置第二块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup

select en1

l       HOSTNAME [p550_2]
* Internet ADDRESS (dotted decimal) [10.10.10.2]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en3
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default GATEWAY Address []

 

2 修改/etc/hosts文件,内容如下:
127.0.0.1    loopback localhost     p550_1
10.10.9.1    boot_11              p550_1
10.10.10.1   boot_12              p550_1
192.168.1.1   service1

10.10.9.2     boot_21              p550_2
10.10.10.2    boot_22              p550_2
192.168.1.2    service2
3
p550_1上建立共享卷组
建立oravg共享卷组
->#smitty
->System Storage Management (Phisical & Logical Storage)
->Logical Volume Manager
->Volume Groups
->Add a Volume Group

VOLUME 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 p550_2import共享卷组
1 import oravg共享卷组
->#smitty
->System Storage Management (Phisical & Logical Storage)
->Logical Volume Manager
->Volume Groups
->Import a Volume Group

VOLUME GROUP name [oravg]
* PHYSICAL VOLUME name [hdisk2]
Volume Group MAJOR NUMBER []
Make this VG Concurrent Capable no
Make default varyon of VG Concurrent? no

2 修改oravg共享卷组属性
->#smitty
->System Storage Management (Phisical & Logical Storage)
->Logical Volume Manager
->Volume Groups
->Set Characteristics of a Volume Group
->Change a Volume Group

select * 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 p550_1 p550_2上配置非TCP/IP网络
->#smitty
->Devices
->TTY
->Add a TTY

select tty rs232 Asynchronous Terminal

TTY type [tty]
TTY interface [rs232]
Description [Terminal asynchrone]
Parent adapter [sa3]
* PORT number [0]
BAUD rate [9600]
PARITY [none]
BITS per characte [8]
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)
p550_1机上执行: cat < /dev/tty0
2)
p550_2上执行: cat /etc/hosts > /dev/tty0
3)
p550_1上若显示出p550_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 Cluster
Add/Change/Show an HACMP Cluster

[输入字段]
* Cluster Name [wly]

NOTE: HACMP must be RESTARTED
on all nodes in order for change to take effect

2)定义p550_1节点
-> Extended Configuration
-> Extended Topology Configuration
->Configure HACMP Nodes
-> Add a Node to the HACMP Cluster
Add a Node to the HACMP Cluster

[输入字段]
* Node Name [p550_1]
Communication Path to Node [] +
2)定义p550_2节点
-> Extended Configuration
-> Extended Topology Configuration
->Configure HACMP Nodes
-> Add a Node to the HACMP Cluster
Add a Node to the HACMP Cluster

[输入字段]
* Node Name [p550_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 Networks
-> Add a Network to the HACMP Cluster
选择# Pre-defined Serial Device Types 中的rs232
Add a Serial Network to the HACMP Cluster
[
输入字段]
* Network Name [net_rs232_01]
* Network Type rs232

(4) 定义网络接口
A.
定义IP网络接口
定义Boot_11接口:
-> Extended Configuration
-> Extended Topology Configuration
->Configure HACMP Communication Interfaces/Devices
-> Add Communication Interfaces/Devices
选择 Add Pre-defined Communication Interfaces and Devices
选择 Communication Interfaces
选择net_ether_01 (0.0.0.0/0)
Add a Communication Interface

[输入字段]
* IP Label/Address [boot_11] +
* Network Type ether
* Network Name net_ether_01
* Node Name [p550_1] +
Network Interface []

定义Boot_12接口:
-> Extended Configuration
-> Extended Topology Configuration
->Configure HACMP Communication Interfaces/Devices
-> Add Communication Interfaces/Devices
选择 Add Pre-defined Communication Interfaces and Devices
选择 Communication Interfaces
选择net_ether_01 (0.0.0.0/0)
Add a Communication Interface

[输入字段]
* IP Label/Address [boot_12] +
* Network Type ether
* Network Name net_ether_01
* Node Name [p550_1] +
Network Interface []

定义boot_21接口:
-> Extended Configuration
-> Extended Topology Configuration
->Configure HACMP Communication Interfaces/Devices
-> Add Communication Interfaces/Devices
选择 Add Pre-defined Communication Interfaces and Devices
选择 Communication Interfaces
选择net_ether_01 (0.0.0.0/0)
Add a Communication Interface

[输入字段]
* IP Label/Address [boot_21] +
* Network Type ether
* Network Name net_ether_01
* Node Name [p550_2] +
Network Interface []

定义boot_22接口:
-> Extended Configuration
-> Extended Topology Configuration
->Configure HACMP Communication Interfaces/Devices
-> Add Communication Interfaces/Devices
选择 Add Pre-defined Communication Interfaces and Devices
选择 Communication Interfaces
选择net_ether_01 (0.0.0.0/0)
Add a Communication Interface

[输入字段]
* IP Label/Address [boot_22] +
* Network Type ether
* Network Name net_ether_01
* Node Name [p550_2] +
Network Interface []

B. 定义非IP网络接口
定义p550_1tty接口:
-> Extended Configuration
-> Extended Topology Configuration
->Configure HACMP Communication Interfaces/Devices
-> Add Communication Interfaces/Devices
选择 Add Pre-defined Communication Interfaces and Devices
选择 Communication Device
选择 net_rs232_01
Add a Communication Device
[
输入字段]
* Device Name [p550_1tty]
* Network Type rs232
* Network Name net_rs232_01
* Device Path [/dev/tty0]
* Node Name [p550_1]

定义p550_2tty接口:
-> Extended Configuration
-> Extended Topology Configuration
->Configure HACMP Communication Interfaces/Devices
-> Add Communication Interfaces/Devices
选择 Add Pre-defined Communication Interfaces and Devices
选择 Communication Device
选择 net_rs232_01
Add a Communication Device
[
输入字段]
* Device Name [p550_2tty]
* Network Type rs232
* Network Name net_rs232_01
* Device Path [/dev/tty0]
* Node Name [p550_2]

(5) 定义应用服务器
定义app_server应用服务器:
->Initialization and Standard Configuration
->Configure Application Servers
->Add an Application Server
Add Application Server

[输入字段]
* Server Name [app_server]
* Start Script [/etc/hascript/dbstart.sh]
* Stop Script [/etc/hascript/dbstop.sh]

(6) 定义共享资源组
定义wlyres资源组
->Initialization and Standard Configuration
->Configure HACMP Resource Group
->Add a Resource Group
选择Cascading
Add a Resource Group with a Cascading Management Policy (standard)

[输入字段]
* Resource Group Name [wlyres]
*Participating Node Names (Default Node Priority) [p550_1 p550_2] +

(7) 修改资源组属性
修改wlyres资源组属性:
->Initialization and Standard Configuration
->Configure HACMP Resource Group
-> Change/Show Resources for a Cascading Resource Group(standard)
Change/Show Resources for a Cascading Resource Group

[输入字段]
Resource Group Name wlyres
Participating Node Names (Default Node Priority) p550_2 p550_1
* Service IP Labels/Addresses [] +
Volume Groups [oravg] +
Filesystems (empty is ALL for VGs specified) [] +
Application Servers [wlyapp] +

(8) 定义Service IP
定义p550_1service IP地址:
->Initialization and Standard Configuration
->Configure Resources to Make Highly Available
->Configure Service IP Labeles/Addresses
->Add a service IP Labeles/Addresses
Add a Service IP Label/Address (standard)

[输入字段]
* IP Label/Address [service1] +
* Network Name [net_ether_01] +

8 同步HACMP配置
->Initialization and Standard Configuration
-> Verify and Synchronize HACMP Comfiguration
Verify and Synchronize HACMP Comfiguration

[输入字段]
* Verify, Synchronize or Both [Both] +
Force synchronization if verification fails? [No] +
* Verify changes only? [No] +
* Logging [Standard] +

9 HACMP服务的启动和停止
启动:
#smitty clstart
Start Cluster Services
[
输入字段]
* Start now, on system restart or both now +
Start Cluster Services on these nodes [p550_1] +
BROADCAST message at startup? true +
Startup Cluster Lock Services? false +
Startup Cluster Information Daemon? false +
Reacquire resources after forced down ? false +

停止:
#smitty clstop
Stop Cluster Services
[
输入字段]
* Stop now, on system restart or both now +
Stop Cluster Services on these nodes [p550_1] +
BROADCAST cluster shutdown? true +
* Shutdown mode graceful+

 

制定逻辑卷策略:【上一篇】
AIX双机+HACMP(转载):【下一篇】
【相关文章】
  • 浅谈HACMP
  • HACMP软件的安装与配置
  • 在HACMP中使用磁盘总线作为心跳网络
  • HACMP对POWER5+技术的支持
  • AIX---HACMP compatibility
  • HACMP 5.1: Heartbeating over Aliases
  • hacmp安装前先决条件
  • 网友的HACMP,收藏.
  • 在HACMP 5.1中使用磁盘总线作为心跳网络
  • HACMP远程拷贝简介
  • 【随机文章】
  • 我的string参考
  • 命令行快捷键
  • WPF指南之三(XAML的名字空间)
  • perl 5基础教程——散列
  • 挥之不去的完美主义
  • AIX维护手册
  • 局域网UPS选择与配置白皮书
  • CSS之入门篇
  • 为软件加皮肤!
  • ERP七要
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.