hacmp55在AIX53上用IP替换加磁盘心跳.docx

上传人:b****1 文档编号:1272399 上传时间:2023-04-30 格式:DOCX 页数:15 大小:417.69KB
下载 相关 举报
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第1页
第1页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第2页
第2页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第3页
第3页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第4页
第4页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第5页
第5页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第6页
第6页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第7页
第7页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第8页
第8页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第9页
第9页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第10页
第10页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第11页
第11页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第12页
第12页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第13页
第13页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第14页
第14页 / 共15页
hacmp55在AIX53上用IP替换加磁盘心跳.docx_第15页
第15页 / 共15页
亲,该文档总共15页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

hacmp55在AIX53上用IP替换加磁盘心跳.docx

《hacmp55在AIX53上用IP替换加磁盘心跳.docx》由会员分享,可在线阅读,更多相关《hacmp55在AIX53上用IP替换加磁盘心跳.docx(15页珍藏版)》请在冰点文库上搜索。

hacmp55在AIX53上用IP替换加磁盘心跳.docx

hacmp55在AIX53上用IP替换加磁盘心跳

 

HACMP双机安装指导书

替换方式

HACMP5.5forAIX5.3

1.安装HACMP软件及补丁包

1.把HA5.5的安装盘放到光驱

2.用ROOT用户执行smittyinstall_all选择cd光驱按F4后出来软件列表

除了cluster.hativoli、cluster.haview、及后缀带japanese的以外,所有包都安装。

3.打HACMP5.5的补丁,在JDEDATA1机器里的/aixbu/habu5.5目录下

注:

安装软件包时需要把ACCEPTnewlicenseagreements”为yes

有时候提示安装失败,可以忽略、

安装完所有补丁包后机器一定要重新启动!

2.HACMP的配置

1.IP的规划

JDEDATA1

JDEDATA2

boot

172.16.120.1

172.16.120.2

service

172.16.120.3

在二台机器的/etc/hosts文件中分别写入以下内容

172.16.120.1jde1_bootJDEDATA1

172.16.120.2jde2_bootJDEDATA2

172.16.120.3jde_svc

在二台机器的/usr/es/sbin/cluster/etc/rhosts文件中写入

172.16.120.1

172.16.120.2

172.16.120.3

2.卷组的规划

建立一个共享VG与一个心跳VG

(1)(建磁盘心跳的vg,该vg必须是concurrent类型的vg)

在JDEDATA1上执行#mkvg-C-yheartvghdisk2

(注意:

在64bit下只能EnhancedConcurrentvolumegroups)

在JDEDATA2上执行#importvg-yheartvghdisk2(注意二边VG的号是否相同)

(2)建立HA资源组控制的VG

在JDEDATA1上

#mkvg-n-yoradatavghdisk1

在JDEDATA2上

#importvg-yoradatavghdisk1

#chvg-anoradatavg

 

3.ExtendedTopologyConfiguration(以下操作全在一台机器上操作)

增加一个cluster定义

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedTopologyConfiguration->ConfigureanHACMPCluster->Add/Change/ShowanHACMPCluster

1)ExtendedConfiguration

àExtendedTopologyConfiguration

àConfigureanHACMPClusteràAdd/Change/ShowanHACMPCluster

*ClusterName[jdedata]

配置集群的各个节点

添加节点SmitHACMP->ExtendedConfiguration->ExtendedTopologyConfiguration->ConfigureHACMPNodes->AddaNodetotheHACMPCluster

ExtendedConfiguration

àExtendedTopologyConfiguration

àConfigureHACMPNodesàAddaNodetotheHACMPCluster

*NodeName[JDEDATA1]

CommunicationPathtoNode[jde1_boot]

"NodeNames"必须是各个节点的hostnames,CommunicationPathtoNode为每个节点的bootIP。

按照相同操作增加另一个节点JDEDATA2

 

增加拓扑网络

添加ether网络

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedTopologyConfiguration->ConfigureHACMPNetworks->AddaNetworktotheHACMPCluster->ether

显示以下界面:

"NetworkName"自定义,输入ethernet

"Netmask"输入255.255.255.0(与主网卡配置的netmask保持一致)

"EnableIPAddressTakeoverviaIPAliases"选择No

添加磁盘协调网络

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedTopologyConfiguration->ConfigureHACMPNetworks->AddaNetworktotheHACMPCluster->diskhb

显示以下界面:

添加jdedata1的bootIP

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedTopologyConfiguration->ConfigureHACMPCommunicationInterfaces/Devices->AddCommunicationInterfaces/Devices->AddPre-definedCommunicationInterfacesandDevices->CommunicationInterfaces->ethernet

显示以下界面:

"IPLabel/Address"必须是在/etc/hosts里面配置的jde1_boot

"NodeName"选择jdedata1

上面的操作增加了一个jdedata1的bootIP:

jde1_boot

添加jdedata2的bootIP

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedTopologyConfiguration->ConfigureHACMPCommunicationInterfaces/Devices->AddCommunicationInterfaces/Devices->AddPre-definedCommunicationInterfacesandDevices->CommunicationInterfaces->ethernet

显示以下界面:

"IPLabel/Address"必须是在/etc/hosts里面配置的jde2_boot

"NodeName"选择jdedata2

上面的操作增加了一个jdedata2的bootIP:

jde2_boot

添加jdedata1和jdedata2的磁盘通信配置

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedTopologyConfiguration->ConfigureHACMPCommunicationInterfaces/Devices->AddCommunicationInterfaces/Devices->AddDiscoveredCommunicationInterfaceandDevices

(具体操作参照磁盘心跳的配置网页)

4.配置资源

1.配置应用

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedResourceConfiguration->HACMPExtendedResourcesConfiguration->ConfigureHACMPApplications->ConfigureHACMPApplicationServers->AddanApplicationServer

显示以下界面:

"ServerName"可以任意命名,输入"ora_app"

"StartScript"设置为"/opt/oracle/orastart.sh”

"StopScript"设置为"/opt/oracle/orastop.sh”

上面的操作增加了应用ora_app

2.配置serviceIP

添加ServiceIP

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedResourceConfiguration->HACMPExtendedResourcesConfiguration->ConfigureHACMPServiceIPLabels/Addresses->AddaServiceIPLabel/Address->ConfigurableonMultipleNodes->Ethernet

显示以下界面:

"IPLabel/Address"选择/etc/hosts中定义的"jde_svc"

3.添加集群资源组

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedResourceConfiguration->HACMPExtendedResourceGroupConfiguration->AddaResourceGroup

显示以下界面:

"ResourceGroupName"可以任意命名,输入jdedata_rgp

"ParticipatingNodes(DefaultNodePriority)"选择jdedata1jdedata2

“StartupPolicy”选择OnlineUsingDistributionPolicy

“FalloverPolicy”选择FalloverToNextPriorityNodeInTheList

“FallbackPolicy”选择NerverFallback

上面的操作增加了集群资源组jdedata_rgp

4.配置集群资源组

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedResourceConfiguration->HACMPExtendedResourceGroupConfiguration->Change/ShowResourcesandAttributesforaResourceGroup->ora_res

显示以下

界面

"serviceiplabel"选择已定义好的jde_svc

"ApplicationServers"是已经建好的应用,必须指定,选择 "ora_app"

"Volumegroups"是已经建好的共享磁盘逻辑卷,必须指定,需要选择oradatavg

上面的操作配置了资源组 "jdedata_rgp"

5.同步集群配置

菜单导航:

SmitHACMP->ExtendedConfiguration->ExtendedVerificationandSynchronization

显示以下界面:

"Verify,SynchronizeorBoth"选择Both

"Automaticallycorrecterrorsfoundduringverification?

"选择Yes

"Forcesynchronizationifverificationfails?

"选择NO

"Verifychangesonly?

"选择NO

"Logging"选择Standard

如果成功则显示OK,否则请检查返回的错误日志,排除相关错误。

启动双机如下smittyclstart:

停俩个节点hacmp双机smittyclstop

如果把Startnow,onsystemrestartorboth选项修改restaraix每次重启AIX系统就会自动拉起cluster进程,(数据库和业务没有搞好之前不建议修改)

从jsejdea1切换到jsejdea2上如图:

要把SelectanActiononResourceGroups选项修改为:

MoveResourceGroups

查看双机进程:

Lssrc–gcluster

查看浮动ip

Netstat–in

双机启动后以172.16.120.3作为主机登陆,不启动CLUSTER的时候按照各自的地址登陆

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

当前位置:首页 > 人文社科 > 法律资料

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

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