HACMP52与Oracle9iRAC配置文档Word文件下载.docx

上传人:b****7 文档编号:22058013 上传时间:2023-02-02 格式:DOCX 页数:47 大小:40.22KB
下载 相关 举报
HACMP52与Oracle9iRAC配置文档Word文件下载.docx_第1页
第1页 / 共47页
HACMP52与Oracle9iRAC配置文档Word文件下载.docx_第2页
第2页 / 共47页
HACMP52与Oracle9iRAC配置文档Word文件下载.docx_第3页
第3页 / 共47页
HACMP52与Oracle9iRAC配置文档Word文件下载.docx_第4页
第4页 / 共47页
HACMP52与Oracle9iRAC配置文档Word文件下载.docx_第5页
第5页 / 共47页
点击查看更多>>
下载资源
资源描述

HACMP52与Oracle9iRAC配置文档Word文件下载.docx

《HACMP52与Oracle9iRAC配置文档Word文件下载.docx》由会员分享,可在线阅读,更多相关《HACMP52与Oracle9iRAC配置文档Word文件下载.docx(47页珍藏版)》请在冰豆网上搜索。

HACMP52与Oracle9iRAC配置文档Word文件下载.docx

5.5.2配置资源组信息18

5.6同步HACMP配置并启动HACMP21

6附录22

6.1相关文件22

6.1.1/etc/hosts22

6.1.2/.rhosts23

6.1.3/usr/es/sbin/cluster/etc/rhosts23

6.1.4/usr/sbin/cluster/netmon.cf23

6.1.5创建lv的pp数目列表23

6.2问题集锦24

6.2.1AIX5.3不支持hacmp4.5版本24

6.2.2创建数据库时没有权限访问裸设备25

6.2.3HACMP同步失败25

6.2.4启动hacmp自动发生IP切换26

6.2.5不能两个节点同时mount问题需要考虑的问题26

1写在前面的话

编写本文档要特别感谢北京现代集团的张维民及suwalau两位朋友,在他们的帮助下,才得以解决关键的问题。

2需求分析

在本次HACMP实施中采用双机并行的运行模式,即:

两台P550主机上安装Oracle9iRAC产品,HACMP版本为5.2

3环境说明

主机名

信息

备注

主机1

testdb01

SystemModel:

IBM,9113-550

MachineSerialNumber:

ProcessorType:

PowerPC_POWER5

NumberOfProcessors:

2

ProcessorClockSpeed:

1504MHz

CPUType:

64-bit

KernelType:

LPARInfo:

110-FAFEF

MemorySize:

7808MB

Disk:

70G*2

AIX5300-03

Hacmp:

5.2

主机2

testdb02

110-FB0FF

4设计规划

4.1IP及拓扑设计

clustername

testcluster

nodename

iplabel

db1_boot

db1_stdby

db1_svr

testdb_tty1

db1_prv

networktype

ethernet

rs232

networkattribute

public

serial

private

ipalias

disable

networkname

net_ether_02

net_rs232_01

net_ether_01

ipaddress

10.66.8.52

172.1.1.1

10.66.8.50

/dev/tty0

2.2.2.1

adapterfunction

boot

standby

service

adaptername

en2

en3

en1

db2_boot

db2_stdby

db2_svr

testdb_tty2

db2_prv

10.66.8.53

172.1.1.2

10.66.8.51

2.2.2.2

4.2资源组命名

Res.Grp.Name

NodeRel.

Part.NodeName

testdb_res

concurrent

testdb01testdb02

testdb_res1

cascading

testdb_res2

testdb02testdb01

4.3应用服务器建立

AppName

StartScript

StopScript

testapp

/ha/start

/ha/stop

4.4配置资源组

Res.Grp.Name

ServiceIP

VolumeGroup

ApplicationServers

oradatavg

db1_svc

db2_svc

4.5hosts文件设计

127.0.0.1loopbacklocalhost#loopback(lo0)name/address

10.66.8.52db1_boottestdb01

10.66.8.50db1_svr

172.1.1.1db1_stdby

2.2.2.1db1_prv

10.66.8.51db2_svr

10.66.8.53db2_boottestdb02

172.1.1.2db2_stdby

2.2.2.2db2_prv

10.48.178.201db1_console1

10.48.178.203db2_console1

5实施步骤

5.1环境准备

序号

内容项

内容

1.

安装HACMP软件

注意不要安装带PSSP的文件集(会导致启动数据库时不认裸设备)

2.

打HACMP补丁

IY58496IY77379IY73937IY68370

3.

重起主机

4.

检查补丁

检查补丁是否已经打上

5.

修改/sbin/rc.boot

##ModifiedBySinosoftForHacmpSoftwareStart

#nohup/usr/sbin/syncd60>

/dev/null2>

&

1&

nohup/usr/sbin/syncd10>

##ModifiedBySinosoftForHacmpSoftwareEnd

6.

修改watermark

smitsystem-->

Change/ShowCharacteristicsofOperatingSystem

HIGHwatermarkforpendingwriteI/Osperfile[32]

LOWwatermarkforpendingwriteI/Osperfile[24]

5.2IP地址几网络划分

步骤

节点

在en2上建立boot网卡:

testdb01/10.66.8.52/255.255.255.0

在en3上建立standby网卡:

testdb01/172.1.1.1/255.255.255.0

在en1上建立private网卡:

testdb01/2.2.2.1/255.255.255.0

testdb01/10.66.8.53/255.255.255.0

testdb01/172.1.1.2/255.255.255.0

testdb01/2.2.2.2/255.255.255.0

7.

修改/etc/hosts文件

建立/.rhosts文件

chmod600/.rhosts

8.

9.

测试网络是否畅通(rlogin,ping等命令)

10.

创建串口信息:

tty/rs232/terminalasynchrone/sa3/2/9600/none/8/1/vt100

11.

12.

测试心跳线是否正常

在testdb02上:

cat<

/dev/tty0

在testdb01上:

cat/etc/hosts>

如果在testdb02上显示出相关内容,则配置正常

5.3HACMP配置

5.3.1让HACMP主动认双机配置

HACMPforAIX

MovecursortodesireditemandpressEnter.

InitializationandStandardConfiguration

ExtendedConfiguration

SystemManagement(C-SPOC)

ProblemDeterminationTools

nitializationandStandardConfiguration

Two-NodeClusterConfigurationAssistant

AddNodestoanHACMPCluster

ConfigureResourcestoMakeHighlyAvailable

ConfigureHACMPResourceGroups

VerifyandSynchronizeHACMPConfiguration

HACMPClusterTestTool

DisplayHACMPConfiguration

ConfigureNodestoanHACMPCluster(standard)

Typeorselectvaluesinentryfields.

PressEnterAFTERmakingalldesiredchanges.

[EntryFields]

*ClusterName[testcluster]

NewNodes(viaselectedcommunicationpaths)[testdb01]

NewNodes(viaselectedcommunicationpaths)[testdb02]

CurrentlyConfiguredNode(s)testdb01

在这一过程中,HACMP会认出在/etc/hosts文件中配置的所有信息,并进行分类,配置如下:

Node:

NetWork:

net_ether_01

Adapter:

db1_console1,db1_prv

net_ether_02

db1_boot,db1_stdby

====================================================================

db2_console1,db2_prv

db2_boot,db2_stdby

5.3.2修改HACMP的拓扑配置

5.3.2.1删除db1_console1和db2_console1信息

由于db1_console1和db2_console1是作为日常管理用的,不需要配置在HA环境中,并且,如何不删除该信息,在修改NetWork属性时会报警告信息。

ExtendedConfiguration

DiscoverHACMP-relatedInformationfromConfiguredNodes

ExtendedTopologyConfiguration

ExtendedResourceConfiguration

ExtendedEventConfiguration

ExtendedPerformanceTuningParametersConfiguration

SecurityandUsersConfiguration

SnapshotConfiguration

ExportDefinitionFileforOnlinePlanningWorksheets

ExtendedVerificationandSynchronization

ConfigureanHACMPCluster

ConfigureHACMPNodes

ConfigureHACMPSites

ConfigureHACMPNetworks

ConfigureHACMPCommunicationInterfaces/Devices

ConfigureHACMPPersistentNodeIPLabel/Addresses

ConfigureHACMPGlobalNetworks

ConfigureHACMPNetworkModules

ConfigureTopologyServicesandGroupServices

ShowHACMPTopology

ConfigureHACMPCommunicationInterfaces/Devices

AddCommunicationInterfaces/Devices

Change/ShowCommunicationInterfaces/Devices

RemoveCommunicationInterfaces/Devices

UpdateHACMPCommunicationInterfacewithOperatingSystemSettings

在列出的设备中,删除db1_console1和db2_console2

5.3.2.2修改NetWork属性

AddaNetworktotheHACMPCluster

Change/ShowaNetworkintheHACMPCluster

RemoveaNetworkfromtheHACMPCluster

SelectaNetworktoChange/Show

MovecursortodesireditemandpressEnter.

net_ether_01(2.2.2.0/24)

net_ether_02(10.66.8.0/24172.1.1.0/24)

Change/ShowanIP-BasedNetworkintheHACMPCluster

*NetworkNamenet_ether_01

NewNetworkName[]

*NetworkType[ether]

*Netmask[255.255.255.0]

*EnableIPAddressTakeoverviaIPAliases[No]

IPAddressOffsetforHeartbeatingoverIPAliases[]

*Networkattributeprivate

*NetworkNamenet_ether_02

*Networkattributepublic(不变)

5.3.2.3增加串口NetWork

#Pre-definedSerialDeviceTypes

XD_rs232

diskhb

AddaSerialNetworktotheHACMPCluster

Typeorselect

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

当前位置:首页 > 高等教育 > 农学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1