HACMP安装、配置-施实全过程_第1页
HACMP安装、配置-施实全过程_第2页
HACMP安装、配置-施实全过程_第3页
已阅读5页,还剩13页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、作者:Pan Hon glia ng仅供个人学习HACMP安装、配置,施实全过程环境:两台P630 : P630_1,P630_2磁盘陈列:7133-D40共享卷组:oravg1、在两台计算机上设置IP地址(1)在 p630_1 机上:A. 配置第一块boot网卡->#smitty->CommunicationsApplications and Services->TCP/IP->Minimum Configuration& Startupselect en2* HOSTNAME p630_1* Network INTERFACE en1NAMESERVERIn

2、 ternet ADDRESS (dotted decimal)DOMAIN Name Default GATEWAY Address B. 配置第二块boot网卡->#smitty->CommunicationsApplications and Services->TCP/IP->Minimum Configuration& Startupselect en1* HOSTNAME p630_1* Network INTERFACE en3NAMESERVERIn ternet ADDRESS (dotted decimal)DOMAIN Name Defaul

3、t GATEWAY Address (2) 在 p630_2 机上:A. 配置第一块boot网卡->#smitty->CommunicationsApplications and Services->TCP/IP->Minimum Configuration& Startupselect en2* HOSTNAME p630_2* Network INTERFACE en1NAMESERVERIn ternet ADDRESS (dotted decimal)DOMAIN Name Default GATEWAY Address B. 配置第二块boot网卡-&

4、gt;#smitty->CommunicationsApplications and Services->TCP/IP->Minimum Configuration& Startupselect en1* HOSTNAME p630_2* Network INTERFACE en3NAMESERVERIn ternet ADDRESS (dotted decimal)DOMAIN Name Default GATEWAY Address 2、修改/etc/hosts 文件,内容如下:10.10.9.1 boot_11 p630_110.10.10.1 boot_12

5、p630_1192.168.1.1 service110.10.9.2 boot_21 p630_210.10.10.2 boot_22 p630_2192.168.1.2 service23、在p630_1上建立共享卷组建立oravg共享卷组Storage)->#smitty->System Storage Management (Phisical & Logical->Logical Volume Man ager->Volume Groups->Add a Volume GroupVOLUME GROUP name oravgPhysical par

6、tition SIZE in megabytes 128* PHYSICAL VOLUME names hdisk2Activate volume group AUTOMATICALLY no at system restart?Volume Group MAJOR NUMBER Create VG concurrent Capable? yesAuto-varyon in Concurrent Mode? no4、在p630_2上import共享卷组(1) import oravg 共享卷组->#smitty->System Storage Management (Phisica

7、l & Logical->Logical Volume Man ager->Volume Groups->Import a Volume GroupVOLUME GROUP name oravg* PHYSICAL VOLUME name hdisk2Volume Group MAJOR NUMBER Make this VG Co ncurrentCap able noMake default vary on of VG Con curre nt?no(2) 修改oravg共享卷组属性->#smitty->System Storage Managemen

8、t (Phisical & Logical->Logical Volume Man ager->Volume Groups->Set Characteristics of a Volume Group->Cha nge a Volume Groupselect * VOLUME GROUP name oravgVOLUME GROUP name oravg* ACTIVATE volume group AUTOMATICALLY no at system restart?* A QUORUM of disks required to keep the volum

9、e group on-li ne?Con vert this VG to Con curre nt Cap able? noStorage)Storage)yes* Autovaryon VG in Concurrent Mode? no5、在p630_1和p630_2上配置非TCP/IP网络->#smitty->Devices->TTY->Add a TTYselect tty rs232 AsynchronousTerminalTTY type ttyTTY in terface rs232Descriptio n Termi nal asynchronePare

10、nt adapter sa3* PORT number 0BAUD rate 9600PARITY noneBITS per characteNumber of STOP BITS 1TERMINAL type dumbSTATE to be con figured at boot time availableEnable LOGIN disable用Serial to Serial Cable连接一号机和二号机的 COM3,作为HACMP的心跳线测试心跳线:1)在 p630_1 机上执行:cat < /dev/tty02)在 p630_2 上执行:cat /etc/hosts >

11、 /dev/tty03)在p630_1上若显示出p630_2的/etc/hosts文件内容,说明心跳线配置正确6、建立应用服务器启动脚本755:在/etc/hascript 下分别建立dbstart.sh, dbstop.sh,然后修改文件属性为 #chomd 755 *7、HACMP的设置(1)定义 CLUSTER->lnitializationand Standard Configuration->Add Nodes to an HACMP ClusterAdd/Change/Showan HACMP Cluster输入字段* Cluster Name wlyNOTE: HAC

12、MP must be RESTARTEDon all no des in order for cha nge to take effect(2)定义p630_1节点-> Extended Configuration-> Extended Topology Configuration->C on figure HACMP Nodes-> Add a Node to the HACMP ClusterAdd a Node to the HACMP Cluster输入字段* Node Name p630_1CommunicationPath to Node +(2)定义p63

13、0_2节点-> Extended Configuration-> Extended Topology Configuration->C on figure HACMP Nodes-> Add a Node to the HACMP ClusterAdd a Node to the HACMP Cluster输入字段* Node Name p630_1CommunicationPath to Node +(3) 定义网络A. 定义IP网络-> Extended Configuration->Exte nded Topology Con figurati on-

14、>Configure HACMP Networks-> Add a Network to the HACMP ClusterAdd an IP-Based Network to the HACMP Cluster输入字段* Network Name net_ether_01* Network Type ether* +* Enable IP Address Takeover via IP Aliases Yes + IP Address Offset for Heartbeating over IP Aliases B. 定义非IP网络-> Extended Configur

15、ation->Exte nded Topology Con figurati on->Configure HACMP Networks-> Add a Network to the HACMP Cluster选择 # Pre-defined Serial Device Types 中的 rs232Add a Serial Network to the HACMP Cluster输入字段* Network Name net_rs232_01* Network Type rs232(4) 定义网络接口A.定义IP网络接口定义Boot_11接口 :-> Extended Co

16、nfiguration-> Extended Topology Configuration->C on figure HACMP Communi catio nIn terfaces/Devices-> Add CommunicationInterfaces/Devices选择 Add Pre-defi nedCommuni cati onIn terfaces and选择 Communi cati onIn terfaces选择 Add a Communi catio nIn terface输入字段* IP Label/Address boot_11+* Network T

17、ype ether* Network Name net_ether_01* Node Name p630_1 +Network In terface Devices定义Boot_12接口 :-> Extended-> Extended->Con figureCon figurati onTopology Con figurati onHACMP CommunicationIn terfaces/Devices-> Add Communication Interfaces/Devices选择 Add Pre-defi nedCommuni cati onIn terfac

18、es and选择 Communi cati onIn terfacesDevices选择 Add a Communi catio nIn terface输入字段IP Label/Address boot_12+Network Type etherNetwork Name net_ether_01Node Name p630_1 +Network In terface DevicesDevices定义boot_21接口:-> Extended Configuration-> Extended Topology Configuration->C on figure HACMP C

19、ommuni catio nIn terfaces/Devices-> Add CommunicationInterfaces/Devices选择 Add Pre-defi nedCommuni cati onIn terfaces and选择 Communi cati onIn terfaces选择 Add a Communi catio nIn terface输入字段* IP Label/Address boot_21+* Network Type ether* Network Name net_ether_01* Node Name p630_2 +Network In terfa

20、ce 定义boot_22 接口:-> Extended Configuration-> Extended Topology Configuration->C on figure HACMP Communi catio nIn terfaces/Devices-> Add CommunicationInterfaces/Devices选择 Add Pre-defi nedCommuni cati on In terfaces and选择 Communi cati onIn terfaces选择 Add a Communi catio nIn terface输入字段* IP

21、 Label/Address boot_22+* Network Type ether* Network Name net_ether_01* Node Name p630_2 +Network In terface B.定义非IP网络接口定义 p630_1tty 接口 :-> Extended Configuration-> Extended TopologyCon figurati on->Co nfigure HACMPCommuni cati onIn terfaces/Devices-> Add CommunicationIn terfaces/Devices

22、选择 Add Pre-definedCommuni cati onIn terfaces and选择 Communi cati on选择 net_rs232_01DeviceAdd a Communication输入字段DeviceDevicesDevice Name p630_1ttyNetwork Type rs232Network Name net_rs232_01Device Path /dev/tty0Node Name p630_1定义 p630_2tty 接口 :-> Extended Configuration-> Extended TopologyCon figu

23、rati on->Co nfigure HACMPCommuni cati onIn terfaces/Devices-> Add CommunicationIn terfaces/Devices选择 Add Pre-definedCommuni cati onIn terfaces and选择 Communi cati onDevice选择 net_rs232_01Add a CommunicationDevice输入字段DevicesDevice Name p630_2ttyNetwork Type rs232* Network Name net_rs232_01* Devic

24、e Path /dev/ttyO* Node Name p630_2(5) 定义应用服务器定义wlyapp应用服务器:->lnitializationand Standard Configuration->C on figure Applicati onServers->Add an Application ServerAdd Application Server输入字段* Server Name wlyapp* Start Script /etc/hascript/dbstart.sh* Stop Script /etc/hascript/dbstop.sh(6) 定义共享

25、资源组定义wlyres资源组->lnitializationand Standard Configuration->Configure HACMP Resource Group->Add a Resource Group选择 CascadingAdd a Resource Group with a Cascading Management Policy (stand ard)输入字段* Resource Group Name wlyres*ParticipatingNode Names (Default Node Priority) p630_1 p630_2 +(7) 修改

26、资源组属性修改wlyres资源组属性:->lnitializationand Standard Configuration->Configure HACMP Resource Group-> Change/ShowResources for a Cascading Resource Group(standard)Change/ShowResources for a Cascading Resource Group输入字段Resource Group Name wlyresParticipatingNode Names (Default Node Priority) p630_

27、2 p630_1* Service IP Labels/Addresses +Volume Groups oravg +Filesystems (empty is ALL for VGs specified) +Applicati on Servers wlyapp +(8) 定义 Service IP定义 p630_1 的 service IP 地址:->lnitializationand Standard Configuration->C on figure Resources to Make Highly Available->C on figure Service I

28、P Labeles/Addresses->Add a service IP Labeles/AddressesAdd a Service IP Label/Address(standard)输入字段* IP Label/Address service1 +* Network Name net_ether_01+8、同步HACMP配置->lnitializationand Standard Configuration-> Verify and Synchronize HACMP ComfigurationVerify and SynchronizeHACMP Comfigura

29、tion输入字段* Verify, Synchronizeor Both Both +Force synchronizationif verificationfails? No* Verify changes only? No +* LoggingStandard+ 9、HACMP服务的启动和停止 启动:#smitty clstartStart Cluster Services输入字段 * Start now, on system restart or both now + Start Cluster Services on these nodes p630_1 BROADCAST messa

30、ge at startup? true + Startup Cluster Lock Services? false +Startup Cluster In formatio nDaem on? false +Reacquire resources after forced down ? false停止:#smitty clstopStop Cluster Services输入字段* Stop now, on system restart or both now + Stop Cluster Services on these nodes p630_1 BROADCAST cluster shutdow n? true +* Shutdown mode graceful+版权申明本文部分内容,包括文字、图片、以及设计等在网上搜集整理。版权为潘宏亮个人所有This article in eludes someparts, in cludi ng text, pictures, and desig n. Copyright is Pan Hon glia ng's pers onal own ership.用户可将本文的内容或服务用于个人学习、研究或

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论