Skip to content

Add the ability to specify when ILM step execution should occur #37325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dakrone opened this issue Jan 10, 2019 · 4 comments
Open

Add the ability to specify when ILM step execution should occur #37325

dakrone opened this issue Jan 10, 2019 · 4 comments
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement Team:Data Management Meta label for data/management team

Comments

@dakrone
Copy link
Member

dakrone commented Jan 10, 2019

When a user has a complex ILM policy for a production cluster with significant
load, some of the actions that ILM can take may be undesirable during peak
traffic hours (for example, an ecommerce site increasing replicas or performing
shard relocation for all indices at 8am on Black Friday morning).

A tool like Curator that is manually run is slightly more careful since it
allows the administrator to specify when the actions should take place (at 1am
when everyone is sleeping, for instance).

It would be nice if ILM could be configured to run its actions only during a
certain time frame, so actions could be kicked off at a "better" time.

There are a couple of options that I can think of quickly for how this could
be implemented:

  • Add the ability to specify when ILM actions should be periodically checked,
    for instance, at 1am
  • Specify a time range with a policy, for instance, 01:00-04:00 meaning that
    ILM will execute steps only between 1am and 4am (time on the master node)
@dakrone dakrone added the :Data Management/ILM+SLM Index and Snapshot lifecycle management label Jan 10, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@colings86
Copy link
Contributor

colings86 commented Jan 14, 2019

Note that ILM can only control when a step is started so for things like forcemerge or allocation which may take a long time to complete ILM can only control when these changes are started and does not have any ability to pause the action mid-flow if the window closes

This is not a reason to avoid this feature but a implication we should be clear about in the docs

@dakrone
Copy link
Member Author

dakrone commented Jan 14, 2019

True, the original issue above should be amended for the steps to say "start of execution" rather than step execution in general.

@steevo590
Copy link

I have the same concern would love to be able to specify when to start the step actions instead of just the size, documents or elapsed time.

@rjernst rjernst added the Team:Data Management Meta label for data/management team label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement Team:Data Management Meta label for data/management team
Projects
None yet
Development

No branches or pull requests

6 participants