Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

1장. Red Hat Virtualization 시스템 구조

실용적인 Red Hat Virtualization 시스템은 다중 계층으로 이루어졌으며, 권한을 가진 Red Hat Virtualization 구성요소에 의해 구동됩니다. Red Hat Virtualization은 다수의 게스트 운영 체제를 실행할 수 있습니다. 각 게스트 운영 체제는 해당하는 도메인 안에서 실행되며, Red Hat Virtualization은 기존의 실제 CPU 사용을 최적화하기 위해 가상 장치에 가상 CPU를 할당합니다. 각 게스트 운영 체제는 개별적으로 프로그램을 가지며, 또한 각 프로그램을 운영 체제에 맞게 조작할 수 있습니다.
Red Hat Virtualization은 다음 두 가지 중 하나를 선택하여 실행됩니다: full virtualization(완전 가상화) 또는 paravirtualization(반 가상화). 완전 가상화는 기본 실제 시스템을 완전히 추출하여 게스트 운영 체제를 실행할 수 있는 새로운 가상 시스템을 생성합니다. 따라서, 게스트 OS와 프로그램을 수정할 필요가 없습니다 (게스트 OS와 프로그램은 가상 환경을 인식하지 못하며, 평소대로 작동합니다). 반 가상화는 가상 장치에서 실행되는 게스트 운영 체제에 사용자 수정이 필요하며(게스트 운영 체제는 가상 장치에서 실행되고 있다는 것을 인식합니다), 거의 완전한 수행 능력을 제공합니다. 사용자는 가상화 구조에 따라 반 가상화와 완전 가상화를 모두 사용할 수도 있습니다.
domain0로 알려진 첫 번째 도메인은 시스템을 시작할 때 자동으로 생성됩니다. domain0는 권한을 가진 게스트로서 새로운 도메인을 만들고 이에 대한 가상 장치를 관리할 수 있는 관리 능력을 수행합니다. domain0는 또한 네트워크 카드, 하드 디스크 컨트롤러와 같은 실제 하드웨어를 다루며, 다른 가상 장치에 게스트 도메인 보류, 계속, 도입 등과 같은 관리 작업을 수행합니다.
The hypervisor (Red Hat's Virtual Machine Monitor) is a virtualization platform that allows multiple operating systems to run on a single host simultaneously within a full virtualization environment. A guest is an operating system (OS) that runs on a virtual machine in addition to the host or main OS.
With Red Hat Virtualization, each guests memory comes from a slice of the host's physical memory. For paravirtual guests, you can set both the initial memory and the maximum size of the virtual machine. You can add (or remove) physical memory to the virtual machine at runtime without exceeding the maximum size you specify. This process is called ballooning.
각 게스트를 다수의 가상 cpu(vcpu라고 불림)를 사용해 구성할 수 있습니다. Virtual Machine Manager는 실제 CPU의 작업량에 따라서 vcpu를 할당합니다.
게스트에 다수의 가상 디스크를 할당할 수 있습니다. 게스트는 가상 디스크를 하드 디스크 또는 CD-ROM 드라이브(완전 가상 게스트)로 인식합니다. 게스트에 호스트의 블록 장치 또는 일반 파일로부터 각 가상 디스크가 제공됩니다. 호스트 장치는 게스트의 파티션 테이블, 다중 파티션 또는 LVM 물리적 볼륨을 포함하는 완전한 디스크 이미지를 가지고 있습니다.
가상 네트워크 인터페이스는 게스트에서 실행됩니다. 다른 인터페이스도 가상 이더넷 인터넷 카드처럼 게스트에서 실행될 수 있습니다. 이러한 네트워크 인터페이스 카드는 영구적인 가상 MAC(Media Access Control) 주소를 사용해 구성됩니다. 새로운 게스트 설치 시 디폴트로 VNIC를 1천 6백만 주소가 지정된 데이터베이스로부터 임의로 선택된 MAC 주소를 할당하여 설치합니다. 따라서, 두 게스트가 같은 MAC 주소를 갖는 경우는 발생하지 않습니다. 많은 게스트가 있는 복잡한 사이트에는 MAC 주소를 수동으로 할당하여 게스트를 네트워크에서 고유하도록 설정할 수 있습니다.
각 게스트에는 호스트에 연결하는 가상의 텍스트 콘솔이 있습니다. 사용자는 게스트 로그인과 콘솔 출력을 텍스트 콘솔로 전환할 수 있습니다.
특정 게스트를 실제 호스트의 일반 비디오 콘솔에 해당하는 가상 그래픽 콘솔을 사용하도록 설정할 수 있습니다. 이것은 완전 가상 또는 반 가상 게스트에서 사용 가능합니다. 시작 메세지, 그래픽형식 시작, 다중 가상 터미널 같은 표준 그래픽 아답터 기능을 도입하며 x 윈도우 시스템을 실행할 수 있습니다. 또한, 그래픽형식 키보드를 사용하여 가상 키보드와 마우스를 구성할 수도 있습니다.
Guests can be identified in any of three identities: domain name (domain-name), identity (domain-id), or UUID. The domain-name is a text string that corresponds to a guest configuration file. The domain-name is used to launch the guests, and when the guest runs the same name is used to identify and control it. The domain-id is a unique, non-persistent number that gets assigned to an active domain and is used to identify and control it. The UUID is a persistent, unique identifier that is controlled from the guest's configuration file and ensures that the guest is identified over time by system management tools. It is visible to the guest when it runs. A new UUID is automatically assigned to each guest by the system tools when the guest first installs.