总结-推荐DellOMSA安装与nagios(check_openmanage)插件安装(CentOS)
http://blog.chinaunix.net/uid-21505614-id-2850339.html
分类: LINUX
创新互联长期为上1000+客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为赞皇企业提供专业的成都网站建设、成都网站制作,赞皇网站改版等技术服务。拥有十多年丰富建站经验和众多成功案例,为您定制开发。
OMSA(OpenManage Server Administrator)是Dell主机的硬件检测和维护软件.
OMSA(OpenManage)下载地址: http://linux.dell.com/repo/hardware/
OMSA帮助信息: http://support.dell.com/support/edocs/software/svradmin/
[root@localhost omsa]#wget http://ftp.us.dell.com/sysman/OM_6.1.0_ManNode_A00.tar.gz
#最新的可在http://ftp.us.dell.com/sysman/下载
解压后执行安装
1.select
[root@localhost omsa]#sh linux/supportscripts/srvadmin-install.sh
##############################################
Server Administrator Custom Install Utility
##############################################
Components for Server Administrator Managed Node Software:
[ ] 1. Server Administrator Web Server
[ ] 2. Server Instrumentation
[ ] 3. Storage Management
[ ] 4. Remote Access Core Component
[ ] 5. Remote Access SA Plugin Component
[ ] 6. All
Enter the number to select a component from the above list.
Enter q to quit.
Enter : 3
//此处我只选择3 Storage Management 按需要设置
2.install
##############################################
Server Administrator Custom Install Utility
##############################################
Selected Options
- Storage Management
Dependencies
- Server Instrumentation
Components for Server Administrator Managed Node Software:
[ ] 1. Server Administrator Web Server
[x] 2. Server Instrumentation
[x] 3. Storage Management
[ ] 4. Remote Access Core Component
[ ] 5. Remote Access SA Plugin Component
[ ] 6. All
Enter the number to select a component from the above list.
Enter c to copy selected components to destination folder.
Enter i to install the selected components.
Enter r to reset selection and start over.
Enter q to quit.
Enter : i
Default install location is: /opt/dell/srvadmin
Do you want to change it?
Press ('y' for yes | 'Enter' for default): y
Enter relocation path or press 'Enter' for default here:
3.Installing
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 ########################################### [ 9%]
To start all installed services without a reboot,
enter the following command: srvadmin-services.sh start
2:srvadmin-syscheck ########################################### [ 18%]
3:srvadmin-deng ########################################### [ 27%]
4:srvadmin-hapi ########################################### [ 36%]
5:srvadmin-isvc ########################################### [ 45%]
6:srvadmin-omcommon ########################################### [ 55%]
7:srvadmin-omacore ########################################### [ 64%]
8:srvadmin-cm ########################################### [ 73%]
9:srvadmin-idrac-componen########################################### [ 82%]
10:srvadmin-omhip ########################################### [ 91%]
11:srvadmin-storage ########################################### [100%]
Do you want the Server Administrator services started?
Press ('y' for yes | 'Enter' to exit): y
Starting mptctl:
Waiting for mptctl driver registration to complete:
[ OK ]
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_snmp32d: [ OK ]
Starting DSM SA Shared Services: [ OK ]
4.omreport
[root@localhost omsa]# 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 [name=value...] ... [option...]
Valid command line options are:
-? Print available command(s) or command help.
-fmt 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 Redirect output to file, delete old if exists.
OR
-outa 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 omsa]# 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 : 744.00 GB (798863917056 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
[root@localhost omsa]# omreport chassis processors
Processors Information
Health : Ok
Index : 0
Status : Ok
Connector Name : CPU1
Processor Brand : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Processor Version : Model 26 Stepping 5
Current Speed : 2266 MHz
State : Present
Core Count : 4
Index : 1
Status : Ok
Connector Name : CPU2
Processor Brand : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Processor Version : Model 26 Stepping 5
Current Speed : 2266 MHz
State : Present
Core Count : 4
5.help#
获取二级命令帮助
omreport -?
获取三级命令帮助
omreport storage -?
中文指南:
http://supportapj.dell.com/support/edocs/software/svradmin/6.1/cs/CLI/report.htm#wp1088840
网站题目:总结-推荐DellOMSA安装与nagios(check_openmanage)插件安装(CentOS)
文章路径:http://pwwzsj.com/article/ijsdhc.html