zoukankan      html  css  js  c++  java
  • Zabbix监控Dell服务器相关硬件资源

    一、安装dell服务器硬件监控工具OMSA

    1、安装dell的yum源

    [root@push-5-215 ~]# wget -q -O - http://linux.dell.com/repo/hardware/DSU_15.12.00/bootstrap.cgi | bash
    Downloading GPG key: http://linux.dell.com/repo/hardware/DSU_15.12.00/public.key
        Importing key into RPM.
    Write repository configuration
    Done!

    2、最小化安装OMSA

    [root@redis-02 ~]# yum install -y srvadmin-base srvadmin-storageservices
    已加载插件:fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.tuna.tsinghua.edu.cn
     * extras: mirrors.tuna.tsinghua.edu.cn
     * updates: mirrors.tuna.tsinghua.edu.cn
    正在解决依赖关系
    --> 正在检查事务
    ---> 软件包 srvadmin-base.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-smcommon = 8.2.0,它被软件包 srvadmin-base-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-ominst = 8.2.0,它被软件包 srvadmin-base-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-omacs = 8.2.0,它被软件包 srvadmin-base-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-cm = 8.2.0,它被软件包 srvadmin-base-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storageservices.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-sysfsutils = 8.2.0,它被软件包 srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storelib = 8.2.0,它被软件包 srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storageservices-snmp = 8.2.0,它被软件包 srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storageservices-cli = 8.2.0,它被软件包 srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在检查事务
    ---> 软件包 srvadmin-cm.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 smbios-utils-bin,它被软件包 srvadmin-cm-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-omacs.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-omilcore,它被软件包 srvadmin-omacs-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-ominst.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libdcsupt.so.8()(64bit),它被软件包 srvadmin-ominst-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libdcship.so.8()(64bit),它被软件包 srvadmin-ominst-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libdcsgen.so.8()(64bit),它被软件包 srvadmin-ominst-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libdcecfl.so.8()(64bit),它被软件包 srvadmin-ominst-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-smcommon.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-storageservices-cli.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-storage-cli = 8.2.0,它被软件包 srvadmin-storageservices-cli-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storage = 8.2.0,它被软件包 srvadmin-storageservices-cli-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storageservices-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-storage-snmp = 8.2.0,它被软件包 srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-isvc-snmp = 8.2.0,它被软件包 srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-idrac-snmp = 8.2.0,它被软件包 srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-deng-snmp = 8.2.0,它被软件包 srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storelib.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-storelib-sysfs-x86_64,它被软件包 srvadmin-storelib-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storelib-sysfs,它被软件包 srvadmin-storelib-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-sysfsutils.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在检查事务
    ---> 软件包 smbios-utils-bin.x86_64.0.2.3.3-8.el7 将被 安装
    --> 正在处理依赖关系 libsmbios = 2.3.3-8.el7,它被软件包 smbios-utils-bin-2.3.3-8.el7.x86_64 需要
    --> 正在处理依赖关系 libsmbios_c.so.2()(64bit),它被软件包 smbios-utils-bin-2.3.3-8.el7.x86_64 需要
    ---> 软件包 srvadmin-deng.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-deng-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-idrac-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libdcsdrs.so.8()(64bit),它被软件包 srvadmin-idrac-snmp-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-isvc.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libdchipm.so.8()(64bit),它被软件包 srvadmin-isvc-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libdchbas.so.8()(64bit),它被软件包 srvadmin-isvc-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-isvc-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-omilcore.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 pciutils,它被软件包 srvadmin-omilcore-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storage.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-realssd,它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-nvme,它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libxmlsup.so.2()(64bit),它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libsmbios.so.2()(64bit),它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libRealSSD-API.so()(64bit),它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storage-cli.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libclpsup.so.4()(64bit),它被软件包 srvadmin-storage-cli-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storage-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-storelib-sysfs.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在检查事务
    ---> 软件包 libsmbios.x86_64.0.2.3.3-8.el7 将被 安装
    ---> 软件包 pciutils.x86_64.0.3.5.1-3.el7 将被 安装
    ---> 软件包 srvadmin-hapi.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-nvme.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-omacore.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-omcommon,它被软件包 srvadmin-omacore-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-rac-components.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-realssd.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-storage.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libsmbios.so.2()(64bit),它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-xmlsup.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libxslt.so.1(LIBXML2_1.0.24)(64bit),它被软件包 srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libxslt.so.1(LIBXML2_1.0.11)(64bit),它被软件包 srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libxslt.so.1()(64bit),它被软件包 srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在检查事务
    ---> 软件包 libxslt.x86_64.0.1.1.28-5.el7 将被 安装
    ---> 软件包 srvadmin-omcommon.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-storage.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libsmbios.so.2()(64bit),它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 解决依赖关系完成
    错误:软件包:srvadmin-storage-8.2.0-1739.8348.el7.x86_64 (dell-system-update_dependent)
              需要:libsmbios.so.2()(64bit)
              可用: libsmbios-2.2.27-1739.8348.el7.x86_64 (dell-system-update_dependent)
                  libsmbios.so.2()(64bit)
              可用: libsmbios-2.3.3-8.el7.i686 (base)
                  未找到
     您可以尝试添加 --skip-broken 选项来解决该问题
     您可以尝试执行:rpm -Va --nofiles --nodigest
    [root@redis-02 ~]# 

    显示依赖库报错信息:

    错误:软件包:srvadmin-storage-8.2.0-1739.8348.el7.x86_64 (dell-system-update_dependent)
              需要:libsmbios.so.2()(64bit)
              可用: libsmbios-2.2.27-1739.8348.el7.x86_64 (dell-system-update_dependent)
                  libsmbios.so.2()(64bit)
              可用: libsmbios-2.3.3-8.el7.i686 (base)
                  未找到
    此时需要下载两个rpm包(针对centos7)
    libsmbios-2.3.3-8.el7.x86_64.rpm 和 libsmbios-cpp-2.3.3-1.el7.x86_64.rpm
    [root@redis-02 ~]# cd /usr/local/src/
    [root@redis-02 src]# wget http://rpmfind.net/linux/centos/7.6.1810/os/x86_64/Packages/libsmbios-2.3.3-8.el7.x86_64.rpm
    --2019-07-01 16:58:55--  http://rpmfind.net/linux/centos/7.6.1810/os/x86_64/Packages/libsmbios-2.3.3-8.el7.x86_64.rpm
    正在解析主机 rpmfind.net (rpmfind.net)... 195.220.108.108
    正在连接 rpmfind.net (rpmfind.net)|195.220.108.108|:80... 已连接。
    已发出 HTTP 请求,正在等待回应... 200 OK
    长度:73996 (72K) [application/x-rpm]
    正在保存至: “libsmbios-2.3.3-8.el7.x86_64.rpm”
    
    100%[=============================================================================>] 73,996       139KB/s 用时 0.5s   
    
    2019-07-01 16:59:02 (139 KB/s) - 已保存 “libsmbios-2.3.3-8.el7.x86_64.rpm” [73996/73996])
    
    [root@redis-02 src]# wget http://rpmfind.net/linux/epel/7/x86_64/Packages/l/libsmbios-cpp-2.3.3-1.el7.x86_64.rpm
    --2019-07-01 16:59:51--  http://rpmfind.net/linux/epel/7/x86_64/Packages/l/libsmbios-cpp-2.3.3-1.el7.x86_64.rpm
    正在解析主机 rpmfind.net (rpmfind.net)... 195.220.108.108
    正在连接 rpmfind.net (rpmfind.net)|195.220.108.108|:80... 已连接。
    已发出 HTTP 请求,正在等待回应... 200 OK
    长度:140053 (137K) [application/x-rpm]
    正在保存至: “libsmbios-cpp-2.3.3-1.el7.x86_64.rpm”
    
    100%[=============================================================================>] 140,053      143KB/s 用时 1.0s   
    
    2019-07-01 16:59:58 (143 KB/s) - 已保存 “libsmbios-cpp-2.3.3-1.el7.x86_64.rpm” [140053/140053])
    
    [root@redis-02 src]# 

    安装这两个rpm包

    [root@redis-02 src]# rpm -ivh libsmbios-2.3.3-8.el7.x86_64.rpm 
    准备中...                          ################################# [100%]
    正在升级/安装...
       1:libsmbios-2.3.3-8.el7            ################################# [100%]
    [root@redis-02 src]# rpm -ivh libsmbios-cpp-2.3.3-1.el7.x86_64.rpm 
    警告:libsmbios-cpp-2.3.3-1.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID 352c64e5: NOKEY
    准备中...                          ################################# [100%]
    正在升级/安装...
       1:libsmbios-cpp-2.3.3-1.el7        ################################# [100%]
    [root@redis-02 src]# 

    再次安装srvadmin-base srvadmin-storageservices

    [root@push-5-215 ~]# yum install -y srvadmin-base srvadmin-storageservices
    已加载插件:fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.aliyun.com
     * extras: mirrors.aliyun.com
     * updates: mirrors.aliyun.com
    base                                                                                            | 3.6 kB  00:00:00     
    dell-system-update_dependent                                                                    | 2.3 kB  00:00:00     
    dell-system-update_independent                                                                  | 2.3 kB  00:00:00     
    epel                                                                                            | 5.3 kB  00:00:00     
    extras                                                                                          | 3.4 kB  00:00:00     
    updates                                                                                         | 3.4 kB  00:00:00     
    (1/5): epel/x86_64/updateinfo                                                                   | 977 kB  00:00:05     
    (2/5): updates/7/x86_64/primary_db                                                              | 6.4 MB  00:00:06     
    (3/5): dell-system-update_dependent/7/x86_64/primary_db                                         |  32 kB  00:00:06     
    (4/5): dell-system-update_independent/primary_db                                                | 111 kB  00:00:06     
    (5/5): epel/x86_64/primary_db                                                                   | 6.8 MB  00:00:06     
    正在解决依赖关系
    --> 正在检查事务
    ---> 软件包 srvadmin-base.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-smcommon = 8.2.0,它被软件包 srvadmin-base-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-ominst = 8.2.0,它被软件包 srvadmin-base-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-omacs = 8.2.0,它被软件包 srvadmin-base-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-cm = 8.2.0,它被软件包 srvadmin-base-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storageservices.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-sysfsutils = 8.2.0,它被软件包 srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storelib = 8.2.0,它被软件包 srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storageservices-snmp = 8.2.0,它被软件包 srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storageservices-cli = 8.2.0,它被软件包 srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在检查事务
    ---> 软件包 srvadmin-cm.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 smbios-utils-bin,它被软件包 srvadmin-cm-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-omacs.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-omilcore,它被软件包 srvadmin-omacs-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-ominst.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libdcsupt.so.8()(64bit),它被软件包 srvadmin-ominst-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libdcship.so.8()(64bit),它被软件包 srvadmin-ominst-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libdcsgen.so.8()(64bit),它被软件包 srvadmin-ominst-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libdcecfl.so.8()(64bit),它被软件包 srvadmin-ominst-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-smcommon.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-storageservices-cli.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-storage-cli = 8.2.0,它被软件包 srvadmin-storageservices-cli-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storage = 8.2.0,它被软件包 srvadmin-storageservices-cli-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storageservices-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-storage-snmp = 8.2.0,它被软件包 srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-isvc-snmp = 8.2.0,它被软件包 srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-idrac-snmp = 8.2.0,它被软件包 srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-deng-snmp = 8.2.0,它被软件包 srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storelib.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-storelib-sysfs-x86_64,它被软件包 srvadmin-storelib-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-storelib-sysfs,它被软件包 srvadmin-storelib-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-sysfsutils.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在检查事务
    ---> 软件包 smbios-utils-bin.x86_64.0.2.3.3-8.el7 将被 安装
    --> 正在处理依赖关系 libsmbios = 2.3.3-8.el7,它被软件包 smbios-utils-bin-2.3.3-8.el7.x86_64 需要
    --> 正在处理依赖关系 libsmbios_c.so.2()(64bit),它被软件包 smbios-utils-bin-2.3.3-8.el7.x86_64 需要
    ---> 软件包 srvadmin-deng.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-deng-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-idrac-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libdcsdrs.so.8()(64bit),它被软件包 srvadmin-idrac-snmp-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-isvc.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libdchipm.so.8()(64bit),它被软件包 srvadmin-isvc-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libdchbas.so.8()(64bit),它被软件包 srvadmin-isvc-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-isvc-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-omilcore.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 pciutils,它被软件包 srvadmin-omilcore-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storage.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-realssd,它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 srvadmin-nvme,它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libxmlsup.so.2()(64bit),它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libsmbios.so.2()(64bit),它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libRealSSD-API.so()(64bit),它被软件包 srvadmin-storage-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storage-cli.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libclpsup.so.4()(64bit),它被软件包 srvadmin-storage-cli-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-storage-snmp.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-storelib-sysfs.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在检查事务
    ---> 软件包 libsmbios.x86_64.0.2.3.3-8.el7 将被 安装
    ---> 软件包 libsmbios-cpp.x86_64.0.2.3.3-1.el7 将被 安装
    ---> 软件包 pciutils.x86_64.0.3.5.1-3.el7 将被 安装
    ---> 软件包 srvadmin-hapi.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-nvme.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-omacore.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 srvadmin-omcommon,它被软件包 srvadmin-omacore-8.2.0-1739.8348.el7.x86_64 需要
    ---> 软件包 srvadmin-rac-components.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-realssd.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    ---> 软件包 srvadmin-xmlsup.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 正在处理依赖关系 libxslt.so.1(LIBXML2_1.0.24)(64bit),它被软件包 srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libxslt.so.1(LIBXML2_1.0.11)(64bit),它被软件包 srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在处理依赖关系 libxslt.so.1()(64bit),它被软件包 srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64 需要
    --> 正在检查事务
    ---> 软件包 libxslt.x86_64.0.1.1.28-5.el7 将被 安装
    ---> 软件包 srvadmin-omcommon.x86_64.0.8.2.0-1739.8348.el7 将被 安装
    --> 解决依赖关系完成
    
    依赖关系解决
    
    =======================================================================================================================
     Package                             架构         版本                        源                                  大小
    =======================================================================================================================
    正在安装:
     srvadmin-base                       x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       2.5 k
     srvadmin-storageservices            x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       2.7 k
    为依赖而安装:
     libsmbios                           x86_64       2.3.3-8.el7                 base                                72 k
     libsmbios-cpp                       x86_64       2.3.3-1.el7                 epel                               137 k
     libxslt                             x86_64       1.1.28-5.el7                base                               242 k
     pciutils                            x86_64       3.5.1-3.el7                 base                                93 k
     smbios-utils-bin                    x86_64       2.3.3-8.el7                 base                                74 k
     srvadmin-cm                         x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       175 M
     srvadmin-deng                       x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       728 k
     srvadmin-deng-snmp                  x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        42 k
     srvadmin-hapi                       x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       941 k
     srvadmin-idrac-snmp                 x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        61 k
     srvadmin-isvc                       x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       3.6 M
     srvadmin-isvc-snmp                  x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       340 k
     srvadmin-nvme                       x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        12 k
     srvadmin-omacore                    x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       561 k
     srvadmin-omacs                      x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       2.6 M
     srvadmin-omcommon                   x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       1.6 M
     srvadmin-omilcore                   x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        30 k
     srvadmin-ominst                     x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       1.2 M
     srvadmin-rac-components             x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        35 k
     srvadmin-realssd                    x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        94 k
     srvadmin-smcommon                   x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       668 k
     srvadmin-storage                    x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       3.1 M
     srvadmin-storage-cli                x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       222 k
     srvadmin-storage-snmp               x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       175 k
     srvadmin-storageservices-cli        x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       2.7 k
     srvadmin-storageservices-snmp       x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       2.8 k
     srvadmin-storelib                   x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent       320 k
     srvadmin-storelib-sysfs             x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        44 k
     srvadmin-sysfsutils                 x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        54 k
     srvadmin-xmlsup                     x86_64       8.2.0-1739.8348.el7         dell-system-update_dependent        51 k
    
    事务概要
    =======================================================================================================================
    安装  2 软件包 (+30 依赖软件包)
    
    总下载量:193 M
    安装大小:268 M
    Downloading packages:
    (1/32): libsmbios-2.3.3-8.el7.x86_64.rpm                                                        |  72 kB  00:00:05     
    (2/32): libxslt-1.1.28-5.el7.x86_64.rpm                                                         | 242 kB  00:00:05     
    (3/32): pciutils-3.5.1-3.el7.x86_64.rpm                                                         |  93 kB  00:00:00     
    (4/32): libsmbios-cpp-2.3.3-1.el7.x86_64.rpm                                                    | 137 kB  00:00:05     
    (5/32): smbios-utils-bin-2.3.3-8.el7.x86_64.rpm                                                 |  74 kB  00:00:00     
    (6/32): srvadmin-base-8.2.0-1739.8348.el7.x86_64.rpm                                            | 2.5 kB  00:00:06     
    (7/32): srvadmin-deng-8.2.0-1739.8348.el7.x86_64.rpm                                            | 728 kB  00:00:03     
    (8/32): srvadmin-deng-snmp-8.2.0-1739.8348.el7.x86_64.rpm                                       |  42 kB  00:00:00     
    (9/32): srvadmin-hapi-8.2.0-1739.8348.el7.x86_64.rpm                                            | 941 kB  00:00:02     
    (10/32): srvadmin-idrac-snmp-8.2.0-1739.8348.el7.x86_64.rpm                                     |  61 kB  00:00:00     
    (11/32): srvadmin-isvc-8.2.0-1739.8348.el7.x86_64.rpm                                           | 3.6 MB  00:00:04     
    (12/32): srvadmin-isvc-snmp-8.2.0-1739.8348.el7.x86_64.rpm                                      | 340 kB  00:00:00     
    (13/32): srvadmin-nvme-8.2.0-1739.8348.el7.x86_64.rpm                                           |  12 kB  00:00:00     
    (14/32): srvadmin-omacore-8.2.0-1739.8348.el7.x86_64.rpm                                        | 561 kB  00:00:00     
    (15/32): srvadmin-omacs-8.2.0-1739.8348.el7.x86_64.rpm                                          | 2.6 MB  00:00:01     
    (16/32): srvadmin-omcommon-8.2.0-1739.8348.el7.x86_64.rpm                                       | 1.6 MB  00:00:00     
    (17/32): srvadmin-omilcore-8.2.0-1739.8348.el7.x86_64.rpm                                       |  30 kB  00:00:00     
    (18/32): srvadmin-ominst-8.2.0-1739.8348.el7.x86_64.rpm                                         | 1.2 MB  00:00:00     
    (19/32): srvadmin-rac-components-8.2.0-1739.8348.el7.x86_64.rpm                                 |  35 kB  00:00:00     
    (20/32): srvadmin-realssd-8.2.0-1739.8348.el7.x86_64.rpm                                        |  94 kB  00:00:00     
    (21/32): srvadmin-smcommon-8.2.0-1739.8348.el7.x86_64.rpm                                       | 668 kB  00:00:00     
    (22/32): srvadmin-storage-8.2.0-1739.8348.el7.x86_64.rpm                                        | 3.1 MB  00:00:01     
    (23/32): srvadmin-storage-cli-8.2.0-1739.8348.el7.x86_64.rpm                                    | 222 kB  00:00:00     
    (24/32): srvadmin-storage-snmp-8.2.0-1739.8348.el7.x86_64.rpm                                   | 175 kB  00:00:00     
    (25/32): srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64.rpm                                | 2.7 kB  00:00:00     
    (26/32): srvadmin-storageservices-cli-8.2.0-1739.8348.el7.x86_64.rpm                            | 2.7 kB  00:00:00     
    (27/32): srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64.rpm                           | 2.8 kB  00:00:00     
    (28/32): srvadmin-storelib-8.2.0-1739.8348.el7.x86_64.rpm                                       | 320 kB  00:00:00     
    (29/32): srvadmin-storelib-sysfs-8.2.0-1739.8348.el7.x86_64.rpm                                 |  44 kB  00:00:00     
    (30/32): srvadmin-sysfsutils-8.2.0-1739.8348.el7.x86_64.rpm                                     |  54 kB  00:00:00     
    (31/32): srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64.rpm                                         |  51 kB  00:00:00     
    (32/32): srvadmin-cm-8.2.0-1739.8348.el7.x86_64.rpm                                             | 175 MB  00:01:13     
    -----------------------------------------------------------------------------------------------------------------------
    总计                                                                                   2.4 MB/s | 193 MB  00:01:18     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      正在安装    : srvadmin-smcommon-8.2.0-1739.8348.el7.x86_64                                                      1/32 
      正在安装    : srvadmin-sysfsutils-8.2.0-1739.8348.el7.x86_64                                                    2/32 
      正在安装    : srvadmin-hapi-8.2.0-1739.8348.el7.x86_64                                                          3/32 
      正在安装    : pciutils-3.5.1-3.el7.x86_64                                                                       4/32 
      正在安装    : libsmbios-cpp-2.3.3-1.el7.x86_64                                                                  5/32 
      正在安装    : srvadmin-storelib-sysfs-8.2.0-1739.8348.el7.x86_64                                                6/32 
      正在安装    : srvadmin-storelib-8.2.0-1739.8348.el7.x86_64                                                      7/32 
      正在安装    : srvadmin-realssd-8.2.0-1739.8348.el7.x86_64                                                       8/32 
      正在安装    : libxslt-1.1.28-5.el7.x86_64                                                                       9/32 
      正在安装    : srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64                                                       10/32 
      正在安装    : libsmbios-2.3.3-8.el7.x86_64                                                                     11/32 
      正在安装    : smbios-utils-bin-2.3.3-8.el7.x86_64                                                              12/32 
      正在安装    : srvadmin-omilcore-8.2.0-1739.8348.el7.x86_64                                                     13/32 
         **********************************************************
         After the install process completes, you may need 
         to log out and then log in again to reset the PATH
         variable to access the Server Administrator CLI utilities
    
         **********************************************************
      正在安装    : srvadmin-deng-8.2.0-1739.8348.el7.x86_64                                                         14/32 
      正在安装    : srvadmin-omacs-8.2.0-1739.8348.el7.x86_64                                                        15/32 
      正在安装    : srvadmin-isvc-8.2.0-1739.8348.el7.x86_64                                                         16/32 
      正在安装    : srvadmin-ominst-8.2.0-1739.8348.el7.x86_64                                                       17/32 
      正在安装    : srvadmin-deng-snmp-8.2.0-1739.8348.el7.x86_64                                                    18/32 
      正在安装    : srvadmin-cm-8.2.0-1739.8348.el7.x86_64                                                           19/32 
      正在安装    : srvadmin-isvc-snmp-8.2.0-1739.8348.el7.x86_64                                                    20/32 
      正在安装    : srvadmin-rac-components-8.2.0-1739.8348.el7.x86_64                                               21/32 
      正在安装    : srvadmin-idrac-snmp-8.2.0-1739.8348.el7.x86_64                                                   22/32 
      正在安装    : srvadmin-omcommon-8.2.0-1739.8348.el7.x86_64                                                     23/32 
      正在安装    : srvadmin-omacore-8.2.0-1739.8348.el7.x86_64                                                      24/32 
      正在安装    : srvadmin-nvme-8.2.0-1739.8348.el7.x86_64                                                         25/32 
      正在安装    : srvadmin-storage-8.2.0-1739.8348.el7.x86_64                                                      26/32 
      正在安装    : srvadmin-storage-cli-8.2.0-1739.8348.el7.x86_64                                                  27/32 
      正在安装    : srvadmin-storageservices-cli-8.2.0-1739.8348.el7.x86_64                                          28/32 
      正在安装    : srvadmin-storage-snmp-8.2.0-1739.8348.el7.x86_64                                                 29/32 
      正在安装    : srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64                                         30/32 
      正在安装    : srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64                                              31/32 
      正在安装    : srvadmin-base-8.2.0-1739.8348.el7.x86_64                                                         32/32 
      验证中      : srvadmin-deng-8.2.0-1739.8348.el7.x86_64                                                          1/32 
      验证中      : srvadmin-hapi-8.2.0-1739.8348.el7.x86_64                                                          2/32 
      验证中      : srvadmin-isvc-8.2.0-1739.8348.el7.x86_64                                                          3/32 
      验证中      : srvadmin-nvme-8.2.0-1739.8348.el7.x86_64                                                          4/32 
      验证中      : srvadmin-sysfsutils-8.2.0-1739.8348.el7.x86_64                                                    5/32 
      验证中      : srvadmin-deng-snmp-8.2.0-1739.8348.el7.x86_64                                                     6/32 
      验证中      : smbios-utils-bin-2.3.3-8.el7.x86_64                                                               7/32 
      验证中      : srvadmin-storage-cli-8.2.0-1739.8348.el7.x86_64                                                   8/32 
      验证中      : srvadmin-smcommon-8.2.0-1739.8348.el7.x86_64                                                      9/32 
      验证中      : libsmbios-2.3.3-8.el7.x86_64                                                                     10/32 
      验证中      : srvadmin-storage-8.2.0-1739.8348.el7.x86_64                                                      11/32 
      验证中      : srvadmin-rac-components-8.2.0-1739.8348.el7.x86_64                                               12/32 
      验证中      : srvadmin-omilcore-8.2.0-1739.8348.el7.x86_64                                                     13/32 
      验证中      : srvadmin-xmlsup-8.2.0-1739.8348.el7.x86_64                                                       14/32 
      验证中      : srvadmin-base-8.2.0-1739.8348.el7.x86_64                                                         15/32 
      验证中      : srvadmin-omacore-8.2.0-1739.8348.el7.x86_64                                                      16/32 
      验证中      : srvadmin-cm-8.2.0-1739.8348.el7.x86_64                                                           17/32 
      验证中      : libxslt-1.1.28-5.el7.x86_64                                                                      18/32 
      验证中      : srvadmin-idrac-snmp-8.2.0-1739.8348.el7.x86_64                                                   19/32 
      验证中      : srvadmin-storelib-8.2.0-1739.8348.el7.x86_64                                                     20/32 
      验证中      : srvadmin-realssd-8.2.0-1739.8348.el7.x86_64                                                      21/32 
      验证中      : srvadmin-storageservices-cli-8.2.0-1739.8348.el7.x86_64                                          22/32 
      验证中      : srvadmin-omcommon-8.2.0-1739.8348.el7.x86_64                                                     23/32 
      验证中      : srvadmin-isvc-snmp-8.2.0-1739.8348.el7.x86_64                                                    24/32 
      验证中      : srvadmin-storageservices-snmp-8.2.0-1739.8348.el7.x86_64                                         25/32 
      验证中      : srvadmin-omacs-8.2.0-1739.8348.el7.x86_64                                                        26/32 
      验证中      : srvadmin-storelib-sysfs-8.2.0-1739.8348.el7.x86_64                                               27/32 
      验证中      : srvadmin-storageservices-8.2.0-1739.8348.el7.x86_64                                              28/32 
      验证中      : libsmbios-cpp-2.3.3-1.el7.x86_64                                                                 29/32 
      验证中      : pciutils-3.5.1-3.el7.x86_64                                                                      30/32 
      验证中      : srvadmin-ominst-8.2.0-1739.8348.el7.x86_64                                                       31/32 
      验证中      : srvadmin-storage-snmp-8.2.0-1739.8348.el7.x86_64                                                 32/32 
    
    已安装:
      srvadmin-base.x86_64 0:8.2.0-1739.8348.el7           srvadmin-storageservices.x86_64 0:8.2.0-1739.8348.el7          
    
    作为依赖被安装:
      libsmbios.x86_64 0:2.3.3-8.el7                            libsmbios-cpp.x86_64 0:2.3.3-1.el7                        
      libxslt.x86_64 0:1.1.28-5.el7                             pciutils.x86_64 0:3.5.1-3.el7                             
      smbios-utils-bin.x86_64 0:2.3.3-8.el7                     srvadmin-cm.x86_64 0:8.2.0-1739.8348.el7                  
      srvadmin-deng.x86_64 0:8.2.0-1739.8348.el7                srvadmin-deng-snmp.x86_64 0:8.2.0-1739.8348.el7           
      srvadmin-hapi.x86_64 0:8.2.0-1739.8348.el7                srvadmin-idrac-snmp.x86_64 0:8.2.0-1739.8348.el7          
      srvadmin-isvc.x86_64 0:8.2.0-1739.8348.el7                srvadmin-isvc-snmp.x86_64 0:8.2.0-1739.8348.el7           
      srvadmin-nvme.x86_64 0:8.2.0-1739.8348.el7                srvadmin-omacore.x86_64 0:8.2.0-1739.8348.el7             
      srvadmin-omacs.x86_64 0:8.2.0-1739.8348.el7               srvadmin-omcommon.x86_64 0:8.2.0-1739.8348.el7            
      srvadmin-omilcore.x86_64 0:8.2.0-1739.8348.el7            srvadmin-ominst.x86_64 0:8.2.0-1739.8348.el7              
      srvadmin-rac-components.x86_64 0:8.2.0-1739.8348.el7      srvadmin-realssd.x86_64 0:8.2.0-1739.8348.el7             
      srvadmin-smcommon.x86_64 0:8.2.0-1739.8348.el7            srvadmin-storage.x86_64 0:8.2.0-1739.8348.el7             
      srvadmin-storage-cli.x86_64 0:8.2.0-1739.8348.el7         srvadmin-storage-snmp.x86_64 0:8.2.0-1739.8348.el7        
      srvadmin-storageservices-cli.x86_64 0:8.2.0-1739.8348.el7 srvadmin-storageservices-snmp.x86_64 0:8.2.0-1739.8348.el7
      srvadmin-storelib.x86_64 0:8.2.0-1739.8348.el7            srvadmin-storelib-sysfs.x86_64 0:8.2.0-1739.8348.el7      
      srvadmin-sysfsutils.x86_64 0:8.2.0-1739.8348.el7          srvadmin-xmlsup.x86_64 0:8.2.0-1739.8348.el7              
    
    完毕!
    [root@push-5-215 ~]# 

    3、设置软连接 

    [root@push-5-215 ~]# ln -s /opt/dell/srvadmin/sbin/omreport /usr/bin/
    [root@push-5-215 ~]# ln -s /opt/dell/srvadmin/sbin/omconfig /usr/bin/

    4、启动dataeng

    [root@push-5-215 ~]# systemctl start dataeng
    [root@push-5-215 ~]# systemctl status dataeng
    ● dataeng.service - LSB: Systems Management Data Engine
       Loaded: loaded (/etc/rc.d/init.d/dataeng; bad; vendor preset: disabled)
       Active: active (running) since 五 2019-06-28 15:34:02 CST; 9s ago
         Docs: man:systemd-sysv-generator(8)
      Process: 1571 ExecStart=/etc/rc.d/init.d/dataeng start (code=exited, status=0/SUCCESS)
       CGroup: /system.slice/dataeng.service
               ├─1784 /opt/dell/srvadmin/sbin/dsm_sa_datamgrd
               ├─2085 /opt/dell/srvadmin/sbin/dsm_sa_eventmgrd
               ├─2110 /opt/dell/srvadmin/sbin/dsm_sa_snmpd
               └─2126 /opt/dell/srvadmin/sbin/dsm_sa_datamgrd
    
    6月 28 15:33:50 push-5-215.hlsms systemd[1]: Starting LSB: Systems Management Data Engine...
    6月 28 15:33:51 push-5-215.hlsms dataeng[1571]: Starting instsvcdrv (via systemctl):  [  OK  ]
    6月 28 15:33:51 push-5-215.hlsms dataeng[1571]: Starting Systems Management Data Engine:
    6月 28 15:33:59 push-5-215.hlsms dataeng[1571]: Starting dsm_sa_datamgrd: [  确定  ]
    6月 28 15:34:00 push-5-215.hlsms dataeng[1571]: Starting dsm_sa_eventmgrd: [  确定  ]
    6月 28 15:34:02 push-5-215.hlsms dataeng[1571]: Starting dsm_sa_snmpd: [  确定  ]
    6月 28 15:34:02 push-5-215.hlsms systemd[1]: Started LSB: Systems Management Data Engine.

    5、常用命令

    查看系统摘要

    [root@push-5-215 ~]# omreport system summary
    System Summary
    
    ------------------
    Software Profile
    ------------------
    Systems Management
    Name                       : Dell OpenManage Server Administrator
    Version                    : 8.2.0
    Description                : Systems Management Software
    Contains                   : Data Engine 8.2.0
                               : Data Engine SNMP 8.2.0
                               : Disney SNMP 8.2.0
                               : Hardware Abstraction Programming Interface 8.2.0
                               : Instrumentation Services 8.2.0
                               : Meta package for installing the Server Administrator Storage Services feature 8.2.0
                               : Meta package for installing the Server Administrator storage cli component 8.2.0
                               : Meta package for installing the Server Administrator storage snmp component 8.2.0
                               : Meta package for installing the Server Agent 8.2.0
                               : NVMe Library 8.2.0
                               : OpenManage Inventory Collector 8.2.0
                               : RealSSD package for storage management 8.2.0
                               : Remote Access Card Data Populator 8.2.0
                               : Server Administrator CLI 8.2.0
                               : Server Administrator Common Framework 8.2.0
                               : Server Administrator Common Services 8.2.0
                               : Server Administrator Core 8.2.0
                               : Server Administrator XML Support SDK 8.2.0
                               : Storage Management CLI component 5.2.0
                               : Storage Management SNMP component 5.2.0
                               : Storage Management System Utilities Package / Libsysfs 1.3.0
                               : Storage Management accessors package 5.2.0
                               : Storage Management common files for GUI and CLI 5.2.0
                               : StoreLib package for storage management 8.2.0
                               : System Utilities Package/Libsysfs for LSI storage libraries 2.1.0
                               : iDRAC SNMP components 8.2.0
    
    Operating System
    Name                       : CentOS Linux
    Version                    : release 7.6.1810 (Core)  Kernel 3.10.0-957.el7.x86_64 (x86_64)
    System Time                : Fri Jun 28 15:35:36 2019
    System Bootup Time         : Wed Jun 12 14:33:47 2019
    
    --------
    System
    --------
    System
    Host Name                  : push-5-215.hlsms
    System Location            : Please set the value
    Lifecycle Controller       : [N/A]
    
    ---------------------
    Main System Chassis
    ---------------------
    Chassis Information
    Chassis Model              : PowerEdge R340
    Chassis Service Tag        : 4B3C8X2
    Express Service Code       : 9377867558
    Chassis Lock               : Present
    Chassis Asset Tag          : Unknown
    Node Id                    : 4B3C8X2
    
    Remote Access Information
    Remote Access Device       : BMC Remote Access Service Point
    vFlash Media               : Absent
    
    Processor 1
    Processor Brand            : Intel(R) Xeon(R) E-2134 CPU @ 3.50GHz
    Processor Version          : Model 158 Stepping 10
    Voltage                    : 1500 mV
    
    Memory
    Total Installed Capacity   : 32768  MB
    Memory Available to the OS : 31769  MB
    Total Maximum Capacity     : 65536  MB
    Memory Array Count         : 1
    
    Memory Array 1
    Location                   : System Board or Motherboard
    Use                        : System Memory
    Installed Capacity         : 32768  MB
    Maximum Capacity           : 65536  MB
    Slots Available            : 4
    Slots Used                 : 2
    ECC Type                   : Single Bit ECC
    
    Slot PCIe Slot 1
    Adapter                    : [Not Occupied]
    Type                       : PCI E Gen 3 X8
    Data Bus Width             : 4x or x4
    Speed                      : [Not Obtained, see card documentation]
    Slot Length                : Long
    Voltage Supply             : 3.3 Volts
    
    Slot PCIe Slot 2
    Adapter                    : [Not Occupied]
    Type                       : PCI E Gen 3 X16
    Data Bus Width             : 8x or x8
    Speed                      : [Not Obtained, see card documentation]
    Slot Length                : Long
    Voltage Supply             : 3.3 Volts
    
    BIOS Information
    Manufacturer               : Dell Inc.
    Version                    : 1.1.5
    Release Date               : 11/26/2018
    
    Firmware Information
    Name                       : Baseboard Management Controller
    Version                    : 3.30.30.30 (Build 76)
    
    Firmware Information
    Name                       : Lifecycle Controller
    Version                    : 3.30.30.30
    
    --------------
    Network Data
    --------------
    Network Interface 0
    IP Address                 : 172.28.5.215
    Subnet Mask                : 255.255.255.192
    Default Gateway            : 172.28.5.254
    MAC Address                : 6C:2B:59:91:86:71
    
    Network Interface 1
    IP Address                 : 192.168.5.215
    Subnet Mask                : 255.255.255.0
    MAC Address                : 6C:2B:59:91:86:72
    
    --------------------
    Storage Enclosures
    --------------------
    Storage Enclosures
    Name                       : Backplane

    查看CMOS电池状态

    [root@push-5-215 ~]# omreport chassis batteries
    Batteries
    
    Health : Ok
    
    Individual Battery Elements
    Index      : 0
    Status     : Ok
    Probe Name : System Board CMOS Battery
    Reading    : Good

    查看风扇状态

    [root@push-5-215 ~]# omreport chassis fans
    Fan Probes Information
    
    ----------------------------
    Main System Chassis Fans: Ok
    ----------------------------
    
    Index                     : 0
    Status                    : Ok
    Probe Name                : System Board Fan1A
    Reading                   : 7800 RPM
    Minimum Warning Threshold : 840 RPM
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 480 RPM
    Maximum Failure Threshold : [N/A]
    
    Index                     : 1
    Status                    : Ok
    Probe Name                : System Board Fan2B
    Reading                   : 6360 RPM
    Minimum Warning Threshold : 840 RPM
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 480 RPM
    Maximum Failure Threshold : [N/A]
    
    Index                     : 2
    Status                    : Ok
    Probe Name                : System Board Fan3A
    Reading                   : 7080 RPM
    Minimum Warning Threshold : 840 RPM
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 480 RPM
    Maximum Failure Threshold : [N/A]
    
    Index                     : 3
    Status                    : Ok
    Probe Name                : System Board Fan3B
    Reading                   : 6360 RPM
    Minimum Warning Threshold : 840 RPM
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 480 RPM
    Maximum Failure Threshold : [N/A]
    
    Index                     : 4
    Status                    : Ok
    Probe Name                : System Board Fan1B
    Reading                   : 6240 RPM
    Minimum Warning Threshold : 840 RPM
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 480 RPM
    Maximum Failure Threshold : [N/A]
    
    Index                     : 5
    Status                    : Ok
    Probe Name                : System Board Fan2A
    Reading                   : 6840 RPM
    Minimum Warning Threshold : 840 RPM
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 480 RPM
    Maximum Failure Threshold : [N/A]
    
    Index                     : 6
    Status                    : Ok
    Probe Name                : System Board Fan4A
    Reading                   : 6840 RPM
    Minimum Warning Threshold : 840 RPM
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 480 RPM
    Maximum Failure Threshold : [N/A]
    
    Index                     : 7
    Status                    : Ok
    Probe Name                : System Board Fan4B
    Reading                   : 6480 RPM
    Minimum Warning Threshold : 840 RPM
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 480 RPM
    Maximum Failure Threshold : [N/A]
    
    [root@push-5-215 ~]# 

    查看内存状态

    [root@push-5-215 ~]# omreport chassis memory
    Memory Information
    
    Health : Ok
    
    Attributes of Memory Array(s)
    
    Attributes of Memory Array(s)
    Location           : System Board or Motherboard
    Use                : System Memory
    Installed Capacity : 32768  MB
    Maximum Capacity   : 65536  MB
    Slots Available    : 4
    Slots Used         : 2
    Error Correction   : Single Bit ECC
    
    Total of Memory Array(s)
    Total Installed Capacity                     : 32768  MB
    Total Installed Capacity Available to the OS : 31769  MB
    Total Maximum Capacity                       : 65536  MB
    
    Details of Memory Array 1
    Index          : 0
    Status         : Ok
    Connector Name : A1
    Type           : DDR4 - Synchronous Unregistered (Unbuffered)
    Size           : 16384  MB
    
    Index          : 1
    Status         : Ok
    Connector Name : A2
    Type           : DDR4 - Synchronous Unregistered (Unbuffered)
    Size           : 16384  MB
    
    Index          : 
    Status         : Unknown
    Connector Name : A3
    Type           : [Not Occupied]
    Size           : 
    
    Index          : 
    Status         : Unknown
    Connector Name : A4
    Type           : [Not Occupied]
    Size           : 
    
    [root@push-5-215 ~]# 

    查看网卡状态

    [root@push-5-215 ~]# omreport chassis nics
    Network Interfaces Information
    
    Physical NIC Interface(s)
    Index             : 0
    Interface Name    : em1
    Vendor            : Broadcom Corporation
    Description       : NetXtreme BCM5720 Gigabit Ethernet PCIe
    Connection Status : Connected
    Slot              : Embedded
    
    Index             : 1
    Interface Name    : em2
    Vendor            : Broadcom Corporation
    Description       : NetXtreme BCM5720 Gigabit Ethernet PCIe
    Connection Status : Connected
    Slot              : Embedded

    查看温度状态

    [root@push-5-215 ~]# omreport chassis temps
    Temperature Probes Information
    
    ------------------------------------
    Main System Chassis Temperatures: Ok
    ------------------------------------
    
    Index                     : 0
    Status                    : Ok
    Probe Name                : CPU1 Temp
    Reading                   : 31.0 C
    Minimum Warning Threshold : [N/A]
    Maximum Warning Threshold : [N/A]
    Minimum Failure Threshold : 3.0 C
    Maximum Failure Threshold : 100.0 C
    
    Index                     : 1
    Status                    : Ok
    Probe Name                : System Board Inlet Temp
    Reading                   : 23.0 C
    Minimum Warning Threshold : 3.0 C
    Maximum Warning Threshold : 38.0 C
    Minimum Failure Threshold : -7.0 C
    Maximum Failure Threshold : 42.0 C
    
    Index                     : 2
    Status                    : Ok
    Probe Name                : System Board Exhaust Temp
    Reading                   : 33.0 C
    Minimum Warning Threshold : 8.0 C
    Maximum Warning Threshold : 75.0 C
    Minimum Failure Threshold : 3.0 C
    Maximum Failure Threshold : 80.0 C

    查看电源状态

    [root@push-5-215 ~]# omreport chassis pwrsupplies
    Power Supplies Information
    
    --------------------------------------
    Main System Chassis Power Supplies: Ok
    --------------------------------------
    
    Individual Power Supply Elements
    
    Index                    : 0
    Status                   : Ok
    Location                 : PS1 Status
    Type                     : AC
    Rated Input Wattage      : 432 W
    Maximum Output Wattage   : 350 W
    Firmware Version         : 07.18.7F
    Online Status            : Presence Detected
    Power Monitoring Capable : Yes

    查看硬盘状态

    [root@push-5-215 ~]# omreport storage pdisk controller=0
    List of Physical Disks on Controller PERC H330 Adapter (Embedded)
    
    Controller PERC H330 Adapter (Embedded)
    ID                              : 0:1:0
    Status                          : Ok
    Name                            : Physical Disk 0:1:0
    State                           : Online
    Power Status                    : Spun Up
    Bus Protocol                    : SATA
    Media                           : HDD
    Part of Cache Pool              : Not Applicable
    Remaining Rated Write Endurance : Not Applicable
    Failure Predicted               : No
    Revision                        : RADEMU02
    Driver Version                  : Not Applicable
    Model Number                    : Not Applicable
    T10 PI Capable                  : No
    Certified                       : Yes
    Encryption Capable              : No
    Encrypted                       : Not Applicable
    Progress                        : Not Applicable
    Mirror Set ID                   : Not Applicable
    Capacity                        : 1,862.50 GB (1999844147200 bytes)
    Used RAID Disk Space            : 1,862.50 GB (1999844147200 bytes)
    Available RAID Disk Space       : 0.00 GB (0 bytes)
    Hot Spare                       : No
    Vendor ID                       : DELL(tm)
    Product ID                      : HUS722T2TALA600
    Serial No.                      : WMC6N0M300SN
    Part Number                     : MY0V9H6CWDK0087B00D3A0
    Negotiated Speed                : 6.00 Gbps
    Capable Speed                   : 6.00 Gbps
    PCIe Negotiated Link Width      : Not Applicable
    PCIe Maximum Link Width         : Not Applicable
    Sector Size                     : 512B
    Device Write Cache              : Not Applicable
    Manufacture Day                 : Not Available
    Manufacture Week                : Not Available
    Manufacture Year                : Not Available
    SAS Address                     : 4433221106000000
    Form Factor                     : Not Available
    Sub Vendor                      : Not Available
    
    ID                              : 0:1:1
    Status                          : Ok
    Name                            : Physical Disk 0:1:1
    State                           : Online
    Power Status                    : Spun Up
    Bus Protocol                    : SATA
    Media                           : HDD
    Part of Cache Pool              : Not Applicable
    Remaining Rated Write Endurance : Not Applicable
    Failure Predicted               : No
    Revision                        : RADEMU02
    Driver Version                  : Not Applicable
    Model Number                    : Not Applicable
    T10 PI Capable                  : No
    Certified                       : Yes
    Encryption Capable              : No
    Encrypted                       : Not Applicable
    Progress                        : Not Applicable
    Mirror Set ID                   : Not Applicable
    Capacity                        : 1,862.50 GB (1999844147200 bytes)
    Used RAID Disk Space            : 1,862.50 GB (1999844147200 bytes)
    Available RAID Disk Space       : 0.00 GB (0 bytes)
    Hot Spare                       : No
    Vendor ID                       : DELL(tm)
    Product ID                      : HUS722T2TALA600
    Serial No.                      : WMC6N0L5U746
    Part Number                     : MY0V9H6CWDK0087B00G3A0
    Negotiated Speed                : 6.00 Gbps
    Capable Speed                   : 6.00 Gbps
    PCIe Negotiated Link Width      : Not Applicable
    PCIe Maximum Link Width         : Not Applicable
    Sector Size                     : 512B
    Device Write Cache              : Not Applicable
    Manufacture Day                 : Not Available
    Manufacture Week                : Not Available
    Manufacture Year                : Not Available
    SAS Address                     : 4433221107000000
    Form Factor                     : Not Available
    Sub Vendor                      : Not Available
    
    ID                              : 0:1:2
    Status                          : Ok
    Name                            : Physical Disk 0:1:2
    State                           : Online
    Power Status                    : Spun Up
    Bus Protocol                    : SATA
    Media                           : HDD
    Part of Cache Pool              : Not Applicable
    Remaining Rated Write Endurance : Not Applicable
    Failure Predicted               : No
    Revision                        : RADEMU02
    Driver Version                  : Not Applicable
    Model Number                    : Not Applicable
    T10 PI Capable                  : No
    Certified                       : Yes
    Encryption Capable              : No
    Encrypted                       : Not Applicable
    Progress                        : Not Applicable
    Mirror Set ID                   : Not Applicable
    Capacity                        : 1,862.50 GB (1999844147200 bytes)
    Used RAID Disk Space            : 1,862.50 GB (1999844147200 bytes)
    Available RAID Disk Space       : 0.00 GB (0 bytes)
    Hot Spare                       : No
    Vendor ID                       : DELL(tm)
    Product ID                      : HUS722T2TALA600
    Serial No.                      : WMC6N0M7WPCW
    Part Number                     : MY0V9H6CWDK0087C00SDA0
    Negotiated Speed                : 6.00 Gbps
    Capable Speed                   : 6.00 Gbps
    PCIe Negotiated Link Width      : Not Applicable
    PCIe Maximum Link Width         : Not Applicable
    Sector Size                     : 512B
    Device Write Cache              : Not Applicable
    Manufacture Day                 : Not Available
    Manufacture Week                : Not Available
    Manufacture Year                : Not Available
    SAS Address                     : 4433221105000000
    Form Factor                     : Not Available
    Sub Vendor                      : Not Available

    可以看出服务器有三块物理硬盘,Status均为:Ok,表示正常

    查看Raid状态(虚拟磁盘)

    [root@push-5-215 ~]# omreport storage vdisk controller=0
    Virtual Disk 0 on Controller PERC H330 Adapter (Embedded)
    
    Controller PERC H330 Adapter (Embedded)
    ID                                : 0
    Status                            : Ok
    Name                              : Virtual Disk0
    State                             : Ready
    Hot Spare Policy violated         : Not Assigned
    Encrypted                         : Not Applicable
    Layout                            : RAID-5
    Size                              : 3,725.00 GB (3999688294400 bytes)
    T10 Protection Information Status : No
    Associated Fluid Cache State      : Not Applicable
    Device Name                       : /dev/sda
    Bus Protocol                      : SATA
    Media                             : HDD
    Read Policy                       : No Read Ahead
    Write Policy                      : Write Through
    Cache Policy                      : Not Applicable
    Stripe Element Size               : 64 KB
    Disk Cache Policy                 : Unchanged
    
    [root@push-5-215 ~]# 

    可以看出,当前Raid级别为Raid-5.状态为Ready,大小为3TB

    State: Ready 是我们监控Raid状态重要参数
    如果Raid状态有问题,会出现以下信息
    [root@zabbix_server zabbix-4.0.3]# omreport storage vdisk controller=0
    Virtual Disk 0 on Controller PERC H710 Mini (Embedded)
    
    Controller PERC H710 Mini (Embedded)
    ID                                : 0
    Status                            : Non-Critical
    Name                              : VirualDisk
    State                             : Degraded
    Hot Spare Policy violated         : Not Assigned
    Encrypted                         : No
    Layout                            : RAID-5
    Size                              : 557.75 GB (598879502336 bytes)
    T10 Protection Information Status : No
    Associated Fluid Cache State      : Not Applicable
    Device Name                       : /dev/sda
    Bus Protocol                      : SAS
    Media                             : HDD
    Read Policy                       : Adaptive Read Ahead
    Write Policy                      : Write Back
    Cache Policy                      : Not Applicable
    Stripe Element Size               : 64 KB
    Disk Cache Policy                 : Disabled
    State : Degraded ,翻译过来就是降级的意思,意味着3块硬盘里有1块出现问题了。

     

     

  • 相关阅读:
    UDP:用户数据报协议(User Datagram Protocol)
    线程池的使用
    SQL Server表和模式空间使用情况http://www.51myit.com/thread2466911.html
    bytetobmp and bmptobyte(Image)
    c# TCP例子转载
    POJ 4047Garden
    NYOJ 102 次方求模
    Sum
    POJ 1094 Sorting It All Out(经典拓扑,唯一排序)
    POJ 2387 Til the Cows Come Home(Dijkstra)
  • 原文地址:https://www.cnblogs.com/sky-cheng/p/11103052.html
Copyright © 2011-2022 走看看