[SCore-users-jp] SCore-D:ERROR Unable to open PM ethernet/ethernet
Kameyama Toyohisa
kameyama @ pccluster.org
2008年 6月 3日 (火) 16:59:53 JST
亀山です.
亀井 雄介 さんは書きました:
>
>>> 計算ホストPCのブート時に pm_ethernet は実行されていなかったので
>>> PMテスト手順(Ethernet)の
>>> # /etc/rc.d/init.d/pm_ethernet start と打つと、
>>> Starting PM/Ethernet: NO PM/ethernet device is enables.
>>> If you want to use PM/Ethernet, please edit /etc/pm_ethernet.conf.
>>> このようになってしまいました。
>> SCore SystemのCompute Hostへのインストール
>> http://www.pccluster.org/score/dist/score/html/ja/installation/sys-compute.html
>> の 4. を見てください.
>
> ご指摘して頂いた通り、上記のアドレスと、
> http://www.pccluster.org/score/dist/score/html/ja/man/man5/pm_ethernet.conf.html
> こちらを参考に /etc/pm_ethernet.conf を作成しましたが、
> エラーが発生し、対処方法に困っています。
>
> エラーの内容は、
> $/etc/rc.d/init.d/pm_ethernet start を行うと以下のエラーが出てしまいました。
> /etc/pm_ethermet.conf: line 4: unit: command not found
> /etc/pm_ethermet.conf: line 16: 0: command not found
> /etc/pm_ethermet.conf: line 17: 1: command not found
compute host の /etc/pm_ethernet.conf と server の
/opt/score/etc/pm_ethernet.conf は別のファイルです.
compute host の /etc/pm_ethernet.conf はたとえば,
PM_ETHERNET_UNIT_ETH1=0
とだけ書くことになります.
> また、
> $etherpmctl eth1 -pm on -unit 1 を行うと以下のエラーが出ました。
> open_epm(1): open failed: 2
> Trying pld style....device: eth1
> etherpmctl: ERROR on unit1: "Operation not supported(95) Check dmesg log!!"
dmesg の出力はチェックしましたでしょうか?
http://www.pccluster.org/score/dist/score/html/ja/installation/pm-testethernet.html
より...
etherpmctl コマンドが失敗
* ホストのネットワークインターフェースが正しく設定されていない。
* ホストの PM/Ethernet ドライバが正しく設定されていない。dmesg コマンドを用いて
カーネルのブートログを確認してください。
(多分, pm_ethernet_dev デバイスが組み込まれていないと思われます.
> また、クラスタの計算ホストの /etc/pm_ethernet.conf 内における
> ユニット番号と、ノード番号についてなのですが。
>
> 現在、計算ホストが2台なので、1台目はunit番号0、2台目はunit番号1とし、
> 以下のように記述しています。
/etc/pm-ethernet.conf で指定する unit 番号は server の
/opt/score/etc/pm-ethernet.conf で指定する unit に対応します.
5/29 の mail の pm-ethernet.conf を使用するのでしたら,
unit 番号は 0 になります.
unit 番号は, PM/Ethernet を複数用意したり, trunk などを行うとき,
その ethernet device がどちらの PM/Ethernet で使用するのかを
決定するために使用します.
(eth0 だったら unit 0 とかにしないのは, たとえば, 1 台の host だけ
NIC が余分に付けてあって番号がずれているというような場合に対処するためです.)
Kameyama Toyohisa
SCore-users-jp メーリングリストの案内