본문 바로가기
Virtual/KVM

[Rocky 8.10][KVM] Web Conlsole 시스템 관리(Cockpit) + Snapshot

by Yoon_estar 2025. 7. 11.
728x90

Cockpit download

dnf install cockpit-machines -y
systemctl enable --now cockpit.socket

 

Web 접속 화면

  • 192.168.207.10:9090 주소로 접속

 

참고 문서

https://docs.redhat.com/ko/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_virtualization/setting-up-the-rhel-web-console-to-manage-vms_managing-virtual-machines-in-the-web-console

 

8.2. 가상 머신을 관리하도록 웹 콘솔 설정 | 가상화 구성 및 관리 | Red Hat Enterprise Linux | 9 | Red Hat D

형식멀티 페이지단일 페이지모든 문서를 PDF로 표시

docs.redhat.com

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_systems_using_the_rhel_9_web_console/getting-started-with-the-rhel-9-web-console_system-management-using-the-rhel-9-web-console#installing-the-web-console_getting-started-with-the-rhel-9-web-console

 

VM 생성 테스트

 

virt-manager로 확인

가상 머신 스냅샷 찍는 명령어

  • VM 실행 중일 때 live snapshot (QEMU guest agent 추천)
virsh snapshot-create-as \\
  --domain myvm \\
  --name snapshot1 \\
  --description "Before update" \\
  --atomic \\
  --disk-only \\
  --no-metadata
  • VM이 꺼진 상태에서 전체 snapshot
virsh snapshot-create-as myvm snapshot1 "Before update"

 

스냅샷 시 참고 사항

qcow2 볼륨 vs 단순 볼륨(raw)

  • 아래 이미지에서 신규 qcow2 볼륨과 신규 단순 볼륨 만들기 있다.
  • VM 생성할 때 qcow2 볼륨으로 생성해야지만 스냅샷 기능이 가능하다

스냅샷 관련 참고 문서

https://docs.redhat.com/ko/documentation/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-managing_snapshots-snapshot_create_as_domain

 

20.39.2. 현재 게스트 가상 머신의 스냅샷 생성 | 가상화 배포 및 관리 가이드 | Red Hat Enterprise Linux |

형식멀티 페이지단일 페이지모든 문서를 PDF로 표시

docs.redhat.com