Hyper-V R2動(dòng)手實(shí)驗(yàn)之虛擬機(jī)管理
在新發(fā)布的Windows Server 2008 R2中,對(duì)于虛擬化而言,Hyper-V R2的實(shí)時(shí)遷移、支持最多可運(yùn)行384個(gè)虛擬機(jī)、熱添加/移除虛擬存儲(chǔ)等諸多新功能都給我們留下了深刻的印象。在本系列動(dòng)手實(shí)驗(yàn)中,我們將就Hyper-V R2的安裝、配置Hyper-V R2設(shè)置和虛擬網(wǎng)絡(luò)、建立虛擬硬盤(pán)和虛擬機(jī)、虛擬機(jī)設(shè)置、快照和高可用性等環(huán)節(jié)進(jìn)行Step by Step學(xué)習(xí),為您全面了解掌握Hyper-V R2打下良好基礎(chǔ)。
本文闡述如何配置虛擬機(jī)設(shè)置以及監(jiān)控Hyper-V性能。
配置虛擬機(jī)設(shè)置
任務(wù)A:配置關(guān)鍵的虛擬機(jī)設(shè)置
步驟:
1.打開(kāi)Hyper-V Manager。
2.在Virtual Machines面板中,點(diǎn)擊SEA-WEB-01。
3.在Action面板中,在SEA-WEB-01下面,點(diǎn)擊Settings。
4.出現(xiàn)Settings for SEA-WEB-01對(duì)話框,在左側(cè)面板中,Hardware下面,點(diǎn)擊Processor。
5.通過(guò)More about virtual processors和More about resource control鏈接回顧有用的信息。
6.在Virtual machine reserve (percentage)區(qū)域,輸入20。
7.在Virtual machine limit (percentage)區(qū)域,輸入80。
8.在Relative weight區(qū)域,輸入75。
9.點(diǎn)擊Apply。
10.在左側(cè)面板中,在Management下面,點(diǎn)擊Automatic Start Action。
11.在右側(cè)面板中,點(diǎn)擊Always start this virtual machine automatically。
12.在左側(cè)面板中,在Management下面,點(diǎn)擊Automatic Stop Action。
13.在details面板中,回顧設(shè)置。
14.點(diǎn)擊OK。
15.在Virtual Machines面板中,點(diǎn)擊SEA-SQL-01。
16.在Action面板中,在SEA-SQL-01下面,點(diǎn)擊Settings。
17.出現(xiàn)Settings for SEA-SQL-01對(duì)話框,在左側(cè)面板中,在Hardware下面,點(diǎn)擊Processor。
18.在Virtual machine reserve (percentage)區(qū)域,輸入20。
19.在Virtual machine limit (percentage)區(qū)域,輸入80。
20.在Relative weight區(qū)域,輸入50。
21.點(diǎn)擊Apply。
22.在左側(cè)面板中,在Management下面,點(diǎn)擊Automatic Start Action。
23.在右側(cè)面板中,點(diǎn)擊Always start this virtual machine automatically。
24.在左側(cè)面板中,在Management下面,點(diǎn)擊Automatic Stop Action。
25.在右側(cè)面板中,點(diǎn)擊Shut down the guest operating system。
26.點(diǎn)擊OK。
任務(wù)B:配置非關(guān)鍵虛擬機(jī)設(shè)置
步驟:
1.在Virtual Machines面板中,點(diǎn)擊SEA-WRK-001。
2.在Action面板中,在SEA-WRK-001下面,點(diǎn)擊Settings。
3.出現(xiàn)Settings for SEA-WRK-001對(duì)話框,在左側(cè)面中,在Hardware下面,點(diǎn)擊Processor。
4.在Virtual machine reserve (percentage)區(qū)域,輸入0。
5.在Virtual machine limit (percentage)區(qū)域,輸入20。
6.在Relative weight區(qū)域,輸入25。
7.點(diǎn)擊Apply。
8.在左側(cè)面板中,在Management下面,點(diǎn)擊Automatic Start Action。
9.在右側(cè)面板中,點(diǎn)擊Nothing。
10.在左側(cè)面板中,在Management下面,點(diǎn)擊Automatic Stop Action。
11.在右側(cè)面板中,點(diǎn)擊Turn off the virtual machine。
12.點(diǎn)擊OK。
【編輯推薦】