跳转到主内容

在 RHEL 7.x 或 OVA 上的 OnCommand Unified Manager 9.5 上,采集服务器不会保持启动状态

Views:
24
Visibility:
Public
Votes:
0
Category:
oncommand-unified-manager
Specialty:
om
Last Updated:

适用场景

  • OnCommand Unified Manager 9.5 
  • RHEL 7.x
  • 虚拟设备

问题描述

从 Unified Manager 9.4 升级到 9.5 后, "ocieau " 服务不会保持联机。

由于 OnCommand 采集服务已关闭, OCUM/Unified Manager 9.x 无法监控所有集群。
升级
OnCommand Unified Manager 后, OCIEAU 服务不会在 RHEL 7.x 上保持联机采集停止。

检查 ocieau 服务的状态:

 systemctl status ocieau.service
* ocieau.service - LSB: OnCommand Insight Essentials AU
 Loaded: loaded (/opt/netapp/systemd/system/ocieau; enabled; vendor preset: disabled)
 Active: inactive (dead) since Mon 2019-01-21 10:39:20 CET; 23min ago
 Process: 16276 ExecStop=/opt/netapp/systemd/system/ocieau stop (code=exited, status=0/SUCCESS)
 Process: 15656 ExecStart=/opt/netapp/systemd/system/ocieau start (code=exited, status=0/SUCCESS)
 Main PID: 15656 (code=exited, status=0/SUCCESS)

Jan 21 10:37:53 %SystemName% systemd[1]: Starting LSB: OnCommand Insight Essentials AU...
Jan 21 10:37:53 %SystemName% ocieau[15656]: Starting NetApp OnCommand Insight Essentials Acqisition service ocieau
Jan 21 10:37:53 %SystemName% ocieau[15656]: NetApp OnCommand Insight Essentials Acquisition service started successfully
Jan 21 10:37:53 %SystemName% systemd[1]: Started LSB: OnCommand Insight Essentials AU.
Jan 21 10:39:20 %SystemName% systemd[1]: Stopping LSB: OnCommand Insight Essentials AU...
Jan 21 10:39:20 %SystemName% ocieau[16276]: NetApp OnCommand Insight Essentials Acquisition service already stopped
Jan 21 10:39:20 %SystemName% systemd[1]: Stopped LSB: OnCommand Insight Essentials AU.


在 OCUMserver.log 中,列出

了正在等待下一次更改日志更新。

%datestamp% ERROR [oncommand] [pool-21-thread-3] [c.n.i.c.u.AcquisitionUnitStatusUtil] Unable to invoke AU EJB
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
        java.net.ConnectException: Connection refused (Connection refused)]
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)
        at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
        at com.netapp.ipc.common.util.AcquisitionUnitStatusUtil.getAcquisitionUnitStartTime(AcquisitionUnitStatusUtil.java:42)
        at com.netapp.ipc.common.util.AcquisitionUnitStatusUtil.isAcquisitionUnitRunning(AcquisitionUnitStatusUtil.java:30)
        at com.netapp.scalemonitor.service.DiskMonitorService.monitor(DiskMonitorService.java:134)
        at com.netapp.scalemonitor.ScaleMonitor.monitorDiskSpace(ScaleMonitor.java:35)
        at com.netapp.scalemonitor.ScaleMonitorConfiguration$1.run(ScaleMonitorConfiguration.java:55)
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
        at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: javax.naming.ServiceUnavailableException: null
        at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:136)
        at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205)
        at javax.naming.InitialContext.lookup(InitialContext.java:417)
        at javax.naming.InitialContext.lookup(InitialContext.java:417)
        at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1955)
        at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1922)
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)
        ... 15 common frames omitted
Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
        java.net.ConnectException: Connection refused (Connection refused)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:338)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:112)
        at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:132)
        ... 21 common frames omitted
Caused by: java.net.ConnectException: Connection refused (Connection refused)
        at java.net.PlainSocketImpl.socketConnect(Native Method)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.