오늘 무엇을 도와드릴까요?

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:

    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

    Note: If the libvirt-guests file is not available under /etc/sysconfig

    1. 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

    1. Install the libvirt / libvirt-daemon package using the command below.
    • sudo dnf install libvirt libvirt-daemon

    1. Verify that the qemu-kvm package is installed. If it is not installed, install it using the command below.
    • sudo dnf install qemu-kvm

    1. 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).
    1. Reboot the operating system to ensure that the configuration changes are applied.

    슈나이더 일렉트릭 Korea

    자세히 알아보기
    제품군
    자세히 알아보기
    제품군

    도움이 필요하신가요?

    도움이 필요하신가요?

    제품 선택기

    제품 선택기

    애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.

    견적 받기

    견적 받기

    영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.

    구매처

    구매처

    해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.

    지원 센터

    지원 센터

    한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.

    • 제품 문서
    • 소프트웨어 다운로드
    • 제품 선택기
    • 제품 대체 및 교체
    • 지원 및 연락처 센터
    • 영업소 검색
    • 견적 받기
    • 슈나이더 일렉트릭 커뮤니티
    • 채용
    • 회사 소개
    • 부정 행위 보고
    • 접근성
    • 뉴스룸
    • 투자자
    • Ecostruxure
    • 작업 검색
    • 블로그
    • 개인정보 취급방침
    • 쿠키 공지
    • 사용 약관
    • Change your cookie settings