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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...