您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 数据库 > HACMP5.1的安装配置手册
HACMP的安装目录TU第一章HA软件的版本、patch的安装UT.......................................................................3TU1.1HACMP的方式UT................................................................................................3TU第二章HACMP的配置UT................................................................................................4TU2.1双机rsh、rlogin、rcpUT....................................................................................4TU2.2HACMP5.1的配置UT.........................................................................................4TU2.2.1配置IPUT...................................................................................................4TU2.2.2添加cluster和nodeUT.............................................................................6TU2.2.3添加高可用资源UT...................................................................................8TU2.2.4添加applicationserverUT........................................................................9TU2.2.5添加共享vg,jfsUT...............................................................................10TU2.2.6创建资源组UT.........................................................................................13TU2.2.7检查和同步hacmp配置UT.....................................................................15TU2.2.8扩展配置UT.............................................................................................17TU2.2.9添加hdiskheartbeat网络和设备UT...................................................21TU2.2.10配置永久的IP标识(persistentIPlabel)UT....................................24TU第三章Hacmp的监控和问题诊断UT..........................................................................26TU3.1.1Clstat监控hacmpUT..............................................................................26TU3.1.2启动hacmp时选择:UT.........................................................................27TU3.1.3执行clstatUT............................................................................................27第一章HA软件的版本、patch的安装root#smittyinstallp名称•bos.adt.lib•bos.adt.libm•bos.adt.syscalls•bos.net.tcp.client•bos.net.tcp.server•bos.rte.SRC•bos.rte.libc•bos.rte.libcfg•bos.rte.libcur•bos.rte.libpthreads•bos.rte.odm如果您要安装并行的资源组,还要安装下面的包:•bos.rte.lvm.rte5.1.0.25orhigher•bos.clvm.enh.root#reboot1.1HACMP的方式HACMP的方式Concurrent第二章HACMP的配置2.1双机rsh、rlogin、rcp重启机器。在hacmp5。1中为了安全起见,不再使用/.rhosts文件来控制两台机器之间的命令和数据交换,而是引进的一个新的进程clcomd。如果你编辑/etc/inittab文件就会发现安装完hacmp后,在昀后添加了一行:clcomdES:2:once:startsrc-sclcomdES/dev/console2&1。因此重新启机后,ps–ef|grepclomd,会发现:root1290864780Apr12-0:21/usr/es/sbin/cluster/clcomd–d,证明该进程启动了。Hacmp5.1使用/usr/es/sbin/cluster/etc/rhosts文件来代替/.rhosts文件的功能。注意:如果两个节点间的通讯发生了什么问题,可以检查rhots文件,或者编辑rhosts文件加入两个节点的网络信息。2.2HACMP5.1的配置我们以两台机器为例:test1和test2,共享三块7133硬盘。2.2.1配置IP首先配置两台机器的ip和vg,以及/etc/hosts和application启动/停止脚本test1:/netstat-inNameMtuNetworkAddressIpktsIerrsOpktsOerrsCollen01500link#20.4.ac.49.f2.d57796004780500en01500100.1100.1.0.17796004780500en11500link#30.6.29.ec.44.d63301100en11500192.168.0192.168.0.13301100test2:/netstat-inNameMtuNetworkAddressIpktsIerrsOpktsOerrsCollen01500link#20.4.ac.49.60.233113808258200en01500100.1100.1.0.23113808258200en11500link#30.4.ac.3e.b9.4b3601300en11500192.168.0192.168.0.23601300test1:hdisk00004383268b07574rootvgactivehdisk3000438325e22bca7test1vghdisk400043832125e5aa8Nonehdisk5000438323d0e4487Nonetest2:hdisk0000d29574085126drootvgactivehdisk5000438325e22bca7test1vghdisk600043832125e5aa8Nonehdisk7000438323d0e4487None/etc/hosts100.1.0.2test2_boot1test2100.1.0.1test1_boot1test1192.168.0.1test1_boot2192.168.0.2test2_boot210.1.0.1test1_svc10.1.0.2test2_svc10.1.0.5test1_per10.1.0.6test1_pertest2:/ha51ls–l-rwxr-xr-x1rootsystem65Apr1313:51start-rw-r--r--1rootsystem31Apr1311:49start.log-rwxr-xr-x1rootsystem66Apr1314:01start1-rw-r--r--1rootsystem31Apr1314:01start1.log-rwxrwxrwx1rootsystem64Apr1311:48stop-rw-r--r--1rootsystem31Apr1311:48stop.log-rwxr-xr-x1rootsystem66Apr1314:01stop1-rw-r--r--1rootsystem31Apr1314:01stop1.logvistartdate/ha51/start.logbannerstartapp1/tmp/hacmp.outvistopdate/ha51/stop.logbannerstopapp1/tmp/hacmp.outvistart1date/ha51/start1.logbannerstartapp2/tmp/hacmp.outvistop1date/ha51/stop1.logbannerstopapp2/tmp/hacmp.out注意:在两个节点要保证hosts和启动/停止脚本要一样存在。2.2.2添加cluster和nodesmittyhacmpInitializationandStandardConfigurationExtendedConfigurationSystemManagement(C-SPOC)ProblemDeterminationToolsAddNodestoanHACMPClusterConfigureResourcestoMakeHighlyAvailableConfigureHACMPResourceGroupsVerifyandSynchronizeHACMPConfigurationDisplayHACMPConfiguration*ClusterName[ha51tsc]NewNodes(viaselectedcommunicationpaths)[m[test2_boot1test1_boot1]CurrentlyConfiguredNode(s)这一部很重要,一般我们都是把每个节点的boot1作为communicationpath.Newnode可以一起加,也可以一个一个的加。当回车以后,系统会自己discoverhacmp的资源显示如下:。。。。。。。。。。。。。。。。。。。。IPNetworkDiscoverycompletednormallyCurrentclusterconfiguration:NoresourcegroupsdefinedClusterDescriptionofCluster:ha51tscClusterSecurityLevel:StandardThereare2node(s)and1network(s)definedNODEtest1:Networknet_ether_02test1_boot1100.1.0.1test1_boot2192.168.0.1NODEtest2:Networknet_ether_02test2_boot1
本文标题:HACMP5.1的安装配置手册
链接地址:https://www.777doc.com/doc-6448516 .html