When a Windows shutdown or reboot is done, caf blocks the shutdown/reboot process during several seconds or minutes.
In TRC_CF_CAF_SERVICE_*.log following lines could be seen :
130624-00:46:54.3339182L|006188|000008f0|CAF_SERVIC|caf|caf|000000|NOTIFY | CFShutdowner::waitForPluginTermination: [0] waiting for sdagent to terminate before allowing system shutdown
130624-00:46:55.3507537L|006188|000008f0|CAF_SERVIC|caf|caf|000000|NOTIFY | CFShutdowner::waitForPluginTermination: [1] waiting for sdagent to terminate before allowing system shutdown
130624-00:46:56.3543726L|006188|000008f0|CAF_SERVIC|caf|caf|000000|NOTIFY | CFShutdowner::waitForPluginTermination: [2] waiting for sdagent to terminate before allowing system shutdown
...
130624-00:47:51.4070850L|006188|000008f0|CAF_SERVIC|caf|caf|000000|NOTIFY | CFShutdowner::waitForPluginTermination: [57] waiting for sdagent to terminate before allowing system shutdown
130624-00:47:52.4077119L|006188|000008f0|CAF_SERVIC|caf|caf|000000|NOTIFY | CFShutdowner::waitForPluginTermination: [58] waiting for sdagent to terminate before allowing system shutdown
130624-00:47:53.4082889L|006188|000008f0|CAF_SERVIC|caf|caf|000000|NOTIFY | CFShutdowner::waitForPluginTermination: [59] waiting for sdagent to terminate before allowing system shutdown
Client Automation - All Versions
When SD Agent executes a SD Job, caf blocks the shutdown/reboot of Windows until SD Agent terminates the execution of SD Job.
This is the default behavior of product.
This behavior is controlled by configuration policy
DSM/Software Delivery/Agent/Reboot: Allow application logoff and reboot (AllowApplicationLogoffReboot)
By default it is set to False on the Agent. It means that caf blocks the logoff/reboot/shutdown of windows if a SD Job is running.
This could avoid a windows shutdown in the middle of SD Job execution.
If this behavior is not requested and cause some problems, the parameter could be set to True :
DSM/Software Delivery/Agent/Reboot: Allow application logoff and reboot = True