Upgrade from version 1.0.x
This topic discusses how to upgrade from version 1.0.x of the Splunk App for Windows Infrastructure to the latest version.
If you're using TA-Windows version 6.0.0 or later, you don't need TA_AD and TA_DNS. TA_AD and TA_DNS are merged with TA-Windows version 6.0.0.
How to upgrade If you have a deployment server
To upgrade the Splunk App for Windows Infrastructure, use your deployment server to update all of the deployment clients in the environment:
Upgrade Splunk Enterprise if necessary
Upgrade Splunk Enterprise and universal forwarders on all hosts in the deployment to version 7.2.x to 8.1.0.
Download and unpack apps and add-ons
- Download the following apps and add-ons from Splunk Apps and save them to an accessible location:
- The latest version of the Splunk App for Microsoft Exchange.
- The Splunk Add-on for Windows 6.0.0 or 7.0.0.
- The Splunk Supporting Add-on for Active Directory version 3.0.1.
- Use WinZip or another archive utility to unarchive the Splunk App for Windows Infrastructure and Splunk Add-on for Windows packages.
Configure and deploy add-ons to the deployment server
- Configure the Splunk Add-on for Windows, as described in "Download and configure the Splunk Add-on for Windows."
- Copy the following updated add-ons from the Splunk App for Windows Infrastructure installation package to the deployment apps directory on the deployment server:
- The Splunk Add-on for Windows (Splunk_TA_windows)
- The Splunk Add-ons for Active Directory: TA-DomainController-NT5/TA-DomainController-NT6
- The Splunk Add-ons for Windows DNS: TA-DNSServer-NT5/TA-DNSServer_NT6
- Log into Splunk Enterprise the deployment server.
- Go to Forwarder Management and deploy the add-ons to the appropriate Windows, and Active Directory deployment clients:
- Install the updated Splunk Add-on for Windows onto all hosts in the central Splunk App for Windows Infrastructure instance.
- Install the updated Splunk Supporting Add-on for Active Directory onto all search heads in the central Splunk App for Windows Infrastructure instance.
- Install the updated Splunk App for Windows Infrastructure into all search heads in the central Splunk App for Windows Infrastructure instance.
- Restart all hosts in the central Splunk App for Windows Infrastructure instance.
PS > $winfra_apps="C:\Downloads\splunk_app_windows_infrastructure\appserver\addons" PS > foreach ( $source in @("C:\Downloads\Splunk_TA_windows","$winfra_apps\TA-DomainController*","$winfra_apps\TA-DNSServer*") ) { Copy-Item -Path $source -Destination "C:\Program Files\Splunk\etc\deployment-apps" -Recurse }
Active Directory add-ons
If the server: | and it runs: | then install or deploy: |
---|---|---|
does not have a role in Active Directory | any supported version of Windows Server | Splunk_TA_Windows
|
is a domain controller | Windows Server 2003 or Server 2003 R2 | Splunk_TA_Windows TA-DomainController-NT5
|
Windows Server 2008, Server 2008 R2, Server 2008 R2 Core, or Server 2012 | Splunk_TA_Windows TA-DomainController-NT6
| |
Windows Server 2012 R2 | Splunk_TA_Windows TA-DomainController-2012r2 | |
is a DNS server | Windows Server 2003 or Server 2003 R2 | Splunk_TA_Windows TA-DNSServer-NT5
|
Windows Server 2008, Server 2008 R2, Server 2008 R2 Core, Server 2012, or Server 2012 R2 | Splunk_TA_Windows TA-DNSServer-NT6
| |
is a domain controller and a DNS server | Windows Server 2003 or Server 2003 R2 | Splunk_TA_Windows TA-DomainController-NT5 TA-DNSServer-NT5
|
Windows Server 2008, Server 2008 R2, Server 2008 R2 Core, or Server 2012 | Splunk_TA_Windows TA-DomainController-NT6 TA-DNSServer-NT6
| |
Windows Server 2012 R2 | Splunk_TA_Windows TA-DomainController-2012r2 TA-DNSServer-NT6
|
Log in and run the first time experience
- Log into Splunk Enterprise on a search head in the central Splunk App for Windows Infrastructure instance. This activates the first-time setup experience.
- Proceed through the first-time setup experience. Address any missing data issues by following the on-screen prompts.
- Wait. As part of the upgrade, the Splunk App for Windows Infrastructure builds an accelerated data model which, depending on the size of your environment, can take some time. You can check the progress of the data model build by following the instructions in "Check data model build progress."
- After the accelerated data model build is complete, use the app and confirm that all of the data is present and the pages show data as you expect.
How to upgrade if you do not have a deployment server
If you do not have a deployment server, you will set up one now as part of the upgrade process.
A deployment server reduces deployment complexity and room for errors due to typos in configuration files. Once you complete setup, you then only need to make app and configuration changes in one place.
Read more about deployment server
See the following topics to learn more about deployment server:
- "About deployment server and forwarder management" in the core Splunk Enterprise platform documentation.
- "Set up a deployment server and create a server class" in this manual.
Upgrade Splunk Enterprise if necessary
Upgrade Splunk Enterprise and universal forwarders on all hosts in the deployment to version 7.2.x to 8.0.x.
Download and unpack apps and add-ons
- Download the following apps and add-ons from Splunk Apps and save them to an accessible location:
- The latest version of the Splunk App for Microsoft Exchange.
- The Splunk Add-on for Windows version 6.0.0 or 7.0.0.
- The Splunk Supporting Add-on for Active Directory version 3.0.1.
- Use WinZip or another archive utility to unarchive the Splunk App for Windows Infrastructure and Splunk Add-on for Windows packages.
Activate a deployment server and define server classes
- Configure the Splunk Add-on for Windows, as described in "Download and configure the Splunk Add-on for Windows."
- Choose a host in your deployment that does not regularly experience high CPU or disk utilization and note the host name or IP address of the host.
- If the host does not already have Splunk Enterprise installed on it, perform the installation.
- On this host, log into Splunk Enterprise.
- Create the "Send to indexer" app, as described in "Create the 'send to indexer' app."
- Activate deployment server on the host by copying the following objects to the deployment apps directory:
- The Splunk Add-on for Windows (Splunk_TA_windows).
- The "Send to Indexer" app (sendtoindexer).
- The Splunk Add-ons for Active Directory (TA-DomainController-*).
- The Splunk Add-ons for Windows DNS (TA-DNSServer-*)
- In Splunk Enterprise on the deployment server, define server classes:
- A "universal forwarders" server class for all hosts in the deployment with a universal forwarder installed.
- A server class for Active Directory.
- A server class for Windows DNS.
- Assign apps to the server classes according to the following table:
- Restart Splunk Enterprise on the deployment server.
PS > $winfra_apps="C:\Downloads\splunk_app_windows_infrastructure\appserver\addons" PS > foreach ( $source in @("C:\Downloads\Splunk_TA_windows","C:\Program Files\Splunk\etc\apps\sendtoindexer","$winfra_apps\TA-DomainController*","$winfra_apps\TA-DNSServer*","$winfra_apps\TA-SMTP-Reputation") ) { Copy-Item -Path $source -Destination "C:\Program Files\Splunk\etc\deployment-apps" -Recurse }
Server Class Name | Add-ons to Add to the Server Class |
---|---|
Universal Forwarder | Splunk_TA_windows
sendtoindexer |
Active Directory | TA-DomainController-NT5 (on Windows Server 2003)
TA-DomainController-NT6 (on Windows Server 2008 R2) TA-DomainController-2012r2 (on Windows Server 2012 R2) |
Windows DNS |
TA-DNSServer-NT5 (on Windows Server 2003) TA-DNSServer-NT6 (on Windows Server 2008 R2) |
Reconfigure universal forwarders as deployment clients
- On every universal forwarder in the deployment, issue the following command to turn the forwarder into a deployment client:
- In the above example: <port> is the management port on the deployment server, and defaults to 8089.
- On every universal forwarder in the deployment, remove the following add-ons from the Splunk apps directory (
%SPLUNK_HOME%\etc\apps
): - The Splunk Add-on for Windows.
- The Splunk Add-ons for Active Directory (on Active Directory hosts).
- The SMTP Reputation add-on (from the host with the outbound connection to the Internet)
- Restart the universal forwarders.
PS > cd <Splunk Directory>\bin PS > .\splunk set deploy-server <host name or ip address of deployment server>:<port>
Confirm that the deployment server sees the universal forwarders
- Log back into the deployment server.
- Use Forwarder Management to confirm that universal forwarders have phoned in to the deployment server.
- Assign the clients to the server classes you defined earlier.
- Assign all clients to the "Universal Forwarder" class.
- Assign AD hosts to the AD server classes based on the version of Windows Server they run.
- Assign DNS hosts to the DNS server classes based on the version of Windows Server they run.
- In Forwarder Management, confirm that the apps deploy to the correct hosts.
- Log into Splunk Enterprise on a search head in the deployment.
- Load the Search and Reporting
- Confirm that you see new data coming in from the deployment clients.
Log in and run the first time experience
- Continuing on the search head, choose Apps > Splunk App for Windows Infrastructure. This activates the first-time setup experience.
- Proceed through the first-time setup experience.
- Address any missing data issues by following the prompts on-screen.
- Wait. As part of the upgrade, the Splunk App for Windows Infrastructure builds an accelerated data model which, depending on the size of your environment, can take some time. You can check the progress of the data model build by following the instructions in "Check data model build progress."
- After the accelerated data model build is complete, use the app and confirm that all of the data is present.
How to upgrade the Splunk App for Windows Infrastructure | Upgrade from version 1.1.x |
This documentation applies to the following versions of Splunk® App for Windows Infrastructure (Legacy): 2.0.1
Feedback submitted, thanks!