一、安装dell服务器硬件监控工具OMSA
1、安装dell的yum源
[root@localhost yum.repos.d]# curl -s https://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | bash Checking for Dell GPG keys... Incorrect option. Continuing without importing keys Write repository configuration Done!
2、最小化安装OMSA
[root@localhost yum.repos.d]# yum install -y srvadmin-base srvadmin-storageservices 已加载插件:fastestmirror Determining fastest mirrors * base: mirrors.tuna.tsinghua.edu.cn * extras: mirrors.tuna.tsinghua.edu.cn * updates: mirrors.163.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 extras | 2.9 kB 00:00:00 updates | 2.9 kB 00:00:00 (1/6): extras/7/x86_64/primary_db | 230 kB 00:00:00 (2/6): base/7/x86_64/group_gz | 153 kB 00:00:01 (3/6): dell-system-update_dependent/7/x86_64/primary_db | 25 kB 00:00:04 (4/6): dell-system-update_independent/primary_db | 109 kB 00:00:04 (5/6): base/7/x86_64/primary_db | 6.1 MB 00:00:10 (6/6): updates/7/x86_64/primary_db | 6.5 MB 00:00:10 正在解决依赖关系 --> 正在检查事务 ---> 软件包 srvadmin-base.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 srvadmin-xmlsup = 9.5.0,它被软件包 srvadmin-base-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-smcommon = 9.5.0,它被软件包 srvadmin-base-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-ominst = 9.5.0,它被软件包 srvadmin-base-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-omacs = 9.5.0,它被软件包 srvadmin-base-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-cm = 9.5.0,它被软件包 srvadmin-base-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-storageservices.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 srvadmin-sysfsutils = 9.5.0,它被软件包 srvadmin-storageservices-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-storelib = 9.5.0,它被软件包 srvadmin-storageservices-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-storageservices-snmp = 9.5.0,它被软件包 srvadmin-storageservices-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-storageservices-cli = 9.5.0,它被软件包 srvadmin-storageservices-9.5.0-4063.16816.el7.x86_64 需要 --> 正在检查事务 ---> 软件包 srvadmin-cm.x86_64.0.9.5.0-20.09.00 将被 安装 ---> 软件包 srvadmin-omacs.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 srvadmin-omilcore = 9.5.0,它被软件包 srvadmin-omacs-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-ominst.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 libdcsupt.so.9()(64bit),它被软件包 srvadmin-ominst-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 libdcship.so.9()(64bit),它被软件包 srvadmin-ominst-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 libdcsgen.so.9()(64bit),它被软件包 srvadmin-ominst-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 libdcecfl.so.9()(64bit),它被软件包 srvadmin-ominst-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-smcommon.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-storageservices-cli.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 srvadmin-storage-cli = 9.5.0,它被软件包 srvadmin-storageservices-cli-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-storage = 9.5.0,它被软件包 srvadmin-storageservices-cli-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-storageservices-snmp.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 srvadmin-storage-snmp = 9.5.0,它被软件包 srvadmin-storageservices-snmp-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-isvc-snmp = 9.5.0,它被软件包 srvadmin-storageservices-snmp-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-deng-snmp = 9.5.0,它被软件包 srvadmin-storageservices-snmp-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-storelib.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 srvadmin-storelib-sysfs-x86_64 = 9.5.0,它被软件包 srvadmin-storelib-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-storelib-sysfs = 9.5.0,它被软件包 srvadmin-storelib-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-sysfsutils.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-xmlsup.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 libxslt.so.1(LIBXML2_1.0.24)(64bit),它被软件包 srvadmin-xmlsup-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 libxslt.so.1(LIBXML2_1.0.11)(64bit),它被软件包 srvadmin-xmlsup-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 libxslt.so.1()(64bit),它被软件包 srvadmin-xmlsup-9.5.0-4063.16816.el7.x86_64 需要 --> 正在检查事务 ---> 软件包 libxslt.x86_64.0.1.1.28-6.el7 将被 安装 ---> 软件包 srvadmin-deng.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-deng-snmp.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-isvc.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 libdchipm.so.9()(64bit),它被软件包 srvadmin-isvc-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 libdchbas.so.9()(64bit),它被软件包 srvadmin-isvc-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-isvc-snmp.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 net-snmp-utils,它被软件包 srvadmin-isvc-snmp-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-omilcore.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-storage.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 srvadmin-realssd = 9.5.0,它被软件包 srvadmin-storage-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-nvme = 9.5.0,它被软件包 srvadmin-storage-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 srvadmin-marvellib = 9.5.0,它被软件包 srvadmin-storage-9.5.0-4063.16816.el7.x86_64 需要 --> 正在处理依赖关系 libRealSSD-API.so()(64bit),它被软件包 srvadmin-storage-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-storage-cli.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 libclpsup.so.4()(64bit),它被软件包 srvadmin-storage-cli-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-storage-snmp.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-storelib-sysfs.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在检查事务 ---> 软件包 net-snmp-utils.x86_64.1.5.7.2-49.el7_9.1 将被 安装 --> 正在处理依赖关系 net-snmp-libs = 1:5.7.2-49.el7_9.1,它被软件包 1:net-snmp-utils-5.7.2-49.el7_9.1.x86_64 需要 --> 正在处理依赖关系 libnetsnmp.so.31()(64bit),它被软件包 1:net-snmp-utils-5.7.2-49.el7_9.1.x86_64 需要 ---> 软件包 srvadmin-hapi.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-marvellib.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-nvme.x86_64.0.9.5.0-4063.16816.el7 将被 安装 ---> 软件包 srvadmin-omacore.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在处理依赖关系 srvadmin-omcommon,它被软件包 srvadmin-omacore-9.5.0-4063.16816.el7.x86_64 需要 ---> 软件包 srvadmin-realssd.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 正在检查事务 ---> 软件包 net-snmp-libs.x86_64.1.5.7.2-49.el7_9.1 将被 安装 ---> 软件包 srvadmin-omcommon.x86_64.0.9.5.0-4063.16816.el7 将被 安装 --> 解决依赖关系完成 依赖关系解决 =========================================================================================================================== Package 架构 版本 源 大小 =========================================================================================================================== 正在安装: srvadmin-base x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 3.5 k srvadmin-storageservices x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 3.6 k 为依赖而安装: libxslt x86_64 1.1.28-6.el7 base 242 k net-snmp-libs x86_64 1:5.7.2-49.el7_9.1 updates 751 k net-snmp-utils x86_64 1:5.7.2-49.el7_9.1 updates 200 k srvadmin-cm x86_64 9.5.0-20.09.00 dell-system-update_dependent 60 M srvadmin-deng x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 734 k srvadmin-deng-snmp x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 44 k srvadmin-hapi x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 950 k srvadmin-isvc x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 3.8 M srvadmin-isvc-snmp x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 344 k srvadmin-marvellib x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 265 k srvadmin-nvme x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 26 k srvadmin-omacore x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 593 k srvadmin-omacs x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 2.7 M srvadmin-omcommon x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 1.7 M srvadmin-omilcore x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 36 k srvadmin-ominst x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 1.3 M srvadmin-realssd x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 95 k srvadmin-smcommon x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 692 k srvadmin-storage x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 4.5 M srvadmin-storage-cli x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 247 k srvadmin-storage-snmp x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 179 k srvadmin-storageservices-cli x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 3.7 k srvadmin-storageservices-snmp x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 3.7 k srvadmin-storelib x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 523 k srvadmin-storelib-sysfs x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 45 k srvadmin-sysfsutils x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 55 k srvadmin-xmlsup x86_64 9.5.0-4063.16816.el7 dell-system-update_dependent 52 k 事务概要 =========================================================================================================================== 安装 2 软件包 (+27 依赖软件包) 总下载量:80 M 安装大小:222 M Downloading packages: (1/29): net-snmp-utils-5.7.2-49.el7_9.1.x86_64.rpm | 200 kB 00:00:00 (2/29): net-snmp-libs-5.7.2-49.el7_9.1.x86_64.rpm | 751 kB 00:00:00 warning: /var/cache/yum/x86_64/7/dell-system-update_dependent/packages/srvadmin-base-9.5.0-4063.16816.el7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 34d8786f: NOKEY srvadmin-base-9.5.0-4063.16816.el7.x86_64.rpm 的公钥尚未安装 (3/29): srvadmin-base-9.5.0-4063.16816.el7.x86_64.rpm | 3.5 kB 00:00:01 (4/29): libxslt-1.1.28-6.el7.x86_64.rpm | 242 kB 00:00:02 (5/29): srvadmin-deng-9.5.0-4063.16816.el7.x86_64.rpm | 734 kB 00:00:06 (6/29): srvadmin-deng-snmp-9.5.0-4063.16816.el7.x86_64.rpm | 44 kB 00:00:00 (7/29): srvadmin-hapi-9.5.0-4063.16816.el7.x86_64.rpm | 950 kB 00:00:02 (8/29): srvadmin-isvc-9.5.0-4063.16816.el7.x86_64.rpm | 3.8 MB 00:00:04 (9/29): srvadmin-isvc-snmp-9.5.0-4063.16816.el7.x86_64.rpm | 344 kB 00:00:00 (10/29): srvadmin-marvellib-9.5.0-4063.16816.el7.x86_64.rpm | 265 kB 00:00:00 (11/29): srvadmin-nvme-9.5.0-4063.16816.el7.x86_64.rpm | 26 kB 00:00:00 (12/29): srvadmin-omacore-9.5.0-4063.16816.el7.x86_64.rpm | 593 kB 00:00:00 (13/29): srvadmin-omacs-9.5.0-4063.16816.el7.x86_64.rpm | 2.7 MB 00:00:02 (14/29): srvadmin-omcommon-9.5.0-4063.16816.el7.x86_64.rpm | 1.7 MB 00:00:02 (15/29): srvadmin-omilcore-9.5.0-4063.16816.el7.x86_64.rpm | 36 kB 00:00:00 (16/29): srvadmin-ominst-9.5.0-4063.16816.el7.x86_64.rpm | 1.3 MB 00:00:01 (17/29): srvadmin-realssd-9.5.0-4063.16816.el7.x86_64.rpm | 95 kB 00:00:00 (18/29): srvadmin-smcommon-9.5.0-4063.16816.el7.x86_64.rpm | 692 kB 00:00:01 (19/29): srvadmin-storage-9.5.0-4063.16816.el7.x86_64.rpm | 4.5 MB 00:00:07 (20/29): srvadmin-storage-cli-9.5.0-4063.16816.el7.x86_64.rpm | 247 kB 00:00:00 (21/29): srvadmin-storage-snmp-9.5.0-4063.16816.el7.x86_64.rpm | 179 kB 00:00:00 (22/29): srvadmin-storageservices-9.5.0-4063.16816.el7.x86_64.rpm | 3.6 kB 00:00:00 (23/29): srvadmin-storageservices-cli-9.5.0-4063.16816.el7.x86_64.rpm | 3.7 kB 00:00:00 (24/29): srvadmin-storageservices-snmp-9.5.0-4063.16816.el7.x86_64.rpm | 3.7 kB 00:00:00 (25/29): srvadmin-storelib-9.5.0-4063.16816.el7.x86_64.rpm | 523 kB 00:00:00 (26/29): srvadmin-storelib-sysfs-9.5.0-4063.16816.el7.x86_64.rpm | 45 kB 00:00:00 (27/29): srvadmin-sysfsutils-9.5.0-4063.16816.el7.x86_64.rpm | 55 kB 00:00:00 (28/29): srvadmin-xmlsup-9.5.0-4063.16816.el7.x86_64.rpm | 52 kB 00:00:00 (29/29): srvadmin-cm-9.5.0-20.09.00.x86_64.rpm | 60 MB 00:01:35 --------------------------------------------------------------------------------------------------------------------------- 总计 858 kB/s | 80 MB 00:01:35 从 https://linux.dell.com/repo/pgp_pubkeys/0x756ba70b1019ced6.asc 检索密钥 导入 GPG key 0x1019CED6: 用户ID : "Dell Inc., PGRE 2011 (PG Release Engineering Build Group 2011) <PG_Release_Engineering@Dell.com>" 指纹 : 79a1 61f5 a83f 992c cb10 a544 756b a70b 1019 ced6 来自 : https://linux.dell.com/repo/pgp_pubkeys/0x756ba70b1019ced6.asc 从 https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc 检索密钥 导入 GPG key 0x34D8786F: 用户ID : "Dell Inc., PGRE 2012 (PG Release Engineering Build Group 2012) <PG_Release_Engineering@Dell.com>" 指纹 : 4255 0abd 1e80 d7c1 bc0b ad85 1285 4914 34d8 786f 来自 : https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc 从 https://linux.dell.com/repo/pgp_pubkeys/0xca77951d23b66a9d.asc 检索密钥 从 https://linux.dell.com/repo/pgp_pubkeys/0x3CA66B4946770C59.asc 检索密钥 导入 GPG key 0x46770C59: 用户ID : "Dell Inc. CSSRE 2020 (Customer Software Solutions Release Engineering 2020) <css.release.engineering@dell.com>" 指纹 : 768e 2bbe 6c61 34ee fea2 4d99 3ca6 6b49 4677 0c59 来自 : https://linux.dell.com/repo/pgp_pubkeys/0x3CA66B4946770C59.asc Running transaction check Running transaction test Transaction test succeeded Running transaction 警告:RPM 数据库已被非 yum 程序修改。 正在安装 : srvadmin-omilcore-9.5.0-4063.16816.el7.x86_64 1/29 ********************************************************** 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-9.5.0-4063.16816.el7.x86_64 2/29 正在安装 : srvadmin-omacs-9.5.0-4063.16816.el7.x86_64 3/29 正在安装 : srvadmin-smcommon-9.5.0-4063.16816.el7.x86_64 4/29 正在安装 : srvadmin-sysfsutils-9.5.0-4063.16816.el7.x86_64 5/29 正在安装 : srvadmin-deng-snmp-9.5.0-4063.16816.el7.x86_64 6/29 正在安装 : srvadmin-hapi-9.5.0-4063.16816.el7.x86_64 7/29 正在安装 : srvadmin-isvc-9.5.0-4063.16816.el7.x86_64 8/29 正在安装 : srvadmin-ominst-9.5.0-4063.16816.el7.x86_64 9/29 正在安装 : srvadmin-omcommon-9.5.0-4063.16816.el7.x86_64 10/29 正在安装 : srvadmin-nvme-9.5.0-4063.16816.el7.x86_64 11/29 正在安装 : libxslt-1.1.28-6.el7.x86_64 12/29 正在安装 : srvadmin-xmlsup-9.5.0-4063.16816.el7.x86_64 13/29 正在安装 : srvadmin-omacore-9.5.0-4063.16816.el7.x86_64 14/29 正在安装 : 1:net-snmp-libs-5.7.2-49.el7_9.1.x86_64 15/29 正在安装 : 1:net-snmp-utils-5.7.2-49.el7_9.1.x86_64 16/29 正在安装 : srvadmin-isvc-snmp-9.5.0-4063.16816.el7.x86_64 17/29 正在安装 : srvadmin-cm-9.5.0-20.09.00.x86_64 18/29 正在安装 : srvadmin-storelib-sysfs-9.5.0-4063.16816.el7.x86_64 19/29 正在安装 : srvadmin-storelib-9.5.0-4063.16816.el7.x86_64 20/29 正在安装 : srvadmin-realssd-9.5.0-4063.16816.el7.x86_64 21/29 正在安装 : srvadmin-marvellib-9.5.0-4063.16816.el7.x86_64 22/29 正在安装 : srvadmin-storage-9.5.0-4063.16816.el7.x86_64 23/29 正在安装 : srvadmin-storage-cli-9.5.0-4063.16816.el7.x86_64 24/29 正在安装 : srvadmin-storageservices-cli-9.5.0-4063.16816.el7.x86_64 25/29 正在安装 : srvadmin-storage-snmp-9.5.0-4063.16816.el7.x86_64 26/29 正在安装 : srvadmin-storageservices-snmp-9.5.0-4063.16816.el7.x86_64 27/29 正在安装 : srvadmin-storageservices-9.5.0-4063.16816.el7.x86_64 28/29 正在安装 : srvadmin-base-9.5.0-4063.16816.el7.x86_64 29/29 验证中 : srvadmin-base-9.5.0-4063.16816.el7.x86_64 1/29 验证中 : 1:net-snmp-utils-5.7.2-49.el7_9.1.x86_64 2/29 验证中 : srvadmin-marvellib-9.5.0-4063.16816.el7.x86_64 3/29 验证中 : srvadmin-storage-9.5.0-4063.16816.el7.x86_64 4/29 验证中 : srvadmin-isvc-snmp-9.5.0-4063.16816.el7.x86_64 5/29 验证中 : srvadmin-storelib-9.5.0-4063.16816.el7.x86_64 6/29 验证中 : srvadmin-smcommon-9.5.0-4063.16816.el7.x86_64 7/29 验证中 : srvadmin-deng-snmp-9.5.0-4063.16816.el7.x86_64 8/29 验证中 : srvadmin-isvc-9.5.0-4063.16816.el7.x86_64 9/29 验证中 : srvadmin-hapi-9.5.0-4063.16816.el7.x86_64 10/29 验证中 : srvadmin-realssd-9.5.0-4063.16816.el7.x86_64 11/29 验证中 : srvadmin-omcommon-9.5.0-4063.16816.el7.x86_64 12/29 验证中 : srvadmin-omilcore-9.5.0-4063.16816.el7.x86_64 13/29 验证中 : srvadmin-storageservices-9.5.0-4063.16816.el7.x86_64 14/29 验证中 : srvadmin-omacore-9.5.0-4063.16816.el7.x86_64 15/29 验证中 : srvadmin-storageservices-snmp-9.5.0-4063.16816.el7.x86_64 16/29 验证中 : srvadmin-storelib-sysfs-9.5.0-4063.16816.el7.x86_64 17/29 验证中 : srvadmin-cm-9.5.0-20.09.00.x86_64 18/29 验证中 : srvadmin-storageservices-cli-9.5.0-4063.16816.el7.x86_64 19/29 验证中 : srvadmin-storage-cli-9.5.0-4063.16816.el7.x86_64 20/29 验证中 : 1:net-snmp-libs-5.7.2-49.el7_9.1.x86_64 21/29 验证中 : libxslt-1.1.28-6.el7.x86_64 22/29 验证中 : srvadmin-omacs-9.5.0-4063.16816.el7.x86_64 23/29 验证中 : srvadmin-nvme-9.5.0-4063.16816.el7.x86_64 24/29 验证中 : srvadmin-sysfsutils-9.5.0-4063.16816.el7.x86_64 25/29 验证中 : srvadmin-deng-9.5.0-4063.16816.el7.x86_64 26/29 验证中 : srvadmin-xmlsup-9.5.0-4063.16816.el7.x86_64 27/29 验证中 : srvadmin-ominst-9.5.0-4063.16816.el7.x86_64 28/29 验证中 : srvadmin-storage-snmp-9.5.0-4063.16816.el7.x86_64 29/29 已安装: srvadmin-base.x86_64 0:9.5.0-4063.16816.el7 srvadmin-storageservices.x86_64 0:9.5.0-4063.16816.el7 作为依赖被安装: libxslt.x86_64 0:1.1.28-6.el7 net-snmp-libs.x86_64 1:5.7.2-49.el7_9.1 net-snmp-utils.x86_64 1:5.7.2-49.el7_9.1 srvadmin-cm.x86_64 0:9.5.0-20.09.00 srvadmin-deng.x86_64 0:9.5.0-4063.16816.el7 srvadmin-deng-snmp.x86_64 0:9.5.0-4063.16816.el7 srvadmin-hapi.x86_64 0:9.5.0-4063.16816.el7 srvadmin-isvc.x86_64 0:9.5.0-4063.16816.el7 srvadmin-isvc-snmp.x86_64 0:9.5.0-4063.16816.el7 srvadmin-marvellib.x86_64 0:9.5.0-4063.16816.el7 srvadmin-nvme.x86_64 0:9.5.0-4063.16816.el7 srvadmin-omacore.x86_64 0:9.5.0-4063.16816.el7 srvadmin-omacs.x86_64 0:9.5.0-4063.16816.el7 srvadmin-omcommon.x86_64 0:9.5.0-4063.16816.el7 srvadmin-omilcore.x86_64 0:9.5.0-4063.16816.el7 srvadmin-ominst.x86_64 0:9.5.0-4063.16816.el7 srvadmin-realssd.x86_64 0:9.5.0-4063.16816.el7 srvadmin-smcommon.x86_64 0:9.5.0-4063.16816.el7 srvadmin-storage.x86_64 0:9.5.0-4063.16816.el7 srvadmin-storage-cli.x86_64 0:9.5.0-4063.16816.el7 srvadmin-storage-snmp.x86_64 0:9.5.0-4063.16816.el7 srvadmin-storageservices-cli.x86_64 0:9.5.0-4063.16816.el7 srvadmin-storageservices-snmp.x86_64 0:9.5.0-4063.16816.el7 srvadmin-storelib.x86_64 0:9.5.0-4063.16816.el7 srvadmin-storelib-sysfs.x86_64 0:9.5.0-4063.16816.el7 srvadmin-sysfsutils.x86_64 0:9.5.0-4063.16816.el7 srvadmin-xmlsup.x86_64 0:9.5.0-4063.16816.el7 完毕!
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、启动OMSA
[root@localhost init.d]# /etc/init.d/dataeng start
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块出现问题了。