harry’s memorandum

おれおれメモ

CentOS5.4 + Xen4.0 にしてみた

Xen4.0リリース。Testing版だけどgitcoさんが作ってくれているのでインストールだけしてみた。
内容は前回、前々回と同じ。

yumのrepositoryを追加してupdate
$ cd /etc/yum.repos.d
$ sudo wget http://www.gitco.de/repo/GITCO-XEN4.0.0_testing_x86_64.repo
$ sudo yum update

Dependencies Resolved

==========================================================================================
 Package          Arch          Version               Repository                     Size
==========================================================================================
Updating:
 xen              x86_64        4.0.0-3.el5           gitco-xen4.0.0-testing         12 M
 xen-devel        x86_64        4.0.0-3.el5           gitco-xen4.0.0-testing        408 k
 xen-libs         x86_64        4.0.0-3.el5           gitco-xen4.0.0-testing        366 k

Transaction Summary
==========================================================================================
Install      0 Package(s)
Update       3 Package(s)
Remove       0 Package(s)

Total download size: 13 M
Is this ok [y/N]: y
grub.confのエントリもちゃんと新しいxenでキックすることを確認。
title CentOS (2.6.18-164.15.1.el5xen)
  root (hd0,0)
  kernel /xen.gz-4.0.0
  module /vmlinuz-2.6.18-164.15.1.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
  module /initrd-2.6.18-164.15.1.el5xen.img
リブート
$ sudo reboot
xenの確認
$ sudo xm dmesg | more
 __  __            _  _    ___   ___
 \ \/ /___ _ __   | || |  / _ \ / _ \
  \  // _ \ '_ \  | || |_| | | | | | |
  /  \  __/ | | | |__   _| |_| | |_| |
 /_/\_\___|_| |_|    |_|(_)___(_)___/

(XEN) Xen version 4.0.0 (root@gitco.tld) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) S
un May  2 19:44:45 CEST 2010
追記

2010/05/08
centosのdomainUが起動しない。準仮想centos5のdomainUのみ今のところだめっぽい。