Changes between Version 21 and Version 22 of Xen_Lab1


Ignore:
Timestamp:
Sep 29, 2009, 4:17:11 PM (15 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_Lab1

    v21 v22  
    6363{{{
    6464#!sh
     6558  (xend-http-server yes)
    656660  (xend-tcp-xmlrpc-server yes)
    666762  (xend-relocation-server yes)
    676870  (xen-tcp-xmlrpc-server-port 8006)
     6980  (xend-port            8000)
    687084  (xend-relocation-port 8002)
    6971109 (xend-relocation-hosts-allow '')
     
    159161}}}
    160162----
    161 = 【Step 6: 產生 VM 的 Image】 =
     163= 【Step 5: 產生 VM 的 Image】 =
    162164 * 使用 xen-tools 提供的指令 '''xen-create-image''' 產生一個名為 vm01 虛擬機器的印象檔 (若沒指定 dist ,預設則為 debian etch)
    163165{{{
     
    174176$ sudo gedit /etc/xen/vm01.cfg
    175177}}}
    176 ----
    177 = 【Step 7: 開啟 VM】 =
     178 * 將 vm01 設定檔中的 dhcp 註解起來 (不讓 Kenel 載入完馬上跟 DHCP server 要 IP,等到完全開機後,再讓系統跟 DHCP server 要 IP)
     179{{{
     180!sh
     18131 #dhcp        = 'dhcp'
     182}}}
     183 * 檢查 vm01 設定檔的 MAC address 是否為 '''00:6:3E:BE:53:2C''' (建議修改末兩碼,例如:01、11、21、31...,若大家 MAC 皆相同的話,會讓 DHCP server 混亂)
     184{{{
     185#!sh
     18632 vif         = [ 'mac=00:16:3E:BE:53:01' ]
     187}}}
     188----
     189= 【Step 6: 開啟 VM】 =
    178190 * 接下來我們使用此 vm01 的設定檔來開啟一個虛擬機器 (使用 '''xm create''' 指令根據設定檔來開啟虛擬機器)
    179191{{{
     
    195207}}}
    196208----
    197 = 【Step 8: 使用 VM 圖形管理介面】 =
     209= 【Step 7: 使用 VM 圖形管理介面】 =
    198210 * 若是不習慣用指令,可安裝 virt-manager 圖形管理介面來控制虛擬機器
    199211{{{