AIX HACMP使用EMC儲存時的引數修改
早期客戶兩臺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
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).
(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?
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
“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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【儲存】EMC
- LMT下表儲存引數的使用
- EMC 儲存管理
- EMC儲存在AIX的檢視命令AI
- EMC-AX4儲存配置
- EMC儲存常用命令
- emc儲存相關簡稱
- 當儲存引數使用結構體時必備的開發技巧方式結構體
- 使用帶有輸出引數的儲存過程儲存過程
- mysql儲存過程的引數MySql儲存過程
- PHP 編譯引數儲存PHP編譯
- Solarwinds部分引數儲存
- 儲存過程的引數可以使用sql的函式儲存過程SQL函式
- AIX 修改時區AI
- aix儲存概念要素AI
- EMC儲存 硬碟 電源 控制器硬碟
- emc cx500儲存配置步驟
- linux下連線EMC儲存的步驟Linux
- 【儲存】megacli 常用引數介紹
- 帶輸出引數的儲存過程儲存過程
- AIX 主機 — 設定以使用 iSCSI 儲存AI
- CentOS 7 如何修改history命令儲存的最大數CentOS
- aix下hacmp解除安裝AIACM
- aix6+hacmp+10gracAIACM
- AIX儲存管理(一)概述AI
- 【多路徑】EMC儲存多路徑軟體配置
- HACMP配置引數和常用命令ACM
- 修改的儲存過程儲存過程
- LMT和DMT下儲存引數的異同
- 動態呼叫帶引數的儲存過程儲存過程
- 【AIX 命令學習】lsvg 命令引數使用!AISVG
- 【AIX】RAC 建立使用者中的capabilities 引數AI
- 使用js修改url地址引數JS
- linux下修改history命令儲存條數Linux
- AIX發現EMC LUN的問題AI
- aix 修改系統時間AI
- Aix 修改日期時間AI
- maxuproc引數案例(AIX)AI