{}

Our Brands

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:
  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).

APC Croatia

Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.