How to avoid shutdown of computer during working hours
search cancel

How to avoid shutdown of computer during working hours

book

Article ID: 262662

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Software Delivery

Issue/Introduction

If a SD job with option "Boot Level after execution" = Shutdown machine after last job is sent to a machine 

 and if following configuration option is not set to 0 on the Agents :

DSM/Common Components/CAF/Shutdown/Software Delivery: Shutdown Behavior = 4
 
Shutdown behavior for this computer.By default, if NOT set, it is 0 (zero) indicating that Shutdown is never allowed for this computer. 1 indicates computer will be shutdown if requested in job options. 2 indicates computer will be shutdown if requested by calendar. 3 indicates computer will be shutdown if either job option or calendar request shutdown, 4 indicates computer will be shutdown only if both job option and calendar request shutdown.
 
 
Then computer executes the shutdown after execution of last job
This is useful if installation is done outside working hours (during night for example). But how to avoid the shutdown of computer during working hours ?

Environment

Client Automation - All versions

Resolution

- In Configuration Policy applied on the machine, set following settings :
 
DSM/Common Components/CAF/Shutdown/Software Delivery: Shutdown Behavior = 4
 
https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=wXi+TNOLMkEpKEDpEf05mw==
 
 
DSM/Common Components/CAF/Shutdown/Power Management Calendar/Default Shutdown Behavior = Disabled
 
https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=+oM7U+rT/tx5wvAxVYsdQg==
 
This indicates that "power management calendar" checking returns "disable shutdown" if current time does not belong to any specified time ranges.
 
 
 
DSM/Common Components/CAF/Shutdown/Power Management Calendar/Time Ranges
 
Create a Time Range like this :
 
State : Enabled
Hours : 00:00-06:00 20:00-00:00
Type : Normal Weekdays
Check the required Days (Monday, Tuesday, ...)
 
https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=Cs+jtLq0hruIhDOgMluhHw==
 
 
 
With this configuration 
- The shutdown is allowed only between 00:00 and 06:00 and between 20:00 and 00:00.