How can I extend the timeout period for the SMV Image Exporter? (NETIQKB73286)

  • 7773286
  • 01-Dec-2011
  • 01-Dec-2011

Environment

NetIQ AppManager Control Center 7.0.x
NetIQ AppManager Control Center 8.0

Situation

How can I extend the timeout period for the SMV Image Exporter?
When I try to export a Server Management View (SMV) from Control Center using SMVImageExporter.exe, the image is incomplete or contains no details.

Resolution

In order to change connection and command time out for SMVImageExporter.exe you need to create a configuration file (similar to AMCC.exe.config or NQCQS.exe.config).

Create a copy of AMCC.exe.config or NQCQS.exe.config and name it to ServiceMapImageExporter.exe.config and save it to the same directory as the config file that youa re copying.  Then change CONNECTIONTIMEOUT or COMMANDTIMEOUT values in the following section of the new config file to suit your environment.  These values represent seconds:

<?xml version="1.0"?>
<configuration>
  <configSections>
  </configSections>
  <appSettings>
    <add key="TRACELEVEL"        value="warning" />
    <add key="TraceFormat"       value="{T} {L} [Assembly={A}; Method={M} ThreadID={H}] : {m}" />
                      <add key="CONNECTIONTIMEOUT" value="15" />
                      <add key="COMMANDTIMEOUT" value="30" />

                  <!--

Use these attributes to change default SQL connection parameter values:
         
      <add key="CONNECTIONTIMEOUT" value="15" />
      <add key="COMMANDTIMEOUT" value="30" />
      <add key="PACKETSIZE" value="8192" />
      <add key="RETRYCOUNT" value="1" />
          
Default Values:

      Connection Timeout: 15 seconds (time to wait while trying to establish a connection before terminating the attempt and generating an error)
      Command Timeout: 30 seconds (the wait time before terminating the attempt to execute a command and generating an error)
      Packet Size: 8192 bytes (size (in bytes) of network packets used to communicate with an instance of SQL Server)
      Retry Count: 1 (number of times to retry the operation if failed)
           
     
Here are the allowed ranges for the above parameters:

      Connection Timeout: 15-600
      Command Timeout: 15-600
      Packet Size: 512-32767
      Retry Count: 0-3

If the value set for any of those variables in the file cannot be parsed into a number, the default value will be used. If the value falls outside the allowed range, the closest allowed value is used.

Once you've made your changes, save the file, and re-attempt the SMVImageExporter.exe process.

Cause

The SMVImageExporter.exe tool has a built-in Command Time-out value of 30 seconds.  On larger Server Management Views (SMVs), it's possible that the amount of data required to export a complete image may be large enough that the tool is unable to fully export the image within the pre-configured 30 second window.

Additional Information

Formerly known as NETIQKB73286

Feedback service temporarily unavailable. For content questions or problems, please contact Support.