




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
AIX环境下安装PowerPath安装软件1 将powerpath ODM上传到AIX主机下的/tmp/emc目录下,然后用uncompres命令将包文件解开; #uncompress /tmp/powerpath/EMC.AIX.5.3.0.1.tar.Z#tar xvf EMC.AIX.5.3.0.1.tar2 smitty 命令选择安装目录,安装AIX ODM #smitty installp3 将powerpath4.5.3 for AIX上传到AIX主机下的/tmp/emc/powerpath目录下,然后用gunzip命令将包文件解开; #gunzip /tmp/emc/powerpath/EMCpower.AIX.4.5.3.patch.tar.gz#tar xvf EMCpower.AIX.4.5.3.tar4 smitty 命令选择安装目录,安装powerpath软件 #smitty installp5.确认powerpath是否安装成功 #lslpp -l|grep power6.注册PowerPath软件 #emcpreg install7.#cfgmgr -v /确保系统认到新的hdiskpower and hdisk#powermt config /执行powermt命令识别POWERPATH设备#powermt display dev=all /检查POWERPATH设备识别情况,policy为SymmOpt#powermt save /保存POWERPATH配置卸载PowerPath1 lslpp -l|grep power /检查powerpath安装的版本2 smitty remove 3 选择要卸载的powerpath,Esc+7选择4 回车确定卸载5 lslpp -l|grep power /检查是否卸载成功配制HACMP/usr/sbin/cluster/utilities/clcustomdisk -c -tdisk/pseudo/power -Ndisk/pseudo/power -gSCSI3 -hSCSI_TUR -b/usr/lpp/EMC/Symmetrix/bin/emcpowerreset -ptrue -mMKDEVodmget HACMPdisktype1 安装PowerPath的集群AIX平台使用EMC Symmetrix磁盘注意事项1.1 在HACMP中设置emcpowerreset以及break reserves in parallel =true为保证HACMP能够顺利切换并且最大限度地加快切换速度, 需要在HACMP配置中遵循以下指导: For HACMP 5.1 and higher (SMIT) 1. Enter into the SMIT fastpath for HACMP smitty hacmp. 2. Select Extended Configuration. 3. Select Extended Resource Configuration. 4. Select HACMP Extended Resources Configuration. 5. Select Configure Custom Disk Methods. 6. Select Add Custom Disk Methods. 7. The following fields are available, enter as follows; For IBM Fibre Channel configurations with PowerPath 3.0.3 and higher: Disk Type (PdDvLn field from CuDv) = disk/pseudo/power Method to identify ghost disks = SCSI3 Method to determine if a reserve is held = SCSI_TUR Method to break a reserve = /usr/lpp/EMC/Symmetrix/bin/emcpowerreset Break reserves in parallel = true Method to make the disk available = MKDEV 8. Configure the same custom disk processing method on each node in the cluster and synchronize the cluster resources. The cluster verification process ensures that the method that you configured exists and is executable on all nodes. The synchronization process ensures that the ODM entries are the same on all nodes, but will not synchronize the methods named in the ODM entries. Note To help insure emcpowerreset is installed and configured correctly, go to /etc/objrepos and enter the command odmget HACMPdisktype. If installed correctly you should see emcpowerreset called on the breakres line. See example below: HACMPdisktype: PdDvLn = disk/pseudo/power ghostdisks = SCSI3 checkres = SCSI_TUR breakres = /usr/lpp/EMC/Symmetrix/bin/emcpowerreset parallel = true makedev = MKDEV reserved1 = reserved2 = reserved3 = In addition, after a failover, you can look at the hacmp.out file and confirm emcpowerreset appears for the FC Path and/or hdisk entry. See example below: Clar_Cascade_1:cl_disk_available13 ckres_rc=2 Clar_Cascade_1:cl_disk_available13 2 != 0 Clar_Cascade_1:cl_disk_available29 /usr/lpp/EMC/CLARiiON/bin/emcpowerreset fscsi1 hdiskpower38 Clar_Cascade_1:cl_disk_available1228 echo Clar_Cascade_1,Clar_Cascade_1 Clar_Cascade_1:cl_disk_available1228 read vg 注: 从HACMP V5.4开始, 无需配置使用“emcpowerreset” 1.2 LV StripingEMC强烈建议在条件许可的情况下, 在主机层面进行LV Striping设置以提高IO性能. 通常Striping宽度为4的倍数, 深度取决于客户应用的IO Size, 一般可取32k. 2 安装PowerPath的集群AIX平台使用EMC Clariion磁盘注意事项2.1 在HACMP中设置emcpowerreset以及break reserves in parallel =true为保证HACMP能够顺利切换并且最大限度地加快切换速度, 需要在HACMP配置中遵循以下指导: For HACMP 5.1 and higher (SMIT) 1. Enter into the SMIT fastpath for HACMP smitty hacmp. 2. Select Extended Configuration. 3. Select Extended Resource Configuration. 4. Select HACMP Extended Resources Configuration. 5. Select Configure Custom Disk Methods. 6. Select Add Custom Disk Methods. 7. The following fields are available, enter as follows; For IBM Fibre Channel configurations with PowerPath 3.0.3 and higher: Disk Type (PdDvLn field from CuDv) = disk/pseudo/power Method to identify ghost disks = SCSI3 Method to determine if a reserve is held = SCSI_TUR Method to break a reserve = /usr/lpp/EMC/Symmetrix/bin/emcpowerreset Break reserves in parallel = true Method to make the disk available = MKDEV 8. Configure the same custom disk processing method on each node in the cluster and synchronize the cluster resources. The cluster verification process ensures that the method that you configured exists and is executable on all nodes. The synchronization process ensures that the ODM entries are the same on all nodes, but will not synchronize the methods named in the ODM entries. Note To help insure emcpowerreset is installed and configured correctly, go to /etc/objrepos and enter the command odmget HACMPdisktype. If installed correctly you should see emcpowerreset called on the breakres line. See example below: HACMPdisktype: PdDvLn = disk/pseudo/power ghostdisks = SCSI3 checkres = SCSI_TUR breakres = /usr/lpp/EMC/Symmetrix/bin/emcpowerreset parallel = true makedev = MKDEV reserved1 = reserved2 = reserved3 = In addition, after a failover, you can look at the hacmp.out file and confirm emcpowerreset appears for the FC Path and/or hdisk entry. See example below: Clar_Cascade_1:cl_disk_available13 ckres_rc=2 Clar_Cascade_1:cl_disk_available13 2 != 0 Clar_Cascade_1:cl_disk_available29 /usr/lpp/EMC/CLARiiON/bin/emcpowerreset fscsi1 hdiskpower38 Clar_Cascade_1:cl_disk_available1228 echo Clar_Cascade_1,Clar_Cascade_1 Clar_Cascade_1:cl_disk_available1228 read vg 注: 从HACMP V5.4开始, 无需配置使用“emcpowerreset” 2.2 在HACMP+PowerPath环境中设置cfgscsi_id以提高HACMP启动和切换速度注1:在Symmetrix环境中不需要设置此脚本,而在Clariion环境中需要设置此脚本。安装时,必须同时安装”emcpowerreset”。注2:“cfgscsi_id”取代了以前的”set_scsi_id”,某些用户可能已经安装了”set_scsi_id”,这种情况下,不需要重新安装。 Procedure to configure into HACMP:After going to Powerlink to download cfgscsi_id, put it into /usr/sbin on all nodes in the cluster, and make it executable. Use the procedure below, on every node in the cluster, to add the cfgscsi_id utility into the HACMP environment.1. Check for and remove any previous set_scsi_id or set_scsi_id.sh cluster events that may have been used. Do this by running odmget HACMPcustom and note any events named set_scsi_id or set_scsi_id.sh. If one is found run the command below to remove it and then re-run odmget command to confirm all are gone./usr/es/sbin/cluster/utilities/clrmcustom -t event -nset_scsi_id (or -nset_scsi_id.sh)2. Add the custom cluster event to your HACMP configuration. This event is the name given to the script that will be added later to select pre-defined HACMP events. Note that this is one long command with no carriage returns./usr/es/sbin/cluster/utilities/claddcustom -t event -ncfgscsi_id -ISet correct scsi id on EMC CLARiiON pseudo devices. -v/usr/sbin/cfgscsi_id3. Verify your custom cluster event was added correctly by running the command below and comparing the output.odmget HACMPcustomHACMPcustom: name = cfgscsi_id type = event description = Set correct scsi id on EMC CLARiiON pseudo devices. value = /usr/sbin/cfgscsi_id relation = status = 04. Run the two commands below to modify the pre-defined HACMP event by giving the event command your custom cluster event as a pre-event command./usr/es/sbin/cluster/utilities/clchevent -Onode_up -s/usr/es/sbin/cluster/events/node_up -b cfgscsi_id -c 0/usr/es/sbin/cluster/utilities/clchevent -Onode_down -s/usr/es/sbin/cluster/events/node_down -b cfgscsi_id -c 05. Verify the events were properly modified by running the two commands below and comparing the output.odmget -q name=node_up HACMPevent HACMPevent: name = node_up desc = Script run when a node is attempting to join the cluster. setno = 101 msgno = 7 catalog = events.cat cmd = /usr/es/sbin/cluster/events/node_up notify = pre = cfgscsi_id post = recv = count = 0 event_duration = 0odmget -q name=node_down HACMPeventHACMPevent: name = node_down desc = Script run when a node is attempting to leave the cluster. setno = 101 msgno = 8 catalog = events.cat cmd = /usr/es/sbin/cluster/events/node_down notify = pre = cfgscsi_id post = recv = count = 0 event_duration = 06. Once the cfgscsi_
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 改革创新大赛题库及答案
- 小升初乒乓球真题及答案
- 农村供水设施建设进度管理方案
- 高端离婚协议书模板定制及子女抚养权调解合同
- 离婚后子女医疗费用承担与保险补充条款
- 夫妻离婚协议书中的共同债务偿还期限与方式协议
- 混凝土施工阶段应急管理方案
- 绿色环保低碳建材产业园建设项目施工方案
- 2025年食品仓库题库模板及答案
- 人工智能在高校数学教学中的创新应用研究
- 23G409先张法预应力混凝土管桩
- 全国计算机等级考试(二级)考试题库附完整答案(典优)
- 民航安全检查员(四级)理论考试题库(浓缩500题)
- 临床护理实践指南全本
- 拆墙协议书范本
- 下肢深静脉血栓及肺栓塞
- 河南省地图含市县地图矢量分层地图行政区划市县概况ppt模板
- 绩效管理全套ppt课件(完整版)
- 钢筋锈蚀原理及应对措施案例分析(54页图文丰富)
- 核电站安全ppt
- 计算机科学技术专业毕业论文--展会管理信息系统设计
评论
0/150
提交评论