Commit
…ss in maintainence mode 'Unmanaged' in this context means failed with on-fail=block. Not doing this could lead to services being active in more than one location as the node is considered safely stopped. Resources that are configured to be unmanaged will not block shutdown /unless/ there is another resource that cannot shutdown until the unmanaged one has - since that is impossible.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,7 @@ native_add_running(resource_t * rsc, node_t * node, pe_working_set_t * data_set) | |
break; | ||
case recovery_block: | ||
clear_bit(rsc->flags, pe_rsc_managed); | ||
set_bit(rsc->flags, pe_rsc_block); | ||
break; | ||
} | ||
crm_debug("%s is active on %d nodes including %s: %s", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
beekhof
Author
Member
|
||
|
With on-fail="block" or multiple-active="block", the resource will be blocked when it encounters the issues. But the resources that depend on it will be stopped. Should we probably block them as well?