码迷,mamicode.com
首页 > 其他好文 > 详细

HP_UX v11.31环境下安装EMC PowerPath

时间:2019-12-18 13:13:45      阅读:110      评论:0      收藏:0      [点我收藏+]

标签:admin   false   logfile   ast   版本号   def   failed   auto   com   

HP_UX v11.31环境下安装EMC PowerPath

 

主机环境是HP高端小机,安装HP_UX v11.31操作系统,需要安装的EMC PowerPath的版本号是v5.1.0.GA.b160

 

1,将EMC PowerPath软件和补丁上传到主机的/tmp/emc目录下

 

2,使用swcopy命令将EMC PowerPath软件和补丁打包

#swcopy -s /tmp/emc/EMCPower.HPUX.PI.5.1.0.GA.b160.tar EMCpower @ /tmp/emc/PPdepot

#swcopy -s  /tmp/emc/EMCPower.HPUX.PI.5.1.0.HotFix1.b202.tar EMCpower_patch5101 @ /tmp/emc/PPdepot

 

3,使用swinstall安装打包后的depot

swinstall -x autoreboot=true -x mount_all_filesystems=false -s /tmp/emc/PPdepot EMCpower EMCpower_patch5101

 

执行了swinstall命令后一定要仔细查看返回信息

...... 
* Selection succeeded.


 * Beginning Analysis and Execution
 * Session selections have been saved in the file
   "/.sw/sessions/swcopy.last".
 * The analysis phase succeeded for "ismp:/tmp/emc/PPdepot".
 * The execution phase succeeded for "ismp:/tmp/emc/PPdepot".
 * Analysis and Execution succeeded.
#

上面的信息表示已经安装成功了。如果是以下的返回信息

......
       * Session started for user "root@dafen2".

       * Beginning Selection

ERROR:   RPC exception: "Communications failure (dce / rpc)" 12/07/19
         15:03:22 EAT
ERROR:   Could not start a management session for
         "dafen2:/tmp/emc/PPdepot".  The system administrator for host
         "dafen2" may have disabled the swagentd daemon or there may be
         a networking problem affecting the operation.  If the swagentd
         daemon has been disabled, it can be enabled by the system
         administrator on "dafen2" by setting the "SW_ENABLE_SWAGENTD"
         entry in /etc/rc.config.d/swconfig to "1" and executing
         "/usr/sbin/swagentd -r".
       * Target connection failed for "dafen2:/tmp/emc/PPdepot".
ERROR:   More information may be found in the daemon logfile on this
         target (default location is dafen2:/var/adm/sw/swagentd.log).
       * Selection had errors. 
......
#

就是安装失败,按提示操作需要重启一下swagentd进程

#/usr/sbin/swagentd -r
#

然后再执行swinstall就可以啦!!

 

接下来注册一下EMC PowerPath软件

#emcpreg -add BGPC-BB4K-EF9C-QXIS-MW9V-QQ3W

 

 

最后就是执行EMC PowerPath的命令powermt配置一下多路径的各种参数。

 

HP_UX v11.31环境下安装EMC PowerPath

标签:admin   false   logfile   ast   版本号   def   failed   auto   com   

原文地址:https://www.cnblogs.com/zlg88/p/12059036.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!