跳转到主内容

无法在 ActiveIQ Unified Manager 9.7 和 9.8 中生成数据库备份

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

状态信息

适用场景

ActiveIQ Unified Manager 9.7 和 9.8 (所有平台)

问题描述

在数据库备份失败期间,观察到以下一种或多种情况。

  • 从管理 / 数据库备份视图中的计划触发时,不存在任何数据库备份。
  • ocumserver.log 报告执行刷新查询时与 MySQL 的连接失败。

ERROR [oncommand] [taskScheduler-1] [Backup|ScheduleBackup] [c.n.d.i.b.MySqlDumpBackupManager] Error occured while taking mysql dump. Error message:
ERROR [oncommand] [taskScheduler-1] [Backup|ScheduleBackup] [c.n.d.i.b.MySqlDumpBackupManager] mysqldump: Couldn't execute 'FLUSH /*!40101 LOCAL */ TABLES': Lost connection to MySQL server during query (2013)
INFO  [oncommand] [taskScheduler-1] [Backup|ScheduleBackup] [c.n.d.i.b.MySqlDumpBackupManager] Deleted BackupFileInfo entity in DB
ERROR [oncommand] [taskScheduler-1] [Backup|ScheduleBackup] [c.n.d.impl.backup.BackupScheduleJob] Error occurred in Regular Backup Job:
com.netapp.dfm.impl.backup.BackupCreationException: Failed to create database backup using mysql utility.
    at deployment.dfm-app.war//com.netapp.dfm.impl.backup.MySqlDumpBackupManager.collectMysqlDump(MySqlDumpBackupManager.java:722)
..

  • ocumserver.log 报告在与上述 MySQL 查询失败相同的时间内不同线程的内存耗尽情况。

INFO [oncommand] [Thread-248] [c.n.i.s.OpmThreadPoolExecutorMonitor$ResourceMonitor] The total amount of memory used is greater than 80%

  • ocumserver.log 报告内存分配失败。

ERROR [oncommand] [taskScheduler-3] [Backup|ScheduleBackup] [c.n.d.impl.backup.BackupScheduleJob] Error while creating the backup:
com.netapp.dfm.impl.backup.BackupCreationException: Error occurred while creating backup archive <BACKUP_FILE_PATH>.
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupArchiver.createArchive(BackupArchiver.java:130)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupArchiver.createArchive(BackupArchiver.java:95)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupRestoreManager.compressDatabaseDumpFileAndDeleteOrigional(BackupRestoreManager.java:492)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupRestoreManager.collectMysqlDump(BackupRestoreManager.java:591)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupRestoreManager.createBackupInTransaction(BackupRestoreManager.java:237)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupRestoreManager.createBackup(BackupRestoreManager.java:195)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupRestoreManager$$FastClassBySpringCGLIB$$7bcdd65f.invoke(<generated>)
   at deployment.dfm-app.war//org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
   at deployment.dfm-app.war//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:651)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupRestoreManager$$EnhancerBySpringCGLIB$$e82dbfff.createBackup(<generated>)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupScheduleJob.run(BackupScheduleJob.java:38)
   at deployment.dfm-app.war//com.netapp.dfm.core.scheduling.DelegatingJob.execute(DelegatingJob.java:53)
   at deployment.dfm-app.war//org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   at deployment.dfm-app.war//org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
   at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   at deployment.dfm-app.war//com.netapp.dfm.common.logging.MDCClearingThreadFactory$1.run(MDCClearingThreadFactory.java:28)
   at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.Exception: ERROR: Can't allocate required memory!
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupRestoreManager.runWindowsCommand(BackupRestoreManager.java:1128)
   at deployment.dfm-app.war//com.netapp.dfm.impl.backup.BackupArchiver.createArchive(BackupArchiver.java:126)
   ... 20 common frames omitted

 

注意: 请参见 Unified Manager :哪些是值得注意的日志文件及其各自的位置?以获取的位置 ocumserver.log. 

 

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.