Deployment Architecture

What is the process to move an infrastructure from virtual machines to physical machines in our Splunk 6.1.3 environment?

gajananh999
Contributor

Dear All,

We have two production search heads, three indexers clustered, a cluster master, and a deployment server. All running Windows 2k8 R2. Splunk version is 6.1.3.

We are moving all the infrastructure from virtual to physical machines so could you guys help me out here to understand the process?

Thanks in Advance

Gajanan Hiroji

1 Solution

lguinn2
Legend

I would do it this way:

1) Stop the search heads.

2) From the cluster master, shut down the cluster. Shut down the cluster master.

3) Shut down the deployment server.

For disk:

As you shut each system down, back up the disks and transfer the data to the new system. Or reassign the disk, or whatever you plan to do to migrate the environment. It will be easiest if the new environment has the same disk volumes and labels, although the underlying hardware can be different. There is nothing in the Splunk configuration files that is specific to the Windows hardware. But there are file paths in the configuration files. The most important is the location of the indexes in indexes.conf. You should check all copies of indexes.conf in the environment and make sure that the paths are correct for the new environment.

You should also keep the same directory structure for Splunk in the new environment, as there may be some configuration files (scripted inputs and alerts, for example) that could have absolute or relative path names that would be wrong if the directory structure was changed. (Or you can look through all the files and edit...)

For machine names/IP addresses:

It will be far simpler if you keep the same machine names and IP addresses on the new hardware as on the old VMs. If not, then you need to look through all the configuration files for this information and change it on each machine.

I can't think of anything else that needs to be changed. As the machines are migrated, bring them up in this order.

1) cluster master

2) indexers

3) search heads

4) deployment server

5) From the cluster master, redeploy the configuration bundles, just to make sure all indexers are up to date. This may happen automatically as you restart the indexers, but I added this step just to be sure.

There are variations on this order, and other ways to do it. But this should work.

View solution in original post

lguinn2
Legend

I would do it this way:

1) Stop the search heads.

2) From the cluster master, shut down the cluster. Shut down the cluster master.

3) Shut down the deployment server.

For disk:

As you shut each system down, back up the disks and transfer the data to the new system. Or reassign the disk, or whatever you plan to do to migrate the environment. It will be easiest if the new environment has the same disk volumes and labels, although the underlying hardware can be different. There is nothing in the Splunk configuration files that is specific to the Windows hardware. But there are file paths in the configuration files. The most important is the location of the indexes in indexes.conf. You should check all copies of indexes.conf in the environment and make sure that the paths are correct for the new environment.

You should also keep the same directory structure for Splunk in the new environment, as there may be some configuration files (scripted inputs and alerts, for example) that could have absolute or relative path names that would be wrong if the directory structure was changed. (Or you can look through all the files and edit...)

For machine names/IP addresses:

It will be far simpler if you keep the same machine names and IP addresses on the new hardware as on the old VMs. If not, then you need to look through all the configuration files for this information and change it on each machine.

I can't think of anything else that needs to be changed. As the machines are migrated, bring them up in this order.

1) cluster master

2) indexers

3) search heads

4) deployment server

5) From the cluster master, redeploy the configuration bundles, just to make sure all indexers are up to date. This may happen automatically as you restart the indexers, but I added this step just to be sure.

There are variations on this order, and other ways to do it. But this should work.

gajananh999
Contributor

Thanks a ton... this was very helpful

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...