-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
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.