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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...