Check your directory for NICDEFs and your MVSXExx users for error 
messages.  I suspect you have a NICDEF or Define NIC with devices greater 
than 3.  For example you could have a 

NICDEF  1340 type qdio devices 6

CP SEND does not show you the error message on your console but instead 
over on MVSXE49's.   So your define nic might have failed but your couple 
still succeeded in coupling the base nic address (1340)  to your VSWITCH. 
The detach then destroyed the 1340 nic allowing the next define nic to 
succeed and you get the results you originally wanted.   I'd be happy to 
look at this issue more if you want to send me your consoles or a snapshot 
of your directory, etc. 

Tracy (Bolinda) Adams
z/VM Development - Virtual Networking




"Scully, William P" <[EMAIL PROTECTED]> 
Sent by: The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU>
01/10/2007 01:37 PM
Please respond to
The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU>


To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Unexpected DEFINE NIC Results






Sometimes CP doesn't do what you expect.  Here's an example where I
needed the NIC for z/OS to be at address 1344 rather than 0D00.  Not
hard to fix dynamically... Let's try: 


q vswitch intrav6 details
VSWITCH SYSTEM INTRAV6  Type: VSWITCH Connected: 4    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF
  VLAN Unaware
  State: Defined
  IPTimeout: 5         QueueStorage: 8
    Adapter Owner: MVSXE49  NIC: 0D00  Name: UNASSIGNED
    Adapter Owner: MVSXE62  NIC: 0D00  Name: UNASSIGNED
    Adapter Owner: MVSXE83  NIC: 0D00  Name: UNASSIGNED
    Adapter Owner: MVSXE97  NIC: 4100  Name: UNASSIGNED
Ready;
cp send cp mvsxe83 detach nic d00
Ready;
q vswitch intrav6 details
VSWITCH SYSTEM INTRAV6  Type: VSWITCH Connected: 3    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF
  VLAN Unaware
  State: Defined
  IPTimeout: 5         QueueStorage: 8
    Adapter Owner: MVSXE49  NIC: 0D00  Name: UNASSIGNED
    Adapter Owner: MVSXE62  NIC: 0D00  Name: UNASSIGNED
    Adapter Owner: MVSXE97  NIC: 4100  Name: UNASSIGNED
Ready;
cp send cp mvsxe83 define nic 1344 type qdio
Ready;
cp send cp mvsxe83 couple     1344 system intrav6
Ready;
q vswitch intrav6 details
VSWITCH SYSTEM INTRAV6  Type: VSWITCH Connected: 4    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF
  VLAN Unaware
  State: Defined
  IPTimeout: 5         QueueStorage: 8
    Adapter Owner: MVSXE49  NIC: 0D00  Name: UNASSIGNED
    Adapter Owner: MVSXE62  NIC: 0D00  Name: UNASSIGNED
    Adapter Owner: MVSXE83  NIC: 1344  Name: UNASSIGNED
    Adapter Owner: MVSXE97  NIC: 4100  Name: UNASSIGNED
Ready;


OK, one down, two to go, (now that I have my technique down pat):


cp send cp mvsxe49 detach nic d00
Ready;
cp send cp mvsxe62 detach nic d00
Ready;
cp send cp mvsxe49 define nic 1344 type qdio
Ready;
cp send cp mvsxe62 define nic 1344 type qdio
Ready;
cp send cp mvsxe49 couple     1344 system intrav6
Ready;
cp send cp mvsxe62 couple     1344 system intrav6
Ready;
q vswitch intrav6 details
VSWITCH SYSTEM INTRAV6  Type: VSWITCH Connected: 4    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF
  VLAN Unaware
  State: Defined
  IPTimeout: 5         QueueStorage: 8
    Adapter Owner: MVSXE49  NIC: 1340  Name: UNASSIGNED
    Adapter Owner: MVSXE62  NIC: 1340  Name: UNASSIGNED
    Adapter Owner: MVSXE83  NIC: 1344  Name: UNASSIGNED
    Adapter Owner: MVSXE97  NIC: 4100  Name: UNASSIGNED
Ready;


Huh?  Where did "1340" come from?  Oh well, if at first you don't
succeed: 


cp send cp mvsxe49 detach nic 1340
Ready;
q vswitch intrav6 details
VSWITCH SYSTEM INTRAV6  Type: VSWITCH Connected: 3    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF
  VLAN Unaware
  State: Defined
  IPTimeout: 5         QueueStorage: 8
    Adapter Owner: MVSXE62  NIC: 1340  Name: UNASSIGNED
    Adapter Owner: MVSXE83  NIC: 1344  Name: UNASSIGNED
    Adapter Owner: MVSXE97  NIC: 4100  Name: UNASSIGNED
Ready;
cp send cp mvsxe49 define nic 1344 type qdio
Ready;
q vswitch intrav6 details
VSWITCH SYSTEM INTRAV6  Type: VSWITCH Connected: 4    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF
  VLAN Unaware
  State: Defined
  IPTimeout: 5         QueueStorage: 8
    Adapter Owner: MVSXE49  NIC: 1344  Name: UNASSIGNED
    Adapter Owner: MVSXE62  NIC: 1340  Name: UNASSIGNED
    Adapter Owner: MVSXE83  NIC: 1344  Name: UNASSIGNED
    Adapter Owner: MVSXE97  NIC: 4100  Name: UNASSIGNED
Ready;
cp send cp mvsxe49 couple     1344 system intrav6
Ready;
q vswitch intrav6 details
VSWITCH SYSTEM INTRAV6  Type: VSWITCH Connected: 4    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF
  VLAN Unaware
  State: Defined
  IPTimeout: 5         QueueStorage: 8
    Adapter Owner: MVSXE49  NIC: 1344  Name: UNASSIGNED
    Adapter Owner: MVSXE62  NIC: 1340  Name: UNASSIGNED
    Adapter Owner: MVSXE83  NIC: 1344  Name: UNASSIGNED
    Adapter Owner: MVSXE97  NIC: 4100  Name: UNASSIGNED
Ready;

Reply via email to