登陸目標主機,查看dataeng服務數組
[root@push-5-217 src]# 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-08-21 10:44:30 CST; 12min ago Docs: man:systemd-sysv-generator(8) Process: 15114 ExecStop=/etc/rc.d/init.d/dataeng stop (code=exited, status=0/SUCCESS) Process: 15158 ExecStart=/etc/rc.d/init.d/dataeng start (code=exited, status=0/SUCCESS) CGroup: /system.slice/dataeng.service ├─15245 /opt/dell/srvadmin/sbin/dsm_sa_datamgrd ├─15426 /opt/dell/srvadmin/sbin/dsm_sa_datamgrd ├─15442 /opt/dell/srvadmin/sbin/dsm_sa_eventmgrd └─15467 /opt/dell/srvadmin/sbin/dsm_sa_snmpd 8月 21 10:44:23 push-5-217.hlsms systemd[1]: Starting LSB: Systems Management Data Engine... 8月 21 10:44:23 push-5-217.hlsms dataeng[15158]: Starting Systems Management Data Engine: 8月 21 10:44:28 push-5-217.hlsms dataeng[15158]: Starting dsm_sa_datamgrd: [ 肯定 ] 8月 21 10:44:29 push-5-217.hlsms dataeng[15158]: Starting dsm_sa_eventmgrd: [ 肯定 ] 8月 21 10:44:30 push-5-217.hlsms dataeng[15158]: Starting dsm_sa_snmpd: [ 肯定 ] 8月 21 10:44:30 push-5-217.hlsms systemd[1]: Started LSB: Systems Management Data Engine.
服務正常,測試命令測試
[root@push-5-217 src]# omreport chassis memory Memory Information Error : Memory object not found
重啓服務後,再測試,依然返回錯誤,spa
[root@push-5-217 src]# ipcs -sl --------- 信號量限制 ----------- 最大數組數量 = 128 每一個數組的最大信號量數目 = 250 系統最大信號量數 = 32000 每次信號量調用最大操做數 = 32 信號量最大值 = 32767
最大數組數128個code
[root@push-5-217 src]# ipcs -us --------- 信號量狀態 ----------- 已使用數組 = 128 已分配信號量數 = 140
能夠看出已使用128個數組,已經達到上限了。orm
[root@push-5-217 src]# ipcs -p --------- 消息隊列 PID ----------- msqid 擁有者 lspid lrpid -------- 共享內存 建立者/上次修改者 PID ---------- shmid 擁有者 cpid lpid 65536 zabbix 17461 15977
[root@push-5-217 src]# cat /proc/sys/kernel/sem 250 32000 32 128
當前設置值爲128blog
[root@push-5-217 src]# sysctl -w kernel.sem="250 32000 100 256" kernel.sem = 250 32000 100 256 [root@push-5-217 src]# cat /proc/sys/kernel/sem 250 32000 100 256
修改成256隊列
250 32000 100 256 [root@push-5-217 src]# ipcs -sl --------- 信號量限制 ----------- 最大數組數量 = 256 每一個數組的最大信號量數目 = 250 系統最大信號量數 = 32000 每次信號量調用最大操做數 = 100 信號量最大值 = 32767
此時,信號器上限已經擴大爲256了,再運行命令ip
[root@push-5-217 src]# 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 Index : 2 Interface Name : em3 Vendor : Broadcom Corporation Description : NetXtreme BCM5720 Gigabit Ethernet PCIe Connection Status : Disconnected Slot : Embedded Index : 3 Interface Name : em4 Vendor : Broadcom Corporation Description : NetXtreme BCM5720 Gigabit Ethernet PCIe Connection Status : Disconnected Slot : Embedded
成功獲取到了硬件信息。內存