HACMP5.205的安装、配置、测试之规划篇----------------------------------------------------------------------------------------------------------------1/32上海宝信系统服务部辛旻HACMP5.2的安装、配置、测试完全手册摘要:IBMHACMP自从出了5.2版本后,到了5.205比较稳定,并已经过充分的测试(见测试篇)和实践证明(已有多个系统成功自动切换)。这里我整理了一下,以比较复杂的双机互备情况为例,其他类似设置可适当简化。样例为AIX5304+HACMP5205.,各个步骤作了尽可能详尽的描述。第一章规划篇tlg1a04CPU,8GBMEM3*73.4GBHDDtlg1d04CPU,8GBMEM3*73.4GBHDDboot192.1.1.1svc190.2.260.11boot192.1.1.2svc190.2.206.12stb181.1.1.1stb182.1.1.2Ether_net_2(public)node1tlg1a0_appResourcegrouptlg1a0_RGnode2tlg1d0_appResourcegrouptlg1d0_RGCASCADINGVG:g1a0msa2vgFS:allVG:g1d0msd2vgFS:allheartbeatdiskhbboot1192.168.1.1svc1168.121.1.201140.100.100.101boot2192.168.2.1Ether_net_3(public)boot1192.168.1.2svc1168.121.1.202140.100.100.102svc2168.120.1.201boot2192.168.2.1svc2168.120.1.201HACMP5.205的安装、配置、测试之配置篇----------------------------------------------------------------------------------------------------------------2/32上海宝信系统服务部辛旻第二章安装篇1安装前提1)操作系统版本要求:AIX5.203以上2)环境要求用户确认HA要求所有切换需要用到的用户必须一一对应,userid完全相同。如tlg1d0上oracle用户为orarun,tlg1a0上的orarun必须为切换保留,sid均为209平时用的oracle用户就改为oraclt[tlg1a0][root][/]lsuser-aidALLrootid=0daemonid=1binid=2sysid=3admid=4uucpid=5nobodyid=-2lpdid=9lpid=11invscoutid=6snappid=200ipsecid=201nuucpid=7radiusdid=202ldapid=203oradevid=204tuxrunid=205oracltid=208HACMP5.205的安装、配置、测试之配置篇----------------------------------------------------------------------------------------------------------------3/32上海宝信系统服务部辛旻orarunid=209sshdid=211bsx1id=210[tlg1d0][root][/]lsuser-aidALLrootid=0daemonid=1binid=2sysid=3admid=4uucpid=5nobodyid=-2lpdid=9lpid=11invscoutid=6snappid=200ipsecid=201nuucpid=7radiusdid=202ldapid=203oradevid=204orarunid=209tuxrunid=205oracltid=208bsx1id=210文件系统确认HA要求切换相关的文件系统不能重名,如tlg1d0上oracle软件目录为/ora10msrun,tlg1a0上的/ora10msrun必须为切换保留,改为/ora10msclt[tlg1d0][root][/]df-kFilesystem1024-blocksFree%UsedIused%IusedMountedon/dev/hd45242884878207%32763%//dev/hd27077888186851674%9129018%/usr/dev/hd9var52428845836413%9911%/var/dev/hd391750482670010%1201%/tmp/dev/hd165536052485620%2911%/home/proc-----/proc/dev/hd10opt117964858907251%113708%/opt/dev/lv001310721269124%181%/var/adm/csd/dev/fslv011310721307241%41%/tftpboot/dev/fslv006684672371903645%61%/export/eznim/dev/ora10msrunlvbak8912896516550843%248143%/ora10msrunbak/dev/msrundatalvbak13107200289598078%321%/msrundatabak/dev/msrunloglvbak5242880309448041%81852%/msrunlogbakHACMP5.205的安装、配置、测试之配置篇----------------------------------------------------------------------------------------------------------------4/32上海宝信系统服务部辛旻/dev/mksysblv13107200623886853%51%/mksysb/dev/tlg1d0_baklv262144001749584834%11111%/tlg1d0_bak/dev/msrundatalv13107200289600078%311%/msrundata/dev/msrunloglv5242880311221641%79962%/msrunlog/dev/ora10msrunlv8912896517325242%234062%/ora10msrun[tlg1a0][root][/]df-kFilesystem1024-blocksFree%UsedIused%IusedMountedon/dev/hd46553609396886%345014%//dev/hd28650752377900057%9034710%/usr/dev/hd9var1179648100124816%11641%/var/dev/hd3117964811361924%1431%/tmp/dev/hd165536058759211%4891%/home/proc-----/proc/dev/hd10opt1835008124452833%113744%/opt/dev/lv001310721269124%181%/var/adm/csd/dev/fslv0113107211880010%71%/tftpboot/dev/fslv00773324896069688%2729812%/export/eznim/dev/fslv0215335424114380493%45252%/soft_ins/dev/tlg1a0_baklv262144002075150021%161%/tlg1a0_bak/dev/ora10mscltlvbak13107200938690429%168521%/ora10mscltbak/dev/tux81msrunlvbak65536040793238%26853%/tux81msrunbak/dev/meslvbak8912896481564046%63491%/BSMesWare/BSX1bak/dev/xcomlvbak524288051862602%41781%/xcombak/dev/ora10mscltlv13107200938674829%168521%/ora10msclt/dev/tux81msrunlv78643253895232%26853%/tux81msrun/dev/meslv141557761005787629%63431%/BSMesWare/BSX1/dev/xcomlv524288051862802%41781%/xcom3)安装包要求:RSCT2.3.6.0或更高版本。lslpp–l|greprsct4)以下的包也是必须要安装的:(脚本可直接拷贝运行)lslpp-lrsct.*lslpp-lbos.adt.liblslpp-lbos.adt.libmlslpp-lbos.adt.syscallslslpp-lbos.net.tcp.clientHACMP5.205的安装、配置、测试之配置篇----------------------------------------------------------------------------------------------------------------5/32上海宝信系统服务部辛旻lslpp-lbos.net.tcp.serverlslpp-lbos.rte.SRClslpp-lbos.rte.libclslpp-lbos.rte.libcfglslpp-lbos.rte.libcurlslpp-lbos.rte.libpthreadslslpp-lbos.rte.odm5)tlg1a0结果:[tlg1a0][root][/]lslpp-lrsct.*lslpp-lbos.adt.libFilesetLevelStateDescription----------------------------------------------------------------------------Path:/usr/lib/objreposrsct.basic.hacmp2.4.4.0COMMITTEDRSCTBasicFunction(HACMP/ESSupport)rsct.basic.rte2.4.4.0COMMITTEDRSCTBasicFunctionrsct.basic.sp2.4.4.0COMMITTEDRSCTBasicFunction(PSSPSupport)rsct.clients.rte99.99.999.999COMMITTEDSupersedeEntry-Notreallyinstalledrsct.compat.basic.hacmp2.4.4.0COMMITTEDRSCTEventManagementBasicFunction(HACMP/ESSupport)rsct.compat.basic.rte2.4.4.0COMMITTEDRSCTEventManagementBasicFunctionrsct.compat.basic.sp2.4.4.0COMMITTEDRSCTEventManagementBasicFunction(PSSPSupport)rsct.compat.clients.hacmp2.4.4.0COMMITTEDRSCTEventManagementClientFunction(HACMP/ESSupport)rsct.compat.clients.rte2.4.4.0COMMITTEDRSCTEventManagementClientFunctionrsct.compat.client