QNET questions

Hi,

We have 2 machines running QNX RTP and we set up QNET.
What I did was:

#mount -Tio-net /live/dll/npm-qnet.so

Then I was able to see the other node in /net
But have 2 questions.

  1. How can I execute the process of the other node? For example, if I try to
    run “ped” process of the other node, how do I do it? If successful, I shoud
    see that pid on the other node, not on my node, correct?

  2. After setting up qnet for the two machines, both can access to local area
    network ( company intranet) but no longer able to connect the external
    network ( the internet).
    Is there something wrong with my setting? Can someone explain how to solve
    it?


    Thank you very much!

Eri

Eri Makimura <emakimura@aus.telusa.com> wrote:

Hi,

We have 2 machines running QNX RTP and we set up QNET.
What I did was:

#mount -Tio-net /live/dll/npm-qnet.so

Then I was able to see the other node in /net
But have 2 questions.

  1. How can I execute the process of the other node? For example, if I try to
    run “ped” process of the other node, how do I do it? If successful, I shoud
    see that pid on the other node, not on my node, correct?

You mean you want to start a process that running on remote
machine? Both 2 below will working

on -n remote /usr/photon/bin/ped
on -n remote /net/remote/usr/photon/bin/ped

please note this only “spawn” a process in remote (yes, you
will see the pid in “remote” if you go to “remote” do a pidin,
or you do a pidin -n remote), but all local env will inherit.

you must using RTP 6.1 to do the remote spawn.

  1. After setting up qnet for the two machines, both can access to local area
    network ( company intranet) but no longer able to connect the external
    network ( the internet).
    Is there something wrong with my setting? Can someone explain how to solve
    it?

I would say starting check out “netstat -ni”, “netstat -nr” output.
I don’t think QNET have anything to do with it.

-xtang