Subject: | |
From: | |
Reply To: | |
Date: | Fri, 9 Jun 1995 18:38:47 GMT |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Adam Dorritie ([log in to unmask]) wrote:
: Hello out there!
: NETIPC WARNING 1: IPCLOOKUP to node 0 failed
: UNKNOWN NODE. (SOCKERR 40).
: Here's the rub, the two systems are at different sites and are set up
: in _different domains_. I've heard that NS has a problem w/ RPM and
: PTOP between systems that aren't in the same domain. Can anyone tell
: me if this is true?!?
- Hi! I'm from the NS services lab in HP. I'm not aware of any problems
in that area of NS... here's a short sample of what I did on my hands-on
machine to test this out.
System 1 (LAX) has a program (RPMSEND) that gets a nodename,logon and a
program name for another system, then RPMCREATEs the remote program.
Remote program (IPCRECV) starts up and put's it's socket name in socket
registry and the local program (RPMSEND) then looks it up using IPCLOOKUP,
connects to it and sends some data across and kills the connection at
the end. Note that nodenames were configured different so that your
concern of differing DOMAINs (and also ORGANIZATIONs) gets addressed:
Local system was called LAX.ITG.HP and remote was
PILOT13.TESTDOMAIN.TESTORG.
on System 1 (LAX.ITG.HP)
========================
:rpmsend
*SENDER* Enable user-level NetIPC tracing (Y/N) ?
*SENDER* Enter remote node name: PILOT13.TESTDOMAIN.TESTORG
*SENDER* Enter remote logon [user.acct,grp - no pw]: manager.sys,pub
*SENDER* Enter remote program name: IPCRECV
len= 7 name="IPCRECV"
len=26 name="PILOT13.TESTDOMAIN.TESTORG"
len=15 name="manager.sys,pub"
*SENDER* no error(s) - Remote process creation ok ! <<=== NOTE - WORKED OK
*SENDER* Time for RPMCreate: 2.25 seconds.
*SENDER* Enter packet size (max 1500): 1000
*SENDER* Enter number of packets to send: 10
*SENDER* no error(s) - socket created
*SENDER* no error(s) - lookup ok !! <<=== NOTE - WORKED OK
*SENDER* no error(s) - connected !!
*SENDER* VC descriptor = 12
*SENDER* call socket - socket was shut down.
*SENDER* no error(s) - connection ok.
*SENDER* Connection establishment time = 0.13 seconds
*SENDER* no error(s) - datalength sent ok.
*SENDER* packets sent: 10
*SENDER* Time for xmit was: 0.08 seconds
*SENDER* VC socket - socket was shut down.
on System2 (PILOT13.TESTDOMAIN.TESTORG):
========================================
:10:48/#S6/48/(PROGRAMMATIC) LOGON FOR: "MANAGER.SYS,PUB" ON LDEV #15.
:showproc 48;system;tree
QPRI CPUTIME STATE JOBNUM PIN (PROGRAM) STEP
B152 0:00.371 WAIT S6 48 (JSMAIN.PUB.SYS)
C152 0:00.095 WAIT S6 59 :
C152 0:00.169 WAIT S6 46 (RPMDAD.NET.SYS) <6
C152 0:00.045 WAIT S6 62 (IPCRECV.PUB.SYS)
socket created and named by IPCRECV "TEST SOCKET#1"
Hope this answers your questions. Calling sequence in sending program is:
---------
RPMCreate
IPCCreate
IPCLookup
IPCConnect
IPCRecv
IPCSend
repeat
IPCSend
until no more data
IPCShutdown
...and the receiving (RPMCREATEd) program says:
---------
IPCCreate
IPCName
IPCRecvcn
IPCRecv
repeat
IPCRecv
until no more data
IPCShutdown
Hope this clarifies it,
Eero Laurila - HP CSY Networking lab, NS services.
|
|
|