ITPub博客

首页 > 应用开发 > IT综合 > HACMP 5.4磁盘心跳配置过程

HACMP 5.4磁盘心跳配置过程

原创 IT综合 作者:fanhongjie 时间:2010-08-17 10:02:04 0 删除 编辑

转自:http://www.aixchina.net/?1968/viewspace-20384.html

Step1: 配置并行卷组

[dbsvr1]#smitty hacmp

[@more@]

Initialization and Standard Configuration

Extended Configuration

System Management (C-SPOC)

Problem Determination Tools

Manage HACMP Services

HACMP Communication Interface Management

HACMP Resource Group and Application Management

HACMP Log Viewing and Management

HACMP File Collection Management

HACMP Security and Users Management

HACMP Logical Volume Management

HACMP Concurrent Logical Volume Management

HACMP Physical Volume Management

Configure GPFS

Concurrent Volume Groups

Concurrent Logical Volumes

Synchronize Concurrent LVM Mirrors

List All Concurrent Volume Groups

Create a Concurrent Volume Group

Create a Concurrent Volume Group with Data Path Devices

Set Characteristics of a Concurrent Volume Group

Import a Concurrent Volume Group

Mirror a Concurrent Volume Group

Node Names

Move cursor to desired item and press Esc+7.

ONE OR MORE items can be selected.

Press Enter AFTER making all selections.

>dbsvr1

>dbsvr2

Create a Concurrent Volume Group

Type or select values in entry fields.

Press Enter AFTER making all desired changes.

[TOP] [Entry Fields]

Node Names dbsvr1,dbsvr2

PVID 0003714b1331a3ed

VOLUME GROUP name [heartvg]

Physical partition SIZE in megabytes 4 +

Volume group MAJOR NUMBER [56] +#

Enhanced Concurrent Mode true +

Enable Cross-Site LVM Mirroring Verification false +

Warning:

Changing the volume group major number may result

in the command being unable to execute

successfully on a node that does not have the

major number currently available. Please check

[MORE...3]

F1=Help F2=Refresh F3=Cancel F4=List

Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image

[dbsvr1]#lspv

hdisk0 0003714ba5048a99 rootvg active

hdisk1 0003714bd3cf768a rootvg active

hdisk2 0003714b7d935335 datavg active

hdisk3 0003714b27d6164f datavg_1 active

hdisk4 none None

hdisk5 0003714b1331a3ed heartvg

[dbsvr2]#lspv

hdisk1 000531c9c977a892 rootvg active

hdisk2 0003714b7d935335 datavg

hdisk3 none None

hdisk4 none None

hdisk0 000531c9a501da2a rootvg active

hdisk5 0003714b1331a3ed heartvg

Step2: 编辑环境变量

[dbsvr1]#vi /etc/environment

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/us

r/java14/bin:/usr/sbin/rsct/bin

TZ=BEIST-8

LANG=en_US

LOCPATH=/usr/lib/nls/loc

NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat

LC__FASTMSG=true

[dbsvr2]#vi /etc/environment

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/us

r/java14/bin:/usr/sbin/rsct/bin

TZ=BEIST-8

LANG=en_US

LOCPATH=/usr/lib/nls/loc

NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat

LC__FASTMSG=true

Step3: 测试并行卷组通讯

[dbsvr1]#dhb_read -p hdisk5 -r

DHB CLASSIC MODE

First node byte offset: 61440

Second node byte offset: 62976

Handshaking byte offset: 65024

Test byte offset: 64512

Receive Mode:

Waiting for response . . .

Magic number = 0x87654321

Magic number = 0x87654321

Magic number = 0x87654321

Magic number = 0x87654321

Link operating normally

[dbsvr2]#dhb_read -p hdisk5 -t

DHB CLASSIC MODE

First node byte offset: 61440

Second node byte offset: 62976

Handshaking byte offset: 65024

Test byte offset: 64512

Transmit Mode:

Magic number = 0x87654321

Detected remote utility in receive mode. Waiting for response . . .

Magic number = 0x87654321

Magic number = 0x87654321

Link operating normally

Step4: 配置磁盘心跳网络

[dbsvr1]#smitty hacmp

Initialization and Standard Configuration

Extended Configuration

System Management (C-SPOC)

Problem Determination Tools

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/73920/viewspace-1036947/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-05-22

  • 博文量
    111
  • 访问量
    685243