Browse FAQs

How to configure Linux Based Operating Systems for Graceful Shutdown of KVM guest Oss?

Published date: 04 November 2019

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:
  • Follow the Steps below:
  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 Autostart option for the KVM from the Virtual Machine information menu.
Below additional steps are required for RHEL 6.8 and SUSE12 SP4
 [For RHEL 6.8]
a. Install ‘acpid’ rpm package using following command
yum install acpid (For registered systems)
      or
rpm -i acpid.rpm (For non-registered systems, it can be downloaded from the link à https://software.opensuse.org/package/acpid)
b. service acpid start (To start acpid service)
c. service acpid status (To check acpid status)

(For SUSE 12 SP4)
a. Install Glibc package (It is available in OS ISO Image. Extract the ISO image and go to /suse/x86_64). Use command à rpm -i glibc-2.22-15.3.x86_64.rpm
b. Install ‘acpid’ rpm package using following command.
zypper install acpid (For registered systems)
      or
rpm -i acpid.rpm (For non-registered systems, it can be downloaded from the link à https://software.opensuse.org/package/acpid)
c. service acpid start (To start acpid service)
d. service acpid status (To check acpid status)

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.