All Apps and Add-ons

Splunk App for VMWare: How does the Hydra scheduler cache requests?

tnerpel_splunk
Splunk Employee
Splunk Employee

All,

Can anyone give me insight into how the hydra scheduler used by the Splunk App for VMWare caches API requests during a vCenter server reboot? During a reboot the vCenter server is being slammed by requests from the DCN. Do we have any settings around controlling or modifying this?

In hydra_gateway.log and hydra_access.log I am seeing the following:

hydra_gateway.log
2017-01-19 09:03:14,624 INFO [HydraWSGI:8464] [CacheBatchProcessor] parsed cache batch of count=30
2017-01-19 09:03:14,630 INFO [HydraWSGI:8464] [HydraCacheManager] current cache_length=30, checking cache for outdated entries...

hydra_access.log
2017-01-19 09:03:14,633 INFO POST /hydra/cache/batch '200 OK' - - - 1ms
2017-01-19 09:04:55,558 INFO POST /hydra/cache/batch '200 OK' - - - 7ms

Thanks!

0 Karma
1 Solution

tnerpel_splunk
Splunk Employee
Splunk Employee

Answer:

When the vCenter is rebooting the scheduler does not push jobs to the hydra queue in DCN because the authentication to vCenter fails. The scheduler will not be able to connect to the vCenter server while it is still fully coming back online and hence will not schedule jobs to the DCN until it is able to establish a connection and validate credentials of vCenter. The Scheduler should schedule jobs only when the server is in a state to accept API calls.

View solution in original post

0 Karma

tnerpel_splunk
Splunk Employee
Splunk Employee

Answer:

When the vCenter is rebooting the scheduler does not push jobs to the hydra queue in DCN because the authentication to vCenter fails. The scheduler will not be able to connect to the vCenter server while it is still fully coming back online and hence will not schedule jobs to the DCN until it is able to establish a connection and validate credentials of vCenter. The Scheduler should schedule jobs only when the server is in a state to accept API calls.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...