ITPub博客

首页 > Linux操作系统 > Linux操作系统 > AIX HACMP使用EMC存储时的参数修改

AIX HACMP使用EMC存储时的参数修改

原创 Linux操作系统 作者:lenx2000 时间:2012-10-14 13:12:35 0 删除 编辑

早期客户两台AIX HACMP双机,在发生切换时,出现接收方卷组信息丢失,所连存储为EMC存储。后来通过设置EMC生成的hdiskpowerXX的参数reserve_lock=no问题得到解决

chdev -l hdiskpower0  -a reserve_lock=no
chdev -l hdiskpower1  -a reserve_lock=no
chdev -l hdiskpower2  -a reserve_lock=no
chdev -l hdiskpower3  -a reserve_lock=no

chdev -l hdiskpower4  -a reserve_lock=no
chdev -l hdiskpower5  -a reserve_lock=no
for i in 0 1 2 3 4 5
do chdev –l hdiskpoweri –a reserve_lock=no
done
过去存储为EVA存储,中间做过迁移,应该迁移后参数未修改,否则出错就不是在现在,过去就应该出现了,为啥后来做的人不做个测试,测试一下马上就能发现问题。
 
 
 
 
 
 
 
 
Cannot remove hdiskpower devices due to a method error(/etc/methods/ucfgpowerdisk)
The fix is to uninstall/reinstall Powerpath, but you won’t be able to until you remove the hdiskpower devices with this procedure:
# odmdelete -q name=hdiskpowerX -o CuDv
(for every hdiskpower device)
# odmdelete -q name=hdiskpowerX -o CuAt
(for every hdiskpower device)
# odmdelete -q name=powerpath0 -o CuDv
# odmdelete -q name=powerpath0 -o CuAt
# rm /dev/powerpath0
You must remove the modified files installed by powerpath and then reboot the server. You will then be able to uninstall powerpath after the reboot via the “installp -u EMCpower” command. The files to be removed are as follows:
(Do not be concerned if some of the removals do not work as PowerPath may not be fully configured properly).
rm ./etc/PowerPathExtensions
rm ./etc/emcp_registration
rm ./usr/lib/boot/protoext/disk.proto.ext.scsi.pseudo.power
rm ./usr/lib/drivers/pnext
rm ./usr/lib/drivers/powerdd
rm ./usr/lib/drivers/powerdiskdd
rm ./usr/lib/libpn.a
rm ./usr/lib/methods/cfgpower
rm ./usr/lib/methods/cfgpowerdisk
rm ./usr/lib/methods/chgpowerdisk
rm ./usr/lib/methods/power.cat
rm ./usr/lib/methods/ucfgpower
rm ./usr/lib/methods/ucfgpowerdisk
rm ./usr/lib/nls/msg/en_US/power.cat
rm ./usr/sbin/powercf
rm ./usr/sbin/powerprotect
rm ./usr/sbin/pprootdev
rm ./usr/lib/drivers/cgext
rm ./usr/lib/drivers/mpcext
rm ./usr/lib/libcg.so
rm ./usr/lib/libcong.so
rm ./usr/lib/libemcp_mp_rtl.so
rm ./usr/lib/drivers/mpext
rm ./usr/lib/libmp.a
rm ./usr/sbin/emcpreg
rm ./usr/sbin/powermt
rm ./usr/share/man/man1/emcpreg.1
rm ./usr/share/man/man1/powermt.1
rm ./usr/share/man/man1/powerprotect.1
Re-install Powerpath.
tags: /etc/methods/ucfgpowerdisk.EMC, devices, Error, hdiskpower, method, Remove
No comment?
 
 
 
 
 
HA配置完成后切换慢。无法释放磁盘需要做以下配置

1) smitty hacmp -

     > extended configuration -

     > extended resource configuration -> HACMP Extended resources configuration -> configure custom disk methods -> change/show Custom disk methods 

 
EMC存储,HACMP Custom Disk Methods 设置参数
“Change/Show Custom Disk Methods”,
*Disk Type (PdDvLn field from Cudv)                                  disk/pseudo/power
*New Disk Type                                                             [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                                                false
*Method to make the disk available                                   [MKDEV]
也可以用命令去执行:
/usr/sbin/cluster/utilities/clcustomdisk -c -tdisk /pseudo/power -Ndisk /pseudo/power -g SCSI3 -h SCSI_TUR -b /usr/lpp/EMC/Symmetrix/bin/emcpowerreset -p true -m MKDEV

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11134849/viewspace-746376/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-07-19

  • 博文量
    153
  • 访问量
    475187