在IBM AIX小型机上安装
1.针对HACMP环境
在ODM包有一个软件包:EMC CLARiiON HA Concurrent Support
该软件包是针对并发的HACMP环境。在并发的HACMP环境创建好之后,需要安装。
如果不是并发的HACMP环境,则不需要安装此包。
但是所有的HACMP环境(HACMP 5.4除外)都需要配置emcpowerreset和cfgscsi_id
For IBM Fibre Channel configurations:
2.配置emcpowerreset
2.1. Enter the following at the AIX command prompt on each node in the configuration;上面的一条命令是针对Symmetrix的,如果阵列是CLARiiON则执行下面的一条命令。
/usr/sbin/cluster/utilities/clcustomdisk -c -tdisk/pseudo/power -Ndisk/pseudo/power -gSCSI3 -hSCSI_TUR -b/usr/lpp/EMC/Symmetrix/bin/emcpowerreset -pfalse -mMKDEV
or
/usr/sbin/cluster/utilities/clcustomdisk -c -tdisk/pseudo/power -Ndisk/pseudo/power -gSCSI3 -hSCSI_TUR -b/usr/lpp/EMC/CLARiiON/bin/emcpowerreset -ptrue -mMKDEV
2.2. 用如下命令检查emcpowerreset是否正常
# odmget HACMPdisktype
HACMPdisktype:
PdDvLn = "disk/pseudo/power"
ghostdisks = "SCSI3"
checkres = "SCSI_TUR"
breakres = "/usr/lpp/EMC/CLARiiON/bin/emcpowerreset"
parallel = "true"
makedev = "MKDEV"
reserved1 = ""
reserved2 = ""
reserved3 = ""
3.配置cfgscsi_id
powerpath 5.0以后版本在安装过程自动将cfgscsi_id拷贝至 /usr/sbin目录下,powerpath的老版本需要从网上下载。
3.1配置命令
/usr/es/sbin/cluster/utilities/claddcustom -t event -n'cfgscsi_id' -I'Set correct scsi id on EMC CLARiiON pseudo devices.' -v'/usr/sbin/cfgscsi_id'
/usr/es/sbin/cluster/utilities/clchevent -O'node_up' -s'/usr/es/sbin/cluster/events/node_up' -b 'cfgscsi_id' -c '0'
/usr/es/sbin/cluster/utilities/clchevent -O'node_down' -s'/usr/es/sbin/cluster/events/node_down' -b 'cfgscsi_id' -c '0'
3.2 检查配置信息
# odmget HACMPcustom
HACMPcustom:
name = "cfgscsi_id"
type = "event"
description = "Set correct scsi id on EMC CLARiiON pseudo devices."
value = "/usr/sbin/cfgscsi_id"
relation = ""
status = 0
# odmget HACMPcustom
HACMPcustom:
name = "cfgscsi_id"
type = "event"
description = "Set correct scsi id on EMC CLARiiON pseudo devices."
value = "/usr/sbin/cfgscsi_id"
relation = ""
status = 0
# 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 = 0
# odmget -q name=node_down HACMPevent
HACMPevent:
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 = 0
本文来源:https://www.2haoxitong.net/k/doc/618df1661ed9ad51f01df2b9.html