BlueOnyxへのアクセスが多いので、BlueOnyxをtarボールで後入れしたメモでも残してみる。@msmです。
なお、データーセンターダイレクトのCentOS 5をご利用いただいたとしても、BlueOnyxを後からインストールすることは難しそうです。(デフォルトゲートウェイが初期化されるため)
データーセンターダイレクトには、最新のCentOSで動作するCobalt互換管理ツールClassCat Cute Server Manager v5.0がありますので、そちらをご検討ください。無料トライアルもご用意しております。
どうしてもBlueOnyxで!という方は、弊社営業までご相談ください。
では本題に。
tarボールは、ココから最新を拾ってきました。BlueOnyx-5106R-CentOS5-i386-20090402.tar.gzを利用しました。
なお、CentOS 5は、事前にyumで最新版にアップデートしておかないと、インストール後にユーザの追加に失敗し、使い物にならない可能性があります。
感想としては、CDから入れる方が手っ取り早いですが、tarボールからの後入れは、ソフトウェアRAIDを利用したい場合などに便利そうです。
# cd /tmp # wget http://devel.blueonyx.it/pub/BlueOnyx/TAR/BlueOnyx-5106R-CentOS5-i386-20090402.tar.gz # tar zxvf BlueOnyx-5106R-CentOS5-i386-20090402.tar.gz # BlueOnyx-5106R-CentOS5-i386-20090402 # sh install.sh
SELinux is disabled. Perfect! Partition /home exists. Good. *********** ** ERROR ** *********** Partition /home does NOT have userquota OR groupquota (or both) enabled! BlueOnyx requires that /home has file system quotas for users and groups enabled ! Apparently this is not the case on this system. To enable quota, please do this: Edit /etc/fstab and find the line where your /home partition is configured. It could look similar (but not identical!) to this: /dev/VolGroup00/LogVol04 /home ext3 defaults 1 2 Change the entry 'defaults' for your /home partition and add ',usrquota,grpquota ' to it, so that it looks similar to this: /dev/VolGroup00/LogVol04 /home ext3 defaults,usrquota,grpquota 1 2 Afterwards you need to run the following commands as shown: /bin/mount -o remount /home /sbin/quotacheck -cuga /sbin/quotaon -aug Once that is done, run this installer again.
なんか、怒られた。
fstabの/homeにusrquota,grpquota が必要らしい。
quotaをインストールして、fstabを修正した。
# yum install quota # vi /etc/fstab #LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2 LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2
コレしろと書かれたので、実行しておく。
/bin/mount -o remount /home /sbin/quotacheck -cuga /sbin/quotaon -aug
リトライ。
# sh install.sh SELinux is disabled. Perfect! *********** ** ERROR ** *********** Partition /home does NOT exists! Please note: BlueOnyx requires that /home exists and is a separate partition! Apparently this is not the case on this system. Please reinstall the OS and make sure during partitioning that /home exists, has quota enabled and is large enough to hold all your sites and users.
また、怒られた。 /homeが無いと言われた。悪化している。
お手上げなので、install.shを変更してやろう!と中をみてびっくり。
PART=`/bin/cat /etc/fstab | /bin/grep /home | /usr/bin/wc -l`
if [ "$PART" = "1" ] ; then
/bin/echo ""
/bin/echo "Partition /home exists. Good."
/bin/echo ""
else
/bin/echo "***********"
/bin/echo "** ERROR **"
/bin/echo "***********"
/homeは、fstabに一行以上あってはいけないらしい。コメントアウトぐらい無視して欲しいなぁ。
というわけで、fstabから/homeが一行になるようにコメントアウトの行を削除して。
# sh install.sh SELinux is disabled. Perfect! Partition /home exists. Good. Partition /home has user and group quota enabled. Good. [Phase 1 : Checking intalled RPMS ...] [Phase 2 : Setting up repositories ...]
15分くらいかかりますが、インストールは、完了しました。
後は、 http://xxx.xxx.xxx.xxx:444/ にアクセスし、ウィザードに従って初期設定を行えば、完了です。
私の環境では、インストール直後は、namedの起動に失敗していますが、DNSの設定 → DNSサービスを有効にする にチェックを入れ、保存すれば、解決しました。
関連エントリー:



9月 20th, 2011 at AM 12:09
[...] BlueOnyx 5106Rをtarボールで後から入れる | データセンターの専用サーバ データセンターダイレクト ブログ [...]
9月 20th, 2011 at PM 12:04
[...] BlueOnyx 5106Rをtarボールで後から入れる | データセンターの専用サーバ データセンターダイレクト ブログ [...]