linux ha 磁盘心跳,HACMP 5.4磁盘心跳配置过程

转自:

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 Namesdbsvr1,dbsvr2

PVID0003714b1331a3ed

VOLUME GROUP name[heartvg]

Physical partition SIZE in megabytes4+

Volume group MAJOR NUMBER[56]+#

Enhanced Concurrent Modetrue+

Enable Cross-Site LVM Mirroring Verificationfalse+

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=HelpF2=RefreshF3=CancelF4=List

Esc+5=ResetEsc+6=CommandEsc+7=EditEsc+8=Image

[dbsvr1]#lspv

hdisk00003714ba5048a99rootvgactive

hdisk10003714bd3cf768arootvgactive

hdisk20003714b7d935335datavgactive

hdisk30003714b27d6164fdatavg_1active

hdisk4noneNone

hdisk50003714b1331a3edheartvg

[dbsvr2]#lspv

hdisk1000531c9c977a892rootvgactive

hdisk20003714b7d935335datavg

hdisk3noneNone

hdisk4noneNone

hdisk0000531c9a501da2arootvgactive

hdisk50003714b1331a3edheartvg

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值