[SCore-users-jp] Network Trunking機構の設定について

kameyama @ pccluster.org kameyama @ pccluster.org
2003年 10月 21日 (火) 09:16:13 JST


亀山です.

In article <00b401c39719$6101a460$6f501da0 @ airfoceone> "Yoshihiro ISHIKAWA" <yoshihiro551230 @ bc.wakwak.com> wrotes:
> マニュアルを参考にNetwork Trunkingの設定をして,
> Point-to-Pointテストをしたところ,以下のようなメッセージが
> 出てきました.ethernet-1のところをethernetに変えると,
> うまくいくのですが,ethernet-1やethernet-2にすると,うまく
> いきません.何が原因でこのようになっているのか,お分かり
> の方がいらっしゃいましたら,教えていただきたく思います.
> 
> ===================================================
> [root @ cluster2 sbin]# ./rpmtest cluster01 ethernet-1 -reply
> pmOpenDevice: Cannot allocate memory(12)
> ===================================================

メモリ不足のようですが,

> メモリ 2GB

では考えにくいですね.
環境変数 PM_DEBUG を 1 にして実行すれば, もう少し情報がとれると思います.

あと etherpmctl の実行は正常にいったでしょうか?
    /proc/pm/ethernet/0/info 
    /proc/pm/ethernet/1/info 
などが存在すれば大丈夫だとは思いますが...

> このときのscorehosts.dbは以下のようになっています.
> 
> == scorehosts.db ====================================
> /* PM/Ethernet */
> ethernet        type=ethernet \
> /* PM/Ethernet */
> ethernet        type=ethernet \

ここまでの 4 行はゴミのようですので, 削除したほうがよいと思います.
(これが影響して ethernet を指定した場合に config file とかが
無視されている可能性があります.)

> /* PM/Ethernet */
> ethernet        type=ethernet \
>                 -config:file=/opt/score/etc/pm-ethernet.conf
> ethernet-1      type=ethernet \
>                 -config:file=/opt/score/etc/pm-ethernet-1.conf
> ethernet-2      type=ethernet \
>                 -config:file=/opt/score/etc/pm-ethernet-2.conf
> ethernet-x2     type=ethernet \
>                 -config:file=/opt/score/etc/pm-ethernet-1.conf
>                 -trunk0:file=/opt/score/etc/pm-ethernet-2.conf
> 
> #define PCC     msgbserv=(cluster2.iwate-u.ac.jp:8764)
> 
> cluster2.iwate-u.ac.jp \
>  network=ethernet,ethernet-1,ethernet-2,ethernet-x2,udp \
>  group=_scoreall_,pccall smp=1 PCC

network の udp は存在しないようなので, 削除しないと SCore が起動できないと
思います.

                       from Kameyama Toyohisa



SCore-users-jp メーリングリストの案内