Linux/CentOS Xen3.3 の変更点


*CentOS Xen3.3へ [#c51325f4]

**環境 [#xa0fc20c]
CentOS 5.2~
Xen 3.3.1

**事前にyumでアップデートをかけておく [#t909a5ac]
 # yum update

**ダウンロード [#w86686d2]
 # wget -r -np http://www.gitco.de/repo/xen3.3.1/

**インストール [#c45a89d5]
こんな感じでインストールしてく
 # rpm -ivh xen-libs-3.3.1-0.x86_64.rpm

ないパッケージ(bridge-utils等)はyumでインストールしていく
 # yum install bridge-utils


**/etc/grub.confの確認 [#o2e6326e]
 # cat /etc/grub.conf
 # grub.conf generated by anaconda
 #
 # Note that you do not have to rerun grub after making changes to this file
 # NOTICE:  You have a /boot partition.  This means that
 #          all kernel and initrd paths are relative to /boot/, eg.
 #          root (hd0,0)
 #          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
 #          initrd /initrd-version.img
 #boot=/dev/hde
 default=1
 timeout=5
 splashimage=(hd0,0)/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-92.1.22.el5xen)
        root (hd0,0)
        kernel /xen.gz-3.3.1
        module /vmlinuz-2.6.18-92.1.22.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        module /initrd-2.6.18-92.1.22.el5xen.img
 title CentOS (2.6.18-92.1.22.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-92.1.22.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-92.1.22.el5.img
 title CentOS (2.6.18-92.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-92.el5.img
 title Other
        rootnoverify (hd1,0)
        chainloader +1

**再起動してXen対応カーネルで起動する。 [#qdc2a85d]

**Xenのバージョン確認 [#k90ae8d3]
 # Xm top
 xentop - 08:49:55   Xen 3.3.1
 1 domains: 1 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
 Mem: 2096252k total, 1967968k used, 128284k free    CPUs: 2 @ 2671MHz