Splunk® OVA for VMware Metrics

Splunk OVA for VMware Metrics

Configure the Splunk OVA for VMware Metrics

Follow these steps to configure the SPLUNK OVA for VMware metrics.

Step one: Configure the DCN system settings

Use the dcn-network-config script to perform network configurations for your DCN. The dcn-network-config script lets users set up IP addresses, gateways, netmasks, DNS/nameservers, and hostnames. The dcn-network-config script can also perform network connectivity tests. Press Enter on any prompt to keep current values for any configuration prompt.

Run the script in non-interactive mode by providing all the configuration options in one line. Example: dcn-network-config --ipaddr=10.0.3.37 --mask=255.255.240.0 --gw=10.0.1.1 --dns=10.0.1.9,8.8.8.8,8.8.4.4 --hostname=localhost.localdomain --networkrestart=y --save=y

  1. Use SSH to log in to your DCN using root/changemenow. Your Splunk platform will start.
  2. (Optional) Use the the help command with the dcn-network-config to get more information on how to run the script in non-interactive mode. dcn-network-config –help
  3. Enter the IPv4 address that you want to set or change for your deployment. Enter the IPv4 address [Example: 66.248.79.118]:
  4. Enter the gateway to set or change any gateway server. Enter the IPv4 address of the default gateway [Example: 10.0.1.1]:
  5. Enter the netmask to set or change any netmask. Enter the Netmask [Example: 255.255.240.0]:
  6. Enter the DNS/Nameserver to set or change any DNS/Nameserver. Add multiple DNS/Nameservers by separating them with commas Enter DNS/Nameserver [Example: 10.0.1.9,8.8.8.8,8.8.4.4]
  7. Change the Hostname, then restart your Splunk instance.
    Enter Hostname (Requires Splunk restart) Example: [localhost.localdomain] :
  8. Review the configurations. If you have not made any changes, the script will perform network tests and exit.
    Configurations:-
    IPv4 address: 66.248.79.118
    IPv4 address of the default gateway: 10.0.1.1
    Netmask: 255.255.255.0
    DNS/Nameserver: 8.8.8.8
    Hostname: localhost.localdomain
    
  9. Enter y to save your changes. Do you want to save network configurations(y/n)?
  10. Enter y to restart your network service. Do you want to restart the Splunk Server for your changes to take effect(y/n)?
  11. Log out of your DCN.

Step two: Configure the DCN for your Splunk platform environment

Configure the Splunk platform connection settings for each DCN that you deploy in your environment.

  1. Use SSH to log in to your DCN using splunk/changeme.
  2. Type dcn-splunk-config into the CLI, and press enter. Splunk will start.
  3. Change the default changeme password. Reenter your changed password and press enter.
    Enter new password [*****]:
    Re-enter new password:
  4. Enter the host address and port of each indexer, separated by comma, where you want to forward the data your DCN collects. <host>:<port>[]:
  5. Add the license master host address. If you haven't changed the default management port and will add https:// and port 8089 by default, you only need to add hostname of the license master. If you have changed the management port then you need to add a hostname as well as management port. Enter license master(https://<host>:<port>)[self]:
  6. Review your configurations.
    Configurations:-
    Indexer configuration: 
    License master: self 
    
  7. Enter y to save your changes. Do you want to save Splunk configurations(y/n)?
  8. Enter y to restart your Splunk platform instance. Do you want to restart the Splunk Server for your changes to take effect(y/n)?
  9. Log out of the DCN.

Configure the Splunk OVA to a partition (Optional)

if your Splunk OVA needs more than 6GB of storage space, you need to create a new partition on the OVA machine, and have SPLUNK_DB point to that partition.

  1. Create a new partition on the OVA machine.
  2. Go to Managing Disk Storage to learn how to create a new partition.

  3. Point SPLUNK_DB to your new partition.

Once your new partition has been created, point SPLUNK_DB to the newly-created partition. To learn how to point SPLUNK_DB to your new partition, see Move the index database.

Step three: Configure DCNs to scale vertically (Optional)

You can configure more than 8 worker processes per DCN by scaling your Splunk Enterprise environment vertically. This lets you increase the number of available worker processes from 8, up to 30.

To enable horizontal scaling, add more DCNs as scaling workers instead of adding more worker processes per DCN.

Step four: Register each DCN

The Collection Configuration page, on your Splunk platform scheduler, manages the Data Collection Nodes. Register and configure each DCN separately with the Collection Configuration page in order to collect data from vCenter Server.

  1. Log in to Splunk Web on your scheduler as admin.
  2. From the App menu, select Splunk Add-on for VMware Metrics.
  3. Navigate to Collection Configuration, select DCN tab and click on Add DCN button.
  4. Use the Collection Configuration page to register a DCN with the scheduler
    Field Value
    Splunk Forwarder URI The address or port of the DCN. For example, https://<host_name_or_ip_address_of_DCN>:8089.
    Splunk Forwarder Username admin
    Splunk Forwarder Password The administrator password. Make sure this password is not the Splunk Enterprise default admin password "changeme"..
    Worker Processes The number of worker processes must be one fewer than the number of CPU cores the vCenter Server system granted to the DCN. For example, if the DCN has four CPU cores, the number of worker processes is three.
  5. Confirm that you correctly configured the DCN by verifying that the DCN credential validation displays a checkmark.
  6. Repeat the steps one through five for each DCN.
Last modified on 27 September, 2023
Install the Splunk OVA for VMware Metrics in your virtual environment   Troubleshoot the Splunk OVA for VMware Metrics

This documentation applies to the following versions of Splunk® OVA for VMware Metrics: 4.3.0


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters