[SCore-users-jp] ネットワークトランキング(PM/Ethernet)の設定
kameyama @ pccluster.org
kameyama @ pccluster.org
2002年 11月 11日 (月) 15:31:51 JST
亀山です.
In article <JOELIPBDDCMFGIHFCNCNOENBCBAA.e973220 @ eve.u-ryukyu.ac.jp> "金城 尚志" <e973220 @ eve.u-ryukyu.ac.jp> wrotes:
> 【実現したいこと】
> オンボードイーサネット(eth0)を無視した
> NIC三枚での
> ネットワークトランキングの設定をしたい。
>
> 具体的には、
> comp0 においては 【eth1】【eth2】【eth3】を使用
> comp1-3においては 【eth0】【eth1】【eth2】を使用する。
ethernet の config file で必要なのは unit 番号で uunit 番号と device の
割り当ては /sbin/etherpmctl で決定します.
手順としては, 以下のようになると思います.
1. config file の作成
3 つのそれぞれの device ごとの config file を作成します.
% mkpmethernetconf -g group -device ...
ではうまくいきませんので, 手動もしくは
0 comp0 /dev/eth1
1 comp1 /dev/eth0
2 comp2 /dev/eth0
3 comp3 /dev/eth0
のようなファイルを作って, そのファイルを渡します.
それぞれ unit 番号は変更しておきます.
2. etherpmctl の設定
/etc/rc.d/init.d/pm_ethernet を編集して, 必要なだけ etherpmctl
を起動します.
多分, comp0 は
/sbin/etherpmctl eth0 -pm on -ir on unit 0
/sbin/etherpmctl eth1 -pm on -ir on unit 1
/sbin/etherpmctl eth2 -pm on -ir on unit 2
その他は
/sbin/etherpmctl eth1 -pm on -ir on unit 0
/sbin/etherpmctl eth2 -pm on -ir on unit 1
/sbin/etherpmctl eth3 -pm on -ir on unit 2
のようになると思います.
3. scoreboard データベースを編集する.
trunking 用の network を登録し, 各ホストの network 部分も更新します.
> ・Network Trunking機構(PM/Ethernet)のシステム管理者ガイド
> http://www.google.co.jp/search?q=cache:JSZBMQw09B8C:pdswww.rwcp.or.jp/score/
> dist/score/html-j/ja/reference/pm/ether-trunking.html+Network+Trunking&hl=ja
> &lr=lang_ja&ie=UTF-8
最新は
http://www.pccluster.org/score/dist/score/html/ja/reference/pm/ether-trunking.html
にあります.
(内容は変わっていないかも知れませんが...)
pm-ethernet.conf 設定ファイルの作成がちょっと面倒なのと
/etc/rc.d/init.d/pm_ethernet の更新がホストんいよって異なることに
注意すればあとはドキュメント通りだと思います.
from Kameyama Toyohisa
SCore-users-jp メーリングリストの案内