Assign a patch management blackout window
Apply a blackout window to prevent PE from applying patches to nodes for a specified duration of time. For example, limit applying patches during an end-of-year change freeze.
Before you begin:
Assign the
Assign the
pe_patch
class to the applicable node group. See Specify patching parameters for more information.- On the Node groups page, select the patching node group you want to assign a blackout window to.
- On the Classes tab, under
Parameter, add the
blackout_windows
parameter to thepe_patch
class. - In the Value field, enter your blackout window as a JSON
hash of keys and an ISO compliant timestamp.
For example, an end of year blackout window from the beginning of the day on 15 December 2020 to the end of the day on 15 January 2021 looks like this:
{ "End of year change freeze": { "start": "2020-12-15T00:00:00+10:00", "end": "2021-01-15T23:59:59+10:00" } }
- Commit changes.
Results
When a user tries to patch nodes during the blackout window, the Patch blocked field on the Apply patches table changes from No to Yes for affected patches. If the user proceeds with patching, the patching task fails.
When a user tries to patch nodes during the blackout window, the Patch blocked field on the Apply patches table changes from No to Yes for affected patches. If the user proceeds with patching, the patching task fails.