ImageVerifierCode 换一换
格式:DOCX , 页数:13 ,大小:18.93KB ,
资源ID:25451502      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/25451502.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(P51A主机HACMP53配置步骤.docx)为本站会员(b****7)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

P51A主机HACMP53配置步骤.docx

1、P51A主机HACMP53配置步骤一.硬件配置 1.存储设备 与现有的DS4300相连接,并且划分出1个datavg 二.软件配置1.AIX操作系统版本5.32.HACMP版本5.3 三IP配置YH1YH2boot192.168.70.125192.168.70.126stdby192.168.80.60192.168.80.61service192.168.70.127注:boot和servicel在同一个网段,boot与stdby在不同的网段 只有1个应用,主备模式,(Cascading) 四.软件安装及补丁1. AIX5.3操作系统的安装2. 操作系统相关包安装(有些默认已经安装了)bo

2、s.data bos.diag bos.content bos.alt bos.dlc bos.mh pat bos.adt bos.sysmgt bos.dosutil bos.perf bos.pmapi rsct.basic 注:用# lslpp l |grep name可以看是否装上 p 安装软件包时需要把ACCEPT new license agreements”为yes rsct.core 软件包安装完需重启机器生效,可以等后面操作完成后再重起.3. HACMP5.3安装除了cluster.hativoli、cluster.haview以外,所有包都安装。注:安装软件包时需要把AC

3、CEPT new license agreements”为yes 有时候提示安装失败,可以忽略、注:安装完所有补丁包后机器一定要重新启动!五.实施步骤1. 在两台p51A上设置IP地址(1) 在p51A_1机上A. 配置boot_1网卡-#smitty (smitty tcpip) 注:#lscfg |grep ent看网卡-Communications Applications and Services-TCP/IP-Minimum Configuration & Startup选择en0 * HOSTNAME YH1* Internet ADDRESS (dotted decimal) 1

4、92.168.70.125 Network MASK (dotted decimal) 255.255.255.0 * Network INTERFACE en1NAMESERVERInternet ADDRESS (dotted decimal) DOMAIN Name Default GATEWAY Address B. 配置stdby_1网卡-#smitty-Communications Applications and Services-TCP/IP-Minimum Configuration & Startupselect en1* HOSTNAME YH1* Internet AD

5、DRESS (dotted decimal) 192.168.80.60 Network MASK (dotted decimal) 255.255.255.0 * Network INTERFACE en3NAMESERVERInternet ADDRESS (dotted decimal) DOMAIN Name Default GATEWAY Address (2)在p51A_2机上A. 配置boot_2网卡-#smitty-Communications Applications and Services-TCP/IP-Minimum Configuration & Startupsel

6、ect en0* HOSTNAME YH2* Internet ADDRESS (dotted decimal) 192.168.70.126 Network MASK (dotted decimal) 255.255.255.0 * Network INTERFACE en1NAMESERVERInternet ADDRESS (dotted decimal) DOMAIN Name Default GATEWAY Address B. 配置stdby_2网卡-#smitty-Communications Applications and Services-TCP/IP-Minimum Co

7、nfiguration & Startupselect en1* HOSTNAME YH2* Internet ADDRESS (dotted decimal) 192.168.80.61 Network MASK (dotted decimal) 255.255.255.0 * Network INTERFACE en3NAMESERVERInternet ADDRESS (dotted decimal) DOMAIN Name Default GATEWAY Address 2. 在两台p51A上修改/etc/hosts文件,内容如下 (1)在p51A_1机上 127.0.0.1 loop

8、back localhost YH1 192.168.70.125 boot_1 YH1192.168.80.60 stdby_1 YH1192.168.70.127 svc_1 注:esc+i 加;s删;dd删行;o换行192.168.70.126 boot_2 YH2 ftp p51A_2IP put hosts /etc/hosts192.168.80.61 stdby_2 YH2 记住通过ftp需要把第一行改成p615_2 (2)在p51A_2机上 127.0.0.1 loopback localhost YH2192.168.70.125 boot_1 YH1192.168.80.6

9、0 stdby_1 YH1192.168.70.127 svc_1192.168.70.126 boot_2 YH2192.168.80.61 stdby_2 YH23.在p51A_1上建立共享卷组 建立datavg共享卷组-#smitty mkvg选Add an Original Volume Group Add a Big Volume Group Add a Scalable Volume Group则出现VOLUME GROUP name datavgPhysical partition SIZE in megabytes * PHYSICAL VOLUME names hdisk2

10、注:根据客户现场提供,这里假设为hdisk2Activate volume group AUTOMATICALLY noat system restart?Volume Group MAJOR NUMBER Create VG concurrent Capable? yesAuto-varyon in Concurrent Mode? no注:看datavg是否是激活状态,如果是激活,则需要#varyoffvg datavg#rmdev Rdl hdisk2#cfgmgr -v4.在p51A_2上import共享卷组(1) import datavg共享卷组-#smitty (smitty i

11、mportvg)出现:VOLUME GROUP name datavg手动输入* PHYSICAL VOLUME name hdisk2+ Volume Group MAJOR NUMBER +# (2) 修改datavg共享卷组属性-#smitty (smitty chvg)select * VOLUME GROUP name datavgVOLUME GROUP name datavg* ACTIVATE volume group AUTOMATICALLY noat system restart?* A QUORUM of disks required to keep the volum

12、e yesgroup on-line?Convert this VG to Concurrent Capable? no* Autovaryon VG in Concurrent Mode? no5.在两台P51A上建立应用服务器启动脚本(1) 在p51A_1上在/app下分别建立dbstart.sh, dbstop.sh, 然后修改文件属性为700:#mkdir /app#chmod 700 *(2) 在p51A_2上在/app下分别建立dbstart.sh, dbstop.sh, 然后修改文件属性为700:# mkdir /app # rm rm R /app#chmod 700 *6.H

13、ACMP的设置 以下步骤(1)-(8)只在P51A_1上做(1)定义CLUSTER#smitty hacmp 或者选择Initialization and Standard Configuration Extended Configuration选择Add Nodes to an HACMP Cluster Extended Topology Configuration Configure an HACMP Cluster输入字段 Add/Change/Show an HACMP ClusteCluster Name YHCLUSTERNew Nodes (via selected commu

14、nication paths) +Currently Configured Node(s)(2) 定义节点定义p51A_1节点#smitty hacmp选择Extended Configuration 选择Extended Topology Configuration 选择Configure HACMP Nodes 选择Add a Node to the HACMP Cluster 输入字段Node Name YH1Communication Path to Node 定义p51A_2节点 注:在p51A_1上做选择Extended Configuration 选择 Extended Topo

15、logy Configuration选择Configure HACMP Nodes选择Add a Node to the HACMP Cluster输入字段Node Name YH2Communication Path to Node (3) 定义网络 A. 定义IP网络 #smitty hacmp选择Extended Configuration选择Extended Topology Configuration选择Configure HACMP Networks选择Add a Network to the HACMP Cluster 选择# Pre-defined IP-based Netwo

16、rk Types中的ether输入字段 Network Name net_ether_01* Network Type ether* Netmask 255.255.255.0 +* Enable IP Address Takeover via IP Aliases no +IP Address Offset for Heartbeating over IP Aliases (4) 定义网络接口 A. 定义IP网络接口定义boot_1接口:# smitty hacmp选择 Extended Configuration选择Extended Topology Configuration选择Conf

17、igure 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) 输入字段* IP Label/Address boot_1 +* Network Type ether* Network Name net_ether_01* Node Name YH1 + Network Inter

18、face 定义stdby_1接口:选择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) 输入字段* IP Label/Address stdby_

19、1 +* Network Type ether* Network Name net_ether_01* Node Name YH1 +Network Interface 定义boot_2接口:选择Extended Configuration选择Extended Topology Configuration选择Configure HACMP Communication Interfaces/Devices选择Add Communication Interfaces/Devices选择 Add Pre-defined Communication Interfaces and Devices选择 C

20、ommunication Interfaces选择net_ether_01 (0.0.0.0/0) 输入字段* IP Label/Address boot_2 +* Network Type ether* Network Name net_ether_01* Node Name YH2 +Network Interface 定义stdby_2接口:选择Extended Configuration选择Extended Topology Configuration选择Configure HACMP Communication Interfaces/Devices选择Add Communicatio

21、n Interfaces/Devices选择 Add Pre-defined Communication Interfaces and Devices选择 Communication Interfaces选择net_ether_01 (0.0.0.0/0) 输入字段* IP Label/Address stdby_2 +* Network Type ether* Network Name net_ether_01* Node Name YH2 +Network Interface (5) 定义Service IP在p51A_1操作:# smitty hacmp选择Initialization

22、and Standard Configuration选择Configure Resources to Make Highly Available选择Configure Service IP Labeles/Addresses选择Add a service IP Labeles/Addresses输入字段* IP Label/Address svc_1 + * Network Name net_ether_01 +5.3一样(6) 定义应用服务器定义ZTEAPP应用服务器:# smitty hacmp选择Initialization and Standard Configuration选择Con

23、figure Resources to Make Highly Available选择Configure Application Servers选择Add an Application Server 输入字段* Server Name YHAPP * Start Script /app/dbstart.sh* Stop Script /app/dbstop.sh53一样 (7)定义共享资源组定义YHRE资源组# smitty hacmp选择Initialization and Standard Configuration选择Configure HACMP Resource Group选择Add

24、 a Resource GroupResource Group Name YHRE*Participating Nodes (Default Node Priority) YH1 YH2 +在5.2以后的HACMP里,默认是自动设置为Cascading) Startup Policy Online On Home Node O + Fallover Policy Fallover To Next Prio + Fallback Policy Fallback To Higher Pr +(8) 修改资源组属性修改YHRE资源组属性:# smitty hacmp选择Initialization

25、and Standard Configuration选择Configure HACMP Resource Group选择Change/Show Resources for a Cascading Resource Group(standard)输入字段Resource Group Name YHREParticipating Nodes (Default Node Priority) YH1 YH2Startup Policy Online On Home Node OFallover Policy Fallover To Next PrioFallback Policy Fallback T

26、o Higher PrService IP Labels/Addresses svc_1 +Application Servers YHAPP +Volume Groups datavg +手动输入Use forced varyon of volume groups, if necessary false + Filesystems (empty is ALL for VGs specified) +7. 同步HACMP配置 注:该步只在P51A_1上做 # smitty hacmp选择Initialization and Standard Configuration选择Verify and

27、Synchronize HACMP Comfiguration 5.3不用输入,直接到这里回车就同步了。注:一直等到同步成功为止8.查看HACMP进程是否正常(正常有2-4个Cluster进程)# lssrc g cluster subsystem group PID statusclstrmge cluster 22454 activeclsmuxpd cluster 15874 active9. HACMP服务的启动和停止启动: 要两个节点同时启动,停止时只停止1个节点#smitty clstart Start Cluster Services 输入字段 * Start now, on s

28、ystem restart or both now +Start Cluster Services on these nodes YH1 YH2 +BROADCAST message at startup? true +Startup Cluster Lock Services? false +Startup Cluster Information Daemon? true Reacquire resources after forced down ? false +# tail f /tmp/hacmp.out停止: 停止的时只停止1个节点#smitty clstopStop Cluster Services输入字段* Stop now, on system restart or both now +Stop Cluster Services on these nodes YH1 +BROADCAST cluster shutdown? true +* Shutdown mode gracefultakeover+ 注:shutdown mode请选择takeover,意 思是让备机自动接管六.测试(写的比较简单,可以看以前的文章)1.# lsvg o2.# ifconfig -a七.完毕

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1