QNet weirdness

I have two networked machines running qnet. One shows the node names
correctly in the /net directory. The other shows the remote machine with
the name host2.net.intra. For example:

on host2 (RTP pre-release):

#ls /net
host1.grc.nasa.gov host2

on host1 (RTP version 6.0):

#ls /net
host1 host2.net.intra

This is not the desired result. Both machines are on the grc.nasa.gov
domain. Any ideas?

John

John Bowen <John.Bowen@grc.nasa.gov> wrote:

I have two networked machines running qnet. One shows the node names
correctly in the /net directory. The other shows the remote machine with
the name host2.net.intra. For example:

on host2 (RTP pre-release):

#ls /net
host1.grc.nasa.gov host2

on host1 (RTP version 6.0):

#ls /net
host1 host2.net.intra

This is not the desired result. Both machines are on the grc.nasa.gov
domain. Any ideas?

QNET get the domain from “CS_DOMAIN”. If there is none, it
use it’s default domain which is “net.intra”.

Is the host2 starting QNET after the domain is set?

-xtang

Where is “CS_DOMAIN” set?

john
“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:9543vo$9ls$2@nntp.qnx.com

John Bowen <> John.Bowen@grc.nasa.gov> > wrote:
I have two networked machines running qnet. One shows the node names
correctly in the /net directory. The other shows the remote machine
with
the name host2.net.intra. For example:

on host2 (RTP pre-release):

#ls /net
host1.grc.nasa.gov host2

on host1 (RTP version 6.0):

#ls /net
host1 host2.net.intra

This is not the desired result. Both machines are on the grc.nasa.gov
domain. Any ideas?

QNET get the domain from “CS_DOMAIN”. If there is none, it
use it’s default domain which is “net.intra”.

Is the host2 starting QNET after the domain is set?

-xtang

John Bowen <John.Bowen@grc.nasa.gov> wrote:

Where is “CS_DOMAIN” set?

It’s a “System Configure String” (if I remember correct :slight_smile:
Try to see the manual of lib function “confstr()”. Or util
“getconf”.

The question is on host2, while you mount/load QNET,
is the domain already set? How/When did you load qnet
module? Before load QNET, run a “getconf CS_DOMAIN”
and what did it returns you?

-xtang

john
“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:9543vo$9ls$> 2@nntp.qnx.com> …
John Bowen <> John.Bowen@grc.nasa.gov> > wrote:
I have two networked machines running qnet. One shows the node names
correctly in the /net directory. The other shows the remote machine
with
the name host2.net.intra. For example:

on host2 (RTP pre-release):

#ls /net
host1.grc.nasa.gov host2

on host1 (RTP version 6.0):

#ls /net
host1 host2.net.intra

This is not the desired result. Both machines are on the grc.nasa.gov
domain. Any ideas?

QNET get the domain from “CS_DOMAIN”. If there is none, it
use it’s default domain which is “net.intra”.

Is the host2 starting QNET after the domain is set?

-xtang

Xiaodan Tang <xtang@qnx.com> wrote:

John Bowen <> John.Bowen@grc.nasa.gov> > wrote:
Where is “CS_DOMAIN” set?

It’s a “System Configure String” (if I remember correct > :slight_smile:
Try to see the manual of lib function “confstr()”. Or util
“getconf”.

Sorry, I mis-read you question.

CS_DOMAIN could be set by various application. On a tipical
RTP install, netmanager is the one to set it (or dhcp.client).

-xtang

I figured it out. You pass the domain in the mount and resolve options
string of qnet.

Thanks,
jb
“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:954mu9$joj$2@nntp.qnx.com

Xiaodan Tang <> xtang@qnx.com> > wrote:
John Bowen <> John.Bowen@grc.nasa.gov> > wrote:
Where is “CS_DOMAIN” set?

It’s a “System Configure String” (if I remember correct > :slight_smile:
Try to see the manual of lib function “confstr()”. Or util
“getconf”.

Sorry, I mis-read you question.

CS_DOMAIN could be set by various application. On a tipical
RTP install, netmanager is the one to set it (or dhcp.client).

-xtang