Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
When the script is initialized using option 6 or when a new virtual machine is added, the following lines are added:
...
...
|
One of the blue colored lines above has to be uncommented depending on the method chosen. Other lines can remain in the script or can be deleted.
...
Check the guest can be reached via ping, if yes:
Issue the
shutdown
command via "ssh" (depends on the operating system),Wait for a few seconds
Check if the guest can be "pinged" and repeat with an interval of 5 seconds
If the guest cannot be pinged, assume the shutdown procedure is complete
Use the
service kill
command. The shutdown commands does not power off nor stop the emulator process, that's why this operation is neededReport the stop information within the guest log file
Forcing service status to INACTIVE without shutdown script
If a shutdown script is not defined, stopping the service will let it in a FAILED state. In case your perform the legacy OS shutdown manually and then stops the virtual machine, you can use the following method to force the service state to INACTIVE.
Example provided for uranus virtual machine (lines to add in blue color):
... /charon/uranus.cfg) PID=`ps -ef|grep "$2 -d $1"|grep -v grep|awk '{print $2}'`
... |
A clean shutdown of the legacy OS is highly recommended.
Include Page | ||||
---|---|---|---|---|
|