跳转到主内容

如何使用 Active IQ Unified Manager 解决内存问题

Views:
127
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

适用场景

  • Active IQ Unified Manager (AIQUM)
  • OnCommand统一管理器(OCUM)

问题解答

  1. 确定已分配和预留的内存量

  2. 确定保留的内存量

    • 正在利用预留的内存应已满或无、因为预留百分比可能会出现发生原因问题

  3. 检查AIQUM内存建议

软件版本 系统要求

Active IQ Unified Manager 9.6及更高版本

VMware OVA— 虚拟基础架构或硬件系统要求
Microsoft Windows - 虚拟基础架构或硬件系统要求
Red Hat和CentOS Linux— 虚拟基础架构或硬件系统要求
OnCommand Unified Manager 9.5及更早版本 虚拟基础架构或硬件系统要求
  1. 查看规模估算的最佳实践建议

    1. 请参见第10页—"Unified Manager可扩展性"
  2. 根据需要调整内存

    1. VMware文档- 更改内存配置
    2. VMware文档- 在VMware主机客户端中为虚拟机分配内存资源
  3. 确认 虚拟机上未发生膨胀或交换。

    1. VMware文档- 内存(数据计数器)
    2. VMware文档- 内存(MB)
  4. 检查是否存在内存不足的 Unified Manager组件 

  5. 仅限Linux - Linux可能会停止Unified Manager进程以释放内存

    1. 在Linux平台上、检查 Oom"Out of Memory" Killer Ending Processes以释放内存。
    2. 在极少数 情况下、Red Hat和CentOS平台会终止 Unified Manager服务/进程以释放内存。
      1. 如何解决Red Hat Enterprise Linux中内存不足(Oom)的致命问题?

Dec 8 22:00:18 um-hostname kernel: Out of memory: Kill process 45678 (java) score 228 or sacrifice child
Dec 8 22:00:18 um-hostname kernel: Killed process 45988 (sh) total-vm:122868kB, anon-rss:260kB, file-rss:0kB, shmem-rss:0kB
Dec 8 22:00:19 um-hostname systemd: mysqld.service: main process exited, code=killed, status=9/KILL
Dec 8 22:00:19 um-hostname systemd: Unit mysqld.service entered failed state.
Dec 8 22:00:19 um-hostname systemd: mysqld.service failed.
Dec 8 22:00:20 um-hostname systemd: mysqld.service holdoff time over, scheduling restart.
Dec 8 22:00:20 um-hostname systemd: Stopped MySQL Server.
Dec 8 22:00:20 um-hostname systemd: Starting MySQL Server...

追加信息

常见内存问题包括

  • Unified Manager应用程序运行缓慢:
    • 服务联机需要很长时间。
    • WebGUI 速度较慢。
    • 备份需要很长时间(并且可能会失败)。
  • Unified Manager应用程序CPU和/或内存利用率极高;正在使用交换/页面文件。
  • Unified Manager应用程序出现不一致的行为:
    • 服务挂起。
    • 服务正在重新启动。
    • 服务根本无法启动(尤其是升级后)
    • 警报通知偶尔出现问题。
    • 清单/ 性能采集轮询可能无法在正常的15分钟/5分钟周期内完成。
    • 在虚拟环境中运行时出现其他异常(无法解释)的不一致行为。
  • VMware ESXi 将显示以下一项或多项:
    • 内存气球
    • 正在交换
    • 透明的页面共享
    • 数据压缩
  • 扩展监控消息
    • "Unified Manager服务器内存不足"
      • Memory_low_on_ocum.PNG
  • 日志指示:
    • MySQL ""error.log文件:
      • 2020-04-12T04:02:10.036849Z 205 [Note] Aborted connection XXX to db: 'unconnected' user: 'jboss' host: 'localhost' (Failed on my_net_write())
      • 2020-04-12T08:50:42.808598Z 450 [Note] Got timeout reading communication packets
    • Unified Manager ""server_mega.log文件:
      • 2020-04-12 06:11:01,221 ERROR [default task-4] c.n.s.s.a.OriginatorUpdateServlet (OriginatorUpdateServlet.java:82) - Transaction rolled back: javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
    • Unified Manager ""ocumserver.log文件: 
      • 2019-06-06 02:49:49、566 INFO OnCommand [Memority][Pool-22-thread-4][C.N.E.B.UnifiedManagerMemoryEventTypeController] Scale Monitor: New Memory Event Created:event id=128123,eventSeerity=low,thleholdValue=5.0,currentUsageValue=6.690000057220459,AutotalSize68JVM=75Ev10
      • 2019-06-06 01:49:49,190 INFO [oncommand] [pool-22-thread-55] [c.n.d.e.p.e.b.UnifiedManagerMemoryEventTypeController] Scale Monitor: New Memory Event Created: event id=128094,eventSeverity=almostOut, thresholdValue=7.0, currentUsageValue=7.195000171661377, totalMemorySizeValue=1.365997568E10, jvm=AuJvm

注意:这并不是指示内存问题的所有日志列表。请注意、NetApp支持部门会找到其他可能指示内存问题的日志行。

 

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.