You can use the Server Console or LISA Invoke to stop a currently running lab. This action is permanent and cannot be undone.
If the lab is a child lab, the parent labs are not stopped.
Note: You cannot stop the Default lab.
Stop a Lab from the Server Console
In the network graph, right-click the lab and select Stop.
When the action is finished, a message indicates that the lab was stopped.
Stop a Lab by Using LISA Invoke:
You can use LISA Invoke to stop a lab. The syntax is:
/lisa-invoke/killLab?labKey=LAB:key
The available lab keys are included in the response to the listRunnableLabs operation. For more information, see List the Available Labs.
The response is an XML document that includes a status message.
Example
The following URL makes a request to stop a lab whose key is VCD:49.
http://localhost:1505/lisa-invoke/killLab?labKey=VCD:49
The following response indicates that the lab was stopped.
<?xml version="1.0" encoding="UTF-8" ?> <invokeResult> <method name="KillLab"> <params /> </method> <status>OK</status> <result> <message>Lab with key VCD:49 has been deleted.</message> </result> </invokeResult>
Copyright © 2014 CA Technologies.
All rights reserved.
|
|