Red Hat Training

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

章 1. Red Hat 虛​​​​​​​擬​​​​​​​化​​​​​​​系​​​​​​​統​​​​​​​架​​​​​​​構​​​​​​​

實​​​​​​​用​​​​​​​的​​​​​​​ Red Hat 虛​​​​​​​擬​​​​​​​化​​​​​​​系​​​​​​​統​​​​​​​是​​​​​​​多​​​​​​​層​​​​​​​的​​​​​​​,並​​​​​​​且​​​​​​​有​​​​​​​特​​​​​​​權​​​​​​​的​​​​​​​ Red Hat 虛​​​​​​​擬​​​​​​​化​​​​​​​元​​​​​​​件​​​​​​​所​​​​​​​驅​​​​​​​動​​​​​​​。​​​​​​​Red Hat 虛​​​​​​​擬​​​​​​​化​​​​​​​能​​​​​​​夠​​​​​​​管​​​​​​​理​​​​​​​多​​​​​​​重​​​​​​​的​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​。​​​​​​​每​​​​​​​個​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​都​​​​​​​自​​​​​​​行​​​​​​​執​​​​​​​行​​​​​​​於​​​​​​​網​​​​​​​域​​​​​​​中​​​​​​​,Red Hat 虛​​​​​​​擬​​​​​​​化​​​​​​​會​​​​​​​在​​​​​​​虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​中​​​​​​​編​​​​​​​排​​​​​​​虛​​​​​​​擬​​​​​​​ CPU 來​​​​​​​使​​​​​​​可​​​​​​​用​​​​​​​的​​​​​​​實​​​​​​​體​​​​​​​ CPU 能​​​​​​​被​​​​​​​完​​​​​​​全​​​​​​​的​​​​​​​使​​​​​​​用​​​​​​​。​​​​​​​每​​​​​​​個​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​都​​​​​​​會​​​​​​​處​​​​​​​理​​​​​​​它​​​​​​​們​​​​​​​自​​​​​​​己​​​​​​​的​​​​​​​應​​​​​​​用​​​​​​​程​​​​​​​式​​​​​​​。​​​​​​​這​​​​​​​些​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​也​​​​​​​會​​​​​​​相​​​​​​​應​​​​​​​的​​​​​​​編​​​​​​​排​​​​​​​各​​​​​​​個​​​​​​​應​​​​​​​用​​​​​​​程​​​​​​​式​​​​​​​。​​​​​​​
您​​​​​​​能​​​​​​​夠​​​​​​​以​​​​​​​兩​​​​​​​種​​​​​​​選​​​​​​​擇​​​​​​​來​​​​​​​見​​​​​​​置​​​​​​​ Red Hat 虛​​​​​​​擬​​​​​​​化​​​​​​​:完​​​​​​​整​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​ 或​​​​​​​是​​​​​​​ 半​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​。​​​​​​​完​​​​​​​整​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​提​​​​​​​供​​​​​​​完​​​​​​​整​​​​​​​的​​​​​​​基​​​​​​​本​​​​​​​實​​​​​​​體​​​​​​​系​​​​​​​統​​​​​​​的​​​​​​​摘​​​​​​​要​​​​​​​並​​​​​​​且​​​​​​​建​​​​​​​立​​​​​​​一​​​​​​​個​​​​​​​能​​​​​​​夠​​​​​​​執​​​​​​​行​​​​​​​客​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​的​​​​​​​新​​​​​​​虛​​​​​​​擬​​​​​​​系​​​​​​​統​​​​​​​。​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​或​​​​​​​是​​​​​​​它​​​​​​​的​​​​​​​應​​​​​​​用​​​​​​​程​​​​​​​式​​​​​​​都​​​​​​​不​​​​​​​需​​​​​​​更​​​​​​​變​​​​​​​(因​​​​​​​為​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​或​​​​​​​是​​​​​​​應​​​​​​​用​​​​​​​程​​​​​​​式​​​​​​​不​​​​​​​會​​​​​​​發​​​​​​​現​​​​​​​到​​​​​​​這​​​​​​​是​​​​​​​個​​​​​​​虛​​​​​​​擬​​​​​​​的​​​​​​​環​​​​​​​境​​​​​​​所​​​​​​​以​​​​​​​會​​​​​​​照​​​​​​​常​​​​​​​的​​​​​​​執​​​​​​​行​​​​​​​)。​​​​​​​半​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​則​​​​​​​需​​​​​​​要​​​​​​​使​​​​​​​用​​​​​​​者​​​​​​​修​​​​​​​正​​​​​​​執​​​​​​​行​​​​​​​在​​​​​​​虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​上​​​​​​​的​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​(因​​​​​​​為​​​​​​​這​​​​​​​些​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​知​​​​​​​道​​​​​​​它​​​​​​​們​​​​​​​正​​​​​​​在​​​​​​​一​​​​​​​個​​​​​​​虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​上​​​​​​​執​​​​​​​行​​​​​​​),並​​​​​​​且​​​​​​​提​​​​​​​供​​​​​​​近​​​​​​​本​​​​​​​機​​​​​​​的​​​​​​​效​​​​​​​能​​​​​​​。​​​​​​​您​​​​​​​能​​​​​​​跨​​​​​​​越​​​​​​​您​​​​​​​的​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​構​​​​​​​造​​​​​​​,同​​​​​​​時​​​​​​​的​​​​​​​設​​​​​​​定​​​​​​​半​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​以​​​​​​​及​​​​​​​完​​​​​​​整​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​。​​​​​​​
第​​​​​​​一​​​​​​​個​​​​​​​網​​​​​​​域​​​​​​​,又​​​​​​​稱​​​​​​​為​​​​​​​ domain0 (dom0),會​​​​​​​在​​​​​​​您​​​​​​​啟​​​​​​​動​​​​​​​系​​​​​​​統​​​​​​​時​​​​​​​自​​​​​​​動​​​​​​​建​​​​​​​立​​​​​​​。​​​​​​​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.
您​​​​​​​能​​​​​​​夠​​​​​​​使​​​​​​​用​​​​​​​一​​​​​​​些​​​​​​​虛​​​​​​​擬​​​​​​​ cpus(又​​​​​​​稱​​​​​​​為​​​​​​​ vcpus)來​​​​​​​設​​​​​​​定​​​​​​​每​​​​​​​個​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​。​​​​​​​Virtual Machine Manager 會​​​​​​​根​​​​​​​據​​​​​​​實​​​​​​​體​​​​​​​ CPU 上​​​​​​​的​​​​​​​工​​​​​​​作​​​​​​​量​​​​​​​來​​​​​​​編​​​​​​​排​​​​​​​ vcpus。​​​​​​​
您​​​​​​​能​​​​​​​夠​​​​​​​給​​​​​​​予​​​​​​​一​​​​​​​個​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​任​​​​​​​何​​​​​​​數​​​​​​​量​​​​​​​的​​​​​​​ 虛​​​​​​​擬​​​​​​​磁​​​​​​​碟​​​​​​​(virtual disks)。​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​會​​​​​​​把​​​​​​​這​​​​​​​當​​​​​​​成​​​​​​​是​​​​​​​硬​​​​​​​碟​​​​​​​或​​​​​​​者​​​​​​​是​​​​​​​(對​​​​​​​完​​​​​​​整​​​​​​​虛​​​​​​​擬​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​來​​​​​​​說​​​​​​​)CD-ROM 驅​​​​​​​動​​​​​​​器​​​​​​​。​​​​​​​每​​​​​​​個​​​​​​​虛​​​​​​​擬​​​​​​​磁​​​​​​​碟​​​​​​​都​​​​​​​是​​​​​​​由​​​​​​​一​​​​​​​個​​​​​​​區​​​​​​​塊​​​​​​​裝​​​​​​​置​​​​​​​或​​​​​​​是​​​​​​​一​​​​​​​個​​​​​​​主​​​​​​​機​​​​​​​上​​​​​​​的​​​​​​​正​​​​​​​規​​​​​​​檔​​​​​​​案​​​​​​​而​​​​​​​提​​​​​​​供​​​​​​​給​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​。​​​​​​​主​​​​​​​機​​​​​​​上​​​​​​​的​​​​​​​裝​​​​​​​置​​​​​​​包​​​​​​​含​​​​​​​著​​​​​​​整​​​​​​​個​​​​​​​完​​​​​​​整​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​的​​​​​​​磁​​​​​​​碟​​​​​​​映​​​​​​​像​​​​​​​檔​​​​​​​,並​​​​​​​且​​​​​​​通​​​​​​​常​​​​​​​會​​​​​​​包​​​​​​​含​​​​​​​著​​​​​​​磁​​​​​​​碟​​​​​​​分​​​​​​​割​​​​​​​表​​​​​​​、​​​​​​​多​​​​​​​重​​​​​​​磁​​​​​​​碟​​​​​​​分​​​​​​​割​​​​​​​、​​​​​​​以​​​​​​​及​​​​​​​潛​​​​​​​在​​​​​​​的​​​​​​​ LVM 實​​​​​​​體​​​​​​​容​​​​​​​量​​​​​​​。​​​​​​​
虛​​​​​​​擬​​​​​​​網​​​​​​​路​​​​​​​介​​​​​​​面​​​​​​​ 於​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​上​​​​​​​執​​​​​​​行​​​​​​​。​​​​​​​其​​​​​​​它​​​​​​​介​​​​​​​面​​​​​​​能​​​​​​​夠​​​​​​​如​​​​​​​虛​​​​​​​擬​​​​​​​乙​​​​​​​太​​​​​​​網​​​​​​​路​​​​​​​卡​​​​​​​(VNICS)一​​​​​​​樣​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​上​​​​​​​執​​​​​​​行​​​​​​​。​​​​​​​這​​​​​​​些​​​​​​​網​​​​​​​路​​​​​​​介​​​​​​​面​​​​​​​是​​​​​​​以​​​​​​​一​​​​​​​個​​​​​​​持​​​​​​​續​​​​​​​的​​​​​​​虛​​​​​​​擬​​​​​​​媒​​​​​​​體​​​​​​​存​​​​​​​取​​​​​​​控​​​​​​​制​​​​​​​(MAC)位​​​​​​​址​​​​​​​來​​​​​​​設​​​​​​​定​​​​​​​的​​​​​​​。​​​​​​​新​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​的​​​​​​​預​​​​​​​設​​​​​​​安​​​​​​​裝​​​​​​​將​​​​​​​會​​​​​​​安​​​​​​​裝​​​​​​​ VNIC 並​​​​​​​且​​​​​​​它​​​​​​​含​​​​​​​有​​​​​​​一​​​​​​​個​​​​​​​由​​​​​​​ 1600 萬​​​​​​​個​​​​​​​位​​​​​​​置​​​​​​​中​​​​​​​隨​​​​​​​機​​​​​​​挑​​​​​​​選​​​​​​​的​​​​​​​ MAC 位​​​​​​​置​​​​​​​,如​​​​​​​此​​​​​​​任​​​​​​​何​​​​​​​的​​​​​​​兩​​​​​​​個​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​取​​​​​​​得​​​​​​​相​​​​​​​同​​​​​​​的​​​​​​​ MAC 位​​​​​​​置​​​​​​​機​​​​​​​會​​​​​​​微​​​​​​​乎​​​​​​​其​​​​​​​微​​​​​​​。​​​​​​​擁​​​​​​​有​​​​​​​大​​​​​​​量​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​的​​​​​​​複​​​​​​​雜​​​​​​​網​​​​​​​站​​​​​​​能​​​​​​​夠​​​​​​​由​​​​​​​手​​​​​​​動​​​​​​​來​​​​​​​分​​​​​​​配​​​​​​​ MAC 位​​​​​​​置​​​​​​​以​​​​​​​確​​​​​​​認​​​​​​​它​​​​​​​們​​​​​​​在​​​​​​​網​​​​​​​路​​​​​​​上​​​​​​​是​​​​​​​唯​​​​​​​一​​​​​​​的​​​​​​​ MAC 位​​​​​​​置​​​​​​​。​​​​​​​
每​​​​​​​個​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​都​​​​​​​有​​​​​​​一​​​​​​​個​​​​​​​連​​​​​​​結​​​​​​​到​​​​​​​主​​​​​​​機​​​​​​​的​​​​​​​虛​​​​​​​擬​​​​​​​ 文​​​​​​​字​​​​​​​主​​​​​​​控​​​​​​​台​​​​​​​。​​​​​​​您​​​​​​​能​​​​​​​夠​​​​​​​將​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​登​​​​​​​入​​​​​​​檔​​​​​​​以​​​​​​​及​​​​​​​主​​​​​​​控​​​​​​​台​​​​​​​輸​​​​​​​出​​​​​​​重​​​​​​​定​​​​​​​向​​​​​​​至​​​​​​​文​​​​​​​字​​​​​​​主​​​​​​​控​​​​​​​台​​​​​​​。​​​​​​​
您​​​​​​​可​​​​​​​以​​​​​​​設​​​​​​​定​​​​​​​任​​​​​​​何​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​來​​​​​​​使​​​​​​​用​​​​​​​一​​​​​​​個​​​​​​​相​​​​​​​應​​​​​​​於​​​​​​​實​​​​​​​體​​​​​​​主​​​​​​​機​​​​​​​上​​​​​​​,正​​​​​​​常​​​​​​​的​​​​​​​視​​​​​​​頻​​​​​​​主​​​​​​​控​​​​​​​台​​​​​​​的​​​​​​​虛​​​​​​​擬​​​​​​​圖​​​​​​​形​​​​​​​化​​​​​​​主​​​​​​​控​​​​​​​台​​​​​​​(graphical console)。​​​​​​​這​​​​​​​能​​​​​​​夠​​​​​​​使​​​​​​​用​​​​​​​在​​​​​​​完​​​​​​​整​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​或​​​​​​​是​​​​​​​半​​​​​​​虛​​​​​​​擬​​​​​​​化​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​上​​​​​​​。​​​​​​​它​​​​​​​使​​​​​​​用​​​​​​​了​​​​​​​像​​​​​​​是​​​​​​​啟​​​​​​​動​​​​​​​訊​​​​​​​息​​​​​​​處​​​​​​​理​​​​​​​、​​​​​​​圖​​​​​​​形​​​​​​​化​​​​​​​啟​​​​​​​動​​​​​​​、​​​​​​​多​​​​​​​重​​​​​​​虛​​​​​​​擬​​​​​​​終​​​​​​​端​​​​​​​機​​​​​​​的​​​​​​​標​​​​​​​準​​​​​​​圖​​​​​​​形​​​​​​​適​​​​​​​配​​​​​​​器​​​​​​​,並​​​​​​​且​​​​​​​還​​​​​​​能​​​​​​​夠​​​​​​​啟​​​​​​​動​​​​​​​ x window 系​​​​​​​統​​​​​​​。​​​​​​​您​​​​​​​也​​​​​​​能​​​​​​​使​​​​​​​用​​​​​​​圖​​​​​​​形​​​​​​​化​​​​​​​鍵​​​​​​​盤​​​​​​​來​​​​​​​設​​​​​​​定​​​​​​​虛​​​​​​​擬​​​​​​​鍵​​​​​​​盤​​​​​​​以​​​​​​​及​​​​​​​滑​​​​​​​鼠​​​​​​​。​​​​​​​
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.