VM management - Start/stop guests
Table of Contents
Description
Manual start and stop of managed guests.
Examples
Example1 - Guest stop with no stop script defined
Context: Red Hat Enterprise Linux 7.9 server with Charon-AXP V4.11 installed, as4100/pluto guest running
Due to the absence of stop script, the service receives a SIGKILL signal and then, once stopped, is considered as failed:
The FAILED status is the result of the lack of stop script, as there's no way to know a clean shutdown of the legacy operating system was done. To solve this issue and have an INACTIVE state when a virtual machine is stopped, please define a stop script as explained below.
Example2 - Guest stop with stop script defined
Context: Red Hat Enterprise Linux 7.9 server with Charon-AXP V4.11 installed, as4100/pluto guest running Tru64 and booted. Stop script created and customized, using the "ssh" method (see "VM management - Create/Edit guest stop script") with example provided in the kit.
We can see below the guest has been properly stopped and is now in INACTIVE and not in FAILED state:
Notes:
- Option 4 of the menu can help seeing the result of the shutdown commands
- Option 4 can also be used to edit the .service file to allow you to specify the service description, the auto-restart settings, etc... For more, see "
# man systemd.service
"
© Stromasys, 1999-2024 - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.