Deployment Architecture

Values for cluster_status when running splunk show cluster-bundle-status

jacobappleton
Explorer

I'm trying to automate some of our Splunk processes, and I need to know what the possible set of values are that can be returned for cluster_status when running splunk show cluster-bundle-status.

alt text

I don't seem to be able to find anything online to answer this question.

0 Karma
1 Solution

harsmarvania57
Ultra Champion

Hi @jacobappleton,

If you look at Cluster Master$SPLUNK_HOME/var/log/splunk/splunkd.log and grep CMBundleMgr then you will able to see different status when Cluster Master is deploying bundle to it's peers.

While looking at 6.5.X CM, I can see below status in my lab environment.

  1. When Cluster Master is not deploying any bundle OR bundle is deployed to peers successfully then you will see status as None
  2. When you push bundle from CM to Indexers below are different sequential status
  3. First status will change from None to Bundle Creation is in progress.
  4. Then it will change Bundle Creation is in progress. to None
  5. From None to Bundle validation is in progress.
  6. From Bundle validation is in progress. to Bundle reload is in progress. Waiting for all peers to return the status.
  7. From Bundle reload is in progress. Waiting for all peers to return the status. to None

If Restart of peers(Indexers) is require then it will go to below status

  • Sometimes CM do not go to last status and directly go from Bundle reload is in progress. Waiting for all peers to return the status. to Rolling restart of the peers is in progress. , if status change as per last point then it will change from None to Rolling restart of the peers is in progress.
  • At last it will change status from Rolling restart of the peers is in progress. to None

I hope this will help you.

Thanks,
Harshil

View solution in original post

harsmarvania57
Ultra Champion

Hi @jacobappleton,

If you look at Cluster Master$SPLUNK_HOME/var/log/splunk/splunkd.log and grep CMBundleMgr then you will able to see different status when Cluster Master is deploying bundle to it's peers.

While looking at 6.5.X CM, I can see below status in my lab environment.

  1. When Cluster Master is not deploying any bundle OR bundle is deployed to peers successfully then you will see status as None
  2. When you push bundle from CM to Indexers below are different sequential status
  3. First status will change from None to Bundle Creation is in progress.
  4. Then it will change Bundle Creation is in progress. to None
  5. From None to Bundle validation is in progress.
  6. From Bundle validation is in progress. to Bundle reload is in progress. Waiting for all peers to return the status.
  7. From Bundle reload is in progress. Waiting for all peers to return the status. to None

If Restart of peers(Indexers) is require then it will go to below status

  • Sometimes CM do not go to last status and directly go from Bundle reload is in progress. Waiting for all peers to return the status. to Rolling restart of the peers is in progress. , if status change as per last point then it will change from None to Rolling restart of the peers is in progress.
  • At last it will change status from Rolling restart of the peers is in progress. to None

I hope this will help you.

Thanks,
Harshil

Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...