Using z/VM VSWITCH
Prepared by: David Kreuter
VM RESOURCES LTD.
Presented by: Dave Jones
V/Soft-Software
February 26, 2008
Orlando SHARE
Session 9124
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 2
Using vswitch on z/VM
• Definition of guest lan• Vswitch concepts• Vswitch implementation, management,
and recovery• VM TCPIP stack configuration• linux stack configuration
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 3
Guest Lans
• Virtual network adapters connect IP stacks in virtual machines.• No hardware is required.
• It’s all done by CP commands, directory statements, configuration file statements, etc.
• High speed and high volume networks.• One z/VM system can have multiple guest lans.
• Guest lans can connect to other guest lans …• Or be isolated from other guest lans
• One IP stack can belong to multiple guest lans.• Supports multicast, unicast, broadcast networks.• Supports all protocols.• VM TCPIP and linux support guest lan
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 4
VSWITCH Concepts
• Special kind of Guest LAN• Like a Guest LAN Provides network of virtual network
interfaces• Connects directly to an OSA-Express QDIO Interface• Or can run disconnected from real devices.• Connects to external LAN segments without need for
routing on z/VM.• Operates as layer 2 or layer 3.• Can have multiple Vswitches on one z/VM LPAR.
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 5
VSWITCH Presentation Goals
• Show controller command for dynamic controller management with two ranges of devices
• Show controller configuration• Show configuration of 1st level vm tcpip stack• Show configuration of 1st level linux stack• Show configuration of 2nd level vm tcpip stack• Show recovery scenarios
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 6
Linux stackVMTCPIPStack
Linux stack
Guest lan 1.2.3.x
1.2.3.33 1.2.3.1331.2.3.100
10.1.1.100
OSA
Routing packets between 1.2.3.x and 10.1.1.x networks
Virtual nic
Typical Guest LanVirtual network
Physical networkIDC10.1.1.114
IDC
10.1.1.115
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 7
CP Vswitch
OS
A
Real switch
IDCIDC
linux 10.1.1.14
linux 10.1.1.15
linux 10.1.1.16
linux 10.1.1.17
linux 10.1.1.114
linux 10.1.1.115
MAC 01 02 03 04 05 06 MAC 01 02 03 04 05 07
Z/VM
MAC 08 00 20 E4 64 79
Norouting
TYPICAL
VSWITCH
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 8
CP Vswitch
OS
A
Real switch
IDCIDC
linux 10.1.1.14
linux 10.1.1.15
linux 10.1.1.16
linux 10.1.1.17
linux 10.1.1.114
linux 10.1.1.115
MAC 01 02 03 04 05 06
MAC 01 02 03 04 05 07
Z/VM vswitch layer 3
MAC 08 00 20 E4 64 79
Norouting
From virtual machines: OSA receives layer 3 packet constructs Layer 2 frame and sends outbound.
To virtual machines: OSA receives layer 2 frame constructs layer 3 packet and sends to stack
Uses subchannel to reach stack
OSA Mac used on network
CP DEFINE VSWITCH ... IP ...
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 9
CP Vswitch
OS
A
Real switch
IDCIDC
linux 10.1.1.14
linux 10.1.1.15
linux 10.1.1.16
linux 10.1.1.17
linux 10.1.1.114
linux 10.1.1.115
MAC 01 02 03 04 05 06 MAC 01 02 03 04 05 07
Z/VM vswitch layer 2
MAC 08 00 20 E4 64 79
Norouting
MAC IP
02 00 00 00 00 02 10.1.1.14
02 00 00 00 00 03 10.1.1.15
02 00 00 00 00 04 10.1.1.16
02 00 00 00 00 05 10.1.1.17
01 02 03 04 05 06 10.1.1.114
01 02 03 04 05 07 10.1.1.115OSA Arp table
CP DEFINE VSWITCH ... ETHERNET ..
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 10
Participates in VLAN
• Supports Virtual Local Area Networks (VLANs) as per IEEE 802.1Q.
• CP provides virtual switch function.• Hosts (Virtual Machines with IP stacks) on
separate VLANs are isolated from each other.
• VLAN support operates in a layer 2 or 3 vswitch.
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 11
VLANS and z/VM Vswitch Vlan 11: 10.1.11.x
Vlan 2: 172.27.35.x
CP VSWITCH
LX1VLAN111
LX2VLAN111
LX3VLAN11
LX4VLAN2
LX5VLAN2
LX6VLAN2
VLAN2
VLAN2
VLAN11 VLAN11 VLAN2
VLAN11
Physical switches
OSA. .
No routing
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 12
TCPIPLXcontroller
LFORXX93linux.159
LFOR00012nd level vm
.156
TCPIPLYVM stack
.158
VMRTSW172.27.120.x
EC00-EC02 EB00-EB02
TCPIPLZ controller
osa devices Guest lan
CISCOSYSTEMS
Our Vswitch Network
Server gateway
172.27.120.254
Other host172.27.120.155
CISCOSYSTEMS
EC10-EC12
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 13
LFORXX93linux.159
LFOR00012nd level vm
.156.
TCPIPLYVM stack
.158
VMRTSW
Guest lan
Our Vswitch Network: nic devices
Other host172.27.120.155
Nic fff0-fff2 Nic fffc-fffe Nic 800-802
The virtual machines all have nic devices. QDIO type devices require 3 addresses: read, write and data. Nic devices are coupled to the guest lan VMRTSW. Hint: for linux cloning use the same nic address for all cloned linuxes.
Participants on vswitches use virtual nic devices.
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 14
OSA and QDIO Mode
• QDIO mode is a z series high speed and high volume data transfer mechanism– Initiated as an I/O but …
• Once started remains active• And does not use standard I/O instructions
• OSA in QDIO mode supports:– Layer 3: IP mode: forwards IP broadcasts and multicasts;
uses IP destinations from the IP packet. Supports VLAN.– Layer 2: Ethernet mode: uses MAC addresses from the LAN
frame. Used by z/VM vswitch and the linux QETH drivers. Support VLAN along with multicast, broadcast and all protocols.
• Guest lans support virtual QDIO mode.
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 15
Our Vswitch Network: osa devices
Other host172.27.120.155
TCPIPLXcontroller
EC00-EC02
OSA chpid EC
A vswitch has one set of OSA QDIO devices active with multiple stacks. Non-vswitch OSA use is one set of QDIO devices per adaptor.
EC10-EC12
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 16
VMRTSW172.27.120.x
Chpid EC type OSD shared by LPAR “A” and “B”
EC00-EC02 EC03-EC05
VMRTSW172.27.120.x
Linux.159
Linux.179
Linux.59
Linux.79
LPAR “A” LPAR “B”
Multiple LPAR configuration on the same subnet
CISCOSYSTEMS
IDC
.254
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 17
A Few Words on VSWITCH
• The VSWITCH table of MACs, IP addresses, and virtual stacks is maintained by CP.
• The controller machine does not have DEVICE/LINK statements for the vswitch OSA devices.
• The controller machine is not involved in moving packets.• Controller machine is for management and recovery
purposes.• The OSA devices are automatically attached by CP to the
controller machine when the VSWITCH is created.– One active set of OSA devices per vswitch.
• Virtual machines must be explicitly granted permission to join the vswitch..– Or access can be controlled by RACF.
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 18
Let’s take a look
• Vswitch will be defined to use two sets of devices: EC00-EC02 and EB00-EB02:– EC00-EC02 will become active; EB00-EB02 will be standby.
• No load balancing• CP will look for controller (VM TCPIP stack machine):
– Explicitly defined by CP command or SYSTEM CONFIG file statement
– Or available machine (connected to *VSWITCH service)• Will show two types of recovery:
– Detaching EC00-EC02– Forcing off the active vswitch controller
• DEFINE VSWITCH is Class B • DEFINE VSWITCH configuration file statement• Guest lan user defines NIC with type QDIO
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 19
Defining the VSWITCH from MAINT
���������������������������������������������������������������������������������������� ����������������� ����������������� ��������������� ����������������������������������������������������������������������
������������������������������� ���!���������������������������������������������� ���!���������������������������������������������� ���!���������������������������������������������� ���!���������������"#$% &�'%�(�"(�%#�������)������& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0�& *#+�,-�$�% *$*12% *$*12% *$*12% *$*12 ���"#$% &������� ��0���*���%�3�& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0�*���%�3�& *#+�,-�$�% *$*12% *$*12% *$*12% *$*12 ���"#$% &������� ��0�����
���������������������������������������������������������������������������������������� ����%%� &�4�%�% *$*12��� �������� ����%%� &�4�%�% *$*12��� �������� ����%%� &�4�%�% *$*12��� ������������%%� &�4�%�% *$*12����������������%%� &�4�%�% *$*12����������������%%� &�4�%�% *$*12�������
Create a vswitch called vmrtsw as a layer 3 using rdevices ec00-ec02 and eb00-eb02. Choose any available controller
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 20
�����)����� ��5���������� 6"(�% *7$*�8����)��1��� �9-��������������������������������������"(�% *7$*�8����)��1��� �9-��������������������������������������"(�% *7$*�8����)��1��� �9-��������������������������������������"(�% *7$*�8����)��1��� �9-��������������������������������������
4������"#$% &4�""#$% &4�""#$% &4�""#$% &4�" %/��3�"#$% &"#$% &"#$% &"#$% &����$+ "$+ "$+ "$+ " �)�.�3� �������� �������� �������� ��������:.�.����;�3������� *+3�������$+ "��3�!"#$% &�����*������/3���1��5�"#$% &1$8<�����������%/��3�$+ "�����������8����.����3������������/���$�3�,=>��������������/���.�3��?=?�������������������
4������"(�%#� ��4�"��"(�%#� ��4�"��"(�%#� ��4�"��"(�%#� ��4�"�� %/��3�"#$% &�4�����)�.�3���)�/��)�/��)�/��)�/:.�.����;�3������� *+3��������������3�� ��� ��� ��� �� *�����)��3�+8�$@8�4�$*�?���.����%/��3�8����.���������:.��/�.�����3�'�������������
1��5�"(�%#� ��1$8<1��5�"(�%#� ��1$8<1��5�"(�%#� ��1$8<1��5�"(�%#� ��1$8< %/��3�:4$�%&��8�%���8����.����3�����������%�)�������%/��3�$*�������������������������������������������)��)��� )�)�� ��/3�'�����������������������������������(. ���)��� )�)�� ��/3�'�����������������������������������
4������"(�%#����4�""(�%#����4�""(�%#����4�""(�%#����4�" %/��3�"#$% &�4�����)�.�3�$�)�����$�)�����$�)�����$�)�����:.�.����;�3������� *+3��������������3����������������� *�����)��3�+8�$@8�4�$*�?���.����%/��3�8����.���������:.��/�.�����3�8�������������
1��5�"(�%#����1$8<1��5�"(�%#����1$8<1��5�"(�%#����1$8<1��5�"(�%#����1$8< %/��3�:4$�%&��8�%���8����.����3�����������%�)�������%/��3�$*�������������������������������������������)��)��� )�)�� ��/3�+�5������(. ���)��� )�)�� ��/3�+�5����������
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 21
Controllers: TCPIPLX and TCPIPLZ
• In their PROFILE TCPIP’s this statement:
"#$% &� 8%�11���8�
… but no need for HOME, GATEWAY, START statements … unless there are other adapters
• DIRECTORY statement required:$+ "�!"#$% &�(@1$($%�>99-9
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 22
Allow these virtual machines to join the vswitch guest lan (class B) … or SYSTEM
CONFIG statement
�������������������A�)��� ��������������������������A�)��� ��������������������������A�)��� ��������������������������A�)��� ������� ���)������� ����������������������
�������������������A�)��� ���66B-�������������������A�)��� ���66B-�������������������A�)��� ���66B-�������������������A�)��� ���66B- ���)������� ����������������������
�������������������A�)�������� /�������������������A�)�������� /�������������������A�)�������� /�������������������A�)�������� / ���)������� ����
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 23
Ask which machines have access
�.��/����������.��/����������.��/����������.��/���������)�����)�����)�����)�����"#$% &�'%�(�"(�%# %/��3�"#$% &� ��������3�- ()6����3�$8�$8$%�
*��$%�8% ��%�$ %�4 88�+%��� ����.����A3���"1�8�.�)�)���)��3���)�/$*%����.�3�9 :.�.����)A�3�,
*����)��3�+8�$@8�4��4�"3�� ���� ����� ��3�% *$*1C "4�"3 � ��*����)��3�+8�$@8�4��4�"3������ ����� ��3�% *$*1C "4�"3 ������� <+*
�.�����;���.������3�.�����;���.������3�.�����;���.������3�.�����;���.������31��22B-�1��������'%�(1��22B-�1��������'%�(1��22B-�1��������'%�(1��22B-�1��������'%�( % *$*1'% *$*1'% *$*1'% *$*1'
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 24
LFOR00012nd level vm
.156.
VMRTSW172.27.120.x
Guest lan
1st level Directory has virtual nic at FFFC-FFFE
CP real OSA at FFFC-FFFE
TCPIP osaAttached
at FFFC-FFFESecond levelThird level
LFOR0001 runs a 2nd level VM system. It has a virtual nic defined at FFFC-FFFE. In the 2nd level this ‘real’ device is attached to 3rd level TCPIP machine. TCPIP drives this as an osa qdio device.
Zoom in on the 2nd level STACK
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 25
Definitions for lfor0001
• First level directory:
8$ 4������ �%'*��:4$�4�"$ ��-�1�8�'%�(�"(�%#�8$ 4������ �%'*��:4$�4�"$ ��-�1�8�'%�(�"(�%#�8$ 4������ �%'*��:4$�4�"$ ��-�1�8�'%�(�"(�%#�8$ 4������ �%'*��:4$�4�"$ ��-�1�8�'%�(�"(�%#�
• Second level ‘real’ devices:
:���� :���� :���� :���� ��������������������
������ ��%%� &�4�%�% *$*������� ���
������4��%%� &�4�%�% *$*�������4���
���������%%� &�4�%�% *$*����������
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 26
DEVICE DEVFFFC OSD FFFC NONROUTER
LINK OSASERV QDIOETHERNET DEVFFFC MTU 1500
HOME
172.27.120.156 OSASERV
GATEWAY
172.27.0.0 = OSASERV 1500 0.0.255.0 0.0.120.0
DEFAULTNET 172.27.120.254 OSASERV 1500 0
START DEVFFFC
PROFILE TCPIP
3���50% *$*����3�/��0��������������
3� )��0��)�5��������
3���)��0��� ������
SYSTEM DTCPARMS
LFOR0001: TCPMAINT
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 27
Lforxx93 Definitions
• Directory:
NICDEF FFF0 TYPE QDIO DEVICES 3 MACID 01FF01 LAN SYSTEM VMRTSW
Macid is optional. It is appended to the MACID prefix. The MACID prefix is set in the SYSTEM CONFIG file in the VMLAN statement (VMLAN MACPREFIX xxxxxx). Default is 020000. Used by layer 2 vswitch support.
• Setup the card in the linux machine via yast or by hand
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 28
Setup the card in the linux machine via yast or by hand
• Via yast: must have working network in order to use ssh client (such as putty from windows).– This is for SUSE SLESx
• Via 3270 (no network access to linux) can use line editor such as sed– Useful when working with cloned machine
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 29
')%�D� ���66B-��������������������������������������������*������������&� �
')%')%')%')% ����� � ����� � ����� � ����� � ����� ����� ����� �����
�����)���������������������������8�����5� )���8�����5� )���8�����5� )���8�����5� )����&)���)��������������/������������������8�����5�4������8�����5�4������8�����5�4������8�����5�4�������8�����5��������������.���/�)���+������(�������������������
E&� �F��������������������������������������E:.��F
1. In yast select network devices/network card
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 30
')%�D� ���66B-��������������������������������������������*���� �������&� �
8�����5��)���������A.�)����8�����5��)������.��������������������8�����5��)������������A.���)��3
��)� )� �
����A.���/�.���������������������������$�(����6�������������� �)���G�0�0�=�>H���������������5��)�������0����������������������$�(����6�������������� �)���G�0�0����H������A�)�������5����������������������$�(����6����������������)���G�0�0����H$�(����6����������������)���G�0�0����H$�(����6����������������)���G�0�0����H$�(����6����������������)���G�0�0����H
�)��3�����������������������������������$�(�$+ "���������������� ������)�������5�����������������������������G������������H�����)������������ ����������������������5����������������������������������E ����A.�� ����A.�� ����A.�� ����A.��000F��)���0�$��/�.��������������5��)����)������).�������������� ����������������������� ��)�/������A.�����������3���������������G������������H�������������������!��&�������5����$�����)�� G&$H����������������������� ����A.������������������������ ����A.�������������������0�0�0���������0�������������������������������������!��$�(����6����������������)���G�0�0,,��H������A���������������������������������� ����A.������������������0�0�0����������4� ����A3�����������$��/�.������� �)�A�����������������������������������������E �)�A�000000000F)��)�������) ���) �A
E��)�5�F��������������E�����F��������������E������F
2. Choose the card you wish to configure; configure
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 31
')%�D� ���66B-��������������������������������������*������������&� �
8�����5�)����������.�� ����A.���/�.��$*�
)������0����������������������$*��������������������� ����A.�)�����8)��)�������G�0A0��������������������������.�������0�0����� � � � � � � ��B�0�>,0���0BBH�����/�.������.�������������������������)��������������.��
������5��)�5����������������� �G.�.) /�������������������������$*�������������.������)�5���990�990�990�H��)����������������I�=�0�=0���0�9B�=�0�=0���0�9B�=�0�=0���0�9B�=�0�=0���0�9B I90�990�990�������) /�����������������������������������������������������). ��A)���)/�$*�������������)������0������������ ���)���/�.�������������������4��)� ���������A��
������5�������������������������&�����)���)����)���������)��������)���������������������������������.���A��������������������)��������������������������������)����000�����)��.������������5���������A.�)����0������ ��5��A�8�6������
E�)�5F����������������E�����F����������������E8�6�8�6�8�6�8�6�F
3. Configure the card; choose next (then in the next screens click finish then quit
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 32
')%�D� ���66B-������������������������������������������������ *������������&� �
�� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 8�����5��)���������A.�)����8�����5��)���������A.�)����8�����5��)���������A.�)����8�����5��)���������A.�)����� 8�����5��)������.������������� �8�����5��)������������A.��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� ����A.���/�.��������5��)������� � ���)� )� ��)��3� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ������0��������������������������� � �$�(����6����������������)���G�0�0�=�9H������������������������ � �� �����A�)�������5��)��3�������� � �$�(����6����������������)���G�0�0�=�>H������������������������ � �� ������)�������5��)������������� � �$�(����6����������������)���G�0�0����H������������������������ � �� ����������������������5��)���0� � �$�(�$+ "�������������������������������������������������������� � ��$��/�.��������5��)����)��������� � ������G������������H�������������������������������������������� � ��).�������������� ���������G���� � � � ����������H������������ ����A.��0� � � � �� ������A����4� ����A3���������� � � � ��$��/�.������� �)�A���)���������� � � � ��)�������) ���) �A��������������� � � � ����)�A�����������A.�)����������0� � � � �� � �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� � � E ����A.��000F��� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� � �� ��)�/������A.�����������3������������������������������������� �� � � !��&�������5����$�����)���G&$H�������������������������������� �� � � ����A.�������������������0�0�0����������������������������� �� � � !��$�(����6����������������)���G�0�0,,��H�������������������� �� � � ����A.������������������0�0�0������������������������������ �� � � !��$�(����6����������������)���G�0�0�=�?H�������������������� �� � � ����A.������������������=�0�=0���0�99���������������������� �� � � !��$�(����6����������������)���G�0�0����H�������������������� �� � � ����A.������������������=�0�=0���0�9B���������������������� �� � � �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� � E �)�A�000F� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � E��)�5�F���������������������������E�����F���������������������
E������E������E������E������
4. Choose finish; then quit yast
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 33
')%�D� ���66B-������������������������������������������������ *������������&� �
�� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 8�����5��)���������A.�)����8�����5��)���������A.�)����8�����5��)���������A.�)����8�����5��)���������A.�)����� 8�����5��)������.������������� �8�����5��)������������A.��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� ����A.���/�.��������5��)������� � ���)� )� ��)��3� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ������0��������������������������� � �$�(����6����������������)���G�0�0�=�9H������������������������ � �� �����A�)�������5��)��3�������� � �$�(����6����������������)���G�0�0�=�>H������������������������ � �� ������)�������5��)������������� � �$�(����6����������������)���G�0�0����H������������������������ � �� ����������������������5��)���0� � �$�(�$+ "�������������������������������������������������������� � ��$��/�.��������5��)����)��������� � ������G������������H�������������������������������������������� � ��).�������������� ���������G���� � � � ����������H������������ ����A.��0� � � � �� ������A����4� ����A3���������� � � � ��$��/�.������� �)�A���)���������� � � � ��)�������) ���) �A��������������� � � � ����)�A�����������A.�)����������0� � � � �� � �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� � � E ����A.��000F��� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� � �� ��)�/������A.�����������3������������������������������������� �� � � !��&�������5����$�����)���G&$H�������������������������������� �� � � ����A.�������������������0�0�0����������������������������� �� � � !��$�(����6����������������)���G�0�0,,��H�������������������� �� � � ����A.������������������0�0�0������������������������������ �� � � !��$�(����6����������������)���G�0�0�=�?H�������������������� �� � � ����A.������������������=�0�=0���0�99���������������������� �� � � !��$�(����6����������������)���G�0�0����H�������������������� �� � � ����A.������������������=�0�=0���0�9B���������������������� �� � � �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �� � E �)�A�000F� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � E��)�5�F���������������������������E�����F���������������������
E������E������E������E������
4. Choose finish; then quit yast
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 34
Configuring by hand
• Configuration files for network interfaces stored in /etc/sysconfig/network in suse sles9.
• Use sed or other line editor to change files.• IBM device configurations stored in “online
control block” file system /sys• In the example, commands are done from
the /etc/sysconfig/network directory.
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 35
J��)������A�)������A�)������A�)������A�������������������������.��.��.��.����������������������0�0�����0�0�����0�0�����0�0�����%*�%KL��)���L���4 �%KL�=�0�=0���0�99L$*�44�KL�=�0�=0���0�99L$*�44�KL�=�0�=0���0�99L$*�44�KL�=�0�=0���0�99L$*�44�KL�=�0�=0���0�99L(%+KLL8�%(�<KL�990�990�990�L8�%#�<KL�=�0�=0���0�L��(%�M$*�44�KLL%��%(4�KL������L%��%(4�KL������L%��%(4�KL������L%��%(4�KL������L+8$:+�KL-$*�0��.�4��?LM��M�)��KL������.�������0�0����L
Cloned machine has same IP as the master ... (just after cloning):
�������A�������A�������A�������A�������������������������.��.��.��.����������������������0�0������0�0������0�0������0�0��������A��) 0����A���A��) 0����A���A��) 0����A���A��) 0����A�������������������������.��.��.��.����������������������0�0�����0�0�����0�0�����0�0����
A cautionary tale: take a copy!!
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 36
�����7�997�9B7A�����A�����7�997�9B7A�����A�����7�997�9B7A�����A�����7�997�9B7A�����A�������������������������.��.��.��.����������������������0�0�����N������0�0�����N������0�0�����N������0�0�����N����������7�997�9B7A�����A�������.�������0�0�����I���5�J������7�997�9B7A�����A�������.�������0�0��������������������������N������
J��)������J��)������J��)������J��)�������)��������%*�%KL��)���L����4 �%KL�=�0�=0���0�99L$*�44�KL�=�0�=0���0�9BL$*�44�KL�=�0�=0���0�9BL$*�44�KL�=�0�=0���0�9BL$*�44�KL�=�0�=0���0�9BL(%+KLL���8�%(�<KL�990�990�990�L�8�%#�<KL�=�0�=0���0�L��(%�M$*�44�KLL%��%(4�KL������L�+8$:+�KL-$*�0��.�4��?L�M��M�)��KL������.�������0�0����L
Using sed “select lines with 155 and change to 159” in all lines and redirect output to new file temp:
Display the file just created by output redirection:
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 37
J��������������A������������A������������A������������A�������������������������.��.��.��.����������������������0�0�������0�0�������0�0�������0�0������������������A�������.�������0�0�������������������
# �)������A�)������A�)������A�)������A�������������������������.��.��.��.����������������������0�0�����0�0�����0�0�����0�0�����)������A�������.�������0�0�����������%*�%KL��)���L����������������������4 �%KL�=�0�=0���0�99L�����������$*�44�KL�=�0�=0���0�9B�9B�9B�9BL��������������(%+KLL�������������������������������8�%(�<KL�990�990�990�L��������������8�%#�<KL�=�0�=0���0�L�����������������(%�M$*�44�KLL���������������������%��%(4�KL������L�������������������+8$:+�KL-$*�0��.�4��?L������������M��M�)��KL������.�������0�0����L
Display the configuration file:
Rename the file:
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 38
J��������A������������A������������A������������A������������A����������������������������1��5����)�3����������&#)������3��3��3��3��3�����������
�����)���3�=�0�=0���0�99����)��3�=�0�=0���0�99�()�53�990�990�990�
����>�)���3���,�33���3�3���397>?�����31��5�+*����4 �%��+88$8@�(+1%$ �%��(%+3�?B���(�����3�������������
������3���������3�������.��3����)��3����������������%2��)�5���3>�������3���������3�������.��3���)�����3��� ������3���6�.�.� ��3������2��/���3�>-��G�09�<�H��%2��/���3>9��G>9�0���H����������
J������������������������������������������������������������������������������������������A.�)����3�������.�������0�0�����
Still had the old configuration; needs to be changed
Take the link down
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 39
J���.��������.��������.��������.��������.�����������������������������������������������������������A.�)����3�������.�������0�0�����
J��������A������������A������������A������������A������������A����������������������������1��5����)�3����������&#)������3��3��3��3��3����
�����)���3�=�0�=0���0�9B����)��3�=�0�=0���0�99������������������()�53�990�990�990�
����>�)���3���,�33���3�3���397>?�����31��5+*����4 �%��+88$8@�(+1%$ �%��(%+3�?B���(�����3���2��)�5���3�?�������3���������3�������.��3����)��3��%2��)�5���3�-�������3���������3�������.��3���)�����3���� ������3���6�.�.� ��3������2��/���3-?���G-0-�<�H��%2��/���3�?���G�0-�<�H�
bring the link up
Interface is now up
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 40
l��.6����������0>09�=0B=��-B�6�GA��5�D�.� �����H�GA�����������-0-0-�G�+��� ��.6H
H�J��(*�����O. ����?3��39B�+% ����?
#��)����.����A�.�����"(�G>?���������H
3
����3� �)���A������7-B�����6�������������GP��������3��0==0�0���P7P��������3��
0B,0�0���P7P��������3��0�=0�09�P7P��������3��0,0�0��P7P��������3��0=0�0��P7P����
����3��090�0?�P7P��������3��0�B0�0=�P�3$*�>�3"1�8H
����3�4�������0�0����7�0�0����7�0�0��������)�@.����1�8�:4$�4�������0�0����7�0�0����7�0�0��������)�@.����1�8�:4$�4�������0�0����7�0�0����7�0�0��������)�@.����1�8�:4$�4�������0�0����7�0�0����7�0�0��������)�@.����1�8�:4$��)���G ��� 3�"9��H�)���G ��� 3�"9��H�)���G ��� 3�"9��H�)���G ��� 3�"9��H
����� ��5��/���@.���1�8�:4$�G�����)��3H����� ��5��/���@.���1�8�:4$�G�����)��3H����� ��5��/���@.���1�8�:4$�G�����)��3H����� ��5��/���@.���1�8�:4$�G�����)��3H
����3�$*���)A����)����������.���������������
����3�"1�8���)� ��
����3�(. ���)�����)� ��
����3�$*">���)� ��
����3����)��)�����)� ��
Startup Messages
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 41
4�"$ ��4�"D�,����4��,����88�+%������������4�"$ ��4�"D�,����4��,����88�+%������������4�"$ ��4�"D�,����4��,����88�+%������������4�"$ ��4�"D�,����4��,����88�+%������������
1$8<����"�:4$�%&��8�%�4�"D�,����(%+��9���1$8<����"�:4$�%&��8�%�4�"D�,����(%+��9���1$8<����"�:4$�%&��8�%�4�"D�,����(%+��9���1$8<����"�:4$�%&��8�%�4�"D�,����(%+��9���
&(��������������������������&(��������������������������&(��������������������������&(��������������������������
�=�0�=0���0�9,�����"�������=�0�=0���0�9,�����"�������=�0�=0���0�9,�����"�������=�0�=0���0�9,�����"������
@�%�#�'�@�%�#�'�@�%�#�'�@�%�#�'�
�=�0�=0�0�������K�������������"���9����0�0�990���0�0���0����=�0�=0�0�������K�������������"���9����0�0�990���0�0���0����=�0�=0�0�������K�������������"���9����0�0�990���0�0���0����=�0�=0�0�������K�������������"���9����0�0�990���0�0���0���
4���+1%8�%�����=�0�=0���0�9?������"�����������9�����4���+1%8�%�����=�0�=0���0�9?������"�����������9�����4���+1%8�%�����=�0�=0���0�9?������"�����������9�����4���+1%8�%�����=�0�=0���0�9?������"�����������9�����
%��%�4�"D�,��%��%�4�"D�,��%��%�4�"D�,��%��%�4�"D�,��
8$ 4����,���%'*��:4$�4�"$ ��-�1�8�'%�(�"(�%#8$ 4����,���%'*��:4$�4�"$ ��-�1�8�'%�(�"(�%#8$ 4����,���%'*��:4$�4�"$ ��-�1�8�'%�(�"(�%#8$ 4����,���%'*��:4$�4�"$ ��-�1�8�'%�(�"(�%#
PROFILE TCPIP
Directory statement for TCPIPLY:
Definitions for TCPIPLY
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 42
VSWITCH Presentation Checkpoint
At this point:• VSWITCH VMRTSW defined• 3 virtual machines permitted to use it• Stacks connected to VSWITCH on virtual nics:
LFOR0001: 2nd level VM system with TCPIP machine at 172.27.120.156
LFORXX93 linux machine at 172.27.120.159TCPIPLY VM TCPIP stack machine at 172.27.120.158
• Additional stack machine sharing OSA port at IP address 172.27.120.155
• Gateway physical server at 172.27.120.254• Two controller machines, TCPIPLZ and TCPIPLX
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 43
Will Now Show …
• Network management commands– netstat– ping– Failover:
• Device removal• Controller failure• During recovery two applications active: FTP
(large transfer) and TELNET. Both applications remained available during and after recovery processing.
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 44
Before tcpip in lfor0001 joins�����)��)���) ���������� 6�����)��)���) ���������� 6�����)��)���) ���������� 6�����)��)���) ���������� 6"(�% *7$*�8����)��1��� �9-��������������������������������������:.��/��A���*��)��������)�������!����������������������������������)������)���)������)�)�)����3��=7�=7�9��?3�?3?��
1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���0�99���0�99���0�99���0�99���
1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���0�9,���0�9,���0�9,���0�9,���
1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���0�9B0�9B0�9B0�9B
1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3��,�����?>?=B�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3��,�����?>?=B�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3��,�����?>?=B�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3��,�����?>?=B�$*3��=�0�=0���0�9?�0�9?�0�9?�0�9?�
Query the arp cache of the controller machine
Physical switch mac
OSA mac
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 45
After LFOR0001 joins�����)��)���) ���������� 6������������������������������������������)��)���) ���������� 6������������������������������������������)��)���) ���������� 6������������������������������������������)��)���) ���������� 6�������������������������������������"(�% *7$*�8����)��1��� �9-��������������������������������������"(�% *7$*�8����)��1��� �9-��������������������������������������"(�% *7$*�8����)��1��� �9-��������������������������������������"(�% *7$*�8����)��1��� �9-��������������������������������������:.��/��A���*��)��������)�������!��������������������������������:.��/��A���*��)��������)�������!��������������������������������:.��/��A���*��)��������)�������!��������������������������������:.��/��A���*��)��������)�������!����������������������������������)������)������)������)���������)���)������)�)�)����3��=7�=7�9��?3-93���������������������������)���)������)�)�)����3��=7�=7�9��?3-93���������������������������)���)������)�)�)����3��=7�=7�9��?3-93���������������������������)���)������)�)�)����3��=7�=7�9��?3-93��������������������������1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���0�99���0�99���0�99���0�99���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���0�9>���0�9>���0�9>���0�9>���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���0�9,���0�9,���0�9,���0�9,���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3�����99�B�=�9�$*3��=�0�=0���0�9B���0�9B���0�9B���0�9B���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3��,�����?>?=B�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3��,�����?>?=B�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3��,�����?>?=B�$*3��=�0�=0���1��5�"(�%#� ��1$8<��3�:4$�%&��8�%3��,�����?>?=B�$*3��=�0�=0���0�9?�0�9?�0�9?�0�9?�
Joins the arp table
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 46
First level pings from TCPIPLY���A��=�0�=0���0�9>���A��=�0�=0���0�9>���A��=�0�=0���0�9>���A��=�0�=0���0�9>
*��A�1��� �9-�3�*��A��A�������=�0�=0���0�9>0��������������������
������L&2L��� ������/�L��@$8L����������.��0����
*$8@3�*��A�J��������������5��0�����������0�.������������)���0��
���A��=�0�=0���0�9,���A��=�0�=0���0�9,���A��=�0�=0���0�9,���A��=�0�=0���0�9,
*��A�1��� �9-�3�*��A��A�������=�0�=0���0�9,0��������������������
������L&2L��� ������/�L��@$8L����������.��0����
*$8@3�*��A�J��������������5��0�����������0�.������������)���0��
���A��=�0�=0���0�9B���A��=�0�=0���0�9B���A��=�0�=0���0�9B���A��=�0�=0���0�9B
*��A�1��� �9-�3�*��A��A�������=�0�=0���0�9B0��������������������
������L&2L��� ������/�L��@$8L����������.��0����
*$8@3�*��A�J��������������5��0�����������0�.������������)���0�
���A��=�0�=0���0�99���A��=�0�=0���0�99���A��=�0�=0���0�99���A��=�0�=0���0�99
*��A�1��� �9-�3�*��A��A�������=�0�=0���0�990�������������������
������L&2L��� ������/�L��@$8L����������.��0���
*$8@3�*��A�J��������������5��0�����������0�.������������)���0�
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 47
Second level pings from TCPIP in LFOR0001
���A��=�0�=0���0�9>���A��=�0�=0���0�9>���A��=�0�=0���0�9>���A��=�0�=0���0�9>
*��A�1��� �9-�3�*��A��A�������=�0�=0���0�9>0��������������������
������L&2L��� ������/�L��@$8L����������.��0����
*$8@3�*��A�J��������������5��0�����������0�.������������)���0��
���A��=�0�=0���0�9,���A��=�0�=0���0�9,���A��=�0�=0���0�9,���A��=�0�=0���0�9,
*��A�1��� �9-�3�*��A��A�������=�0�=0���0�9,0��������������������
������L&2L��� ������/�L��@$8L����������.��0����
*$8@3�*��A�J��������������5��0�����������0�.������������)���0��
���A��=�0�=0���0�9?���A��=�0�=0���0�9?���A��=�0�=0���0�9?���A��=�0�=0���0�9?
*��A�1��� �9-�3�*��A��A�������=�0�=0���0�9?0��������������������
������L&2L��� ������/�L��@$8L����������.��0����
*$8@3�*��A�J��������������5��0�����������0�.������������)���0�
���A��=�0�=0���0�99���A��=�0�=0���0�99���A��=�0�=0���0�99���A��=�0�=0���0�99
*��A�1��� �9-�3�*��A��A�������=�0�=0���0�990��������������������
������L&2L��� ������/�L��@$8L����������.��0����
*$8@3�*��A�J��������������5��0�����������0�.������������)���0��
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 48
linux pings 1 of 2 ���66B-3Q�J����A����A����A����A����������=�0�=0���0�9?�����=�0�=0���0�9?�����=�0�=0���0�9?�����=�0�=0���0�9?
*$8@��=�0�=0���0�9>�G�=�0�=0���0�9?H�9>G,?H��/��������)�)0
>?��/����������=�0�=0���0�9?3�����M���K���� K>������K�09,,���
��� �=�0�=0���0�9?����A���)�����������
���)�5������)�����������������������R��)�5��� �������������
�������7)�A7�)67�����K��09,,7�09,,7�09,,7�0������
���66B-3Q�J����A����A����A����A����������=�0�=0���0�9,�����=�0�=0���0�9,�����=�0�=0���0�9,�����=�0�=0���0�9,
*$8@��=�0�=0���0�9,�G�=�0�=0���0�9,H�9>G,?H��/��������)�)0
>?��/����������=�0�=0���0�9,3�����M���K���� K>������K�0��9���
��� �=�0�=0���0�9,����A���)�����������
���)�5������)�����������������������R��)�5��� �������������
�������7)�A7�)67�����K��0��97�0��97�0��97�0������
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 49
linux pings 2 of 2
���66B-3Q�J����A����A����A����A����������=�0�=0���0�9B�����=�0�=0���0�9B�����=�0�=0���0�9B�����=�0�=0���0�9B
*$8@��=�0�=0���0�9B�G�=�0�=0���0�9BH�9>G,?H��/��������)�)0
>?��/����������=�0�=0���0�9B3�����M���K���� K>?�����K�0�>?���
��� �=�0�=0���0�9B����A���)�����������
���)�5������)�����������������������R��)�5��� �������������
�������7)�A7�)67�����K��0�>?7�0�>?7�0�>?7�0������
���66B-3Q�J����A����A����A����A����������=�0�=0���0�99�����=�0�=0���0�99�����=�0�=0���0�99�����=�0�=0���0�99
*$8@��=�0�=0���0�99�G�=�0�=0���0�99H�9>G,?H��/��������)�)0
>?��/����������=�0�=0���0�993�����M���K���� K>������K�0>>?���
��� �=�0�=0���0�99����A���)�����������
���)�5������)�����������������������R��)�5��� �������������
�������7)�A7�)67�����K��0>>?7�0>>?7�0>>?7�0������
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 50
QUERY VSWITCH VMRTSW DETAILS
"#$% &�'%�(�"(�%#���%/��3�"#$% &� ��������3�-����()6����3�$8�$8$%����������
*��$%�8%����%�$ %�4����88�+%�����������������������.����A3��������������
"1�8�+�)�)���
�)��3���)�/
$*%����.�3�9���������:.�.����)A�3�,�
*����)��3�+8�$@8�4��4�"3�� ��� ����� ��3�% *$*1C��"4�"3��� ��*����)��3�+8�$@8�4��4�"3�� ��� ����� ��3�% *$*1C��"4�"3��� ��*����)��3�+8�$@8�4��4�"3�� ��� ����� ��3�% *$*1C��"4�"3��� ��*����)��3�+8�$@8�4��4�"3�� ��� ����� ��3�% *$*1C��"4�"3��� ��
*����)��3�+8�$@8�4��4�"3������ ����� ��3�% *$*1C��"4�"3����*����)��3�+8�$@8�4��4�"3������ ����� ��3�% *$*1C��"4�"3����*����)��3�+8�$@8�4��4�"3������ ����� ��3�% *$*1C��"4�"3����*����)��3�+8�$@8�4��4�"3������ ����� ��3�% *$*1C��"4�"3��������� <+*������ <+*������ <+*������ <+*�
"#$% &� ���������3
�2�*)�5���3�,,=,�������4���)����3�?����������������3���
%2�*)�5���3�B��9�������4���)����3������������������3���
�2��/���3�,��>9?���������������%2��/���3��B����?�
�-B0�990�990�9-������(� 3�������9��=������4
����33���������������(� 3�--�--�������������1��) �
����33�3���43��������(� 3�--�--�������������1��)
3
1 of 3 ...
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 51
3333��)���������3�1��22B-�8$ 3���� ��8)��3�+8�$@8�4��)���������3�1��22B-�8$ 3���� ��8)��3�+8�$@8�4��)���������3�1��22B-�8$ 3���� ��8)��3�+8�$@8�4��)���������3�1��22B-�8$ 3���� ��8)��3�+8�$@8�4
�2�*)�5���3�9>,��������4���)����3������������������3������%2�*)�5���3��=>��������4���)����3������������������3���2��/���3�=?9�>����������������%2��/���3�?��=>������������4�����3�������+���3��������� �3�4�%�����������������������������3����)��)���(. ���)���$*�>�$*�?�"1�8���������������+���)���$*����������3�����������������������������������
�=�0�=0���0�9B�������(� 3����=�0�=0���0�9B�������(� 3����=�0�=0���0�9B�������(� 3����=�0�=0���0�9B�������(� 3�����������������������������������������������������������������,�33���3�3���3�����(� 3�������������������1��) ���������������������
(. ���)���$*����������3�����������������������������������?0�0�0�������������(� 3�������9���������������������������������������?0�0�0�9�����������(� 3�������9�������������������������������������
3
2 of 3 ...
QUERY VSWITCH VMRTSW DETAILS
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 52
3
��)���������3�1�������8$ 3���� 1�������8$ 3���� 1�������8$ 3���� 1�������8$ 3���� 8)��3�+8�$@8�4�������������������������
�2�*)�5���3��-9��������4���)����3������������������3���
%2�*)�5���3�?B���������4���)����3������������������3���
�2��/���3�--�=-����������������%2��/���3�>B��
4�����3�������+���3��������� �3�4�%��
������3����)��)���(. ���)���$*�?�"1�8�
���)���$*����������3���
�=�0�=0���0�9>�=�0�=0���0�9>�=�0�=0���0�9>�=�0�=0���0�9> (� 3�����������������?�
(. ���)���$*����������3���
��?0�0�0�������������(� 3�������9�����������
��)���������3�% *$*1'��8$ 3��,��% *$*1'��8$ 3��,��% *$*1'��8$ 3��,��% *$*1'��8$ 3��,�� 8)��3�+8�$@8�4��������������
�2�*)�5���3���>��������4���)����3������������������3������
%2�*)�5���3�-����������4���)����3������������������3������
�2��/���3�-�=>,����������������%2��/���3�9����������������
4�����3��,����+���3��������� �3�4�%�����������������������
������3����)��)���(. ���)���$*�?�"1�8��������������������
+���)���$*����������3�����������������������������������
�=�0�=0���0�9,�������(� 3����=�0�=0���0�9,�������(� 3����=�0�=0���0�9,�������(� 3����=�0�=0���0�9,�������(� 3���������������������������������������������������������������
��?0�0�0�������������(� 3�������9�����������
3 of 3 ...
QUERY VSWITCH VMRTSW DETAILS
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 53
Before removing the rdevs������������������������������������������������������������������������������������
���� ����%%� &�4�%�% *$*12��� ����
���� ����%%� &�4�%�% *$*12��� ���
���� ����%%� &�4�%�% *$*12��� ���
���������%%� &�4�%�% *$*12������
���������%%� &�4�%�% *$*12������
���������%%� &�4�%�% *$*12�����������������������������������
����������������������������������������������������������������
"#$% &�'%�(�"(�%#���%/��3�"#$% &� ��������3�?����()6����3�$8�$8$%���������
*��$%�8%����%�$ %�4����88�+%�����������������������.����A3�������������
"1�8�+�)�)���
�)��3���)�/�
$*%����.�3�9���������:.�.����)A�3�,��
*����)��3�+8�$@8�4��4�"3�� ��� ����� ��3�% *$*12� ��� ����� ��3�% *$*12� ��� ����� ��3�% *$*12� ��� ����� ��3�% *$*12 "4�"3��� ��� ��� ��� ��
*����)��3�+8�$@8�4��4�"3������ ����� ��3�% *$*12����� ����� ��3�% *$*12����� ����� ��3�% *$*12����� ����� ��3�% *$*12 "4�"3������������������������ <+*�� <+*�� <+*�� <+*
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 54
Remove the Rdevs
���������������������������������������������� 6���������� 6���������� 6���������� 6
% *$*12�3�� ���� ���4�%� &�4��'�% *(�$8%
� ���� ���4�%� &�4�% *$*12��
% *$*12�3��=3�B3���4% 4�,���"#$% &�4���.����A�����3�
& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������������)��)����0�& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������������)��)����0�& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������������)��)����0�& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������������)��)����0�
& *#+�,-�$�% *$*12����"#$% &������� ��0���& *#+�,-�$�% *$*12����"#$% &������� ��0���& *#+�,-�$�% *$*12����"#$% &������� ��0���& *#+�,-�$�% *$*12����"#$% &������� ��0���
& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.���������������������/0& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.���������������������/0& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.���������������������/0& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.���������������������/0
& *#+�,-�$�% *$*12��������"#$% &������� ��0& *#+�,-�$�% *$*12��������"#$% &������� ��0& *#+�,-�$�% *$*12��������"#$% &������� ��0& *#+�,-�$�% *$*12��������"#$% &������� ��0
Also have performed a cable pull. Recovery proceeds similar to detaching the real devices
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 55
TCPIPLX Recovery Messages 1 of 2
% *$*12�3��=3�B3���4% *�$-,9$����4������"(�%#� ��4�"34������"(�%#� ��4�"34������"(�%#� ��4�"34������"(�%#� ��4�"3
% *$*12�3��=3�B3���4% *�$-,>$�������%/��3�"#$% &%/��3�"#$% &%/��3�"#$% &%/��3�"#$% &����4���)�.�3���)�/4���)�.�3���)�/4���)�.�3���)�/4���)�.�3���)�/
% *$*12�3��=3�B3���4% *�$-,=$����������� �����.�.����;�3����
% *$*12�3��=3�B3���4% *�$-,,$��������������3�� ���������3�� ���������3�� ���������3�� ��
% *$*12�3��=3�B3���4% :4$���$�:4$��������"(�%#� ��4�"���������.�����:4$��������"(�%#� ��4�"���������.�����:4$��������"(�%#� ��4�"���������.�����:4$��������"(�%#� ��4�"���������.������ ��3� ��3� ��3� ��3
% *$*12�3��=3�B3���4% :4$��=$���4��)� ������:4$��)�)���)������4��)� ������:4$��)�)���)������4��)� ������:4$��)�)���)������4��)� ������:4$��)�)���)������
% *$*12�3��=3�B3���4% 4->�$�"#$% &"#$% &"#$% &"#$% &����4� ��5�������������"(�%#� ��4�"4� ��5�������������"(�%#� ��4�"4� ��5�������������"(�%#� ��4�"4� ��5�������������"(�%#� ��4�"
% *$*12�3��=3�B3���4% 4�,�$�"#$% &"#$% &"#$% &"#$% &����4������) �;��A4������) �;��A4������) �;��A4������) �;��A3�
% *$*12�3��=3�B3���4% *�$-,9$��4������"(�%#����4�"34������"(�%#����4�"34������"(�%#����4�"34������"(�%#����4�"3
% *$*12�3��=3�B3���4% *�$-,>$�����%/��3�"#$% &%/��3�"#$% &%/��3�"#$% &%/��3�"#$% &����4���)�.�3�8�����)����4���)�.�3�8�����)����4���)�.�3�8�����)����4���)�.�3�8�����)����
% *$*12�3��=3�B3���4% *�$-,=$��������� �����.�.����;�3���
% *$*12�3��=3�B3���4% *�$-,,$������������3������������3������������3������������3�����
% *$*12�3��=3�B3���4% :4$���$�:4$��������"(�%#����4�"������.���������3:4$��������"(�%#����4�"������.���������3:4$��������"(�%#����4�"������.���������3:4$��������"(�%#����4�"������.���������3
% *$*12�3��=3�B3���4% :4$��=$�����)� �������:4$��)�)���)��������)� �������:4$��)�)���)��������)� �������:4$��)�)���)��������)� �������:4$��)�)���)������
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 56
% *$*12�3��=3�B3���4% 4�-,$�%���3�$*�?��. ���)����.��������)� �������"(�%#��$*�?��. ���)����.��������)� �������"(�%#��$*�?��. ���)����.��������)� �������"(�%#��$*�?��. ���)����.��������)� �������"(�%#��
��4�"��4�"��4�"��4�"
% *$*12�3��=3�B3���4% 4-�B$�*����������� )���3�.�������������������"(�%#���*����������� )���3�.�������������������"(�%#���*����������� )���3�.�������������������"(�%#���*����������� )���3�.�������������������"(�%#���
�4�"�4�"�4�"�4�"
% *$*12�3��=3�B3���4% 4-?�$���)�����(� �)�����������99,BB4?9������������"(�%��)�����(� �)�����������99,BB4?9������������"(�%��)�����(� �)�����������99,BB4?9������������"(�%��)�����(� �)�����������99,BB4?9������������"(�%
#����4�"#����4�"#����4�"#����4�"
% *$*12�3��=3�B3���4% 4�-,$�%���3�$*�>��. ���)����.��������)� �������"(�%#��
��4�"�����������������������������������������������������������
% *$*1C�3��=3�B3���4% 4->�$�"#$% &"#$% &"#$% &"#$% &����4� ��5�)���������"(�%#����4�"4� ��5�)���������"(�%#����4�"4� ��5�)���������"(�%#����4�"4� ��5�)���������"(�%#����4�"
& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0��������������& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0��������������& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0��������������& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0��������������
& *#+�,-�$�% *$*12����"#$% &������� ��0& *#+�,-�$�% *$*12����"#$% &������� ��0& *#+�,-�$�% *$*12����"#$% &������� ��0& *#+�,-�$�% *$*12����"#$% &������� ��0
% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &����4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�
)��������=�0�=0���0�9B�)��������=�0�=0���0�9B�)��������=�0�=0���0�9B�)��������=�0�=0���0�9B�
% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &����4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�
)��������=�0�=0���0�9>)��������=�0�=0���0�9>)��������=�0�=0���0�9>)��������=�0�=0���0�9>
% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &% *$*12�3��=3�B3�>�4% 4�?>$�"#$% &����4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�4��������"(�%#����4�"3�����A����$*�?�
)��������=�0�=0���0�9,)��������=�0�=0���0�9,)��������=�0�=0���0�9,)��������=�0�=0���0�9,
TCPIPLX Recovery Messages 2 of 2
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 57
Kill Controller Machine
�������� �������������������������������������������������������������� �������������������������������������������������������������� �������������������������������������������������������������� ������������������������������������������������������
����� ���% *$*12�����)� )� �3�'����"4�"��)�A�3�!���������1��� ����� ���% *$*12�����)� )� �3�'����"4�"��)�A�3�!���������1��� ����� ���% *$*12�����)� )� �3�'����"4�"��)�A�3�!���������1��� ����� ���% *$*12�����)� )� �3�'����"4�"��)�A�3�!���������1��� �9����� �9����� �9����� �9�����
)�)�� ��/3�$*��%&��8�%�"1�8M��*������������������������������ )�)�� ��/3�$*��%&��8�%�"1�8M��*������������������������������ )�)�� ��/3�$*��%&��8�%�"1�8M��*������������������������������ )�)�� ��/3�$*��%&��8�%�"1�8M��*������������������������������
'%�(�"(�%#�����*���)�/���������� ����� ��3�!���������"4�"'%�(�"(�%#�����*���)�/���������� ����� ��3�!���������"4�"'%�(�"(�%#�����*���)�/���������� ����� ��3�!���������"4�"'%�(�"(�%#�����*���)�/���������� ����� ��3�!���������"4�"3�� ����3�� ����3�� ����3�� ����
'%�(�"(�%#������)�5.������������ ����� ��3�!���������"4�"'%�(�"(�%#������)�5.������������ ����� ��3�!���������"4�"'%�(�"(�%#������)�5.������������ ����� ��3�!���������"4�"'%�(�"(�%#������)�5.������������ ����� ��3�!���������"4�"3������3������3������3������
����������� 6����������� 6����������� 6����������� 6
+���4 ���1@������% *$*12��+���K��>������ �4��'�% *(81���
& *#+�,?-��%����)����)��������������% *7$*� ����� ���% *$*120�& *#+�,?-��%����)����)��������������% *7$*� ����� ���% *$*120�& *#+�,?-��%����)����)��������������% *7$*� ����� ���% *$*120�& *#+�,?-��%����)����)��������������% *7$*� ����� ���% *$*120�
& *#+�,?-��$���)���)�)A��A��������� �������"#$% &�'%�(�"(�%& *#+�,?-��$���)���)�)A��A��������� �������"#$% &�'%�(�"(�%& *#+�,?-��$���)���)�)A��A��������� �������"#$% &�'%�(�"(�%& *#+�,?-��$���)���)�)A��A��������� �������"#$% &�'%�(�"(�%#0#0#0#0
& *#+�,?-��%����)����)��������������% *7$*� ����� ���% *$*120�& *#+�,?-��%����)����)��������������% *7$*� ����� ���% *$*120�& *#+�,?-��%����)����)��������������% *7$*� ����� ���% *$*120�& *#+�,?-��%����)����)��������������% *7$*� ����� ���% *$*120�
& *#+�,?-��$���)���)�)A��A�����������������"#$% &�'%�(�"(�%& *#+�,?-��$���)���)�)A��A�����������������"#$% &�'%�(�"(�%& *#+�,?-��$���)���)�)A��A�����������������"#$% &�'%�(�"(�%& *#+�,?-��$���)���)�)A��A�����������������"#$% &�'%�(�"(�%#0#0#0#0
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 58
Recovery controller messages 1 of 2
% *$*1C�3��=3��3�?�4% 4->�$�"#$% &�4� ��5�)���������"(�%#� ��4�""(�%#� ��4�""(�%#� ��4�""(�%#� ��4�"
% *$*1C�3��=3��3�?�4% 4�,�$�"#$% &�4������) �;��A3�����) �;��A3�����) �;��A3�����) �;��A3
% *$*1C�3��=3��3�?�4% *�$-,9$��4������"(�%#� ��4�"4������"(�%#� ��4�"4������"(�%#� ��4�"4������"(�%#� ��4�"3��
% *$*1C�3��=3��3�?�4% *�$-,>$�����%/��3�"#$% &�4���)�.�3�8�����)����
% *$*1C�3��=3��3�?�4% *�$-,=$��������� �����.�.����;�3�����
% *$*1C�3��=3��3�?�4% *�$-,,$������������3�� ���� ���� ���� ���
% *$*1C�3��=3��3�?�4% :4$���$�:4$��������"(�%#� ��4�"�"(�%#� ��4�"�"(�%#� ��4�"�"(�%#� ��4�"���������.������ ��� ��� ��� ��3
% *$*1C�3��=3��3�?�4% :4$��=$�����)� �������:4$:4$:4$:4$ �)�)���)�������
% *$*1C�3��=3��3�?�4% 4�-,$�%���3�$*�?��. ���)����.��������)� �������%���3�$*�?��. ���)����.��������)� �������%���3�$*�?��. ���)����.��������)� �������%���3�$*�?��. ���)����.��������)� �������"(�%#� ��4�""(�%#� ��4�""(�%#� ��4�""(�%#� ��4�"
% *$*1C�3��=3��3�?�4% 4-�B$�*����������� )���3�.�������������������*����������� )���3�.�������������������*����������� )���3�.�������������������*����������� )���3�.�������������������"(�%#� ��4�""(�%#� ��4�""(�%#� ��4�""(�%#� ��4�"
% *$*1C�3��=3��3�?�4% 4-?�$���)�����(� �)�����������99�B�=�9��������������)�����(� �)�����������99�B�=�9��������������)�����(� �)�����������99�B�=�9��������������)�����(� �)�����������99�B�=�9������������"(�%#� ��4�""(�%#� ��4�""(�%#� ��4�""(�%#� ��4�"
% *$*1C�3��=3��3�?�4% 4�-,$�%���3�$*�>��. ���)����.��������)� �������%���3�$*�>��. ���)����.��������)� �������%���3�$*�>��. ���)����.��������)� �������%���3�$*�>��. ���)����.��������)� �������"(�%#� ��4�""(�%#� ��4�""(�%#� ��4�""(�%#� ��4�"
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 59
Recovery controller messages 2 of 2
& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0�& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0�& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0�& *#+�,-�$�"#$% &�'%�(�"(�%#���)�.�������)�/0�
& *#+�,-�$�% *$*1C����"#$% &������� ��0�& *#+�,-�$�% *$*1C����"#$% &������� ��0�& *#+�,-�$�% *$*1C����"#$% &������� ��0�& *#+�,-�$�% *$*1C����"#$% &������� ��0�
% *$*1C�3��=3��3�?�4% 4->�$�"#$% &% *$*1C�3��=3��3�?�4% 4->�$�"#$% &% *$*1C�3��=3��3�?�4% 4->�$�"#$% &% *$*1C�3��=3��3�?�4% 4->�$�"#$% &����4� ��5�)���������4� ��5�)���������4� ��5�)���������4� ��5�)���������"(�%#� ��4�"����������"(�%#� ��4�"����������"(�%#� ��4�"����������"(�%#� ��4�"����������
% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &����4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�����A����$*�?�)��������=�0�=0���0�9B�����A����$*�?�)��������=�0�=0���0�9B�����A����$*�?�)��������=�0�=0���0�9B�����A����$*�?�)��������=�0�=0���0�9B�
% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &����4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�����A����$*�?�)��������=�0�=0���0�9>������A����$*�?�)��������=�0�=0���0�9>������A����$*�?�)��������=�0�=0���0�9>������A����$*�?�)��������=�0�=0���0�9>��
% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &% *$*1C�3��=3��3�,�4% 4�?>$�"#$% &����4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�4��������"(�%#� ��4�"3�����A����$*�?�)��������=�0�=0���0�9,�����A����$*�?�)��������=�0�=0���0�9,�����A����$*�?�)��������=�0�=0���0�9,�����A����$*�?�)��������=�0�=0���0�9,�
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 60
Additional Documentation
• REDP-3719-00 linux on IBM zSeries and S/390: VSWITCH and VLAN Features of z/VM 4.4
• SC24-6080-00 z/VM V5R3.0 Connectivity Guide chapter 2 and more
• SC24-6125-00 z/VM V5R3.0 TCP/IP Planning and Customization
• GC24-6102 z/VM 5.3 Getting Started with Linux on zSeries
• SC33-8289-01 linux on system z/9 and z/series Device Drivers, Features, and Command
SHARE Session 9124 All Rights Reserved VM RESOURCES LTD. 61
Penultimate thoughts
• Recovery based on CP artifacts as opposed to, say, VIPA methods.
• Extends existing network topologies horizontally.• No need for additional subnets once you
transcend cultural barriers with network administrator.
• Ideally suited to linux virtual machine environments.
• Use the IBM supplied controller machines DTCVSW1 and DTCVSW2.