HACMP 5.4磁碟心跳配置過程

fanhongjie發表於2010-08-17

轉自:

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部落格 ” ,連結:http://blog.itpub.net/73920/viewspace-1036947/,如需轉載,請註明出處,否則將追究法律責任。

相關文章