Xen Cloud Platform 1.5 Beta インストール
OpenStack + Xen Cloud Platformを試すために、
まずはXen Cloud Platformをインストール.
■ Xen Cloud Platform インストール手順
1. isoイメージをダウンロード
http://www.xen.org/download/xcp/index.html
2. CDに焼いて, インストール
3. storage poolに名前を付ける
xe pool-param-set name-label=train uuid=f41df787-3a5d-f4b2-f6ba-315f3a6abeb2
4. VMのインストール
http://www.zartl.info/?p=222
5. XenCenterの利用
- ダウンロード(http://www.citrix.com/lang/English/lp/lp_2307783.asp)
- consoleでkeyboard操作
- storageで新規に領域を確保可能
6. xen tools のインストール
http://tm-memo.blogspot.jp/2010/08/ubuntu1004-on-xen-cloud-platformxen.html
http://community.citrix.com/display/xs/Installing+Ubuntu+Server+10.04+%2832bit+and+64bit%29+LTS
7. VM clone
8.private networkとDHCPサーバの容易
apt-get install dhcp3-server
ifconfig eth1 192.168.2.1 netmask 255.255.255.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ddns-update-style none;
subnet 192.168.2.0 netmask 255.255.255.0{
option routers 192.168.2.1;
option subnet-mask 255.255.255.0;
option domain-name cloud;
option domain-name-servers 192.168.2.1;
range dynamic-bootp 192.168.2.10 192.168.2.50;
default-lease-time 21600;
max-lease-time 43200;
host ubuntu001{
hardware ethernet c2:5d:62:d2:2a:35;
fixed-address 192.168.2.2;
}
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
9. 内部ネットワークの設定
http://docs.vmd.citrix.com/XenServer/4.0.1/ja/reference/ch05s04.html
外部への疎通性は無いが、
ifcfgにxapiの設定を追加し、
IPアドレスをstaticで設定することで内部ネットワーク内に存在する
サーバにアクセスすることができた。