Difference between revisions of "Stopping assignments"

From WICE Wiki v2.89
Jump to navigation Jump to search
(assignment->task)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>= Stopping assignments=</includeonly>
<includeonly>== Stopping assignments==</includeonly>
The tasks tab provides options to stop measure assignments in multiple ways. These are explained below.
The tasks tab provides options to stop measure tasks in multiple ways. These are explained below.


Assignments can assume multiple states  
Tasks can assume multiple states  
{| class="wikitable"
{| class="wikitable"
!Pending  
!Pending  
|The assignment is waiting for the WCU to download it.  
|The task is waiting for the WCU to download it.  
|-  
|-  
!Running  
!Running  
|The WCU has downloaded the assignment and it has started.  
|The WCU has downloaded the task and it has started.  
|-
|-
!Warning  
!Warning  
|The assignment is running on the WCU, but has reported warnings.  
|The task is running on the WCU, but has reported warnings.  
|-
|-
!Error  
!Error  
|The WCU has attempted to start the assignment, but has reported back major problems (that may have prevented it to run).  
|The WCU has attempted to start the task, but has reported back major problems (that may have prevented it to run).  
|-  
|-  
!Stop pending  
!Stop pending  
|The WCU still has the assignment applied, but will stop it next time it connects to the portal.  
|The WCU still has the task applied, but will stop it next time it connects to the portal.  
|-
|-
!Stopped  
!Stopped  
|The WCU has stopped running the assignment.  
|The WCU has stopped running the task.  
|}  
|}  


=== Resume assignment ===
=== Resume Task ===


Used to undo the stopping of an assignment. This is only usable on ''Stop Pending'' assignments, and reapplies the assignment so that the WCU will continue running it. If there is another assignment of the same type currently in ''Pending'' for that WCU, that assignment is changed to ''Stopped'', and will never be downloaded by the WCU.  
Used to undo the stopping of an task. This is only usable on ''Stop Pending'' tasks, and reapplies the task so that the WCU will continue running it. If there is another task of the same type currently in ''Pending'' for that WCU, that task is changed to ''Stopped'', and will never be downloaded by the WCU.  


=== Cancel Assignment ===
=== Cancel Task ===
Used to undo the application of a new assignment. Only useable on ''Pending'' assignments. The assignment is instantly ''Stopped'' and if there is an assignment of the same type currently ''Stop Pending'' it reapplies that assignment and changes the status back to ''Running''.  
Used to undo the application of a new task. Only useable on ''Pending'' tasks. The task is instantly ''Stopped'' and if there is a task of the same type currently ''Stop Pending'' it reapplies that task and changes the status back to ''Running''.  


=== Stop Assignment ===
=== Stop Task ===
Stops the assignment without replacing it, making the WCU not run anything of that assignment type. Useable on ''Pending'', ''Running'', ''Warning'', and ''Error''. Pending assignments instantly enter a ''Stopped'' state while giving the WCU a stop command. ''Running'', ''Warning'', and ''Error'' assignments enter a ''Stop Pending'' state, waiting for the WCU to report it has stopped before changing state to ''Stopped''.  
Stops the task without replacing it, making the WCU not run anything of that task type. Useable on ''Pending'', ''Running'', ''Warning'', and ''Error''. Pending tasks instantly enter a ''Stopped'' state while giving the WCU a stop command. ''Running'', ''Warning'', and ''Error'' tasks enter a ''Stop Pending'' state, waiting for the WCU to report it has stopped before changing state to ''Stopped''.  


=== Force Stop Assignment ===  
=== Force Stop Task ===  
Force stopping an assignment is an Admin feature meant for WCUs which have been physically disconnected by an operator while having an active assignment. In this situation the WCU will not report to the portal that it has actually stopped the assignment (since it will not turn on). In this case, this feature can be used to place the assignment in ''Stopped'' for tracking purposes. This can only be used on ''Stop Pending'' assignment. If you wish to force stop a running/warning/error assignment, you need to stop it first (using Stop Assignment).
Force stopping a task is an Admin feature meant for WCUs which have been physically disconnected by an operator while having an active task. In this situation the WCU will not report to the portal that it has actually stopped the task (since it will not turn on). In this case, this feature can be used to place the task in ''Stopped'' for tracking purposes. This can only be used on ''Stop Pending'' task. If you wish to force stop a running/warning/error task, you need to stop it first (using Stop Task).


'''Note''' that this will not affect the actual WCU in any way.
'''Note''' that this will not affect the actual WCU in any way.


=== Stopping assignments and strict resource groups ===
=== Stopping tasks and strict resource groups ===
You can use these features on [[Strict resource group|strict resource groups]] to stop all assignments of that type running on the WCUs in that group. <br>
You can use these features on [[Strict resource group|strict resource groups]] to stop all tasks of that type running on the WCUs in that group. <br>
'''Stop Assignment''' will place all the assignments of that type in either ''Stop Pending'' or ''Stopped'' based on their status (see Stop Assignment). <br>
'''Stop Task''' will place all the tasks of that type in either ''Stop Pending'' or ''Stopped'' based on their status (see Stop Task). <br>
'''Force Stop Assignment''' can be used used on strict resource groups with status ''Stop Pending'' to force every WCU in the resource group to enter ''Stopped'' state (see Force Stop Assignment).
'''Force Stop Task''' can be used used on strict resource groups with status ''Stop Pending'' to force every WCU in the resource group to enter ''Stopped'' state (see Force Stop Task).


'''Note''' that '''Resume Assignment''' and '''Cancel Assignment''' can not be used on '''strict''' resource groups.
'''Note''' that '''Resume Task''' and '''Cancel Task''' can not be used on '''strict''' resource groups.

Latest revision as of 13:40, 26 November 2021

The tasks tab provides options to stop measure tasks in multiple ways. These are explained below.

Tasks can assume multiple states

Pending The task is waiting for the WCU to download it.
Running The WCU has downloaded the task and it has started.
Warning The task is running on the WCU, but has reported warnings.
Error The WCU has attempted to start the task, but has reported back major problems (that may have prevented it to run).
Stop pending The WCU still has the task applied, but will stop it next time it connects to the portal.
Stopped The WCU has stopped running the task.

Resume Task

Used to undo the stopping of an task. This is only usable on Stop Pending tasks, and reapplies the task so that the WCU will continue running it. If there is another task of the same type currently in Pending for that WCU, that task is changed to Stopped, and will never be downloaded by the WCU.

Cancel Task

Used to undo the application of a new task. Only useable on Pending tasks. The task is instantly Stopped and if there is a task of the same type currently Stop Pending it reapplies that task and changes the status back to Running.

Stop Task

Stops the task without replacing it, making the WCU not run anything of that task type. Useable on Pending, Running, Warning, and Error. Pending tasks instantly enter a Stopped state while giving the WCU a stop command. Running, Warning, and Error tasks enter a Stop Pending state, waiting for the WCU to report it has stopped before changing state to Stopped.

Force Stop Task

Force stopping a task is an Admin feature meant for WCUs which have been physically disconnected by an operator while having an active task. In this situation the WCU will not report to the portal that it has actually stopped the task (since it will not turn on). In this case, this feature can be used to place the task in Stopped for tracking purposes. This can only be used on Stop Pending task. If you wish to force stop a running/warning/error task, you need to stop it first (using Stop Task).

Note that this will not affect the actual WCU in any way.

Stopping tasks and strict resource groups

You can use these features on strict resource groups to stop all tasks of that type running on the WCUs in that group.
Stop Task will place all the tasks of that type in either Stop Pending or Stopped based on their status (see Stop Task).
Force Stop Task can be used used on strict resource groups with status Stop Pending to force every WCU in the resource group to enter Stopped state (see Force Stop Task).

Note that Resume Task and Cancel Task can not be used on strict resource groups.