Browse FAQs

How to configure Linux Based Operating Systems for Graceful Shutdown of KVM and XEN guest OSs

Published date: 21 January 2020

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:
 
  1. Open Terminal in the Linux Host OS and Navigate to /etc/sysconfig/libvirt-guests file
  2. Uncomment and Edit the lines as shown below. Use ‘vi’ command.
  ON_BOOT=start
  ON_SHUTDOWN=shutdown
  SHUTDOWN_TIMEOUT=300
  1. Save the file.    
  2. Enable and Start the libvirtd and libvirt-guests service by the following steps.
            Enable and start the libvirtd service using below commands.
  1. sytemctl enable libvirtd (To enable the libvirtd service).
  2. systemctl start libvirtd (To start the libvirtd service).
            Enable and start the libvirt-guests service using below commands.
  1. systemctl enable libvirt-guests (To enable the libvirt-guests service).
  2. sytemctl  start libvirt-guests (To start the libvirt-guests service).
For RHEL 6.8 (Follow the below steps after performing Resolution steps 1 to 3)
  1. Start the libvirtd and libvirt-guests service by the following steps.
  1. Start the libvirtd service by the following command.
  2. service libvirtd start (To start the libvirtd service).

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.