您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 数据库 > AIX6.1+HA+ORACLE10G+RAC+安装参考手册
AIX6.1+HAcmp5.4+ORACLE10GRAC安装参考手册一、系统软硬件组成及安装环境规划硬件环境:IBMP6570两台HP磁盘阵列2TB交换机;软件环境:AIX6.1+HAcmp5.4OracleDatabase10gforAIX5L(64-BIT)二、系统规划三、安装准备1、调整AIX文件系统使用smitfs两台机器调整成相同调整后的文件系统情况如下:$hostnamenode1$df-gFilesystemGBblocksFree%UsedIused%IusedMountedon/dev/hd420.0019.841%101561%//dev/hd210.008.1919%400563%/usr/dev/hd9var10.009.882%9881%/var/dev/hd34.003.757%3681%/tmp/dev/hd125.008.4867%364872%/home/dev/hd11admin0.250.251%51%/admin/proc-----/proc/dev/hd10opt30.0029.871%46451%/opt#hostnamenode2#df-gFilesystemGBblocksFree%UsedIused%IusedMountedon/dev/hd420.0019.851%102111%//dev/hd210.007.8822%428133%/usr项目说明备注操作系统AIX6.1AIX6.1主机名node1node2内存16GB16GB本地磁盘146GB*2146GB*2存储(HP)2TB2TB双光纤通道专用IP124.17.100.102124.17.100.103虚拟IP192.168.1.1192.168.1.2公共IP124.17.100.104124.17.100.105OracleRACSIDkeyan1keyan2数据库名称keyanSERVERICE_NAMEkeyandb/dev/hd9var10.009.872%9211%/var/dev/hd34.003.5611%12461%/tmp/dev/fwdump1.001.001%41%/var/adm/ras/platform/dev/hd125.0010.2360%327432%/home/dev/hd11admin0.250.251%51%/admin/proc-----/proc/dev/hd10opt30.0029.811%55661%/opt2、检查系统内存(两个节点相同)#lsattr-E-lsys0-arealmemrealmem15466496AmountofusablephysicalmemoryinKbytesFalse3、检查CPU(两个节点相同)#lsdev-C|grepprocproc0Available00-00Processorproc2Available00-02Processorproc4Available00-04Processorproc6Available00-06Processor4、配置HACMP集群$hostnamenode1$ifconfig-aen8:flags=1e080863,c0UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAINinet192.168.1.1netmask0xffffff00broadcast192.168.1.255en9:flags=5e080863,c0UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAINinet124.17.100.102netmask0xffffff00broadcast124.17.100.255inet124.17.100.104netmask0xffffff00broadcast124.17.100.255tcp_sendspace131072tcp_recvspace65536rfc13230lo0:flags=e08084bUP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BITinet127.0.0.1netmask0xff000000broadcast127.255.255.255inet6::1/0tcp_sendspace131072tcp_recvspace131072rfc13231$netstat-inNameMtuNetworkAddressZoneIDIpktsIerrsOpktsOerrsCollen81500link#20.21.5e.2.65.91803100062094200en81500192.168.1192.168.1.1803100062094200en91500link#30.14.5e.74.bc.b0272543018551140en91500124.17.100124.17.100.102272543018551140en91500124.17.100124.17.100.104272543018551140lo016896link#1868306086848500lo016896127127.0.0.1868306086848500lo016896::11868306086848500$#hostnamenode2#ifconfig-aen8:flags=1e080863,c0UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAINinet192.168.1.2netmask0xffffff00broadcast192.168.1.255en9:flags=5e080863,c0UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAINinet124.17.100.103netmask0xffffff00broadcast124.17.100.255inet124.17.100.105netmask0xffffff00broadcast124.17.100.255tcp_sendspace131072tcp_recvspace65536rfc13230lo0:flags=e08084bUP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BITinet127.0.0.1netmask0xff000000broadcast127.255.255.255inet6::1/0tcp_sendspace131072tcp_recvspace131072rfc13231#netstat-inNameMtuNetworkAddressZoneIDIpktsIerrsOpktsOerrsCollen81500link#20.21.5e.2.40.31714111067957300en81500192.168.1192.168.1.2714111067957300en91500link#30.14.5e.74.fc.e4259675018789740en91500124.17.100124.17.100.103259675018789740en91500124.17.100124.17.100.105259675018789740lo016896link#1865854086604700lo016896127127.0.0.1865854086604700lo016896::11865854086604700#(1)、创建clustersmithacmp回车,完成创建cluster。(2)、添加节点#smittyhacmpInitializationandStandardConfigurationAddNodestoanHACMPClusterConfigureNodestoanHACMPCluster(standard)Typeorselectvaluesinentryfields.PressEnterAFTERmakingalldesiredchanges.[EntryFields]*ClusterName[ibm_cls]NewNodes(viaselectedcommunicationpaths)[node1node2]+CurrentlyConfiguredNode(s)(3)、添加资源组#smittyhacmpInitializationandStandardConfigurationConfigureHACMPResourceGroupsAddaResourceGroupAddaResourceGroupTypeorselectvaluesinentryfields.PressEnterAFTERmakingalldesiredchanges.[EntryFields]*ResourceGroupName[racdbrg]*ParticipatingNodes(DefaultNodePriority)[node1node2]+StartupPolicyOnlineOnAllAvailableNodes+FalloverPolicyBringOffline(OnErrorNodeOnly)+FallbackPolicyNeverFallback(4)、配置串口通信#smittyhacmpExtendedConfigurationExtendedTopologyConfigurationConfigureHACMPCommunicationInterfaces/DevicesAddCommunicationInterfaces/DevicesSelectacategoryMovecursortodesireditemandpressEnter.AddDiscoveredCommunicationInterfaceandDevicesAddPre-definedCommunicationInterfacesandDevicesSelectacategoryMovecursortodesireditemandpressEnter.Discoverylastperformed:(Dec0820:10)CommunicationInterfacesCommunicationDevicesSelectPoint-to-PointPairofDiscoveredCommunicationDevicestoAddMovecursortodesireditemandpressF7.Usearrowkeystoscroll.ONEORMOREitemscanbeselected.PressEnterAFTERmakingallselections.NodeDeviceDevicePathPvidnode1hdisk2/dev/hdisk20002ee503ccnode2hdisk2/dev/hdisk20002ee503ccnode1tty0/dev/tty0node2tty0/dev/tty05、修改/etc/hosts文件(两节点分别完成),添加以下内容:192.168.2.1node1_boot2192.168.2.2node2_boot2192.168.1.1node1_boot1
本文标题:AIX6.1+HA+ORACLE10G+RAC+安装参考手册
链接地址:https://www.777doc.com/doc-6378996 .html