Upgrade VMware data collection components
To collect VMware data in SAI, you have to install components in the Splunk VMware Add-on for ITSI from the Splunk IT Service Intelligence (ITSI) package. You can't use earlier versions of the Splunk Add-on for VMware.
The Splunk VMware Add-on for ITSI sends metrics to the vmware-perf-metrics
metrics index. Previous versions of the Splunk Add-on for VMware send data to the vmware-perf
events index. If you want to search historical event data in the vmware-perf
events index, include the vmware-perf
index in indexes.conf
. For more information, see Search historical data after you upgrade.
These steps show you how to upgrade the VMware data collection components from the Splunk Add-on for VMware version 3.4.x.
Stop the DCS from the Collection Configuration page in the Splunk Add-on for VMware version 3.4.x before upgrading the DCS, DCN, and each indexer. After you upgrade everything, start the DCS. To start a DCS, complete these steps:
- From Splunk Web, go to Add Data and select VMware vSphere from the integrations panel.
- Select the DCN tab.
- Toggle Enable Data Collection to enable the DCS.
Upgrade a Data Collection Scheduler
Replace the required components and delete old components that aren't necessary for VMware data collection in SAI on the Data Collection Scheduler (DCS).
Manually upgrade a DCS
Follow these steps to manually upgrade a DCS.
- If you haven't already, download the ITSI version 4.4.0 package from Splunkbase.
- Stop the DCS from the Collection Configuration page in the Splunk Add-on for VMware version 3.4.x.
- Stop splunkd.
$SPLUNK_HOME/bin/splunk stop
- Copy the
SA-Hydra
andSplunk_TA_vmware
directories from thevmware_ta_itsi
parent directory in the ITSI package to$SPLUNK_HOME/etc/apps
. - If any of these directories exist in
$SPLUNK_HOME/etc/apps
, remove them:SA-VMNetAppUtils
SA-VMWIndex
TA-VMW-FieldExtractions
Splunk_TA_vcenter
Splunk_TA_esxilogs
- In
$SPLUNK_HOME/etc/apps/SA-Hydra
, remove theappserver
directory. - In
$SPLUNK_HOME/etc/apps/SA-Hydra/bin/hydra
, remove theuuid.py
anduuid.pyc
files. - In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware
, remove theappserver
directory. - In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware/bin
, remove thesuds
directory, and theuuid.py
anduuid.pyc
files. - In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware/default
, remove thedata
directory. - In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware/local
, removeinputs.conf
. - In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware/local
, createpool.conf
if it doesn't exist already. - Open
pool.conf
. - Create a
[Global pool]
stanza. - Move only task-related parameters from the
[default]
stanza inta_vmware_collection.conf
to the[Global pool]
stanza you just created. This includetask
,atomic_tasks
,<task>_expiration
, and<task>_interval
. - Replace
otherperf
withclusterperf
. For example, renameotherperf_interval
toclusterperf_interval
. - Remove
hierarchyinv
andrpinv
parameters from thetask
andatomic_tasks
settings if they exist. - Remove
interval
andexpiration
parameters forhierarchyinv
andrpinv
if they exist. - Keep collection parameters other than task-related in
ta_vmware_collection.conf
. - If your
ta_vmware_collection.conf
file looks like this:[default] task = vminv, hostinv, otherperf, rpinv, hierarchyinv vminv_interval = 900 vminv_expiration = 900 hostinv_interval = 900 hostinv_expiration = 900 otherperf_interval = 1800 otherperf_expiration = 1800 hierarchyinv_interval = 1800 hierarchyinv_expiration = 1800 rpinv_interval = 1800 rpinv_expiration = 1800 deployment_type = Custom perf_format_type = normal host_instance_whitelist = .*ahegd.*
Move these parameters to
pool.conf
:[Global pool] task = vminv, hostinv, clusterperf vminv_interval = 900 vminv_expiration = 900 hostinv_interval = 900 hostinv_expiration = 900 clusterperf_interval = 1800 clusterperf_expiration = 1800
These are the remaining parameters in
ta_vmware_collection.conf
:[default] deployment_type = Custom perf_format_type = normal host_instance_whitelist = .*ahegd.*
- In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware/local
, make these changes: - Open
hyrda_node.conf
and addpool_name = Global pool
to every stanza. - Open
ta_vmware_collection.conf
and addpool_name = Global pool
to every stanza except thedefault
stanza. - Start splunkd.
$SPLUNK_HOME/bin/splunk start
Upgrade a Data Collection Node
Replace the required components and delete old components that aren't necessary for VMware data collection in SAI on the Data Collection Node (DCN).
Manually upgrade a DCN
Follow these steps to manually upgrade a DCN.
- If you haven't already, download the ITSI version 4.4.0 package from Splunkbase.
- Stop splunkd.
$SPLUNK_HOME/bin/splunk stop
- Copy the
SA-Hydra
andSplunk_TA_vmware
directories from thevmware_ta_itsi
parent directory in the ITSI package to$SPLUNK_HOME/etc/apps
. If you're forwarding vCenter Server log or ESXi host log data to the DCN, also copySplunk_TA_vcenter
andSplunk_TA_esxilogs
to the directory. - If any of these directories exist in
$SPLUNK_HOME/etc/apps
, remove them:SA-VMNetAppUtils
SA-VMWIndex
TA-VMW-FieldExtractions
- In
$SPLUNK_HOME/etc/apps/SA-Hydra
, remove these directories:local
appserver
- In
$SPLUNK_HOME/etc/apps/SA-Hydra/bin/hydra
, remove theuuid.py
anduuid.pyc
files. - In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware
, remove theappserver
directory. - In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware/bin
, remove thesuds
directory, and theuuid.py
anduuid.pyc
files. - In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware/local
, remove these files:inputs.conf
ta_vmware_cache.conf
hydra_metadata.conf
hydra_session.conf
- In
$SPLUNK_HOME/etc/apps/Splunk_TA_vmware/default
, remove thedata
directory. - Start splunkd.
$SPLUNK_HOME/bin/splunk start
Upgrade an indexer
Replace the required components and delete old components that aren't necessary for VMware data collection in SAI on each indexer. You can follow these steps if you're running a standalone indexer, a distributed indexer, or a clustered indexer environment.
If you want to continue searching data you already collected from the Splunk Add-on for VMware version 3.4.x, add the old index to the new indexes.conf
in SA-VMWIndex
during the upgrade process. If you don't include the old index before you start splunkd after upgrading, the indexer deletes the index. For more information, see Search historical data after you upgrade.
For more information about installing the add-on across an indexer cluster, see Update common peer configurations and apps in the Managing Indexers and Clusters of Indexers guide.
- If you haven't already, download the ITSI version 4.4.0 package from Splunkbase.
- If you're running a single-instance or distributed indexer environment, stop splunkd:
If you're running a distributed indexer environment and have downtime concerns, you can keep at least one indexer running at a time. For more information, see Upgrade the indexers in the Splunk Enterprise Installation Manual. If you're running a clustered indexer environment, don't stop splunkd, and instead enable
$SPLUNK_HOME/bin/splunk stop
maintenance-mode
on the indexer cluster master node. For more information, see Enable maintenance mode. - Copy the
SA-VMWIndex
,Splunk_TA_esxilogs
, andSplunk_TA_vcenter
directories from thevmware_ta_itsi
parent directory in the ITSI package to$SPLUNK_HOME/etc/apps
. If you're running a clustered indexer environment, copy the directories to the$SPLUNK_HOME/etc/master-apps
directory instead. If you want to continue monitoring historical data, add the old index to the newindexes.conf
inSA-VMWIndex
. If you don't include the old index, the indexer deletes the index. See Search historical data after you upgrade.. - If any of these directories exist in
$SPLUNK_HOME/etc/apps
, remove them. If you're running a clustered indexer environment, check$SPLUNK_HOME/etc/master-apps
instead.SA-VMNetAppUtils
SA-VMWIndex
TA-VMW-FieldExtractions
- If you're running a clustered indexer environment, distribute the configuration bundle to the peers in the cluster. For more information, see Distribute the configuration bundle in the Managing Indexers and Clusters of Indexers guide.
- If you're running a single-instance or distributed indexer environment, start splunkd:
If you're running a clustered indexer environment, disable
$SPLUNK_HOME/bin/splunk start
maintenance-mode
on the indexer cluster master node.
Search historical data after you upgrade
You can continue searching historical data that the Splunk Add-on for VMware version 3.4.5 indexed. To do so, you have to add the vmware-perf
stanza to $SPLUNK_HOME/etc/apps/SA-VMWIndex/local
.
Follow these steps to search historical data after you upgrade to the Splunk VMware Add-on for ITSI.
- If you're running a single-instance or distributed indexer environment, stop splunkd:
If you're running a distributed indexer environment and have downtime concerns, you can keep at least one indexer running at a time. For more information, see Upgrade the indexers in the Splunk Enterprise Installation Manual. If you're running a clustered indexer environment, don't stop splunkd, and instead enable
$SPLUNK_HOME/bin/splunk stop
maintenance-mode
on the indexer cluster master node. For more information, see Enable maintenance mode. - In
$SPLUNK_HOME/etc/apps/SA-VMWIndex/local
, createindexes.conf
if it doesn't already exist. - Open
indexes.conf
and add this stanza:[vmware-perf] homePath = $SPLUNK_DB/vmware-perf/db coldPath = $SPLUNK_DB/vmware-perf/colddb thawedPath = $SPLUNK_DB/vmware-perf/thaweddb repFactor = auto
- If you're running a clustered indexer environment, distribute the configuration bundle to the peers in the cluster. For more information, see Distribute the configuration bundle in the Managing Indexers and Clusters of Indexers guide.
- If you're running a single-instance or distributed indexer environment, start splunkd:
If you're running a clustered indexer environment, disable
$SPLUNK_HOME/bin/splunk start
maintenance-mode
on the indexer cluster master node.
Deploy a Data Collection Scheduler | Update a Data Collection Node after migrating Python versions |
This documentation applies to the following versions of Splunk® App for Infrastructure (Legacy): 2.0.0
Feedback submitted, thanks!