qnet and /net

Hi there i’m facing some problems with qnet protocol… i installed qnx rtp
on two machines on lan and set up networking… the tcp/ip networking is
working fine (i can telnet/ftp from/to the machines ) then i thought of
connecting the machines using qnet protocol (qnx native networking)…using

mount -Tio-net /lib/dll/npm-qnet.so

(using “io-net -p qnet” doesn’t show anything in /net)

but i’m facing some problems… for about 5 minutes both machines were
visible to each other (ie nodes were there in /net) and i could browse each
others filesystem but then the following problem arised 1) the machines
disappeared from /net ie A disappered from B’s /net and vice versa… however
i could still telnet/ftp to/from each machines 2) i can’t remount by using
the above command… i tried umount but it said “no such device or address”
even though /net was there and reissuing mount said “drive or resource
busy”…

any ideas???


Keep Smiling

Mechanically Yours

  • Mritunjai

II Year Sophomore
Mechanical Engg.
Indian Institute of Technology Bombay
India


Sent via Deja.com http://www.deja.com/
Before you buy.

Akhilesh Mritunjai <akhileshmritunjai@rediffmail.com> wrote:

Hi there i’m facing some problems with qnet protocol… i installed qnx rtp
on two machines on lan and set up networking… the tcp/ip networking is
working fine (i can telnet/ftp from/to the machines ) then i thought of
connecting the machines using qnet protocol (qnx native networking)…using

mount -Tio-net /lib/dll/npm-qnet.so

(using “io-net -p qnet” doesn’t show anything in /net)

but i’m facing some problems… for about 5 minutes both machines were
visible to each other (ie nodes were there in /net) and i could browse each
others filesystem but then the following problem arised 1) the machines
disappeared from /net ie A disappered from B’s /net and vice versa… however
i could still telnet/ftp to/from each machines 2) i can’t remount by using
the above command… i tried umount but it said “no such device or address”
even though /net was there and reissuing mount said “drive or resource
busy”…

A node “disappear” is because QNET decided that he can not reach
that node anymore. If everything is fine, I suspect this is a bug.

You still could do a “ls /net/B” on A, even if there is no “B”,
QNET supposed to then go off and asking “who is B”, and recover
B again.

For umount, you want to “umount /dev/io-net/qnet0” to let the qnet
go, and mount it again.

Another thing you could try is while you mount QNET, try:

mount -Tio-net -o"bind=ip" /lib/dll/npm-qnet.so

which forcing QNET using IP instead of auto-detect IP/Ether.

How many interface (network cards) you have in that node?

-xtang

any ideas???


Keep Smiling

Mechanically Yours

  • Mritunjai

II Year Sophomore
Mechanical Engg.
Indian Institute of Technology Bombay
India



Sent via Deja.com > http://www.deja.com/
Before you buy.

Xiaodan Tang <xtang@qnx.com> says…

You still could do a “ls /net/B” on A, even if there is no “B”,
QNET supposed to then go off and asking “who is B”, and recover
B again.

It doesn’t!! just keeps on saying “no route to host” (i tried connecting
through FQDN and ip but invain :frowning:

For umount, you want to “umount /dev/io-net/qnet0” to let the qnet
go, and mount it again.

after every 5 minutes??? i need a reliable network that should also be fault
redundant…

Another thing you could try is while you mount QNET, try:

mount -Tio-net -o"bind=ip" /lib/dll/npm-qnet.so

Same result… qnet down after 5minutes and ls over /net/othermachine gets
stuck…

How many interface (network cards) you have in that node?

just one on each connected via LAN (via a hub) (its an other thing that
2000 other computers are also on the lan)

Thank you


Keep Smiling

Mechanically Yours

  • Mritunjai

II Year Sophomore
Mechanical Engg.
Indian Institute of Technology Bombay
India


Sent via Deja.com http://www.deja.com/
Before you buy.