跳转到主内容

SCHANA或SCC Creator插件操作失败、并显示未找到getpid

Views:
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx<a>2010079453</a>
Last Updated:

适用场景

  • 适用于SAP HANA的SnapCenter插件(Linux上的SCHANA) 4.8-4.9P2
  • SnapCenter Creator插件(Linux上的SCC) 4.8-4.9P2

问题描述

hana.log或Sybase.log (<PLUG_IN>、等-来自自动化商店)中发生以下错误:
 ERROR  [pool-#-thread-#] 189 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.ExecutorImpl -Exception occured - Could not determine PID of wrapper process
 
在以下行设置包装进程后,包装进程将检查输入文件:
 DEBUG  [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.ExecutorImpl -createProcess() - Running wrapper: {[/bin/sh, -c, sudo /opt/NetApp/snapcenter/scc/bin/sccCommandExecutor 'plugins/wrapper/wrapper -wid 205 -pn MAXDB -to 3600']}
 DEBUG  [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.WrapperHelperImpl -createRequest() - Wrote request to {/opt/NetApp/snapcenter/scc/plugins/wrapper/in/205+MAXDB+1721812634206+getpid}
 DEBUG  [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.WrapperHelperImpl -executeRequest() - Result file: {/opt/NetApp/snapcenter/scc/plugins/wrapper/out/205+MAXDB+1721812634206+getpid}
 DEBUG  [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.ExecutorImpl -Logger stdout/stderr running={true}/{true}
 DEBUG  [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.ExecutorImpl -Logger stdout/stderr running={false}/{false}
 
由于缺少输出文件,暂停也会失败,但它声称发生了超时,这是误导性的(日志行的计时甚至不显示中设置的1小时超时 agent.properties,它会在几秒内失败):

 INFO  [pool-#-thread-##] 163 com.netapp.plugincreator.workflow.task.Quiesce -Application quiesce result is empty  from plugin MAXDB. skipping metaData update operation
 

 ERROR  [pool-#-thread-##] 189 com.netapp.plugincreator.workflow.util.TaskUtil -Operation failed. Reason: The watchdog killed the running operation. Verify that plugins/wrapper/wrapper binary has execute permission set. Increase the WRAPPER_TIMEOUT_IN_MSEC value in agent.properties if operations require more time to complete.
 ERROR  [pool-#-thread-##] 270 com.netapp.plugincreator.workflow.Task -Operation failed. Reason: The watchdog killed the running operation. Verify that plugins/wrapper/wrapper binary has execute permission set. Increase the WRAPPER_TIMEOUT_IN_MSEC value in agent.properties if operations require more time to complete.
 ERROR  [pool-#-thread-##] 118 com.netapp.plugincreator.workflow.task.Quiesce -SCC-00164: Application quiesce for the plug-in [MAXDB] failed with exit code [102] and with error :Operation failed. Reason: The watchdog killed the running operation. Verify that plugins/wrapper/wrapper binary has execute permission set. Increase the WRAPPER_TIMEOUT_IN_MSEC value in agent.properties if operations require more time to complete.

 
注意: 运行发现(资源刷新)或备份时,在该过程中会启动包装器脚本来监视和输出包装器输入文件,并生成包装器输出文件。
 第一个步骤是获取进程的PID,该PID通常在下的同一个命名文件中返回 scc/plugins/wrapper/out

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.