[PCクラスタ]
メモ
メモです。
コマンド
sudo nano -w /etc/hosts #以下の行を加える #192.168.99.1 server.mycluster.home server #192.168.99.5 ssi1.mycluster.home ssi1 #192.168.99.6 ssi2.mycluster.home ssi2 #192.168.99.7 ssi3.mycluster.home ssi3 #192.168.99.8 ssi4.mycluster.home ssi4 sudo apt-get install \ git kernel-package xsltproc\ automake autoconf libtool pkg-config mkdir -p ~/kerrighed-3.0.0 cd ~/kerrighed-3.0.0 git clone \ git://mirrors.git.kernel.org/cluster/kerrighed/kernel git clone \ git://mirrors.git.kernel.org/cluster/kerrighed/tools cd kernel make-kpkg --config menuconfig \ --rootcmd fakeroot kernel-image cd .. sudo dpkg -i linux-image-2.6.30-krg_2.6.30-krg-10.00.Custom_amd64.deb cd tools ./autogen.sh ./configure --disable-kernel --sysconfdir=/etc perl -i -ple 's/ \-\-nonet//g;' man/Makefile make cd /NFSROOT/kerrighed su chroot /NFSROOT/kerrighed passwd mount -t proc none /proc dpkg -i /home/shimotsuki/kerrighed-3.0.0/linux-image-2.6.30-krg_2.6.30-krg-10.00.Custom_amd64.deb cd /home/shimotsuki/kerrighed-3.0.0/tools make install apt-get install dhcp3-common nfs-common open-iscsi ocfs2-tools nano -w /etc/iscsi/iscsid.conf #変更点は以下 #node.startup = automatic #node.session.auth.authmethod = CHAP #node.session.auth.username = username #node.session.auth.password = password #discovery.sendtargets.auth.authmethod = CHAP #discovery.sendtargets.auth.username = username #discovery.sendtargets.auth.password = password nano -w /etc/default/o2cb #変更点は以下 #O2CB_ENABLED=true #O2CB_BOOTCLUSTER=ocfs2 cp \ /usr/share/doc/ocfs2-tools/examples/cluster.conf \ /etc/ocfs2/ nano -w /etc/ocfs2/cluster.conf rm /etc/mtab ln -s /proc/mounts /etc/mtab nano -w /etc/fstab #以下の内容にする #none /proc proc defaults 0 0 #none /sys sysfs defaults 0 0 #none /config configfs defaults 0 0 #none /var/run tmpfs defaults 0 0 #LABEL=OCFS2 /work ocfs2 _netdev 0 0 exit exit
最終更新時間:2012年05月31日 17時09分58秒