AIX主机连接EMC CX和VNX存储

一、AIX ODM包安装

1.下载ODM包软件

ftp://ftp.emc.com/pub/elab/aix/ODM_DEFINITIONS

2.解压ODM

上传至AIX主机后,用uncompress和tar解压

# uncompress EMC.AIX.5.3.0.3.tar.Z

# tar -xvfEMC.AIX.5.3.0.3.tar               

x README.5303, 36133 bytes, 71 tape blocks

x EMC.AIX.5.3.0.3, 51814400 bytes, 101200tape blocks

3.安装ODM

#smitty installp

选择以下进行安装

EMC CLARiiON AIX Support Software

EMC CLARiiON FCP Support Software

EMC CLARiiON HA Concurrent Support

注意:EMC CLARiiON HA Concurrent Support需要先安装HACMP,因为EMC CLARiiON HA Concurrent Support依赖以下filesets才能安装

cluster.es.server.rte

cluster.base.server.rte

4.启用HBA卡快速接管功能

Enable the adapter driver fast_fail feature for eachadapter to be managed by PowerPath:

chdev -l fscsi-a fc_err_recov=fast_fail -P

where is the specificHBA (fscsi0, fscsi1, and so forth).

5.重启主机

注意:安装ODM之后,主机需要重启才能生效

#shutdown –Fr

二、Navisphere host agent安装

1.FTP Navisphere host agent

下载Navisphere host agent并至AIX主机

2.安装Navisphere hostagent

安装NAVIAGENT

# installp -agXd . NAVIAGENT

3.启动Navisphere Agent

# /etc/rc.agent stop

Navisphere Agent is not running

# /etc/rc.agent start

Starting Navisphere Agent

#

4.检查Navisphere Agent运行状态

# ps -ef |grep navi

root 119028  1   021:41:42      -  0:00 /usr/bin/naviagent-f /etc/Navisphere/agent.config

root 106774 126982   021:41:47  pts/0  0:00 grep navi

#

注意:检查进程是否已经启动,如果没有进程起来,那么表示该版本agent不符合(即使安装和rc.agent命令运行成功),需要更换版本。

三、安装和配置PowerPath for AIX

注意事项

Do not attempt to run powermt config while using installpor SMIT to add, remove, or update PowerPath software. Doing so can result in asystem crash.

1.上传PowerPath for AIX

下载最新版本的PowerPath for AIX,并上传至AIX主机

2.解压PowerPath for AIX

# gunzip EMCPower.AIX.5.3.0.GA.tar.gz

# tar -xvf EMC.AIX.5.3.0.3.tar

x README.5303, 36133 bytes, 71 tape blocks

x EMC.AIX.5.3.0.3, 51814400 bytes, 101200tape blocks

3.安装powerpath

#installp -agXd . EMCpower

+-----------------------------------------------------------------------------+

                    Pre-installationVerification...

+-----------------------------------------------------------------------------+

Verifying selections...done

Verifying requisites...done

Results...

SUCCESSES

---------

  Filesets listed in thissection passed pre-installation verification

  and will be installed.

  Selected Filesets

  -----------------

  EMCpower.base 5.3.0.0                       #PowerPath Base Driver and Ut...

  EMCpower.consistency_grp5.3.0.0            #PowerPath Consistency Group ...

  EMCpower.encryption 5.3.0.0                 #PowerPath Encryption with RSA

  EMCpower.migration_enabler 5.3.0.0          #PowerPath Migration Enabler ...

  EMCpower.mpx 5.3.0.0                        #PowerPath Multi_Pathing Exte...

  << End of SuccessSection >>

Installation Summary

--------------------

Name                        Level           Part        Event       Result

-------------------------------------------------------------------------------

EMCpower.base               5.3.0.0         USR         APPLY       SUCCESS   

EMCpower.mpx                5.3.0.0         USR         APPLY       SUCCESS   

EMCpower.migration_enabler  5.3.0.0         USR         APPLY       SUCCESS   

EMCpower.encryption         5.3.0.0         USR         APPLY       SUCCESS   

EMCpower.consistency_grp    5.3.0.0         USR         APPLY       SUCCESS   

4.注册PowerPath

# emcpreg -install

===========   EMC PowerPathRegistration ===========

Do you have a new registration key or keysto enter?[n] y

Enter the registration keys(s) for yourproduct(s),

one per line, pressing Enter after eachkey.

After typing all keys, press Enter again.

Key (Enter if done): BYPK-6B4U-MFCE-QAW4-MP97-M9Y6

1 key(s) successfully added.

Key successfully installed.

Key (Enter if done):

1 key(s) successfully registered.

输入许可证回车即可。

Note: If you are upgrading from an earlier versionof PowerPath, you do not need to reregister. PowerPath will use your old key.

# emcpreg -list

查看许可证。\

5.启用PowerPath负载均衡

#powermt set policy=co dev=all

6.初始化powerpathhdiskpower设备

#powermt config

#powermt save

7.检查EMC链路状态

#powermt display dev=all

如果输出中所有的path都是“alive”则正常;否则,需要检查线缆及ZONE划分是否正确。

用powermt display dev=hdiskpower0会看到这个hdiskpower0对应的hdiskX

没有找到想要的答案?

上传日志让 AI 帮你诊断,或者在控制台里直接向 AI 提问。