centos6.6 在 dell R720 安装DELL OMSA

[ 2017-07-11 17:00:31 | 作者: admin ]
字号: | |
p.s.最简单的方法是使用快速安装脚本,自动下载与安装,将下面代码保存为 DELL_OMSA.sh,安装完后用https:/*:1311访问
#!/bin/bash
#
# Dell OpenIPMI & OpenManage Installer
# Revision: July 22nd 2011
#
HOST=`hostname`
D=`date '+%d%m%y'`
echo "Dell OpenIPMI & OpenManage Automatic Installer"
echo "Revision: July 22nd 2011"
echo
echo "Installing Dell Yum Repository..."
echo
wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
echo
echo "Dell Repository Install Complete!"
echo
echo "Installing Dell Server Administrator..."
echo
yum -y install srvadmin-all
echo
echo "Dell Server Administrator Install Complete!"
echo
echo "Starting Dell IPMI Services..."
echo
/opt/dell/srvadmin/sbin/srvadmin-services.sh start
echo
echo "Dell OpenIPMI & Dell OpenManage Install Complete!"
echo
echo "Please go to https://$HOST:1311 in order to access Dell OpenManage."
echo


===================================
其他方法
===================================

下载dell OMSA 地址:
http://downloads.dell.com/FOLDER01184959M/1/OM-SrvAdmin-Dell-Web-LX-7.2.0-6945.RHEL6.x86_64.tar.gz

http://linux.dell.com/repo/hardware/OMSA_7.2.1/platform_independent/rh60_64/firmware-tools/

修改版本文件(以下方法适应用centos 6.6 OMSA 7.3 。)
 
cp /etc/redhat-release /etc/redhat-release_bk
  
echo 'Red Hat Enterprise Linux Server release 6.5 (Santiago)' >/etc/redhat-release
  
#安装依赖
  
yum install -y libcmpi CppImpl0 openwsman-server sblim-sfcb sblim-sfcc libwsman1 openwsman-client
  
#安装OMSA
  
sh srvadmin-install.sh -x
  
#启用OMSA
  
sh srvadmin-services.sh start
  
#还原版本文件
  
cp /etc/redhat-release_bk /etc/redhat-release




方法2.修改脚本

同理,我们可以修改脚本中的判断逻辑来使脚本支持CentOS的目的,不过这需要一些shell基础。

vi srvadmin-install.sh
将脚本中grep -c “Santiago” /etc/redhat-release -gt 0 为grep -c "CentOS release 6.2 (Final)" /etc/redhat-release -gt 0

yum install -y libcmpi CppImpl0 openwsman-server sblim-sfcb sblim-sfcc libwsman1 openwsman-client

sh srvadmin-install.sh -x

sh srvadmin-services.sh start

通过上述两种方法都可以解决OMSA在CentOS中安装的问题, 当然还有yum安装法,这是dell官方推荐的,不过需要能连接公网,这不太现实。 很不解的是DELL为何不直接支持centos.
[最后修改由 admin, 于 2017-07-12 16:29:39]
评论Feed 评论Feed: http://blog.xg98.com/feed.asp?q=comment&id=2436

这篇日志没有评论。

此日志不可发表评论。