How to configure Linux Based Operating Systems for Graceful Shutdown of KVM guest OSs
Issue:
In Linux-based operating systems, the KVM guests do not shut down gracefully when initiating a host OS shutdown.
Product Line:
PowerChute Network Shutdown (PCNS), PowerChute Serial Shutdown (PCSS), and PowerChute Business Edition (PCBE).
Environment:
Linux-based operating systems with KVM enabled (virtual machine installed).
Symptoms:
The KVM Guests are not shutting down gracefully with PCNS, PCSS & PCBE
Resolution:
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
Note: If the libvirt-guests file is not available under /etc/sysconfig
- Create the new file using “ sudo nano /etc/sysconfig/ libvirt-guests “and add the lines below, and save the file.
ON_BOOT=start
ON_SHUTDOWN=shutdown
SHUTDOWN_TIMEOUT=300
- Install the libvirt / libvirt-daemon package using the command below.
- sudo dnf install libvirt libvirt-daemon
- Verify that the qemu-kvm package is installed. If it is not installed, install it using the command below.
- sudo dnf install qemu-kvm
- Enable and start the libvirtd and libvirt-guests service with the following commands.
- systemctl 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).
- systemctl start libvirt-guests (To start the libvirt-guests service).
- Reboot the operating system to ensure that the configuration changes are applied.
เผยแพร่สำหรับ: ชไนเดอร์ อิเล็คทริค Thailand
ต้องการความช่วยเหลือใช่หรือไม่
โปรแกรมช่วยเลือกผลิตภัณฑ์
ค้นหาผลิตภัณฑ์และอุปกรณ์เสริมที่เหมาะสมกับการใช้งานของคุณได้อย่างรวดเร็วและง่ายดาย
ติดต่อฝ่ายขาย
ติดต่อสอบถามเกี่ยวกับการขายผ่านทางเว็บไซต์ และผู้เชี่ยวชาญจะติดต่อกลับ
สถานที่จัดจำหน่ายอยู่ที่ใด
ค้นหาตัวแทนจำหน่าย ชไนเดอร์ อิเล็คทริค ที่ใกล้ตัวคุณที่สุดได้อย่างง่ายดาย
ศูนย์ความช่วยเหลือ
ค้นหาแหล่งข้อมูลเพื่อสนับสนุนความต้องการทั้งหมดของคุณได้จากที่เดียว