Network Management

Adjusting the SWIS execution time out values

This article provide information on how to adjust SWIS config values which might be needed in some distributed setup of Orion with Multiple pollers.

First published date

11/7/2018 5:33 PM

Last published date

10/18/2019 9:42 AM

Overview

In a multi poller environment where the main poller is in one Geo location for example UK and the APE or AWS (Additional Web Server ) is in another Goe Location example Singapore you may encounter below SWIS error(s), during an configuration wizard run.

Below error as seen in 12.5 during upgrade to apply HF1

2019-09-20 17:59:46,927 [30] ERROR TaskAdapter - Error running task Orion.EnsureSwisContainerStorageIsAvailable Verifying that the SWIS container storage is available
SolarWinds.ConfigurationWizard.Common.ConfigurationException: Connection to SolarWinds Information Service did not succeed.
Last error: RunQuery failed, check fault information.
Container storage is not initialized. Reason: InvalidOperationException:Not yet initialized ---> System.ServiceModel.FaultException`1[SolarWinds.InformationService.Contract2.InfoServiceFaultContract]: RunQuery failed, check fault information.
Container storage is not initialized. Reason: InvalidOperationException:Not yet initialized
   at SolarWinds.InformationService.InformationServiceClient.InformationServiceCommand.CreateFaultException(Message message)

Product section

Orion Platform

Cause

In Environment where Main poller and AWS or APE are in different Geo-location.

Resolution

1. On the AWS or APE locate ConfigurationWizard.exe.config file in %InstallationDrive%\Program Files (x86)\SolarWinds\Orion and add/update the following Key value pairs between <appSettings> </appSettings>
    <add key="SWISConnectionRetries" value="6"/>
    <add key="SWISConnectionRetryIntervalOnFail" value="30"/>
    <add key="SWISConnectionRetryInterval" value="5"/>
    <add key="SWISMaxWaitingTime" value="00:01:30"/>
    <add key="SWISContainerQueryRetryWait" value="00:00:10"/>
    <add key="SWISContainerQueryRetries" value="5"/>
    <add key="SWISContainerQueryTimeout" value="00:00:10"/>
2. Save the file and re-run the configuration wizard

In case you run into same error again, then try to increase the timeout and retry values especially.

For your reference, the default values in ConfigurationWizard.exe.config are as shown below as of NPM 12.5
 <appSettings>
    <add key="HelpUrlBase" value="http://www.solarwinds.com/"/>
    <add key="SWISConnectionRetries" value="6"/>
    <add key="SWISConnectionRetryIntervalOnFail" value="30"/>
    <add key="SWISConnectionRetryInterval" value="5"/>
    <add key="SWISMaxWaitingTime" value="00:01:30"/>
    <add key="SWISContainerQueryRetryWait" value="00:00:10"/>
    <add key="SWISContainerQueryRetries" value="2"/>
    <add key="SWISContainerQueryTimeout" value="00:00:10"/>
    <add key="SqlCommandTimeout" value="0"/>
    <add key="DisableWebsiteOptimization" value="false"/>
    <add key="ImportCannedReports" value="true"/>
    <add key="CachePath" value="%TEMP%\SolarWinds\"/>
    <add key="DisableShadowCopy" value="False"/>
    <add key="Packaging.Internal.RepairMode" value="true"/>
    <add key="OpenDatabaseRetries" value="4"/>
    <add key="AlertMigrationEnabled" value="true"/>
    <add key="AlwaysBackupWebsite" value="false"/>
    <add key="PrecompiledWebsiteDisabled" value="false"/>
    <add key="IgnoreMissingPrecompiledWebsite" value="false"/>
    <add key="IgnoreDeploymentConflicts" value="true"/>
    <add key="ImpersonatorLogonProvider" value="0"/>
    <add key="ImpersonatorLogonType" value="8"/>
    <add key="TimeSeries_MemoryOptimizedTables_Enabled" value="true"/>
    <add key="TimeSeries_MemoryOptimizedTables_MemoryRequired" value="16384"/>
    <add key="MaxParallelTasks" value="1"/>
  </appSettings>