Search FAQs
How to configure Linux Based Operating Systems for Graceful Shutdown of KVM and XEN guest OSs
Issue:
In Linux based operating systems the KVM guests are not shutting down gracefully when initiating a host OS shutdown.
Product Line:
PowerChute Network Shutdown (PCNS) and PowerChute Business Edition (PCBE).
Environment:
Linux based operating systems with virtual machine installed.
Symptoms:
The KVM Guests are not shutting down gracefully with PCBE and PCNS (all versions)
Resolution:
In Linux based operating systems the KVM guests are not shutting down gracefully when initiating a host OS shutdown.
Product Line:
PowerChute Network Shutdown (PCNS) and PowerChute Business Edition (PCBE).
Environment:
Linux based operating systems with virtual machine installed.
Symptoms:
The KVM Guests are not shutting down gracefully with PCBE and PCNS (all versions)
Resolution:
- Open Terminal in the Linux Host OS and Navigate to /etc/sysconfig/libvirt-guests file
- Uncomment and Edit the lines as shown below. Use ‘vi’ command.
ON_BOOT=start
ON_SHUTDOWN=shutdown
SHUTDOWN_TIMEOUT=300
- Save the file.
- Enable and Start the libvirtd and libvirt-guests service by the following steps.
- sytemctl enable libvirtd (To enable the libvirtd service).
- systemctl start libvirtd (To start the libvirtd service).
- systemctl enable libvirt-guests (To enable the libvirt-guests service).
- sytemctl start libvirt-guests (To start the libvirt-guests service).
- Start the libvirtd and libvirt-guests service by the following steps.
- Start the libvirtd service by the following command.
- service libvirtd start (To start the libvirtd service).