OMSA(OpenManage Server Administrator)是Dell主机的硬件检测和维护软件.
OMSA(OpenManage)下载地址: http://linux.dell.com/repo/hardware/
OMSA帮助信息: http://support.dell.com/support/edocs/software/svradmin/
1. 上传软件
如果无法wget访问则只能下载后上传.
# cd /u01/software/nagios/
# wget http://ftp.us.dell.com/sysman/OM_6.1.0_ManNode_A00.tar.gz
2. 安装OMSA
参考: http://www.thegeekstuff.com/2008/11/how-to-manage-dell-servers-using-omsa-openmanage-server-administrator-on-linux/
# cd /u01/software/nagios/
# tar -zxvf OM_6.1.0_ManNode_A00.tar.gz
# sh linux/supportscripts/srvadmin-install.sh --express (安装OMSA)
Installing the selected packages.
warning: srvadmin-cm-6.1.0-648.i386.rpm: 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-rac5-component########################################### [ 59%]
11:srvadmin-jre ########################################### [ 65%]
12:srvadmin-cm ########################################### [ 71%]
13:srvadmin-iws ########################################### [ 76%]
14:srvadmin-omhip ########################################### [ 82%]
15:srvadmin-racadm5 ########################################### [ 88%]
16:srvadmin-racdrsc5 ########################################### [ 94%]
17:srvadmin-storage ########################################### [100%]
# ll -o /usr/bin/om* (查看已安装工具)
lrwxrwxrwx 1 root 38 Sep 10 11:04 /usr/bin/omconfig -> /opt/dell/srvadmin/oma/bin/omconfig.sh
lrwxrwxrwx 1 root 36 Sep 10 11:04 /usr/bin/omexec -> /opt/dell/srvadmin/oma/bin/omexec.sh
lrwxrwxrwx 1 root 36 Sep 10 11:04 /usr/bin/omhelp -> /opt/dell/srvadmin/oma/bin/omhelp.sh
lrwxrwxrwx 1 root 38 Sep 10 11:04 /usr/bin/omreport -> /opt/dell/srvadmin/oma/bin/omreport.sh
lrwxrwxrwx 1 root 38 Sep 10 11:04 /usr/bin/omupdate -> /opt/dell/srvadmin/oma/bin/omupdate.sh
# sh linux/supportscripts/srvadmin-services.sh start (启动OMSA)
Starting Systems Management Device Drivers:
Starting dell_rbu: [ OK ]
Starting ipmi driver: [ OK ]
Starting Systems Management Data Engine:
Starting dsm_sa_datamgr32d: [ OK ]
Starting dsm_sa_eventmgr32d: [ OK ]
Starting DSM SA Shared Services: [ OK ]
Starting DSM SA Connection Service: [ OK ]
登陆OMSA, 使用root用户名及密码:
https://{omsa-server-ip-address}:1311
3. 测试OMSA
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
...
# 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
...