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

P52A HACMP系统安装文档

IBMacerun: yes"> P52A HACMP系统安装文档

一:系统环境准备

1:安装操作系统

分别在两台主机上安装AIX操作系统,版本号为AIX 5.3

主机名称:cd3 cd4

#oslevel –r

显示:5300-04

2:安装系统软件包

要求安装如下软件包:

bos.adt

rsct.exp

bos.clvm

rsct.basic

3:修改调页空间

#smitty chps

将系统调页空间更改为4096M(+30就可以了)

4:设置root密码

#passwd

用户名与密码同为root

5:修改系统时区

#smitty chtz

系统时区选择中华人民共和国PRC

6:更改最大进程数

#smitty chgsys

将最大进程数更改为512

7:更改异步IO

#smitty chaio

设置为30/60,并激活异步IO端口(把前两项改成3060就可以了)

#mkdev –l aio0

8:配置存储阵列

FASrT600配置14HDD硬盘,创建RAID5阵列,没有Hotspare

创建1个逻辑分区,定义为dataAvg

9:配置网络地址

修改/etc/hosts文件,添加如下内容

133.108.40.13   cd3_boot        cd3

133.108.40.3    cd3_svc         

10.0.0.1           cd3_stdby            

133.108.40.14       cd4_boot        cd4

133.108.40.4        cd4_svc         

10.0.0.2               cd4_stdby            

10:配置心跳线
#smitty tty
分别在两台主机上执行如下步骤

                                     TTY

               Move cursor to desired item and press Enter.

                            List All Defined TTYs

Add a TTY

Move a TTY to Another Port

Change / Show Characteristics of a TTY

Remove a TTY

Configure a Defined TTY

Generate Error Report

Trace a TTY

                                  Add a TTY

Type or select values in entry fields.

Press Enter AFTER making all desired changes.

[TOP]                                              [Entry Fields]

TTY type                                           tty

TTY interface                                      rs232Description                                        Asynchronous TerminalParent adapter                         sa0

* PORT number                                       [0]         

Enable LOGIN                                       disable   +

BAUD rate                                         [9600] 

PARITY                                            [none]     +

BITS per character                                [8]        +

Number of STOP BITS                               [1]        +

TIME before advancing to next port setting        [0]        +

TERMINAL type                                     [dumb]

FLOW CONTROL to be used                           [xon]

11:心跳线测试

序号

主机

内容

1.     

主机1

stty

    2. 

主机2

stty  

这时在两台主机的命令行下会有内容的显示,否则,tty配置失败。示例如下:

speed 9600 baud; -parity hupcl

eol2 = ^?

brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3

echo echoe echok

    3.  

主机1

cat /etc/hosts > /dev/tty1

    4.  

主机2

cat < /dev/tty1

这时在主机2的命令行下有主机1/etc/hosts文件的内容,否则,tty配置失败。

二:配置HACMP

1:安装HACMP软件

#smitty installp

以下模块不选择

cluster.haview,

cluster.hativoli,

cluster.man.en_US.haview

2配置网络拓扑部分

首先配置一个hacmp cluster

#smit hacmp

àExtend configuration

 àExtended Topology Configuration

   àConfiguration an hacmp Cluster

     àAdd/change/show an HACMP Cluster  

         *Cluster Name     [cluster1]

配置hacmp node

#smitty hacmp

 àExtend configuration

   àExtended Topology Configuration

     àAdd a Node to the HACMP Cluster

         Node Names         [ ]

         Communication Path to Node

加入两个Nodenode01 node02,communication Path to Node填入相应的主机名cd3 cd4

自动搜索网络参数Auto Discover

Extend configuration

 àDiscover HACMP-related Information from Configuration Nodes

Hacmp会自动找到有关其配置的网络参数

配置hacmp network

#smit hacmp

 àExtend configuration

   àExtended Topology Configuration

     àConfigure HACMP Networks

       àAdd a Network to the hacmp Cluster

                 Select a network type

             #discovered IP-based Network Types

*network        [net_ether_01]

*network Type   ether

*netmask       255.255.255.0

*Enable IP Address takeover via IP Aliases [no]

同样步骤增加#Discovered Serial Device Types

Rs232

*Network Name   [net_rs232_01]

*Network Type    rs232

配置网络端口hacmp Communcation Interfaces/Devices

以太网络接口

Extend configuration

àExtended Topology Configuration

àConfigure hacmp Communication Interfaces/Devices

àAdd communication interfaces/devices

àAdd discovered communication interface and Devices

àCommunication Interfaces

àNet_ether_01

使用F7或者esc+7选择cd3_boot,cd3_stby,cd4_boot,cd4_stby4个接口

串口rs232

Extend configuration

àExtended Topology Configuration

àAdd communication interfaces/devices

àAdd Communication interfaces/devices

àAdd pre-defined communication interfaces and devices

àCommunication Devices

àNet_rs232_01

*device name            [cd3tty]

*network type           rs232

*network name           net_rs232_01

*device path            [/dev/tty1]

*Node name              [node01]

重复上述步骤,为节点2 node02同样增加device cd4tty [/dev/tty1]

4:配置资源组

第一:我们需要配置第一个资源组,首先创建第一个应用服务器appserver1,指定第一个应用服务器服务地址的Service IP

extended configuration

àhacmp extend resources configuration

àconfigure hacmp service ip labels/address

àadd a service ip label/address

àconfigurable on multiple nodes

ànet_ether_01

*ip label/address   [cd3_svc]

* network Name       net_ether_01

Application servers(注意,此阶段系统还不需要application server,此处配置为演示性质,以后有需要时,可以更改此处的shell位置以及名字即可)

extended configuration

àhacmp extend resources configuration

àconfig hacmp application servers

*server name [appserver1]

*start script [/etc/dbstart.sh]

*start script  [/etc/dbstop.sh]

然后配置第一个资源组:

extended configuration

->hacmp extend resources configuration

*Resource Group Name     [resource1]

*Participating Node Names  [node01 node02]

修改第一个资源组的属性hacmp resource group attribute

extended configuration

 

 àhacmp extend resources configuration

àconfiguration extend resource group

àchange/show resources and attributes for a resource group

 第一个资源组resource1内容如下:

Resource Group Name                               resource1

Participating Node Names / Default Node Priority   node01 node02

Service IP label                                  [cd3_svr]

Volume Groups                                      [dataAvg]

5同步HACMP 

 同步Topology

#smit hacmp

àExtendconfiguration

àverification and synchronization

6:配置完成

 同步成功后,配置完成。

启动HACMP

#smitty clstart

停止HACMP

#smitty clstop启动或者停止HACMP,可以在一台机器上选中两个节点,也可以每个节点上分别启动或停止

sco openserver 6.0(更新版) 在hp ML150G3(SATA硬盘) 上安装注意事:【上一篇】
shell记录:【下一篇】
【相关文章】
  • IBM HACMP心跳线标准
  • HACMP 5.3在AIX 5.3上的安装
  • 做HACMP要注意的地方
  • Hacmp 5.1 的配置方法
  • HACMP软件的安装
  • HACMP
  • HACMP解锁调用的脚本cl_disk_available
  • HACMP Error:inconsistent with the time stamp in th
  • Hacmp Error:Cluster IPC error: The IPC connection
  • HACMP与富士通的存储不兼容?HA接管时发生问题了..请大家发表个人观点
  • 【随机文章】
  • 关于检查scanf的返回值
  • 用C语言实现参数个数可变的函数
  • VoWLAN若干问题的分析与对策
  • 网络自动校时器
  • Freehand 10 基本操作 (2)
  • 软件项目管理课程作业(2)
  • PowerPoint 2000瘦身技巧两则
  • C#常用函数
  • Lesson 1 : Behind the Scenes with Handles and Messages
  • MATLAB 程式设计与应用
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.