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

Yoshihiro ISHIKAWA yoshihiro551230 @ bc.wakwak.com
2003年 10月 31日 (金) 04:39:48 JST


亀山 様

 先日はご回答いただきありがとうございました.その内容を
参考にしつつ,eth1とeth2でNetwork Trunkingしようとしている
ことに問題があるのではないかと思い,eth0とeth1でNetwork
Trunkingするように設定し,Point-to-Pointテストを実行すると,
以下のようなメッセージが出てしまいました.恐縮ですが再度,
アドバイスをいただけないでしょうか?

===================================================
[root @ cluster2 sbin]# ./rpmtest cluster01 ethernet-1 -reply
Unable to get filename (ethernet-1,-config:file)
===================================================

前回指摘のあったetherpmctl の実行は,

/proc/pm/ethernet/0/info
 /proc/pm/ethernet/1/info

が存在するので,正常にいったと思います.

scoreboard.dbと各ノードの/etc/rc.d/init.d/pm_ethernet
は次のようにしました.

==scoreboard.db======================================

ethernet-0      type=ethernet \
                -config:file=/opt/score/etc/pm-ethernet-0.conf
ethernet-1      type=ethernet \
                -config:file=/opt/score/etc/pm-ethernet-1.conf
ethernet-x2     type=ethernet \
                -config:file=/opt/score/etc/pm-ethernet-0.conf \
                -trunk0:file=/opt/score/etc/pm-ethernet-1.conf

#define PCC     msgbserv=(cluster2.iwate-u.ac.jp:8764)

cluster2.iwate-u.ac.jp \
 network=ethernet-0,ethernet-1,ethernet-x2 \
 group=_scoreall_,pccall smp=1 PCC
cluster01.iwate-u.ac.jp \
 network=ethernet-0,ethernet-1,ethernet-x2 \
 group=_scoreall_,pccall smp=1 PCC
cluster02.iwate-u.ac.jp \
 network=ethernet-0,ethernet-1,ethernet-x2 \
 group=_scoreall_,pccall smp=1 PCC
cluster03.iwate-u.ac.jp \
 network=ethernet-0,ethernet-1,ethernet-x2 \
 group=_scoreall_,pccall smp=1 PCC
=====================================================

/etc/rc.d/init.d/pm_ethernetはeth0に加えてeth1を使用するので,
下記のようにunit1とeth1の部分コメントアウトを外しました.

==/etc/rc.d/init.d/pm_ethernetの一部===============================
        /sbin/etherpmctl $IF -pm on -ir $INTERRUPT_REAPING -unit $UNIT
        /sbin/etherpmctl eth1 -pm on -ir $INTERRUPT_REAPING -unit 1
#       /sbin/etherpmctl eth2 -pm on -ir $INTERRUPT_REAPING -unit 2
#       /sbin/etherpmctl eth3 -pm on -ir $INTERRUPT_REAPING -unit 3
        touch /var/lock/subsys/pm_ethernet
        ;;
  stop)
        echo -n "Stopping PM/Ethernet: "
        /sbin/etherpmctl $IF -pm off
        /sbin/etherpmctl eth1 -pm off
#       /sbin/etherpmctl eth2 -pm off
#       /sbin/etherpmctl eth3 -pm off
================================================================

以上です.よろしくお願いいたします.

====================================
岩手大学大学院工学研究科機械工学専攻
航空宇宙システム部門/船崎・山田研究室
修士課程1年 石川慶拓 Yoshihiro Ishikawa
mail yoshihiro551230 @ bc.wakwak.com
====================================


----- Original Message ----- 
From: <kameyama @ pccluster.org>
To: "Yoshihiro ISHIKAWA" <yoshihiro551230 @ bc.wakwak.com>
Cc: "SCoreメーリングリスト" <score-users-jp @ pccluster.org>
Sent: Tuesday, October 21, 2003 9:16 AM
Subject: Re: [SCore-users-jp] Network Trunking機構の設定について


> 亀山です.
>
> 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 mailing list
> SCore-users-jp @ pccluster.org
> http://www.pccluster.org/mailman/listinfo/score-users-jp
>





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