Stopping assignments

From WICE Wiki v2.89
Jump to navigation Jump to search

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

Assignments can assume multiple states

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

Resume assignment

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.

Cancel Assignment

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.

Stop Assignment

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.

Force Stop Assignment

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).

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

Stopping assignments and strict resource groups

You can use these features on strict resource groups to stop all assignments of that type running on the WCUs in that group.
Stop Assignment will place all the assignments of that type in either Stop Pending or Stopped based on their status (see Stop Assignment).
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).

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