HACMP5.1实施文档

转载 2004年10月12日 11:23:00
IBM服务器HACMP的实施一直都是IBM公司的重头戏,以下是详细的安装和配置过程,对于学习HACMP很有大帮助:

环境:两台P630:P630_1,P630_2
磁盘陈列:7133-D40
共享卷组:oravg

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

select en2

* HOSTNAME [p630_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 [p630_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) 在p630_2机上:
A. 配置第一块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup

select en2

* HOSTNAME [p630_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

* HOSTNAME [p630_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 p630_1
10.10.9.1 boot_11 p630_1
10.10.10.1 boot_12 p630_1
192.168.1.1 service1
10.10.9.2 boot_21 p630_2
10.10.10.2 boot_22 p630_2
192.168.1.2 service2
3、 在p630_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、 在p630_2上import共享卷组
(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、 在p630_1 和p630_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) 在p630_1机上执行: cat < /dev/tty0
2) 在p630_2上执行: cat /etc/hosts > /dev/tty0
3) 在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 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)定义p630_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 [p630_1]
Communication Path to Node [] +
(2)定义p630_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 [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 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 [p630_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 [p630_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 [p630_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 [p630_2] +
Network Interface []

B. 定义非IP网络接口
定义p630_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 [p630_1tty]
* Network Type rs232
* Network Name net_rs232_01
* Device Path [/dev/tty0]
* Node Name [p630_1]

定义p630_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 [p630_2tty]
* Network Type rs232
* Network Name net_rs232_01
* Device Path [/dev/tty0]
* Node Name [p630_2]

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

[输入字段]
* Server Name [wlyapp]
* 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) [p630_1 p630_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) p630_2 p630_1
* Service IP Labels/Addresses [] +
Volume Groups [oravg] +
Filesystems (empty is ALL for VGs specified) [] +
Application Servers [wlyapp] +

(8) 定义Service IP
定义p630_1的service 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 [p630_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 [p630_1] +
BROADCAST cluster shutdown? true +
* Shutdown mode graceful+

软件实施整个流程中所涉及的文档有哪些?

软件实施整个流程中所涉及的文档有哪些?
  • feiandqi1234
  • feiandqi1234
  • 2017年08月02日 23:53
  • 241

SAP运维和SAP实施

从SAP全球的薪资情况来看,目前在美国或欧洲,一个具有一定工作经验、ERP项目经验的SAP实施顾问的年薪基本在8万~10万美元之间,比较资深的可以拿到10万美元以上。刚刚通过SAP认证的咨询顾问,如果...
  • zhongguomao
  • zhongguomao
  • 2018年02月05日 08:38
  • 153

实施文档

 项目实施文档是用来记录、描述、展示实施过程中一系列信息的处理过程,通过书面或图示的形式对项目活动过程或结果进行描述、定义、规定及报告。例如分阶段实施计划文档,标准业务流程文档,标准编码及数据文档,标...
  • mych
  • mych
  • 2008年04月23日 09:44
  • 418

ERP的实施文档制作

     窗外, 寒冷冬日正散发着暖暖阳光味道, 空气中带着微醺。但一阵冷风吹过,让我顿生寒意。最近接手一个实施到一半的ERP项目,接手这个项目时只有片言片语的几份简单文档,没有详细的实施计划,更没有...
  • Drate
  • Drate
  • 2008年01月17日 09:33
  • 2801

PACS项目实施流程

本篇部分是直接摘自他人 第一步:进场前准备         进场之前与医院负责人(信息科长)沟通后,现场的环境基本上安装好,确定了进场时间。清点好要带的工具及相关的文件后则开始去往医院。进场前...
  • darren__chan
  • darren__chan
  • 2013年03月20日 13:38
  • 2145

Oracle的ERP实施方法论

(转自网络)Oracle Applications实施方法论是一套建立整体解决方案的方法,主要由AIM(应用系统实施方法论)和PJM(整体项目管理方法论)等各自独立的方法论组成。这些方法论可以提高工作...
  • saiya_kwok
  • saiya_kwok
  • 2015年12月08日 23:54
  • 835

【读书笔记】SAP后勤模块实施攻略笔记(乐立骏 著)

买了这本书,那就看看吧~ 前言 SAP是开发商,SAP ERP是盖好的毛坯房,房间之间有通道(模块之间接口),购买SAP的公司成为房东,买房以后找人(咨询公司)装修,此外SAP还提供了精装样板房(SA...
  • charliefromkansas
  • charliefromkansas
  • 2016年11月30日 22:51
  • 1198

虚拟化_VMware_实施文档

虚拟化_VMware_实施文档 点击文件名下载 不会下载的,看这里 下载方法 Citrix XenDesktop 4与VMware View 4性能对比.pdf ESXi_5.1安装文...
  • u011501221
  • u011501221
  • 2013年09月24日 10:39
  • 838

ERP实施文档

 什么是实施文档?      当我从前任负责实施同事手中接过"薄薄两页纸"的实施文档时,我难以置信的看着他问"没有了吗?只有这些?",我同事尴尬的点点头,然后他再说了一句让我吐血的话"实施计划和记录文...
  • wai631
  • wai631
  • 2008年01月26日 03:24
  • 1469

Avamar实施文档

1.2  Avamar产品介绍 Avamar作为数据源端重消功能的快速数据备份和恢复产品。能够为用户提供快速的数据恢复和备份,同时能够有效的节约数据备份过程中的网络带宽 的占用。EMC Avamar备...
  • jaminwm
  • jaminwm
  • 2014年03月21日 21:32
  • 4467
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:HACMP5.1实施文档
举报原因:
原因补充:

(最多只允许输入30个字)