AIX平台下EMC阵列安装与配置

简介:

今天又在折腾两台P570,AIX的AGENT实在没找到,厦门的技术支持电话又打不通,好不容易找到一个可以下的地方居然只有2K的速度。


[转]

http://www.aixchina.net/home/space.php?uid=5551&do=blog&id=21623

一 AIX ODM包安装
1.安装ODM注意事项
A.关于FCP \MPIO \FCP PowerMPIO
以下三个filesets不能共存,只能选其一
EMC CLARiiON FCP Support Software: IBM Fibre Channel driver support.
EMC CLARiiON FCP MPIO Support Software: IBM default PCM MPIO support.
EMC CLARiiON FCP PowerMPIO Support Software: PowerPath custom PCM MPIO support.

Note: 
When installing either Symmetrix or CLARiiON FCP fileset support,only one default device type can be installed for either storage array.Coexistence support for FCP, FCP MPIO, FCP PowerMPIO for the same array type isn't supported. The installp pre-installation scripts check for this and will not allow you to perform. such actions.

B.关于CLARiiON High Availability Support
HACMP RAC环境中需要安装CLARiiON High Availability Support。安装该为文件集之前,需要先安装HACMP,因为EMC CLARiiON HA Concurrent Support依赖以下filesets才能安装
cluster.es.server.rte
cluster.base.server.rte

Release Notes for CLARiiON High Availability Support
The EMC CLARiiON HA support software fileset is installed on AIX based machines using the `installp` command.

This fileset provides a utility called `clarcurrent` to add and delete CLARiiON device types into the clconraid.dat  configuration file.  
The clconraid.dat file is a member of  the HACMP concurrent fileset cluster.base.server.diag or cluster.es.server.diag.

C.关于emcpowerreset
安装ODM库后,就会在/usr/lpp/EMC/CLARiiON/bin/目录下生成该文件。
The utility is used for resetting a device reservation with HACMP for PowerPath 3.0.3,3.0.4, 4.X and higher.

This utility is version 2. Previous version isn't supported with PowerPath version 4.X and higher.
To determine the different emcpowerreset,versions run the following command.
#cksum emcpowerreset
Version 1 = 1108394902 7867    emcpowerreset
Version 2 = 1955156125 10311   emcpowerreset 

In a non-cooperative node failover, the takeover node cannot always clear the SCSI device reservation held by the primary node.
                        
The problem occurs when the takeover node cannot always clear the SCSI device reservation held by the primary node. If the words "invalid argument" appear in the hacmp.out or vsd.log file in response to an SCIOLSTART, you may have encountered this issue.
For example, the hacmp.out log file will contain the following:

cl_disk_available[187] cl_fscsilunreset fscsi0 hdiskpower1 false
cl_fscsilunreset[124]: openx(/dev/hdiskpower1, O_RDWR, 0, SC_NO_RESERVE): Device busy
cl_fscsilunreset[400]: ioctl SCIOLSTART id=0X11000 lun=0X1000000000000 : Invalid argument

详见ODM包内的README文档。


2.下载ODM包软件
ftp://ftp.emc.com/pub/elab/aix/ODM_DEFINITIONS

3.解压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

4.安装ODM
#smitty installp
根据需要选择以下蓝色部分文件集
EMC Symmetrix AIX Support Software;  Standard utility support.
EMC Symmetrix FCP Support Software; IBM Fibre Channel driver support.
EMC Symmetrix FCP MPIO Support Software; IBM default PCM MPIO support.
EMC Symmetrix FCP PowerMPIO Support Software; PowerPath custom PCM MPIO support.
EMC Symmetrix iSCSI Support Software; IBM iSCSI driver support.
EMC Symmetrix HA Concurrent Support; Requires HACMP CLVM.
EMC CLARiiON AIX Support Software; Standard utility support.
EMC CLARiiON FCP Support Software; IBM Fibre Channel driver support.
EMC CLARiiON FCP MPIO Support Software; IBM default PCM MPIO support.
EMC CLARiiON FCP PowerMPIO Support Software; PowerPath custom PCM MPIO support.
EMC CLARiiON iSCSI Support Software; IBM iSCSI driver support.
EMC CLARiiON HA Concurrent Support; Requires HACMP CLVM.
EMC INVISTA AIX Support Software; Standard utility support.
EMC INVISTA FCP Support Software; IBM Fibre Channel driver support.
EMC CELERRA AIX Support Software; Standard utility support.
EMC CELERRA FCP Support Software; IBM iSCSI driver support.


一般我们选择以下进行安装
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

5.配置Disk Method
#smitty hacmp.
->Select Cluster Configuration.
->Select Cluster Custom Modification.
->Select Define Custom Disk Methods.
->Select Add Custom Disk Methods.


Disk Type (PdDvLn field from CuDv) = 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/CLARiiON/bin/emcpowerreset
Break reserves in parallel = true
Method to make the disk available = MKDEV

在HACMP各节点配置DISK METHOD,并同步
Configure the same custom disk processing method on each node in the cluster and synchronize the cluster resources. The cluster verification process ensures that the method that you configured exists and is executable on all nodes. The synchronization process ensures that the ODM entries are the same on all nodes, but will not synchronize the methods named in the ODM entries.
6.重启主机
#shutdown –Fr

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

二、Navisphere host agent安装
1.关于Navisphere host agent
当Host Agent 服务启动时,Host Agent 将在连接的存储系统中注册服务器的HBA(主机总线适配器)。此操作会将每个HBA 的启动器记录发送到存储系统。
Host Agent 还可以:将驱动器映射信息发送给相连的CLARiiON? 存储系统;监视存储系统事件,并能在任何指定事件发生时通过电子邮件、传呼或调制解调器通知相关人员;从 存储系统获取LUN WWN(全球通用名称)和容量信息。

2.安装Navisphere host agent
安装NAVIAGENT
# installp -agXd . NAVIAGENT

3.起停Navisphere Agent
停止agent
# /etc/rc.agent stop
Navisphere Agent is not running

启动agent
# /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
注意事项
安装PowerPath时,切勿尝试用powermt config配置磁盘,否则很可能引起系统崩溃。
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.启用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).

6.启用PowerPath负载均衡
#powermt set policy=co dev=all

7.初始化hdiskpower设备
#powermt config

#
8.检查EMC链路状态
#powermt display dev=all

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

目录
相关文章
|
存储 JSON Rust
【一起学Rust | 进阶篇 | reqwest库】纯 Rust 编写的 HTTP 客户端——reqwest
【一起学Rust | 进阶篇 | reqwest库】纯 Rust 编写的 HTTP 客户端——reqwest
2269 0
|
9月前
|
人工智能 监控 Linux
基于大牛直播SDK的无纸化同屏会议与智慧教室技术方案
本文探讨了利用大牛直播 SDK 打造无纸化同屏会议与智慧教室系统的技术方案。SDK 具备跨平台兼容性、超低延迟等优势,支持 RTMP 推流播放、RTSP 直播播放及多路流媒体转发等功能,满足实时互动需求。文章详细介绍了两种场景的系统架构与功能实现,并总结其技术优势,展望未来结合 AI 等技术的发展前景,推动现代办公与教育智能化升级。
232 7
|
9月前
|
人工智能 小程序 前端开发
【一步步开发AI运动小程序】十八、如何识别用户上传图片中的人体、运动、动作、姿态?
【云智AI运动识别小程序插件】为小程序提供人体、运动及姿态检测的AI能力,本地引擎支持10余种运动,无需后台服务,具备快速、低成本等优势。本文介绍如何通过Canvas方案读取用户上传图片的像素数据,实现人体检测与姿态分析功能,代码简单高效,适合快速集成。更多内容欢迎交流!
|
10月前
|
机器学习/深度学习 人工智能
Diffusion-DPO:一种基于直接偏好优化的扩散模型对齐新方法
本文介绍了一种名为 Diffusion-DPO 的创新方法,该方法基于直接偏好优化(DPO)原理,简化了扩散模型与人类偏好的对齐过程。相比传统的基于人类反馈的强化学习(RLHF)方法,Diffusion-DPO 避免了显式奖励模型的训练,通过数学近似简化实现流程,并在处理开放词汇表场景时展现出更强的能力。实验结果表明,该方法在 Stable Diffusion 1.5 和 SDXL-1.0 等主流模型上显著提升了生成图像的质量和可控性,为未来扩散模型的发展提供了新的思路。
869 14
Diffusion-DPO:一种基于直接偏好优化的扩散模型对齐新方法
|
10月前
|
机器学习/深度学习 监控 Linux
ollama+openwebui本地部署deepseek 7b
Ollama是一个开源平台,用于本地部署和管理大型语言模型(LLMs),简化了模型的训练、部署与监控过程,并支持多种机器学习框架。用户可以通过简单的命令行操作完成模型的安装与运行,如下载指定模型并启动交互式会话。对于环境配置,Ollama提供了灵活的环境变量设置,以适应不同的服务器需求。结合Open WebUI,一个自托管且功能丰富的Web界面,用户可以更便捷地管理和使用这些大模型,即使在完全离线的环境中也能顺利操作。此外,通过配置特定环境变量,解决了国内访问限制的问题,例如使用镜像站来替代无法直接访问的服务。
|
12月前
|
前端开发 中间件 索引
鸿蒙开发:Navigation路由组件使用由繁入简
使用了插件和路由库之后,在每个Module下都会生成一个路由配置文件,以Module名字+RouterConfig为文件命名,此路由配置文件,也会在AbilityStage中,通过routerInitConfig方法进行自动配置。
276 8
|
机器学习/深度学习 数据采集 算法
基于机器学习的二手房价格分析与预测设计与实现
本文通过机器学习技术对西安市二手房市场价格进行分析与预测,利用数据预处理、特征提取和模型训练,深入挖掘影响房价的关键因素,旨在为市场参与者提供科学的定价信息和决策支持。
918 1
基于机器学习的二手房价格分析与预测设计与实现
|
Unix
AIX同步镜像VG中的新LV,手工镜像LV
AIX同步镜像VG中的新LV,手工镜像LV
372 0