Submit a ticketCall us
Home > Success Center > Orion Platform > Orion - Knowledgebase Articles > Run the SolarWinds Orion Installer in silent mode

Run the SolarWinds Orion Installer in silent mode

Updated: January 2, 2019

Overview

Silent mode means that the installer runs silently, without displaying the user interface.

If you have deployed scalability engines (additional web servers, additional polling engines, or high availability backup servers), upgrade your main Orion server first, and then upgrade your scalability engines.

With the Orion Installer 2.1 and later, Centralized Upgrades are available. As long as your scalability engines are reachable, the installer can upgrade all scalability engines from your Orion server in parallel. If the installer encounters issues with a scalability engine, it will not upgrade that engine but will continue the process and upgrade as many scalability engines as possible. A scalability engine is not upgraded if:

  • The scalability engine is unreachable
  • The preflight check discovers an issue that blocks the upgrade

Environment

For earlier Orion Platform versions, see Install NPM and modules in unattended mode.

Steps

Before you run the scripts, make sure SQL Server is installed and accessible from the server where the software is installed.

Known limitations

  • You cannot specify proxy settings in silent installation mode.
  • You cannot change the installation language in silent mode. When installed using silent mode, your Orion Web Console is in English.

Installation Overview

To install Orion Platform products in silent mode, complete the following steps:

  1. Adjust the configuration file.
  2. Run the silent installation commands to install Orion Platform products or scalability engines.
  3. If you have deployed scalability engines, run the silent installation command to upgrade existing scalability engines

Step 1: Adjust the configuration file

  1. Review the following configuration examples (XML).
  2. Copy the example that suits your environment and save it.
  3. Adjust the file as necessary.

Parameters for installing Orion Platform products

Specify the following parameters to install Orion Platform products.

Parameters Values Description
<ProductsToInstall>

or

Specify Orion Platform products to be installed.

  • You cannot install EOC on the same computer with other Orion Platform products.
  • PM is not recommended.
<InstallPath>

Example:

C:\OrionSetup

Specify where you want to install Orion Platform products.

When upgrading, the installation path is reused from the existing installation, and this parameter does not have any effect.

<AdvancedInstallMode> True/False

False: The installer runs in the Express mode, it installs SQL Express, and runs the Configuration wizard with default configuration values. If you specify the values in the config file, the defaults are overwritten with your input.

True: All information required by the Configuration wizard must be provided in the XML configuration file, including the SQL Server instance details.

Parameters for installing a scalability engine

If you are installing a scalability engine, specify the following parameters. (These parameters are supported from January 2018.)

<MainPollerHostname>

Example:

1.1.1.1

Specify the IP address or domain name of the main Orion server.

<ServerType>

AdditionalPoller

AdditionalWebsite

FreePoller

MainPoller

Specify the type of scalability engine to be installed. 
If MainPollerHostname is not specified, the default value is set to MainPoller.

If MainPollerHostname is specified, the default value is AdditionalPoller.

<IsStandby> True/False

Specify  whether the installation should be a High Availability standby server. This applies only when the ServerType is specified as MainPoller or AdditionalPoller. It is false by default.

Example A: Installation with SQL Express (evaluations)

This configuration file installs evaluation versions of NPM and NCM.

If NTA were one of the products to install, the silent installer also installs the Flow Storage Database on the same computer.

<?xml version="1.0" encoding="utf-8"?>
<SilentConfig>
    <InstallerConfiguration>
        <ProductsToInstall>NPM,NCM</ProductsToInstall>
        <InstallPath>c:\Temp\OrionSetup\</InstallPath>
        <AdvancedInstallMode>False</AdvancedInstallMode>
     </InstallerConfiguration>
</SilentConfig>

Example B: Standard fresh installation with an existing database

To provide the SQL Server instance name and/or port, use the following syntax:

<ServerName>hostname\instance,port</ServerName> 
 <?xml version="1.0" encoding="utf-8"?>
<SilentConfig>
    <InstallerConfiguration>
        <ProductsToInstall>NPM</ProductsToInstall>
        <AdvancedInstallMode>True</AdvancedInstallMode>
        <SkipConfigurationWizardRun>False</SkipConfigurationWizardRun>
    </InstallerConfiguration>
    <Host>
        <Info>
            <ReconfigureDatabase>true</ReconfigureDatabase>
            <ReconfigureWebsite>true</ReconfigureWebsite>
            <ReconfigureServices>true</ReconfigureServices>
            <ReconfigurePermissions>true</ReconfigurePermissions>
            <Database>
                <CreateNewDatabase>true</CreateNewDatabase>
                <!--(Sets flag to create new database during CW)-->
                <UseSQLSecurity>true</UseSQLSecurity>
                <!--(Enables SQL Server authentication)-->
                <DatabaseName>SolarWindsOrion</DatabaseName>
                <!--(Orion database name)-->
                <DatabasePath/>
                <ServerName>10.10.10.10</ServerName>
                <!--(SQL server name for silent config wizard, e.g.: localhost)-->
                <InstanceName/>
                <!--(SQL instance name for silent config wizard)-->
                <UserPassword>Password</UserPassword>
                <!--(SQL account password,  when you enabled UseSqlAuthentication)-->
                <User>sa</User>
                <!--(SQL account username, when you enabled UseSqlAuthentication)-->
                <AccountType>NewSql</AccountType>
                <!--(Orion database account access type. Other possible values: ExistingSql, ExistingWindows)-->
                <Account>SolarWindsOrionDatabaseUser</Account>
                <!--(Name of Orion database account, e.g.: SolarwindsOrionDatabaseUser)-->
                <AccountPassword>a</AccountPassword>
                <!--(Password to Orion database account)-->
                <NeedSQLServerSecurity>false</NeedSQLServerSecurity>
                <NeedToChangeSAPassword>false</NeedToChangeSAPassword>
                <SAPassword>Password</SAPassword>
                <AddServiceDependencies>false</AddServiceDependencies>
                <RemoveServiceDependencies>false</RemoveServiceDependencies>
                <FailureInfo/>
            </Database>
            <Website>
                <Folder>C:\InetPub\SolarWinds</Folder>
                <Address>(All Unassigned)</Address>
                <Port>80</Port>
                <ApplicationName>SolarWinds NetPerfMon</ApplicationName>
                <LaunchWebConsole>false</LaunchWebConsole>
                <ConfigurationSkipped_IISNotInstalled>false</ConfigurationSkipped_IISNotInstalled>
                <EnableWindowsLogin>true</EnableWindowsLogin>
            </Website>
        </Info>
    </Host>
    <Plugins/>
</SilentConfig>

Example C: Standard fresh NTA installation with an NTA SQL Flow Storage database

<SilentConfig>
    <InstallerConfiguration>
        <CatalogStage>production</CatalogStage>
        <!--(optional)-->
        <ProductStage></ProductStage>
        <!--(optional)-->
        <ProductsToInstall>NPM,NTA</ProductsToInstall>
        <!--(ids of products to be installed, without that parameter by default NPM will be installed)-->
        <Products>NPM:12.3,NTA:4.4</Products>
        <!--(versions of products to install, without that parameter by default the newest available in the Product Catalog will be installed)-->
        <Components></Components>
        <!--(versions of components to install, without that parameter by default components required by Product Catalog will be installed-->
        <InstallPath>c:\OrionSetup\</InstallPath>
        <AdvancedInstallMode>True</AdvancedInstallMode>
        <SkipConfigurationWizardRun>False</SkipConfigurationWizardRun>
        <!-- CW Error handling -->
        <VerifyErrorStrings>finished due to error;Login failed for user;ERROR ConfigurationProgressScene</VerifyErrorStrings>
        <!-- (fill next three properties only when installing on Scalability Engine -->
        <MainPollerHostname></MainPollerHostname>
        <ServerType></ServerType>
        <IsStandby></IsStandby>
    </InstallerConfiguration>
 <Host>
      <Info>   
        <ReconfigureDatabase>true</ReconfigureDatabase>
        <ReconfigureWebsite>true</ReconfigureWebsite>
        <ReconfigureServices>true</ReconfigureServices>
        <ReconfigurePermissions>true</ReconfigurePermissions>   
        <Database>
          <CreateNewDatabase>true</CreateNewDatabase>
          <UseSQLSecurity>false</UseSQLSecurity>
          <UseExistingSqlAccount>false</UseExistingSqlAccount>
          <DatabaseName>SolarWindsOrion</DatabaseName>
          <DatabasePath></DatabasePath>
          <ServerName>(local)</ServerName>
          <InstanceName></InstanceName>
          <UserPassword></UserPassword>
          <User></User>     
          <Account>SolarWindsOrionDatabaseUser</Account>
          <AccountPassword>SolarWindsOrionDatabaseUser</AccountPassword>
          <NeedSQLServerSecurity>false</NeedSQLServerSecurity>
          <NeedToChangeSAPassword>false</NeedToChangeSAPassword>
          <SAPassword></SAPassword>
          <AddServiceDependencies>false</AddServiceDependencies>
          <RemoveServiceDependencies>false</RemoveServiceDependencies>
          <FailureInfo></FailureInfo>
        </Database>
        <Website>
          <Folder>C:\InetPub\SolarWinds</Folder>
          <Address>(All Unassigned)</Address>
          <Port>80</Port>
          <ApplicationName>SolarWinds NetPerfMon</ApplicationName>
          <LaunchWebConsole>false</LaunchWebConsole>
          <ConfigurationSkipped_IISNotInstalled>false</ConfigurationSkipped_IISNotInstalled>
          <EnableWindowsLogin>false</EnableWindowsLogin>
        </Website>
        <NetFlowConfiguration>
          <FlowStorageConfig>
            <CreateNewDatabase>True</CreateNewDatabase>
            <UseSQLSecurity>True</UseSQLSecurity>
            <UseExistingSqlAccount>True</UseExistingSqlAccount>
            <DatabaseName>test2</DatabaseName>
            <DatabasePath></DatabasePath>
            <ServerName>qa-brn-psti-06</ServerName>
            <InstanceName></InstanceName>
            <UserPassword>123</UserPassword>
            <User>sa</User>
            <Account>SolarWindsNtaDatabaseUser</Account>
            <AccountType>ExistingSql</AccountType>
            <AccountPassword>123</AccountPassword>
          </FlowStorageConfig>
        </NetFlowConfiguration>
      </Info>
    </Host>
    <Plugins>
        <Plugin Assembly="SolarWinds.ConfigurationWizard.Plugin.NetFlow" FactoryType="SolarWinds.ConfigurationWizard.Plugin.NetFlow.SilentMode.NetFlowSilentConfigureFactory" />
    </Plugins>
</SilentConfig>

Example D: Configuration file for installing a scalability engine

<?xml version="1.0" encoding="utf-8"?>
<SilentConfig>
    <InstallerConfiguration>
        <MainPollerHostname>1.1.1.1</MainPollerHostname>
        <ServerType>AdditionalWebsite</ServerType>
        <IsStandby>false</IsStandby>
    </InstallerConfiguration>
</SilentConfig> 

Step 2: Run the silent installation commands to install Orion Platform products or scalability engines

Replace the entries in the angle brackets <<...>>> with your data, and run the following commands using the command prompt.

The /s flag makes the installer run in silent mode.

cd "<<FOLDER-WHERE-INSTALLER-IS>>"
start /wait "<<PRODUCT-INSTALLER-EXE>>" /s /ConfigFile="FULL-PATH-TO-CONFIGURATION-FILE"

Step 3: Run the silent installation command to upgrade existing scalability engines

If you are upgrading products in an existing Orion deployment that includes scalability engines, you can run a Centralized Upgrade in silent mode. (This requires version 2.1 or later of the Orion Installer.) The Centralized Upgrade does the following:

  1. Contacts all reachable scalability engines and performs preflight checks.
    If any scalability engine is not reachable or has a blocking issue, the issue is logged and that scalability engine is not upgraded.
  2. Downloads the installer to each scalability engine without blocking issues, and runs the installers in parallel.

To perform a Centralized Upgrade, do not stop services on the scalability engines. If you stop services, the scalability engines are not reachable.

To start the Centralized Upgrade, replace the entries in the angle brackets <<...>>> with your data, and run the following commands from a command prompt on the Orion main server.

cd "<<FOLDER-WHERE-INSTALLER-IS>>"
<<PRODUCT-INSTALLER-EXE>> /silentcentralizedupgrade

As the upgrade progresses, you can track progress from the Orion Web Console.

Last modified

Tags

Classifications

Public