Home > Success Center > Network Performance Monitor (NPM) > Install Orion products in unattended or silent mode

Install Orion products in unattended or silent mode

Table of contents

Overview

This article provides details required to run unattended (silent) installation of Orion products.

Environment

Orion Platform 2015 and later

Steps

Prior to the execution, make sure to have all pre-requisites:

  • SQL Server installed and accessible from the server where the software is installed
  • MSMQ is installed
  • Microsoft Web Server (default options) is installed

 

Run the installer in unattended mode (/S) and skipping execution of the Configuration Wizard at the end of it (/NoConfigWizard), it will be executed as a separate unattended task. It will install the application in the default location - C:\Program Files (x86)\SolarWinds\Orion. If you require to change the installation path, add following to the Windows Registry prior to executing the installation:

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SolarWinds]

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SolarWinds\Orion]

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SolarWinds\Orion\Core]
"InstallPath"="C:\\SWTEST"
"Version"="2015.1"
"Configuration"="FULL"

Note: To copy content without line numbers, hover over the text and click the view source button (View Source). This opens a new window where you can select and copy text without any formatting or line numbering.

 

InstallPath - path where Orion is to be installed.

 

Run Configuration Wizard in unattended mode (-silent) and use its configuration  from the XML file (-cfg). Below are the commands which shall be executed from the command prompt:

 

cd "<<FOLDER-WHERE-INSTALLER-IS>>"

start "" /wait "<<PRODUCT-INSTALLER-EXE>>" /S /NoConfigWizard

cd "<<INSTALL-DIR>>"

start "" /wait "ConfigurationWizard.exe" -silent -cfg:"silent.xml"

 

Note: Replace relevant options (<<...>>) with desired values.

 

EXAMPLES:

NPM 11.5.2

D:

cd \SolarWinds-Installation-Files

start "" /wait "SolarWinds-NPM-v11.5.2-Full.exe" /S /NoConfigWizard

cd "C:\Program Files (x86)\SolarWinds\Orion\"

start "" /wait "ConfigurationWizard.exe" -silent -cfg:"silent.xml"

 

 

WPM 2.2

<<import modified registry file>>

E:

cd \InstallFiles

start "" /wait "SolarWinds-WPM-v2.2-Full.exe" /S /NoConfigWizard

cd D:\ORION\
start "" /wait "ConfigurationWizard.exe" -silent -cfg:"silent.xml"

 

Multiple products - example NPM with WPM
If you want to install multiple products, there are two possibilities (assuming default installation folder and installers located in E:\InstallFiles in this example, it can be adjusted of course following instructions above):

  1. One product is already installed and configured
    1. Change this line in "silent.xml" to allow Configuration Wizrad to use already existing database
      <CreateNewDatabase>False</CreateNewDatabase>
    2. Execute relevant commands (for WPM)

      E:

      cd \InstallFiles

      start "" /wait "SolarWinds-WPM-v2.2-Full.exe" /S /NoConfigWizard
      cd "C:\Program Files (x86)\SolarWinds\Orion\"

      start "" /wait "ConfigurationWizard.exe" -silent -cfg:"silent.xml"

  2. ​No product installed yet

    1. Install both products without Configuration Wizard
      E:

      cd \InstallFiles

      start "" /wait "SolarWinds-NPM-v11.5.2-Full.exe" /S /NoConfigWizard

      start "" /wait "SolarWinds-WPM-v2.2-Full.exe" /S /NoConfigWizard

    2. Run single instance of the Configuration Wizard at the end, make sure you create new database

      cd "C:\Program Files (x86)\SolarWinds\Orion\"

      start "" /wait "ConfigurationWizard.exe" -silent -cfg:"silent.xml"

 

Content of the Configuration Wizard configuration file (XML) is below. Copy and save as for example silent.xml (as used above) and modify accordingly.

 

<?xml version="1.0" encoding="utf-8"?>
<SilentConfig>
   <Host>
      <Info>
         <ReconfigureDatabase>True</ReconfigureDatabase>
         <ReconfigureWebsite>True</ReconfigureWebsite>
         <ReconfigureServices>True</ReconfigureServices>
         <ReconfigurePermissions>True</ReconfigurePermissions>
         <Database>
            <CreateNewDatabase>True</CreateNewDatabase>
            <UseSQLSecurity>False</UseSQLSecurity>   <!-- True for SQL authenticaiton to DB. Needs sa user. False for Windows authenticaiton -->
            <UseExistingSqlAccount>False</UseExistingSqlAccount>
            <DatabaseName>SolarWindsOrion</DatabaseName>   <!-- Database name that will be created. Default "SolarWindsOrion" -->
            <DatabasePath>
            </DatabasePath>
            <ServerName>localhost</ServerName>
            <InstanceName></InstanceName>
            <User>Administrator</User>   <!-- User name to access DB. For SQL authentication sa. For Windows authenticaiton Administrator -->
            <UserPassword>password</UserPassword>
            <Account>SolarWindsOrionDatabaseUser</Account>   <!-- Database user that will be created. Default "SolarWindsOrionDatabaseUser" -->
            <AccountPassword>password</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>
      </Info>
   </Host>
   <Plugins>
      <!-- <Plugin Assembly="" AssemblyFile="" FactoryType=""  /> -->
   </Plugins>
</SilentConfig>

Note: To copy content without line numbers, hover over the text and click the view source button (View Source). This opens a new window where you can select and copy text without any formatting or line numbering.

 

Note:

If you need to provide SQL Server instance name and/or port use following syntax:

<ServerName>hostname\instance,port</ServerName>

Note: To copy content without line numbers, hover over the text and click the view source button (View Source). This opens a new window where you can select and copy text without any formatting or line numbering.

You must to post a comment.
Last modified
11:07, 20 Jan 2017

Tags

Classifications

Public