数保软件服务热线
新闻中心

您当前的位置:主页 > 新闻中心 > 技术交流 > 技术交流

AIX连接EMC存储(配置)

打印 打印 来源 数保计算机 点击:
编辑:数保计算机 时间:2014-05-11 00:06

AIX连接EMC存储
 
 

一、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 -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, 101200 tape 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 each adapter to be managed by PowerPath:
chdev -l fscsix -a fc_err_recov=fast_fail -P
where x is the specific HBA (fscsi0, fscsi1, and so forth).
 

5.重启主机

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

二、Navisphere host agent安装

1.FTP Navisphere host agent

下载Navisphere host agent并至AIX主机

2.安装Navisphere host agent

安装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   0 21:41:42      -  0:00 /usr/bin/naviagent -f /etc/Navisphere/agent.config
root 106774 126982   0 21:41:47  pts/0  0:00 grep navi
#
注意:检查进程是否已经启动,如果没有进程起来,那么表示该版本agent不符合(即使安装和rc.agent命令运行成功),需要更换版本。
 
 

三、安装和配置PowerPath for AIX

注意事项
Do not attempt to run powermt config while using installp or SMIT to add, remove, or update PowerPath software. Doing so can result in a system 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, 101200 tape blocks
 

3.安装powerpath

#installp –agXd . EMCpower
+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
 
SUCCESSES
---------
  Filesets listed in this section passed pre-installation verification
  and will be installed.
 
  Selected Filesets
  -----------------
  EMCpower.base 5.3.0.0                       # PowerPath Base Driver and Ut...
  EMCpower.consistency_grp 5.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 Success Section >>
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 PowerPath Registration ===========
Do you have a new registration key or keys to enter?[n] y
Enter the registration keys(s) for your product(s),
one per line, pressing Enter after each key.
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 version of PowerPath, you do not need to reregister. PowerPath will use your old key.
 

5.启用PowerPath负载均衡

#powermt set policy=co dev=all
 

6.初始化powerpath hdiskpower设备

#powermt config
 
#

7.检查EMC链路状态

#powermt display dev=all
 
如果输出中所有的path都是“alive”则正常;否则,需要检查线缆及ZONE划分是否正确。
 
用powermt display dev=hdiskpower0会看到这个hdiskpower0对应的hdiskX
 




Copyright © 2015-2022 长沙数保信息科技有限公司 ┇ 湘ICP备08103633号 湘公网安备 43011102000746号

地址:长沙市岳麓区润花园D1-903 公司邮箱:dpisi@163.com
7*24小时技术支持服务热线:0731-85057097/13607439515 QQ: 400528 或 156462627

湘公网安备 43011102000746号