Recently saw the server hard drive red flashing, in order to understand the operation of the server and the hard disk, RAID is normal, the use of Dell's Openmanager, referred to as OMSA. OpenManage can be used to monitor the server's individual
The operation of the hard disk device, such as voltage, temperature, memory and hard disk, RAID information and so on.
For specific information, please refer to: http://linux.dell.com/repo/hardware/omsa.html
First look at the operating systems supported by 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)
Another: In the use of Yum, you need to set the Plugins=1 in/etc/yum.conf, here just know the next can, do not do too much explanation.
1 Installation:
Wget-q-o-http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | Bash
Yum Install Srvadmin-all
We use the full installation, which also supports:
Srvadmin-base: Install OMSA base component, not including webserver
Srvadmin-webserver: Installing the Web interface
Srvadmin-storageservices: Installing the RAID management interface
SRVADMIN-RAC4: Installing the Dell Remote Management component-4
SRVADMIN-RAC5: Installing the Dell Remote Management component-5
2OMSA Boot:
srvadmin-services.sh Start or service Dataeng start
Chkconfig Dataeng on join boot up
NETSTAT-NTLP |grep:1311
We can see 1311 port boot,HTTPS://ip:port can login to the Web interface, account is the root account, you can also omereport to view the information
[[email protected] yum]# omereport-?-bash:omereport:command not found[[email protected] yum]# Omreport Storage vdisk[[email protected] yum]# omreport-?omreport Reports component Properties. The available command (s) are:command descriptionabout 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 Pro Perties. 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, the 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. Oroutput may also is redirected using Operating System facilities (e.g. |more).
For example, to view raid information:
[[email protected] yum]# omreport storage vdisklist of Virtual Disks in the Systemcontroller PERC 6/i Integrated (Emb edded) Id:0status:okname:virtu Al Disk 0state:readyhot Spare Policy violated:not assignedencrypted : Not applicablelayout:raid-1size:931.00 GB (9996536 38144 bytes) T10 Protection information status:noassociated Fluid Cache state:not applicabledevice Name :/dev/sdabus Protocol:SASMedia:HDDRead Policy : No Read aheadwrite policy:write backcache policy:not applicabl Estripe Element size:64 kbdisk Cache policy:disabledid: 1Status : OkName:vdisk1State:ReadyHot Spare Policy violate D:not Assignedencrypted:not Applicablelayout:raid-1size : 1,862.50 GB (1999844147200 bytes) T10 Protection information status:noassociated Fluid Cach E state:not applicabledevice Name:/dev/sdbbus protocol:satamedia : Hddread policy:no Read aheadwrite policy:write B Ackcache policy:not applicablestripe Element size:64 kbdisk Cache Policy : Enabled
In addition, if you need nagios monitoring, you need to install the relevant plugin Check_openmange.
OMSA Hardware management tools for Dell servers