Skip to content
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

pcs_constraint_ticket implementation #14

Open
OndrejHome opened this issue Jul 23, 2018 · 0 comments
Open

pcs_constraint_ticket implementation #14

OndrejHome opened this issue Jul 23, 2018 · 0 comments

Comments

@OndrejHome
Copy link
Owner

Implement creating/updating/deleting constraints with ticket.
Matching criteria: same ticket_name, role, resource ID
Non-matching criteria (for update): loss-policy

Expected to be based on following 2 commands from pcs:

ticket add <ticket> [<role>] <resource id> [<options>]
           [id=<constraint-id>]
    Create a ticket constraint for <resource id>.
    Available option is loss-policy=fence/stop/freeze/demote.
    A role can be master, slave, started or stopped.

ticket remove <ticket> <resource id>
    Remove all ticket constraints with <ticket> from <resource id>.

If interested in developing this, get in touch first to prevent duplication of work. If you have questions feel free to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant