dell服务器的omsa硬件管理工具

最近看到服务器硬盘红灯闪烁,为了了解下服务器的运行情况以及硬盘,raid是否正常,就用了dell的OpenManager,简称omsa。OpenManage可以用来监控服务器的各个

硬盘设备的运行情况,如电压,温度,内存以及硬盘,raid信息等等。

具体信息请参考:http://linux.dell.com/repo/hardware/omsa.html

首先看下omsa支持的操作系统:

Red Hat Enterprise Linux 5 server Update 9 (both x86 and x86_64)
Red Hat Enterprise Linux 6 server Update 5 (x86_64)
Red Hat Enterprise Linux 7 server (x86_64)
SUSE Linux Enterprise Server 11SP3 (x86_64)

另:在使用yum的时候需要在/etc/yum.conf中设置plugins=1,这里只需知道下就可以,就不做过多解释了。

1安装:

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

yum install srvadmin-all

我们使用的完全安装,其中还支持:

srvadmin-base:安装omsa基础组件,不包含webserver

srvadmin-webserver:安装web界面

srvadmin-storageservices:安装raid管理界面

srvadmin-rac4:安装dell远程管理组件-4

srvadmin-rac5:安装dell远程管理组件-5

2omsa启动:

/opt/dell/srvadmin/sbin/srvadmin-services.sh start或者service dataeng start

chkconfig dataeng on 加入开机启动


netstat -ntlp |grep :1311

我们可以看到1311端口启动,https://ip:port即可登陆web界面,账号为root账号;也可以通过omereport 来查看信息

[root@localhost yum]# omereport -?
-bash: omereport: command not found
[root@localhost yum]# omreport storage vdisk
[root@localhost yum]# omreport -?

omreport         Reports component properties.

The available command(s) are:

Command          Description
about            Product and version properties.
licenses         Displays the digital licenses of the installed hardware devices.
preferences      Report system preferences.
system           System component properties.
chassis          Chassis component properties.
storage          Display storage component properties.

Usage: omreport <command...> [name=value...] ... [option...]

Valid command line options are:

-?               Print available command(s) or command help.
-fmt <lst|tbl|ssv|cdv|xml> Format for output results, default is lst.
                           Where: lst  List format.
                                  tbl  Table format.
                                  ssv  Semicolon separated format.
                                  cdv  Custom delimiter separated format.
                                  xml  Raw XML format.
-outc <file>     Redirect output to file, delete old if exists.
  OR
-outa <file>     Redirect output to file, append to old if exists.
  OR
Output may also be redirected using Operating System facilities (e.g. |more).


例如查看raid信息:

[root@localhost yum]# 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
Hot Spare Policy violated         : Not Assigned
Encrypted                         : Not Applicable
Layout                            : RAID-1
Size                              : 931.00 GB (999653638144 bytes)
T10 Protection Information Status : No
Associated Fluid Cache State      : Not Applicable
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

ID                                : 1
Status                            : Ok
Name                              : vdisk1
State                             : Ready
Hot Spare Policy violated         : Not Assigned
Encrypted                         : Not Applicable
Layout                            : RAID-1
Size                              : 1,862.50 GB (1999844147200 bytes)
T10 Protection Information Status : No
Associated Fluid Cache State      : Not Applicable
Device Name                       : /dev/sdb
Bus Protocol                      : SATA
Media                             : HDD
Read Policy                       : No Read Ahead
Write Policy                      : Write Back
Cache Policy                      : Not Applicable
Stripe Element Size               : 64 KB
Disk Cache Policy                 : Enabled

另,如需nagios监控,需要安装相关插件check_openmange。



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值