Centos linux 5.x 系统 安装Dell OpenManage

Dell OpenManage可以查看dell服务器各个部件的运行状态,并且有配置存储,远程管理等功能,对远程管理服务器非常有用,之前只在windows 2003上安装过,在windows下安装起来很简单,今天因为要配置服务器的iDARC,又不能重启服务器,所以就在centos linux系统

Dell OpenManage可以查看dell服务器各个部件的运行状态,并且有配置存储,远程管理等功能,对远程管理服务器非常有用,之前只在windows 2003上安装过,在windows下安装起来很简单,今天因为要配置服务器的iDARC,又不能重启服务器,所以就在centos linux系统上安装了dell OpenManage,碰到了点麻烦,在这里记录下:

wget http://ftp.us.dell.com/sysman/OM_6.2.0_ManNode_A00.tar.gz
 
tar xvzf OM_6.2.0_ManNode_A00.tar.gz
 
cd linux/supportscripts
 
sh srvadmin-install.sh -x

提示:Unsupported Operating System. Can not proceed….

因为dell 只支持redhat Enterprise Linux,看了下脚本,是以开发的项目名来区分Linux版本的,Centos linux 5.x是RHEL5重新编译的,在redhat-release内加上RHEL5的项目名Tikanga就行了。做如下更改:

vi /etc/redhat-release
 
CentOS release 5.5 (Final) Tikanga

如果操作系统是rhel5.x的,就不会出现上述错误。

再运行:

 
sh srvadmin-install.sh -x
 
Installing the selected packages.
 
warning: srvadmin-cm-6.1.0-648.i386.rpm: Header V3 DSA signature: NOKEY, key ID 23b66a9d
Preparing… ########################################### [100%]
1:srvadmin-omilcore ########################################### [ 6%]
To start all installed services without a reboot,
enter the following command: srvadmin-services.sh start
2:srvadmin-omcommon ########################################### [ 12%]
3:srvadmin-hapi ########################################### [ 18%]
4:srvadmin-syscheck ########################################### [ 24%]
5:srvadmin-deng ########################################### [ 29%]
6:srvadmin-omacore ########################################### [ 35%]
7:srvadmin-isvc ########################################### [ 41%]
8:srvadmin-omauth ########################################### [ 47%]
9:srvadmin-wsmanclient ########################################### [ 53%]
10:srvadmin-idrac-componen########################################### [ 59%]
11:srvadmin-jre ########################################### [ 65%]
12:srvadmin-cm ########################################### [ 71%]
13:srvadmin-idracadm ########################################### [ 76%]
14:srvadmin-idracdrsc ########################################### [ 82%]
15:srvadmin-iws ########################################### [ 88%]
16:srvadmin-omhip ########################################### [ 94%]
17:srvadmin-storage ########################################### [100%]

安装通过。

运行Dell OpenManage:

srvadmin-services.sh start
 
Starting mptctl:
Waiting for mptctl driver registration to complete:
[ OK ]
 
Starting Systems Management Device Drivers:
Starting dell_rbu: [ OK ]
Starting ipmi driver: Already started [ OK ]
Starting Systems Management Data Engine:
Starting dsm_sa_datamgr32d: [ OK ]
Starting dsm_sa_eventmgr32d: [ OK ]
Starting dsm_sa_snmp32d: [ OK ]
Starting DSM SA Shared Services: [ OK ]
 
Starting DSM SA Connection Service: [ OK ]

全是OK,说明启动OpenManage成功,OpenManage监听的端口为1311,在浏览器内打开URL:https://ip:1311/,输入系统的用户名密码进入。里面看到的功能和Windows平台上的基本一样。

停止openManage的命令为:

srvadmin-services.sh stop
 
Shutting down DSM SA Shared Services: [ OK ]
 
Shutting down DSM SA Connection Service: [ OK ]
 
Stopping Systems Management Data Engine:
Stopping dsm_sa_snmp32d: [ OK ]
Stopping dsm_sa_eventmgr32d: [ OK ]
Stopping dsm_sa_datamgr32d: [ OK ]
Stopping Systems Management Device Drivers:
Stopping dell_rbu: [ OK ]

配置开机自启动:

srvadmin-services.sh enable

关闭开机自启动:

srvadmin-services.sh disable

另外还有一种yum的方式安装OpenMagage,很简单:

wget -q -O – http://linux.dell.com/repo/hardware/OMSA_6.2/bootstrap.cgi | bash

OMSA有个命令行接口命令omreport可以获得各项硬件信息. 具体帮助参见:
http://support.dell.com/support/edocs/software/svradmin/6.1/cs/CLI/report.htm#wp1088840
http://support.dell.com/support/edocs/software/svradmin/6.1/cs/CLI/storage.htm#wp1077100

# omreport -?         (显示omreport帮助)
omreport         Reports component properties.
The available command(s) are:
Command          Description
about            Product and version properties.
system           System component properties.
rac              Command not supported. Use the racadm utility.
chassis          Chassis component properties.
storage          Display storage component properties.
Usage: omreport <command> [name=value...][option...]
…
 
# omreport system summary (显示所有系统组件的主要情况)
 
# omreport chassis (显示所有主要组件的常规状态)
Health
Main System Chassis
SEVERITY : COMPONENT
Ok       : Fans
Ok       : Intrusion
Ok       : Memory
Ok       : Power Supplies
Ok       : Processors
Ok       : Temperatures
Ok       : Voltages
Ok       : Hardware Log
Ok       : Batteries
For further help, type the command followed by -?
 
# omreport chassis procesesors (显示CPU信息)
Processors Information
Health : Ok
Index             : 0
Status            : Ok
Connector Name    : CPU1
Processor Brand   : Intel(R) Xeon(R) CPU           E5410  @ 2.33GHz
Processor Version : Model 23 Stepping 10
Current Speed     : 2333  MHz
State             : Present
Core Count        : 4
Index             : 1
Status            : Ok
Connector Name    : CPU2
Processor Brand   : Intel(R) Xeon(R) CPU           E5410  @ 2.33GHz
Processor Version : Model 23 Stepping 10
Current Speed     : 2333  MHz
State             : Present
Core Count        : 4
 
# omreport chassis memory (显示内存信息)
 
# omreport storage controller (显示RAID卡信息)
 
# omreport storage vdisk (显示虚拟磁盘信息)
List of Virtual Disks in the System
Controller PERC 6/i Integrated (Embedded)
ID                       : 0
Status                   : Ok
Name                     : Virtual Disk 0
State                    : Ready
HotSpare Policy violated : Not Assigned
Progress                 : Not Applicable
Layout                   : RAID-10
Size                     : 836.63 GB (898319253504 bytes)
Device Name              : /dev/sda
Bus Protocol             : SAS
Media                    : HDD
Read Policy              : No Read Ahead
Write Policy             : Write Back
Cache Policy             : Not Applicable
Stripe Element Size      : 64 KB
Disk Cache Policy        : Disabled
 
# omreport storage pdisk controller=0 (显示物理磁盘信息)
List of Physical Disks on Controller PERC 6/i Integrated (Embedded)
Controller PERC 6/i Integrated (Embedded)
ID                        : 0:0:0
Status                    : Ok
Name                      : Physical Disk 0:0:0
State                     : Online
Failure Predicted         : No
Progress                  : Not Applicable
Bus Protocol              : SAS
Media                     : HDD
Capacity                  : 278.88 GB (299439751168 bytes)
Used RAID Disk Space      : 278.88 GB (299439751168 bytes)
Available RAID Disk Space : 0.00 GB (0 bytes)
Hot Spare                 : No
Vendor ID                 : DELL(tm)
Product ID                : ST3300656SS
Revision                  : HS0A
Serial No.                : 3QP11W0N
Negotiated Speed          : Not Available
Capable Speed             : Not Available
Manufacture Day           : 07
Manufacture Week          : 03
Manufacture Year          : 2009
SAS Address               : 5000C5000F823CA9

关于安装失败可参考下面连接

http://lists.us.dell.com/pipermail/linux-poweredge/2010-March/041668.html

详细操作说明参照如下连接:

http://supportapj.dell.com/support/edocs/software/svradmin/6.1/cs/CLI/report.htm#wp1088840

http://www.sxszjzx.com/~t096/manual/sc/Dosa/CLI/report.htm

还没有评论,快来抢沙发!

发表评论

  • 😉
  • 😐
  • 😡
  • 😈
  • 🙂
  • 😯
  • 🙁
  • 🙄
  • 😛
  • 😳
  • 😮
  • emoji-mrgree
  • 😆
  • 💡
  • 😀
  • 👿
  • 😥
  • 😎
  • ➡
  • 😕
  • ❓
  • ❗
  • 71 queries in 0.396 seconds