




已阅读5页,还剩8页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
HACMP安装、配置,施实全过程环境:两台P630:P630_1,P630_2磁盘陈列:7133-D40共享卷组:oravg1、在两台计算机上设置IP地址(1)在p630_1机上:A.配置第一块boot网卡-#smitty-Communications Applications and Services-TCP/IP-Minimum Configuration & Startupselect en2* HOSTNAME p630_1* Internet ADDRESS (dotted decimal) 10.10.9.1Network MASK (dotted decimal) 255.255.255.0* Network INTERFACE en1NAMESERVERInternet ADDRESS (dotted decimal) DOMAIN Name Default GATEWAY Address B.配置第二块boot网卡-#smitty-Communications Applications and Services-TCP/IP-Minimum Configuration & Startupselect en1* HOSTNAME p630_1* Internet ADDRESS (dotted decimal) 10.10.10.1Network MASK (dotted decimal) 255.255.255.0* Network INTERFACE en3NAMESERVERInternet ADDRESS (dotted decimal) DOMAIN Name Default GATEWAY Address (2)在p630_2机上:A.配置第一块boot网卡-#smitty-Communications Applications and Services-TCP/IP-Minimum Configuration & Startupselect en2* HOSTNAME p630_2* Internet ADDRESS (dotted decimal) 10.10.9.2Network MASK (dotted decimal) 255.255.255.0* Network INTERFACE en1NAMESERVERInternet ADDRESS (dotted decimal) DOMAIN Name Default GATEWAY Address B.配置第二块boot网卡-#smitty-Communications Applications and Services-TCP/IP-Minimum Configuration & Startupselect en1* HOSTNAME p630_2* Internet ADDRESS (dotted decimal) 10.10.10.2Network MASK (dotted decimal) 255.255.255.0* Network INTERFACE en3NAMESERVERInternet ADDRESS (dotted decimal) DOMAIN Name Default GATEWAY Address 2、修改/etc/hosts文件,内容如下:127.0.0.1 loopback localhost p630_110.10.9.1 boot_11 p630_110.10.10.1 boot_12 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共享卷组-#smitty-System Storage Management (Phisical & Logical Storage)-Logical Volume Manager-Volume Groups-Add a Volume GroupVOLUME GROUP name oravgPhysical partition SIZE in megabytes 128* PHYSICAL VOLUME names hdisk2Activate volume group AUTOMATICALLY noat 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 (Phisical & Logical Storage)-Logical Volume Manager-Volume Groups-Import a Volume GroupVOLUME GROUP name oravg* PHYSICAL VOLUME name hdisk2Volume Group MAJOR NUMBER Make this VG Concurrent Capable noMake default varyon of VG Concurrent? no(2)修改oravg共享卷组属性-#smitty-System Storage Management (Phisical & Logical Storage)-Logical Volume Manager-Volume Groups-Set Characteristics of a Volume Group-Change a Volume Groupselect * VOLUME GROUP name oravgVOLUME GROUP name oravg* ACTIVATE volume group AUTOMATICALLY noat system restart?* A QUORUM of disks required to keep the volume yesgroup on-line?Convert this VG to Concurrent Capable? no* Autovaryon VG in Concurrent Mode? no5、在p630_1和p630_2上配置非TCP/IP网络-#smitty-Devices-TTY-Add a TTYselect tty rs232 Asynchronous TerminalTTY type ttyTTY interface rs232Description Terminal asynchroneParent adapter sa3* PORT number 0BAUD rate 9600PARITY noneBITS per characteNumber of STOP BITS 1TERMINAL type dumbSTATE to be configured at boot time available.Enable LOGIN disable用Serial to Serial Cable连接一号机和二号机的COM3,作为HACMP的心跳线测试心跳线:1)在p630_1机上执行: cat /dev/tty03)在p630_1上若显示出p630_2的/etc/hosts文件内容,说明心跳线配置正确6、建立应用服务器启动脚本在/etc/hascript下分别建立dbstart.sh, dbstop.sh,然后修改文件属性为755:#chomd 755 *7、HACMP的设置(1)定义CLUSTER-Initialization and Standard Configuration-Add Nodes to an HACMP ClusterAdd/Change/Show an HACMP Cluster输入字段* Cluster Name wlyNOTE: HACMP must be RESTARTEDon all nodes in order for change to take effect(2)定义p630_1节点- Extended Configuration- Extended Topology Configuration-Configure HACMP Nodes- Add a Node to the HACMP ClusterAdd a Node to the HACMP Cluster输入字段* Node Name p630_1Communication Path to Node +(2)定义p630_2节点- Extended Configuration- Extended Topology Configuration-Configure HACMP Nodes- Add a Node to the HACMP ClusterAdd a Node to the HACMP Cluster输入字段* Node Name p630_1Communication Path to Node +(3)定义网络A.定义IP网络- Extended Configuration-Extended Topology Configuration-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* Netmask 255.255.255.0 +* Enable IP Address Takeover via IP Aliases Yes +IP Address Offset for Heartbeating over IP Aliases B.定义非IP网络- Extended Configuration-Extended Topology Configuration-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 Configuration- Extended Topology Configuration-Configure HACMP Communication Interfaces/Devices- Add Communication Interfaces/Devices选择Add Pre-defined Communication Interfaces and Devices选择Communication Interfaces选择net_ether_01 (0.0.0.0/0)Add a Communication Interface输入字段* IP Label/Address boot_11 +* Network Type ether* Network Name net_ether_01* Node Name p630_1 +Network Interface 定义Boot_12接口:- Extended Configuration- Extended Topology Configuration-Configure HACMP Communication Interfaces/Devices- Add Communication Interfaces/Devices选择Add Pre-defined Communication Interfaces and Devices选择Communication Interfaces选择net_ether_01 (0.0.0.0/0)Add a Communication Interface输入字段* IP Label/Address boot_12 +* Network Type ether* Network Name net_ether_01* Node Name p630_1 +Network Interface 定义boot_21接口:- Extended Configuration- Extended Topology Configuration-Configure HACMP Communication Interfaces/Devices- Add Communication Interfaces/Devices选择Add Pre-defined Communication Interfaces and Devices选择Communication Interfaces选择net_ether_01 (0.0.0.0/0)Add a Communication Interface输入字段* IP Label/Address boot_21 +* Network Type ether* Network Name net_ether_01* Node Name p630_2 +Network Interface 定义boot_22接口:- Extended Configuration- Extended Topology Configuration-Configure HACMP Communication Interfaces/Devices- Add Communication Interfaces/Devices选择Add Pre-defined Communication Interfaces and Devices选择Communication Interfaces选择net_ether_01 (0.0.0.0/0)Add a Communication Interface输入字段* IP Label/Address boot_22 +* Network Type ether* Network Name net_ether_01* Node Name p630_2 +Network Interface B.定义非IP网络接口定义p630_1tty接口:- Extended Configuration- Extended Topology Configuration-Configure HACMP Communication Interfaces/Devices- Add Communication Interfaces/Devices选择Add Pre-defined Communication Interfaces and Devices选择Communication Device选择net_rs232_01Add a Communication Device输入字段* Device Name p630_1tty* Network Type rs232* Network Name net_rs232_01* Device Path /dev/tty0* Node Name p630_1定义p630_2tty接口:- Extended Configuration- Extended Topology Configuration-Configure HACMP Communication Interfaces/Devices- Add Communication Interfaces/Devices选择Add Pre-defined Communication Interfaces and Devices选择Communication Device选择net_rs232_01Add a Communication Device输入字段* Device Name p630_2tty* Network Type rs232* Network Name net_rs232_01* Device Path /dev/tty0* Node Name p630_2(5)定义应用服务器定义wlyapp应用服务器:-Initialization and Standard Configuration-Configure Application Servers-Add an Application ServerAdd Application Server输入字段* Server Name wlyapp* Start Script /etc/hascript/dbstart.sh* Stop Script /etc/hascript/dbstop.sh(6)定义共享资源组定义wlyres资源组-Initialization and Standard Configuration-Configure HACMP Resource Group-Add a Resource Group选择CascadingAdd a Resource Group with a Cascading Management Policy (standard)输入字段* Resource Group Name wlyres*Participating Node Names (Default Node Priority) p630_1 p630_2 +(7)修改资源组属性修改wlyres资源组属性:-Initialization and Standard Configuration-Configure HACMP Resource Group- Change/Show Resources for a Cascading Resource Group(standard)Change/Show Resources for a Cascading Resource Group输入字段Resource Group Name wlyresParticipating Node Names (Default Node Priority) p630_2 p630_1* Service IP Labels/Addresses +Volume Groups oravg +Filesystems (empty is ALL for VGs specified) +Application Servers wlyapp +(8)定义Service IP定义p630_1的service IP地址:-Initialization and Standard Configuration-Configure Resources to Make Highly Available-Configure Service IP Labeles/Addresses-Add a service IP
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 文件存储柜使用表格
- 2025年艺术与设计专业综合素质考试试卷及答案
- 2025年系统分析与设计能力考试题及答案
- 2025年社会心理学基础知测试卷及答案
- 2025年轻工业制造工艺基础考试试题及答案
- 2025年建筑技术与管理专业考试试题及答案
- 2025年传统医学与现代科技在健康管理中的应用考试试卷及答案
- 物资公司收购管理制度
- 特殊体质教育管理制度
- 特殊病人液体管理制度
- GB 2714-2003酱腌菜卫生标准
- CNAS体系基础知识培训课件
- 2023年重庆市铜梁区物理八下期末质量跟踪监视模拟试题(含解析)
- 教师压力管理(教育心理健康C证培训)课件
- 工程勘察设计收费标准使用手册
- 网络暴力主题班会PPT课件讲义
- 《工程管理指导书》word版
- 合理低价法得分计算
- 关于涉农企业税收风险管理的实践和思考
- 05S502阀门井图集
- 轮扣式支架模板施工方案
评论
0/150
提交评论