2007/12/17

Red Hat Cluster: CentOS 5.1上でRHCSを使ってみる・予告編

今まで、CentOS上でRed Hat Cluster Suiteを使うべく検証を行ってきた(タグRHCS参照)。結果、CentOS 5.0上ではいろんな問題が見つかったが、CentOS 5.1ではかなり解決されている。まずは、この検証結果を簡単に。

さて、CentOS 5.0上での問題は、このブログでも指摘してきた。
  1. /etc/redhat-release問題(参考: [1])
  2. kmod-gfs問題(参考: [2])
これらの問題が、CentOS 5.1で解決されていることを確認した。

前者は、Congaがクラスタメンバの/etc/redhat-releaseを参照してクラスタメンバ間でバージョンに差異が無いことをチェックするのだが、これが、CentOSのデフォルトのままではダメで、RHEL5だ、と詐称せねばならない、と言う問題。実際にCentOS 5.1をインストールしてLuciから詐称せずにクラスタを構成できる。

後者は、クラスタメンバを再起動したり、フェンスしたりを繰り返すと、ノードの起動に時間がかかったり、シャットダウン不能になったりすると言う問題。これも、実際にCentOS 5.1上でクラスタを構成してみると、発生しないようだ。

なお、『CentOS 5.0からCentOS 5.1へアップグレードする』および『CentOS 5.0からCentOS 5.1へアップグレードする・補足』で指摘した通り、CentOS 5.0を使っていても、yum updateしていれば、CentOS 5.1相当に更新される。

追記(2008/2/24):
検証を再開した。
Red Hat Cluster: CentOS 5.1上でRHCSを使ってみる

2007/12/10

CentOS 5.0からCentOS 5.1へアップグレードする・補足

前のエントリで、
ファイル/etc/redhat-releaseの中身は、
CentOS release 5 (Final)
のままで変化がなかった(ホンマにこれでエエんかいな?)
と書いた。

調べてみると、/etc/redhat-releaseはcentos-releaseというパッケージに含まれている。CentOS 5.1では、このパッケージのバージョンは、5-1.0.el5.centos.1。このパッケージを実際に展開してみると、
$ ls
centos-release-5-1.0.el5.centos.1.i386.rpm
$ rpm2cpio centos-release-5-1.0.el5.centos.1.i386.rpm | cpio -id
75 blocks
$ cat etc/redhat-release
CentOS release 5 (Final)
$
ということで、「CentOS release 5」のまま変化しないのが正しいようだ。

レポジトリを調べてみると、ディレクトリ5.0および5.1が存在していて、5が5.1へのシンボリックリンクになっている様に見える。
なので、CentOS 5.0も、普通にyum updateすれば、自然に5.1へアップグレードしている、と言うことになる。

2007/12/04

CentOS 5.0からCentOS 5.1へアップグレードする

RHEL 5.1リリース! CentOS 5.1も近日中に」で紹介したCentOS5.1がついにリリースされた。ということで、Xen DomU上のCentOS 5(CentOS5.0)ををCentOS 5.1へアップグレード(バージョンアップ)してみた(こんなときには、VLMのスナップショット機能とXenの組合が便利だ)

2008/7/7追記:
CentOS 5.1からCentOS 5.2へアップグレードする』を公開した。

手順は簡単で、単に
# yum update
とするだけ(手間を省くため、-yオプションを付けてyum -y updateとしてもいい)
ただ、手元の環境で実際に作業を行ってみると、halパッケージが欠損していて、これを除外する必要があった。
# yum --exclude=hal update
これは、ミラーリングの時間差の問題で、時間が解決する問題だと思われる。
LVMを認識する際に警告が出ている。特に問題はないようだ。
ファイル/etc/redhat-releaseの中身は、
CentOS release 5 (Final)
のままで変化がなかった(ホンマにこれでエエんかいな?)(2007/12/10(月): これに関して追記した)。
作業ログは、記事の最後を参照。

なお、リリースノートによると、CentOS 5.1では、以前『Red Hat Cluster: 予告編+x』で報告した、/etc/redhat-releaseを修正しなければCongaが正常に動作しない、という問題が解決されたそうだ。
しかし一方、
仮想化ソフトウェア(Xenなど)を使用すると、libvirtパッケージがインストールされます。このパッケージはCentOS5.1以来、 dnsmasqパッケージと依存があります。(dnsmasqは軽量のDNSとDHCPサーバです)。他のDNSかDHCPデーモンにも同じシステムで動かせのであれば、あなたは、dnsmasqがそれらの動作を妨げないことを確認する必要があります。
という記述もあり、Xenを使用している場合には注意が必要だ。

[root@localhost ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
ftp://ftp.oss.eznetsols.org/linux/centos/5.1/extras/i386/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] (113, 'No route to host')
Trying other mirror.
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 834 kB 00:14
base : ################################################## 2400/2400
Added 743 new packages, deleted 677 old in 11.02 seconds
primary.xml.gz 100% |=========================| 63 kB 00:01
updates : ################################################## 118/118
Added 0 new packages, deleted 764 old in 0.89 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz 100% |=========================| 60 kB 00:01
extras : ################################################## 190/190
Added 0 new packages, deleted 166 old in 0.31 seconds
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for openssh-clients to pack into transaction set.
openssh-clients-4.3p2-24. 100% |=========================| 35 kB 00:00
---> Package openssh-clients.i386 0:4.3p2-24.el5 set to be updated
---> Downloading header for libacl to pack into transaction set.
libacl-2.2.39-2.1.el5.i38 100% |=========================| 5.9 kB 00:00
---> Package libacl.i386 0:2.2.39-2.1.el5 set to be updated
---> Downloading header for libuser to pack into transaction set.
libuser-0.54.7-2.el5.2.i3 100% |=========================| 37 kB 00:01
---> Package libuser.i386 0:0.54.7-2.el5.2 set to be updated
---> Downloading header for kudzu to pack into transaction set.
kudzu-1.2.57.1.15-1.el5.c 100% |=========================| 57 kB 00:01
<<略>>
cluster-snmp-0.10.0-5.el5 100% |=========================| 6.9 kB 00:00
---> Package cluster-snmp.i386 0:0.10.0-5.el5.centos set to be updated
---> Downloading header for conman to pack into transaction set.
conman-0.1.9.2-8.el5.i386 100% |=========================| 7.7 kB 00:00
---> Package conman.i386 0:0.1.9.2-8.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libkeyutils.so.1 for package: krb5-workstation
--> Processing Dependency: libkeyutils.so.1 for package: krb5-libs
--> Processing Dependency: yum-metadata-parser for package: yum
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3) for package: krb5-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for keyutils-libs to pack into transaction set.
keyutils-libs-1.2-1.el5.i 100% |=========================| 5.0 kB 00:00
---> Package keyutils-libs.i386 0:1.2-1.el5 set to be updated
---> Downloading header for yum-metadata-parser to pack into transaction set.
yum-metadata-parser-1.0-8 100% |=========================| 3.6 kB 00:00
---> Package yum-metadata-parser.i386 0:1.0-8.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kmod-gfs-xen i686 0.1.19-7.el5 base 137 k
kmod-gnbd-xen i686 0.1.4-12.el5 base 15 k
sos noarch 1.7-9.1.el5 base 108 k
replacing sysreport.noarch 1.4.3-10.el5

Updating:
Deployment_Guide-en-US noarch 5.1.0-11.el5.centos.1 base 7.1 M
OpenIPMI i386 2.0.6-5.el5.4 base 135 k
OpenIPMI-libs i386 2.0.6-5.el5.4 base 530 k
acl i386 2.2.39-2.1.el5 base 67 k
<<略>>
yum noarch 3.0.5-1.el5.centos.5 base 482 k
yum-updatesd noarch 3.0.5-1.el5.centos.5 base 11 k
Installing for dependencies:
keyutils-libs i386 1.2-1.el5 base 18 k
yum-metadata-parser i386 1.0-8.fc6 base 22 k

Transaction Summary
=============================================================================
Install 5 Package(s)
Update 120 Package(s)
Remove 0 Package(s)

Total download size: 149 M
Is this ok [y/N]: y
Downloading Packages:
(1/125): openssh-clients- 100% |=========================| 446 kB 00:09
(2/125): libacl-2.2.39-2. 100% |=========================| 19 kB 00:01
(3/125): libuser-0.54.7-2 100% |=========================| 434 kB 00:11
(4/125): kudzu-1.2.57.1.1 100% |=========================| 220 kB 00:04
(5/125): hal-0.5.8.1-25.el5_1.1.i386.rpm 1.8 kB 00:00
http://mirror.mirr4u.com/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno -1] Package does not match intended download
Trying other mirror.
http://ftp.daum.net/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.yz.yamagata-u.ac.jp/pub/linux/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
ftp://ftp.oss.eznetsols.org/linux/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 4] IOError: [Errno ftp error] (113, 'No route to host')
Trying other mirror.
http://ftp2.tnc.edu.tw/pub1/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.riken.jp/Linux/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://centost.centos.org/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.secuidc.com/centos/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.tcc.edu.tw/Linux/CentOS/5.1/updates/i386/hal-0.5.8.1-25.el5_1.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(6/125): system-config-kd 100% |=========================| 117 kB 00:02
(7/125): system-config-ne 100% |=========================| 1.8 MB 00:25
(8/125): keyutils-libs-1. 100% |=========================| 18 kB 00:00
(9/125): dhclient-3.0.5-7 100% |=========================| 275 kB 00:07
<<略>>
(124/125): cluster-snmp-0 100% |=========================| 161 kB 00:04
(125/125): conman-0.1.9.2 100% |=========================| 109 kB 00:02


Error Downloading Packages:
hal - 0.5.8.1-25.el5_1.1.i386: failure: hal-0.5.8.1-25.el5_1.1.i386.rpm from updates: [Errno 256] No more mirrors to try.

[root@localhost ~]# yum --exclude=hal update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package openssh-clients.i386 0:4.3p2-24.el5 set to be updated
---> Package libacl.i386 0:2.2.39-2.1.el5 set to be updated
---> Package libuser.i386 0:0.54.7-2.el5.2 set to be updated
<<略>>
---> Package cluster-snmp.i386 0:0.10.0-5.el5.centos set to be updated
---> Package conman.i386 0:0.1.9.2-8.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libkeyutils.so.1 for package: krb5-workstation
--> Processing Dependency: libkeyutils.so.1 for package: krb5-libs
--> Processing Dependency: yum-metadata-parser for package: yum
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3) for package: krb5-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package keyutils-libs.i386 0:1.2-1.el5 set to be updated
---> Package yum-metadata-parser.i386 0:1.0-8.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kmod-gfs-xen i686 0.1.19-7.el5 base 137 k
kmod-gnbd-xen i686 0.1.4-12.el5 base 15 k
sos noarch 1.7-9.1.el5 base 108 k
replacing sysreport.noarch 1.4.3-10.el5

Updating:
Deployment_Guide-en-US noarch 5.1.0-11.el5.centos.1 base 7.1 M
OpenIPMI i386 2.0.6-5.el5.4 base 135 k
OpenIPMI-libs i386 2.0.6-5.el5.4 base 530 k
acl i386 2.2.39-2.1.el5 base 67 k
<<略>>
yum noarch 3.0.5-1.el5.centos.5 base 482 k
yum-updatesd noarch 3.0.5-1.el5.centos.5 base 11 k
Installing for dependencies:
keyutils-libs i386 1.2-1.el5 base 18 k
yum-metadata-parser i386 1.0-8.fc6 base 22 k

Transaction Summary
=============================================================================
Install 5 Package(s)
Update 119 Package(s)
Remove 0 Package(s)

Total download size: 148 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcc ##################### [ 1/245]
Updating : libstdc++ ##################### [ 2/245]
Updating : audit-libs ##################### [ 3/245]
Updating : openldap ##################### [ 4/245]
<<略>>
Updating : xorg-x11-drv-evdev ##################### [123/245]
Updating : firstboot ##################### [124/245]
Cleanup : openssh-clients ##################### [125/245]
Cleanup : libacl ##################### [126/245]
Cleanup : libuser ##################### [127/245]
Cleanup : kudzu ##################### [128/245]
<<略>>
Cleanup : cluster-snmp ##################### [244/245]
Cleanup : conman ##################### [245/245]

Installed: kmod-gfs-xen.i686 0:0.1.19-7.el5 kmod-gnbd-xen.i686 0:0.1.4-12.el5 sos.noarch 0:1.7-9.1.el5
Dependency Installed: keyutils-libs.i386 0:1.2-1.el5 yum-metadata-parser.i386 0:1.0-8.fc6
Updated: Deployment_Guide-en-US.noarch 0:5.1.0-11.el5.centos.1 OpenIPMI.i386 0:2.0.6-5.el5.4 OpenIPMI-libs.i386 0:2.0.6-5.el5.4 acl.i386 0:2.2.39-2.1.el5 alsa-lib.i386 0:1.0.14-1.rc4.el5 alsa-utils.i386 0:1.0.14-2.rc4.el5 audit.i386 0:1.5.5-7.el5 audit-libs.i386 0:1.5.5-7.el5 audit-libs-python.i386 0:1.5.5-7.el5 autofs.i386 1:5.0.1-0.rc2.55 bind-libs.i386 30:9.3.3-10.el5 bind-utils.i386 30:9.3.3-10.el5 binutils.i386 0:2.17.50.0.6-5.el5 centos-release.i386 10:5-1.0.el5.centos.1 centos-release-notes.i386 0:5.1.0-2 cluster-cim.i386 0:0.10.0-5.el5.centos cluster-snmp.i386 0:0.10.0-5.el5.centos conman.i386 0:0.1.9.2-8.el5 coolkey.i386 0:1.1.0-5.el5 cpp.i386 0:4.1.2-14.el5 cpuspeed.i386 1:1.2.1-1.48.el5 cracklib.i386 0:2.8.9-3.3 cracklib-dicts.i386 0:2.8.9-3.3 crash.i386 0:4.0-4.6.1 device-mapper.i386 0:1.02.20-1.el5 device-mapper-multipath.i386 0:0.4.7-12.el5 dhclient.i386 12:3.0.5-7.el5 dmraid.i386 0:1.0.0.rc13-4.el5 e2fsprogs.i386 0:1.39-10.el5 e2fsprogs-libs.i386 0:1.39-10.el5 emacs.i386 0:21.4-19.el5 emacs-common.i386 0:21.4-19.el5 emacs-leim.i386 0:21.4-19.el5 fetchmail.i386 0:6.3.6-1.1.el5 firstboot.noarch 0:1.4.27.3-1.el5.centos firstboot-tui.noarch 0:1.4.27.3-1.el5.centos freetype.i386 0:2.2.1-19.el5 gfs-utils.i386 0:0.1.12-1.el5 gfs2-utils.i386 0:0.1.38-1.el5 gtk2.i386 0:2.10.4-19.el5 httpd.i386 0:2.2.3-11.el5.centos httpd-manual.i386 0:2.2.3-11.el5.centos hwdata.noarch 0:0.211-1 initscripts.i386 0:8.45.17.EL-1.el5.centos.1 irqbalance.i386 2:0.55-6.el5 kexec-tools.i386 0:1.101-194.4.el5 kpartx.i386 0:0.4.7-12.el5 krb5-libs.i386 0:1.6.1-17.el5 krb5-workstation.i386 0:1.6.1-17.el5 kudzu.i386 0:1.2.57.1.15-1.el5.centos libacl.i386 0:2.2.39-2.1.el5 libgcc.i386 0:4.1.2-14.el5 libpcap.i386 14:0.9.4-11.el5 libselinux.i386 0:1.33.4-4.el5 libselinux-python.i386 0:1.33.4-4.el5 libstdc++.i386 0:4.1.2-14.el5 libuser.i386 0:0.54.7-2.el5.2 libvolume_id.i386 0:095-14.9.el5 luci.i386 0:0.10.0-6.el5.centos.1 lvm2.i386 0:2.02.26-3.el5 lvm2-cluster.i386 0:2.02.26-1.el5 man-pages.noarch 0:2.39-10.el5 mcstrans.i386 0:0.2.6-1.el5 mesa-libGL.i386 0:6.5.1-7.5.el5 microcode_ctl.i386 1:1.17-1.42.el5 mkinitrd.i386 0:5.1.19.6-19 mod_ssl.i386 1:2.2.3-11.el5.centos modcluster.i386 0:0.10.0-5.el5.centos module-init-tools.i386 0:3.3-0.pre3.1.34.el5 nash.i386 0:5.1.19.6-19 nfs-utils.i386 1:1.0.9-24.el5 nspr.i386 0:4.6.5-3.el5 nss.i386 0:3.11.7-1.3.el5.centos nss-tools.i386 0:3.11.7-1.3.el5.centos nss_ldap.i386 0:253-5.el5 ntp.i386 0:4.2.2p1-7.el5 openais.i386 0:0.80.3-7.el5 openldap.i386 0:2.3.27-8 openldap-clients.i386 0:2.3.27-8 openssh.i386 0:4.3p2-24.el5 openssh-clients.i386 0:4.3p2-24.el5 openssh-server.i386 0:4.3p2-24.el5 pam.i386 0:0.99.6.2-3.26.el5 pam_krb5.i386 0:2.2.14-1 parted.i386 0:1.8.1-12.el5 pkinit-nss.i386 0:0.7.3-1.el5 pm-utils.i386 0:0.99.3-6.el5.centos.17 policycoreutils.i386 0:1.33.12-12.el5 popt.i386 0:1.10.2-47.el5 prelink.i386 0:0.3.9-2.1 redhat-artwork.i386 0:5.1.0-26.el5.centos redhat-logos.noarch 0:4.9.99-8.el5.centos redhat-lsb.i386 0:3.1-12.3.EL.el5.centos redhat-menus.noarch 0:6.7.8-2.el5 rgmanager.i386 0:2.0.31-1.el5.centos rhpxl.i386 0:0.41.1-1.el5 ricci.i386 0:0.10.0-6.el5.centos.1 rpm.i386 0:4.4.2-47.el5 rpm-libs.i386 0:4.4.2-47.el5 rpm-python.i386 0:4.4.2-47.el5 sabayon.i386 0:2.12.4-5.el5 sabayon-apply.i386 0:2.12.4-5.el5 sysklogd.i386 0:1.4.1-40.el5 system-config-cluster.noarch 0:1.0.50-1.3 system-config-kdump.noarch 0:1.0.12-1.el5 system-config-network.noarch 0:1.3.99-2.el5 system-config-network-tui.noarch 0:1.3.99-2.el5 tcp_wrappers.i386 0:7.6-40.4.el5 tcpdump.i386 14:3.9.4-11.el5 tog-pegasus.i386 2:2.6.1-2.el5 udev.i386 0:095-14.9.el5 vixie-cron.i386 4:4.1-72.el5 xorg-x11-drv-evdev.i386 1:1.0.0.5-3.el5 xorg-x11-drv-vesa.i386 0:1.3.0-8.1.el5 xorg-x11-server-Xnest.i386 0:1.1.1-48.26.el5 xorg-x11-server-Xorg.i386 0:1.1.1-48.26.el5 ypbind.i386 3:1.19-8.el5 yum.noarch 0:3.0.5-1.el5.centos.5 yum-updatesd.noarch 0:3.0.5-1.el5.centos.5
Replaced: sysreport.noarch 0:1.4.3-10.el5
Complete!
[root@localhost ~]# shutdown -r now

Broadcast message from root (xvc0) (Tue Dec 4 11:51:48 2007):

The system is going down for reboot NOW!
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
Shutting down Cluster Module - cluster monitor: [ OK ]
Shutting down ricci: [ OK ]
Stopping HAL daemon: [ OK ]
Shutting down oddjobd: [ OK ]
<<略>>
Unmounting pipe file systems:
Unmounting file systems:
Please stand by while rebooting the system...
md: stopping all md devices.
Restarting system.
.
[root@Dom0 ~]# xm console DomU
Linux version 2.6.18-53.1.4.el5xen (mockbuild@builder6.centos.org) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Fri Nov 30 01:53:35 EST 2007
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000004800000 (usable)
0MB HIGHMEM available.
<<略>>
Making device-mapper control node
Scanning logical volumes
connect() failed on local socket: Connection refused
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
Activating logical volumes
connect() failed on local socket: Connection refused
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
Volume group "WARNING:" not found
Volume group "Falling" not found
Volume group "back" not found
Volume group "to" not found
Volume group "local" not found
Volume group "file-based" not found
Volume group "locking." not found
Volume group "Volume" not found
Volume group "Groups" not found
Volume group "with" not found
Volume group "the" not found
Volume group "clustered" not found
Volume group "attribute" not found
Volume group "will" not found
Volume group "be" not found
Volume group "inaccessible." not found
2 logical volume(s) in volume group "VolGroup00" now active
Creating root device.
Mounting root filesystem.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Setting up other filesystems.
Setting up new root fs
no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
audit(1196736762.418:2): policy loaded auid=4294967295
INIT: version 2.86 booting
Welcome to CentOS release 5 (Final)
Press 'I' to enter interactive startup.
Setting clock (localtime): Tue Dec 4 11:52:52 JST 2007 [ OK ]
Starting udev: [ OK ]
Setting hostname localhost.localdomain: [ OK ]
Setting up Logical Volume Management: connect() failed on local socket: Connection refused
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
2 logical volume(s) in volume group "VolGroup00" now active
[ OK ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/VolGroup00/LogVol00
/dev/VolGroup00/LogVol00: clean, 81877/876960 files, 494367/876544 blocks
[/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -a /dev/xvda1
/boot: clean, 43/26104 files, 21540/104388 blocks
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Enabling local filesystem quotas: [ OK ]
Enabling /etc/fstab swaps: [ OK ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Starting monitoring for VG VolGroup00: connect() failed on local socket: Connection refused
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
2 logical volume(s) in volume group "VolGroup00" monitored
[ OK ]
Checking for hardware changes [ OK ]
Applying ip6tables firewall rules: [ OK ]
Applying iptables firewall rules: [ OK ]
Loading additional iptables modules: ip_conntrack_netbios_ns [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... done.
[ OK ]
Starting restorecond: [ OK ]
Starting auditd: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Starting irqbalance: [ OK ]
Starting mcstransd: [ OK ]
Starting portmap: [ OK ]
Starting setroubleshootd: [ OK ]
Starting RPC idmapd: [ OK ]
Starting system message bus: [ OK ]
Mounting other filesystems: [ OK ]
Starting autofs: Loading autofs4: [ OK ]
Starting automount: [ OK ]
[ OK ]
Starting snmpd: [ OK ]
Starting sshd: [ OK ]
Starting ntpd: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
Starting console mouse services: [ OK ]
Starting crond: [ OK ]
Starting xfs: [ OK ]
Starting anacron: [ OK ]
Starting atd: [ OK ]
Starting HAL daemon: [ OK ]
Starting oddjobd: [ OK ]
Starting Cluster Module - cluster monitor: Setting verbosity level to LogBasic
[ OK ]
Starting ricci: [ OK ]

CentOS release 5 (Final)
Kernel 2.6.18-53.1.4.el5xen on an i686

localhost.localdomain login: root
Password:パスワード
Last login: Tue Dec 4 11:30:04 from SomeHost
[root@localhost ~]# rpm -q centos-release
centos-release-5-1.0.el5.centos.1
[root@localhost ~]# cat /etc/redhat-release
CentOS release 5 (Final)
[root@localhost ~]#