IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx

上传人:b****1 文档编号:2676688 上传时间:2023-05-04 格式:DOCX 页数:41 大小:253.85KB
下载 相关 举报
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第1页
第1页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第2页
第2页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第3页
第3页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第4页
第4页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第5页
第5页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第6页
第6页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第7页
第7页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第8页
第8页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第9页
第9页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第10页
第10页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第11页
第11页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第12页
第12页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第13页
第13页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第14页
第14页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第15页
第15页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第16页
第16页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第17页
第17页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第18页
第18页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第19页
第19页 / 共41页
IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx_第20页
第20页 / 共41页
亲,该文档总共41页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx

《IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx》由会员分享,可在线阅读,更多相关《IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx(41页珍藏版)》请在冰点文库上搜索。

IBM SDDRDAC work together supports HP Serviceguard cluser for Linux.docx

IBMSDDRDACworktogethersupportsHPServiceguardcluserforLinux

IBMSDD,RDACworktogethersupportsHPServiceGuard

Preface2

Purpose2

Revision2

OperatingSystem2

Conventions3

ClusterArchitecture3

StorageandHostConfiguration3

OnDS50003

OnDS60004

OnSwitch5

OnClusterNode5

TestingontheServiceGuardCluster16

HowtoMonitortheCluster?

16

TestCaseDemonstration.16

ClusterNodeReboot.16

ManualSwitchtheClusterService19

ClusterProcessFailure20

ClusterLUNAccessLoss22

ControllerOfflineOnline26

Issues27

Preface

Thisprefacecontainsthefollowingtopics:

●Purpose

●Revision

●OperatingSystem

●Conventions

Purpose

Thisfileexplainshowtoinstall,configure,testServiceGuardonRedHat4U532bitovertwonodesx3550Servers.Additionally,DS6800andDS5100areinvolved,applicationofNFSServerisconfiguredonClusterandtestcasesdemoarepresentedontheclient.

Revision

Revision

Date

Author

Contributor

SummaryofChanges

0.1

2008-11-31

ZiZiAi

XinZhang

Createthedocument

OperatingSystem

●ServerSide

2*IBMx3550servers.

●ClusterNode

HPServiceGuardclusterforLinux

HPNFSToolkit

InstallthisOSRedHatEnterpriseLinuxESrelease4(NahantUpdate5)32bitoneachnode.

●ClientSide

RedHatEnterpriseLinuxASrelease4(NahantUpdate4)32bit

●StorageSide

DS6800,DS5100

●Others

CrossoverEthernetcableisusedforHeartbeatconnection.

OnevirtualIPaddress

TwoprivateIPaddresses,oneforeachnode.

Conventions

Belowisusedforgivingsomeinformation.

[Recommend]

Giverecommendation

[Warning]

Showwarning

[Attention]

Needattention

ClusterArchitecture

StorageandHostConfiguration

OnDS5000,

CreateLUNs:

Createhostgroupandhosts:

[Attention]

3LUNswithsize5GBforeachcreatedasfutureLVMtestingdisks,1LUNwith0.5GBcreatedasfutureclusterdetectLUN,andthelastLUNwith1GBcreatedasLOCKLUN.

MaptheLUNstocreatedhostgroup:

OnDS6000

CreateFBvolumes:

CreateVolumeGroup:

Createhostconnections:

OnSwitch

Createtwozoningsasbelow:

OnClusterNode

●ChecktheEthernetconfiguratoiononeachnode:

[root@arcx3550gxvf8~]#ifconfig

eth0Linkencap:

EthernetHWaddr00:

1A:

64:

12:

F8:

01

inetaddr:

9.11.111.83Bcast:

9.11.111.255Mask:

255.255.254.0

eth1Linkencap:

EthernetHWaddr00:

1A:

64:

12:

F8:

03

inetaddr:

192.168.111.83Bcast:

192.168.111.255Mask:

255.255.254.0

[root@archs21mwah0~]#ifconfig

eth0Linkencap:

EthernetHWaddr00:

1A:

64:

4E:

6E:

78

inetaddr:

9.11.113.121Bcast:

9.11.113.255Mask:

255.255.254.0

eth1Linkencap:

EthernetHWaddr00:

1A:

64:

4E:

6E:

7A

inetaddr:

192.168.113.121Bcast:

192.255.255.255Mask:

255.0.0.0

●EnsuretheinternalEthernetconnectivitybetweentwonodesworksgood.

[root@arcx3550gxvg0~]#ping192.168.111.83

PING192.168.111.83(192.168.111.83)56(84)bytesofdata.

64bytesfrom192.168.111.83:

icmp_seq=0ttl=64time=0.148ms

64bytesfrom192.168.111.83:

icmp_seq=1ttl=64time=0.126ms

64bytesfrom192.168.111.83:

icmp_seq=2ttl=64time=0.127ms

---192.168.111.83pingstatistics---

3packetstransmitted,3received,0%packetloss,time2000ms

rttmin/avg/max/mdev=0.126/0.133/0.148/0.016ms,pIPe2

[root@arcx3550gxvf8~]#ping192.168.111.82

PING192.168.111.82(192.168.111.82)56(84)bytesofdata.

64bytesfrom192.168.111.82:

icmp_seq=0ttl=64time=0.152ms

64bytesfrom192.168.111.82:

icmp_seq=1ttl=64time=0.133ms

64bytesfrom192.168.111.82:

icmp_seq=2ttl=64time=0.126ms

---192.168.111.82pingstatistics---

3packetstransmitted,3received,0%packetloss,time1999ms

rttmin/avg/max/mdev=0.126/0.137/0.152/0.011ms,pIPe2

●Createmountdirectories,setappropriatepermissionforthem.

[root@arcx3550gxvf8~]mkdir/har_1

[root@arcx3550gxvf8~]mkdir/har_2

[root@arcx3550gxvf8~]mkdir/har_3

[root@arcx3550gxvf8~]chmod–R755/har_*

[root@arcx3550gxvg0~]mkdir/har_1

[root@arcx3550gxvg0~]mkdir/har_2

[root@arcx3550gxvg0~]mkdir/har_3

[root@arcx3550gxvg0~]chmod–R755/har_*

●Checkthehostsfileoneachnode:

[root@archs21mwah0~]#cat/etc/hosts

#Donotremovethefollowingline,orvariousprograms

#thatrequirenetworkfunctionalitywillfail.

127.0.0.1localhost.localdomainlocalhost

:

:

1localhost6.localdomain6localhost6

9.11.113.121archs21mwah0

9.11.113.114archs21mxhh9

[root@arcx3550gxvf8~]#cat/etc/hosts

#Donotremovethefollowingline,orvariousprograms

#thatrequirenetworkfunctionalitywillfail.

127.0.0.1localhost.localdomainlocalhost

192.168.111.83arcx3550gxvf8

192.168.111.82arcx3550gxvg0

●DownloadIBMRDACandSDDmulti-pathsoftwaretoolfromtheirofficiallinks:

SDD:

RDAC:

Uncompressandinstallthemseparately.

●DownloadHPServiceGuardsoftwaretoolandHPNFStoolkitfromitsofficialwebsite.

%20for%20Linux

Uncompressandinstallthemseparately.

●VerifyingHPServiceGuardinstallation

ServiceGuardusesaspecialfile,cmcluster.conf,todefinethelocationsforconfigurationandlogfileswithintheLinuxfilesystem.Thedifferentdistributionsmayusedifferentlocations.ThefollowingareexamplelocationsforaRedHatdistribution:

##############################cmcluster.conf###########################

#HighlyAvailableClusterfilelocations

#Thisfilemustnotbeedited

#########################################################################

SGROOT=/usr/local/cmclusters#SGrootdirectory

SGCONF=/usr/local/cmcluster/conf#configurationfiles

SGSBIN=/usr/local/cmcluster/bin#binaries

SGLBIN=/usr/local/cmcluster/bin#binaries

SGLIB=/usr/local/cmcluster/lib#libraries

SGRUN=/usr/local/cmcluster/run#locationofcoredumpsfromdaemons

SGAUTOSTART=/usr/local/cmcluster/conf/cmcluster.rc#SGAutostartfile

Makesuretherootuser’spathincludestheServiceguardexecutables.Thiscanbedonebyaddingthefollowingenvironmentvariabledefinitionstotherootuser’sprofileforRedHat:

PATH=$PATH:

/usr/local/cmcluster/bin

./etc/cmcluster.conf

Afterit,issuefollowingcommandtocheckwhetherittakeseffect:

#cd$SGCONF

●Createcmclnodelistfileunderdirectory$SGCONFonclusternodes

Thecmclnodelistfileisnotcreatedbydefaultinnewinstallations.Ifadministratorswanttocreatethisbootstrapfiletheyshouldaddacommentsuchasthefollowing:

###########################################################

#DoNotEditThisFile

#Thisisonlyatemporaryfiletobootstrapanunconfigured

#nodewithServiceguardversionA.11.16

#Onceaclusteriscreated,Serviceguardwillnotconsult

#thisfile.

###########################################################

arcx3550gxvf8root#Cluster1,Node1

arcx3550gxvg0root#Cluster1,Node2

●VerifyingtheSDDinstallationandConfigureSDD

TheSDDinstallationinstallsthedevicedriveranditsutilitiesinthe/opt/IBMsdddirectory.ThetableliststheSDDdriveranditsmajorcomponentfiles.

[root@arcx3550gxvf8~]#cfgvpath

c---------1rootroot251,0Nov1903:

59/dev/IBMsdd

WARNING:

vpathapathsdbhasalreadybeenconfigured.

WARNING:

vpathbpathsdchasalreadybeenconfigured.

WARNING:

vpathcpathsddhasalreadybeenconfigured.

WARNING:

vpathdpathsdehasalreadybeenconfigured.

WARNING:

vpathepathsdfhasalreadybeenconfigured.

WARNING:

vpathfpathsdghasalreadybeenconfigured.

WARNING:

vpathapathsdhhasalreadybeenconfigured.

WARNING:

vpathbpathsdihasalreadybeenconfigured.

WARNING:

vpathcpathsdjhasalreadybeenconfigured.

WARNING:

vpathdpathsdkhasalreadybeenconfigured.

WARNING:

vpathepathsdlhasalreadybeenconfigured.

WARNING:

vpathfpathsdmhasalreadybeenconfigured.

Writingoutnewconfigurationtofile/etc/vpath.conf

[root@arcx3550gxvf8~]#cat/etc/vpath.conf

vpatha600507630efffe280000000000001510

vpathb600507630efffe280000000000001511

vpathc600507630efffe280000000000001512

vpathd600507630efffe280000000000001513

vpathe600507630efffe280000000000001514

vpathf600507630efffe280000000000001515

vpathg600507630efffe280000000000001520

vpathh600507630efffe280000000000001521

[root@arcx3550gxvf8~]#sddrestart

StoppingIBMsdd:

[OK]

StartingIBMsdddriverload:

[OK]

Issuingkillallsddsrvtotriggerrespawn...

StartingIBMsddconfiguration:

[OK]

[root@arcx3550gxvf8~]#fdisk-l

Disk/dev/vpatha:

2147MB,2147483648bytes

Disk/dev/vpathb:

2147MB,2147483648bytes

Disk/dev/vpathc:

2147MB,2147483648bytes

Disk/dev/vpathd:

2147MB,2147483648bytes

Disk/dev/vpathe:

2147MB,2147483648bytes

●VerifyingtheRDACinstallationandConfigureRDAC.

[root@arcx3550gxvg0~]#cat/boot/grub/menu.lst

#grub.confgeneratedbyanaconda

default=0

timeout=5

splashimage=(hd0,0)/grub/splash.xpm.gz

hiddenmenu

titleRedHatLinux(2.6.9-55.ELsmp)withMPPsupport

root(hd0,0)

kernel/vmlinuz-2.6.9-55.ELsmproroot=/dev/VolGroup00/LogVol00rhgbquiet

initrd/mpp-2.6.9-55.ELsmp.img

titleRedHatEnterpriseLinuxAS(2.6.9-55.ELsmp)

root(hd0,0)

kernel/vmlinuz-2.6.9-55.ELsmproroot=/dev/VolGroup00/LogVol00rhgbquiet

initrd/initrd-2.6.9-55.ELsmp.img

titleRedHatEnterpriseLinuxAS-up(2.6.9-55.EL)

root(hd0,0)

kernel/vmlinuz-2.6.9-55.ELroroot=/dev/VolGroup00/LogVol00rhgbquiet

initrd/initrd-2.6.9-55.EL.img

[root@arcx3550gxvg0~]#mppUtil-S

H4C0T0ActiveActiveARCDS5

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 总结汇报 > 学习总结

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2