I assume that PATH=02 and PATH=03 are connected by a CTC.
On one LPAR you need to ATTACH 400 and 401 as 726 and 727.
On the other LPAR ATTACH 500 and 501 as 726 and 727.
That should allow the two LPARS to talk to each other.
You can use any 2 address in the 400 to 45F range for the first LPAR and the same 2 address in the 500 to 55F range for the second LPAR. When you want to connect the 3 LPARS you will need to use 2 address from 400-45F and 2 addresses from 500-55F for each connection.

[EMAIL PROTECTED] wrote:

Cross Posted to IBMTCP-L

-----------

We are trying to get two TCPIP stacks in     separate LPARs to
talk to each other over a CTC link.

We have our CTCs defined in our IOCP as shown at the end of this posting
(We took our clues from "VM New User How To Defining ESCON CTCs Between
LPARs"  by  Shimon Lebowitz.)

Before trying to get the LPARs to talk, we checked things out on a
second level machine.  Things worked OK.

-------------   Connecting second level tcpip to first level tcpip   ----
-------------   over CTCs                                            ----

<<<<<<<<    TCPIP profile in first level tcpip

; DEVICE AND LINK from TCPIP1
DEVICE CTCVDEVA CTC 726
LINK CTCVLNKA CTC 0 CTCVDEVA
HOME
     xxx.yyy.zz.10 CTCVLNKA
GATEWAY

    xxx.yyy.zz.9 =            CTCVLNKA    1500      HOST
  START CTCVDEVA


<<<<<<<<<<< TCP/IP profile in second level tcpip

; DEVICE AND LINK from TCPIP2
DEVICE CTCVDEVA CTC 726
LINK CTCVLNKA CTC 1 CTCVDEVA
HOME
     xxx.yyy.zz.9  CTCVLNKA
GATEWAY

    xxx.yyy.zz.10 =           CTCVLNKA    1500      HOST
  START CTCVDEVA

<<<<<<<<<<<  Commands issued to connect the two TCP/IP stacks

First level TCPIP (TCPIP1)

     Define ctc 726
     Define CTC 727

Second level VM  (TESTVM)

      Define CTC 726
      Define CTC 727

      Couple 726 TCPIP1 726
      Couple 727 TCPIP1 727

Second Level TCPIP stack (TCPIP2)

      ATTACH   726 TCPIP2
      ATTACH   727 TCPIP2

Start TCPIP's and things were communicating



Then we tried the LPARS.  The Second Level VM IPLed fine in the LPAR
and TCPIP2 start fine.

We changed the SYSTEM DTCPARMS files in both TCPIP1 and TCPIP2

to Attach the LPAR CTCs.

We added to TCPIP1 and TCPIP2 DTCPARMS with the Tags

:ATTACH.0500 as 0726, 0440 as 727

After restarting the IP's the CTCs are defined but give
IO errors.

We may be (or actually are) totally
confused about which device addresses from the IOCP
actually can be used to connect LPAR1 (ESA11) to LPAR3 (IFL).
We thought we understood the Lebowitz notes  (good examples of
defining the IOCP)  but there were no
examples of how to use the IOCP CTCs after they are
defined in the IOCP so we did some guessing.


Any pointers on where to get a handle on how to do this would
be appreciated.

Ron Greve
SDSU Admin and Research Computing
[EMAIL PROTECTED]






<<<<<<<<<<<<<    IOCP  used to define CTCs between LPARS)
<<<<<<<<<<<<<    Reference VNUH-0001 by Shimon Lebowitz

 CHPID PATH=02,TYPE=CNC,PARTITION=(ESA11,ESA12,IFL),SHARED
 CHPID PATH=03,TYPE=CTC,PARTITION=(ESA11,ESA12,IFL),SHARED
 CNTLUNIT CUNUMBR=0401,PATH=(02),UNIT=SCTC,UNITADD=((00,32)),CUADD=1
 CNTLUNIT CUNUMBR=0501,PATH=(03),UNIT=SCTC,UNITADD=((00,32)),CUADD=1
 CNTLUNIT CUNUMBR=0402,PATH=(02),UNIT=SCTC,UNITADD=((00,32)),CUADD=2
 CNTLUNIT CUNUMBR=0502,PATH=(03),UNIT=SCTC,UNITADD=((00,32)),CUADD=2
 CNTLUNIT CUNUMBR=0403,PATH=(02),UNIT=SCTC,UNITADD=((00,32)),CUADD=3
 CNTLUNIT CUNUMBR=0503,PATH=(03),UNIT=SCTC,UNITADD=((00,32)),CUADD=3
 IODEVICE ADDRESS=(0400,32),CUNUMBR=(0401),UNITADD=00,                 X
               UNIT=SCTC,PART=(ESA11,ESA12,IFL)
 IODEVICE ADDRESS=(0420,32),CUNUMBR=(0402),UNITADD=00,                 X
               UNIT=SCTC,PART=(ESA11,ESA12,IFL)
 IODEVICE ADDRESS=(0440,32),CUNUMBR=(0403),UNITADD=00,                 X
               UNIT=SCTC,PART=(ESA11,ESA12,IFL)
 IODEVICE ADDRESS=(0500,32),CUNUMBR=(0501),UNITADD=00,                 X
               UNIT=SCTC,PART=(ESA11,ESA12,IFL)
 IODEVICE ADDRESS=(0520,32),CUNUMBR=(0502),UNITADD=00,                 X
               UNIT=SCTC,PART=(ESA11,ESA12,IFL)
 IODEVICE ADDRESS=(0540,32),CUNUMBR=(0503),UNITADD=00,                 X
               UNIT=SCTC,PART=(ESA11,ESA12,IFL)

--
Stephen Frazier
Information Technology Unit
Oklahoma Department of Corrections
3400 Martin Luther King
Oklahoma City, Ok, 73111-4298
Tel.: (405) 425-2549
Fax: (405) 425-2554
Pager: (405) 690-1828
email:  stevef%doc.state.ok.us

Reply via email to