Changes between Version 44 and Version 45 of Xen_Lab5


Ignore:
Timestamp:
Jan 25, 2010, 8:28:49 PM (14 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_Lab5

    v44 v45  
    3232----
    3333= 【Step 1:從套件庫安裝 Eucalyptus】 =
     34 * '''pcXXX''' 和 '''pcYYY''' 安裝 Eucalyptus 相依的套件
     35{{{
     36$ sudo su
     37# echo deb http://debian.osuosl.org/debian lenny non-free >> /etc/apt/sources.list
     38CTRL + D
     39
     40$ sudo aptitude updte
     41$ sudo aptitude -y install ca-certificates sun-java6-jre
     42$ sudo mkdir -p /etc/ssl/certs/java/
     43$ sudo ln -sf /etc/java-6-sun/security/cacerts /etc/ssl/certs/java/cacerts
     44}}}
    3445 * 新增 Eucalyptus 套件庫
    3546{{{
    3647$ su root
    37 # cd tar zxvf eucalyptus-1.5.2-lenny-amd64.tar.gz\
     48# cd
     49# tar zxvf eucalyptus-1.5.2-lenny-amd64.tar.gz
    3850# cd eucalyptus-1.5.2-lenny-amd64
    3951# echo deb file://${PWD} ./ >> /etc/apt/sources.list
    4052}}}
    41  * 使用 ''aptitude search'' 指令搜尋 Eucalyptus 有哪些套件 (套件庫已預先幫學員加入 menu.lst,若想知道如何加入請[http://trac.nchc.org.tw/grid/wiki/Eucalyptus/Install/package#a2.2.2%E
     53 * 使用 ''aptitude search'' 指令搜尋 Eucalyptus 有哪些套件
    4254{{{
    4355$ sudo aptitude update
    4456$ sudo aptitude search eucalyptus
    45 }}}
    46 {{{
    47 #!sh
    4857p   eucalyptus-cc                  - Elastic Utility Computing Architecture - Cluster controller   
    4958p   eucalyptus-cloud               - Elastic Utility Computing Architecture - Cloud controller     
     
    5261p   eucalyptus-javadeps            - Eucalyptus Java libraries dependencies                       
    5362p   eucalyptus-nc                  - Elastic Utility Computing Architecture - Node controller
    54 }}}
    55  * pcXXX 和 pcYYY 安裝 eucalyptus 相依的套件
    56 {{{
    57 $ sudo su
    58 # echo deb http://debian.osuosl.org/debian lenny non-free >> /etc/apt/sources.list
    59 CTRL + D
    60 
    61 $ sudo aptitude -y install ca-certificates sun-java6-jre
    62 $ sudo mkdir -p /etc/ssl/certs/java/
    63 $ sudo ln -sf /etc/java-6-sun/security/cacerts /etc/ssl/certs/java/cacerts
    6463}}}
    6564 * 想一下我們的架構設計:
     
    8887{{{
    8988#!sh
    90 132 VNET_INTERFACE="eth1"
     89132 VNET_INTERFACE="eth0"
    9190139 #VNET_BRIDGE="eth0"
    9291
     
    9493
    9594193 VNET_MODE="STATIC"
    96 194 VNET_SUBNET="192.168.100.0"
     95194 VNET_SUBNET="192.168.168.0"
    9796195 VNET_NETMASK="255.255.255.0"
    98 196 VNET_BROADCAST="192.168.100.255"
    99 197 VNET_ROUTER="192.168.100.254"
     97196 VNET_BROADCAST="192.168.168.255"
     98197 VNET_ROUTER="192.168.168.254"
    10099198 VNET_DNS="140.110.16.1"
    101 199 VNET_MACMAP="00:16:00:00:00:XX=192.168.100.X 00:16:00:00:00:YY=192.168.100.Y 00:16:00:00:00:ZZ=192.168.100.Z"
     100199 VNET_MACMAP="00:16:00:00:00:XX=192.168.168.X 00:16:00:00:00:YY=192.168.168.Y 00:16:00:00:00:ZZ=192.168.168.Z"
    102101}}}
    103102 * '''__pcYYY'''__
     
    107106{{{
    108107#!sh
    109 132 VNET_INTERFACE="peth1"
    110 139 VNET_BRIDGE="eth1"
     108132 VNET_INTERFACE="peth0"
     109139 VNET_BRIDGE="eth0"
    111110
    112111181 #VNET_MODE="SYSTEM"