- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus VM Essentials
- >
- Starting and stopping VMs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2025 08:51 PM
тАО03-01-2025 08:51 PM
- Stopping
Can I set how the VM will behave when the host is stopped while the VM is running? Will it stop the VM, or will it be forcibly stopped without stopping the VM, etc.
- Starting
Can I set the VM, including the manager, to start automatically when the host starts? If so, will this apply to all VMs? Can I set it for each VM?
*This is a machine translation, so I apologize if it is difficult to understand.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2025 10:10 PM - edited тАО03-02-2025 10:11 PM
тАО03-02-2025 10:10 PM - edited тАО03-02-2025 10:11 PM
Re: Starting and stopping VMs
For autostarting the VMs, you can try this. This need to be set for each VM.
virsh list -all <----this should show the list of VMs running.
virsh autostart vm-name <-- this should ensure that the VM is autostarted when host boots up
virsh shutdown vm-name <---to shutdown a VM
To stop a VM from automatically booting, use the --disable
virsh autostart --disable vm-name
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2025 12:27 PM
тАО03-04-2025 12:27 PM
Re: Starting and stopping VMs
The default behavior of libvirt is to call a guest shutdown to the running VMs on host shutdown.
As for the startup behavior, I would not rely on the virsh settings to set an autostart flag. That only really works in a single host cluster. In VME Manager, configure a shared FileSystem datastore (GFS, NFS, CephFS) as a heartbeat LUN. When the host comes back online the HA actions will occur and power VMs back online.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2025 08:13 PM
тАО03-08-2025 08:13 PM
Re: Starting and stopping VMs
When I shut down the host, I manually stopped all VMs.
After that, when I start the host, the VMs do not start automatically.
Is this because I manually stopped the VMs when shutting down the host?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2025 08:18 PM
тАО03-08-2025 08:18 PM
Re: Starting and stopping VMs
Additional note:
When I say shutting down the hosts, I mean when I shut down all the hosts.
After that, I started up all the hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2025 08:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2025 02:36 PM
тАО03-14-2025 02:36 PM
Re: Starting and stopping VMs
thank you