Virtual Networking with z/vm 5.1.0 Guest LAN and Virtual Switch



Similar documents
Virtual Networking with z/vm Guest LANs and the z/vm Virtual Switch

Virtualization: TCP/IP Performance Management in a Virtualized Environment Orlando Share Session 9308

VXLAN: Scaling Data Center Capacity. White Paper

CCT vs. CCENT Skill Set Comparison

ADVANCED NETWORK CONFIGURATION GUIDE

What is VLAN Routing?

vsphere Networking ESXi 5.0 vcenter Server 5.0 EN

RELEASE NOTES. StoneGate Firewall/VPN v for IBM zseries

VLAN 802.1Q. 1. VLAN Overview. 1. VLAN Overview. 2. VLAN Trunk. 3. Why use VLANs? 4. LAN to LAN communication. 5. Management port

Using Virtualization to Help Move a Data Center

Abstract. 1. Introduction and motivation

> Technical Configuration Guide for Microsoft Network Load Balancing. Ethernet Switch and Ethernet Routing Switch Engineering

OneCommand NIC Teaming and VLAN Manager

FSM73xx GSM73xx GMS72xxR Shared access to the Internet across Multiple routing VLANs using a Prosafe Firewall

vsphere Networking vsphere 6.0 ESXi 6.0 vcenter Server 6.0 EN

vsphere Networking vsphere 5.5 ESXi 5.5 vcenter Server 5.5 EN

Dell PowerVault MD Series Storage Arrays: IP SAN Best Practices

Switching in an Enterprise Network

Implementation of Virtual Local Area Network using network simulator

Virtual LANs. or Raj Jain

VLAN for DekTec Network Adapters

IP SAN Best Practices

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

LANs and VLANs A Simplified Tutorial

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

ESXi Configuration Guide

Virtual LAN Configuration Guide Version 9

CLOUD NETWORKING FOR ENTERPRISE CAMPUS APPLICATION NOTE

Top-Down Network Design

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

hp ProLiant network adapter teaming

Redbooks Paper. Local versus Remote Database Access: A Performance Test. Victor Chao Leticia Cruz Nin Lei

Performance of a webapp.secure Environment

Nutanix Tech Note. VMware vsphere Networking on Nutanix

How To Configure Voice Vlan On An Ip Phone

A Case for Overlays in DCN Virtualization Katherine Barabash, Rami Cohen, David Hadas, Vinit Jain, Renato Recio and Benny Rochwerger IBM

Expert Reference Series of White Papers. vcloud Director 5.1 Networking Concepts

IP SAN BEST PRACTICES

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Apache CloudStack 4.x (incubating) Network Setup: excerpt from Installation Guide. Revised February 28, :32 pm Pacific

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

Network Technologies for Next-generation Data Centers

Analysis of Network Segmentation Techniques in Cloud Data Centers

Abstract. MEP; Reviewed: GAK 10/17/2005. Solution & Interoperability Test Lab Application Notes 2005 Avaya Inc. All Rights Reserved.

How to Guide: StorageCraft Cloud Services VPN

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

VLANs. Application Note

ESX Configuration Guide

IBM Communications Server for Linux - Network Optimization for On Demand business

VMware ESX Server Q VLAN Solutions W H I T E P A P E R

Efficient Video Distribution Networks with.multicast: IGMP Querier and PIM-DM

Installation Guide Revision B. McAfee Gateway 7.x Virtual Appliances

IBM Software Group. Lotus Domino 6.5 Server Enablement

Network configuration for the IBM PureFlex System

Chapter 7 Configuring Trunk Groups and Dynamic Link Aggregation

Oracle Networking and High Availability Options (with Linux on System z) & Red Hat/SUSE Oracle Update

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

SSVVP SIP School VVoIP Professional Certification

IBM HiperSockets Implementation Guide

SSVP SIP School VoIP Professional Certification

AT-S60 Version Management Software for the AT-8400 Series Switch. Software Release Notes

Overcoming Security Challenges to Virtualize Internet-facing Applications

DB2 Connect for NT and the Microsoft Windows NT Load Balancing Service

VLAN and QinQ Technology White Paper

Aerohive Networks Inc. Free Bonjour Gateway FAQ

Securely Architecting the Internal Cloud. Rob Randell, CISSP Senior Security and Compliance Specialist VMware, Inc.

ESX Server 3 Configuration Guide Update 2 and later for ESX Server 3.5 and VirtualCenter 2.5

Using Virtual Switches in PowerVM to Drive Maximum Value of 10 Gb Ethernet

Catalyst Layer 3 Switch for Wake On LAN Support Across VLANs Configuration Example

Configuring the Transparent or Routed Firewall

UIP1868P User Interface Guide

A Dell Technical White Paper Dell Storage Engineering

Networking 4 Voice and Video over IP (VVoIP)

Set Up a VM-Series Firewall on the Citrix SDX Server

VMware Virtual Networking Concepts I N F O R M A T I O N G U I D E

Networking Devices. Lesson 6

Citrix XenServer Design: Designing XenServer Network Configurations

Security Overview of the Integrity Virtual Machines Architecture

Lab 5 Explicit Proxy Performance, Load Balancing & Redundancy

GVRP Overview. Overview

Chapter 4 Customizing Your Network Settings

Remote PC Guide Series - Volume 1

Install Guide for JunosV Wireless LAN Controller

Using Virtual IP Addressing. with Bus-Tech TCP/IP Controllers

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

Chapter 4 Customizing Your Network Settings

Extending Networking to Fit the Cloud

Networking TCP/IP routing and workload balancing

Step-by-Step Guide for Setting Up IPv6 in a Test Lab

Guideline for setting up a functional VPN

Network Detector Setup and Configuration

Enabling Multiple Wireless Networks on RV320 VPN Router, WAP321 Wireless-N Access Point, and Sx300 Series Switches

AS/400e. TCP/IP routing and workload balancing

The IP Transmission Process. V1.4: Geoff Bennett

Lab Diagramming Intranet Traffic Flows

DATA CENTER. Best Practices for High Availability Deployment for the Brocade ADX Switch

netis Web Management Switch User's Guide Manual Version:1.1:

Transcription:

Virtual Networking with z/vm 5.1.0 Guest LAN and Virtual Switch HILLGANG March 2005 Dennis Musselwhite, IBM z/vm Development, Endicott, NY

Note References to IBM products, programs, or services do not imply that IBM intends to make these available in all countries in which IBM operates. Any reference to an IBM product, program, or service is not intended to state or imply that only IBM's product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe on any of the intellectual property rights of IBM may be used instead. The evaluation and verification of operation in conjunction with other products, except those expressly designed by IBM, are the responsibility of the user. The following terms are trademarks of the International Business Machines Corporation in the United States or other countries or both: IBM IBM logo eserver zseries z/vm z/os DB2 Other company, product, and service names may be trademarks or service marks of others. Copyright 2003, 2005 by International Business Machines Corporation 2

Topics Overview Guest LANs Virtual Network Interface Card Virtual Switch What s new in z/vm 5.1 3

Multi-DMZ Network app app app db internet A DMZ (demilitarized zone) is a subnet that insulates critical network components (servers) from the rest of the network 4

Multi-DMZ Network on zseries app app app db zseries internet 5

Multi-DMZ Network with Guest LANs LPAR 1 LPAR 2 Guest LAN z/vm z/os DB2 app app app Guest LAN PR/SM HiperSockets Ethernet LAN = Firewall Router 6

7

z/vm Guest LAN A simulated LAN Ethernet: IPv4 and IPv6 HiperSockets: IPv4 LAN #1 Unicast, Multicast, and Broadcast No built-in connection to outside network Guest Guest Guest Guest Guest As many as you want LAN #2 Owned by system or individual user Is not a device - it is a system object Guest Guest Created in SYSTEM CONFIG, directory, or by CP DEFINE LAN command 8

Why Guest LAN instead of Dedicated Hardware? Dedicated network connections may be best for some environments: When intense network activity is expected When external connectivity is required z/vm Guest LAN may be better for other environments: When network hardware is limited When multiple nodes are guests in the same z/vm host image When network activity must be isolated from primary network (e.g. test environments, student labs, application server access to database servers) When system storage below the 2Gb line is constrained (each dedicated interface may require up to 132 locked 4K storage frames). 9

Guest LAN Attributes Name & Owner Type and Transport Access list Maximum frame size (HiperSockets) Some attributes can be changed after the LAN is defined There are some others not discussed here Maximum number of connections Accounting 10

LAN Name and Owner The LAN name is a simple 1-8 character token The LAN owner is a VM user ID or SYSTEM (name, owner) is unique within the system Notes about LAN ownership: A Class G LAN owner can modify the LAN access list delete the LAN A Class B user can create, modify, or detach any LAN 11

HiperSockets or QDIO ( IP / Ethernet ) TYPE HIPERsockets QDIO [ IP ETHERNET] HiperSockets Synchronous Low latency Slightly smaller path length in CP (less CPU time) QDIO OSA-Express in QDIO mode Asynchronous Higher latency than HiperSockets Higher CPU cost IP = Layer 3, ETHERNET = Layer 2 z/vm 5.1 12

Unrestricted or Restricted Access Unrestricted Any user can connect (couple) to this LAN Hint: CP QUERY LAN can show you who is connected Restricted Only users in the access list can connect (couple) to this LAN LAN owner uses CP SET LAN to GRANT or REVOKE access CP QUERY LAN can show you the current access list CP QUERY LAN can show you who is connected 13

Maximum Frame Size (HiperSockets only) MFS 16K 24K 40K 64K Simulates CHPID OS=value specification in IOCDS for HiperSockets (TYPE=IQD) chpids Does not apply to QDIO Largest MTU specification = (MFS - 8K) Hints: If LAN is isolated, use large MFS and large MTU If LAN has external gateway, use MFS 16K and match external MTU (e.g. 1492) Jumbo frame (MTU 8992) gateway needs 24K MFS 14

Persistent vs. Transient LAN Persistent / Transient is inferred from other attributes Any LAN owned by user SYSTEM is persistent Any LAN created by SYSTEM CONFIG is persistent All other LANs are transient A persistent LAN must be explicitly deleted by CP DETACH LAN A transient LAN is automatically deleted when the last user uncouples from the LAN 15

Setting Guest LAN defaults and limits Set global VM LAN attributes in the SYSTEM CONFIG file: VMLAN LIMit PERSistent INFinite maxcount VMLAN LIMit TRANSient INFinite maxcount VMLAN ACNT ACCOUNTing SYSTEM ON OFF VMLAN ACNT ACCOUNTing USER ON OFF VMLAN MACPREFIX 020000-02FFFF VMLAN MACIDRANGE SYSTEM x-y [USER a-b] z/vm 5.1 Maxcount of 0 prevents dynamic definition 16

Setting defaults and limits Modify global guest LAN attributes with SET VMLAN: CP SET VMLAN LIMit PERSistent INFinite maxcount CP SET VMLAN LIMit TRANSient INFinite maxcount CP SET VMLAN ACNT ACCOUNTing SYSTEM ON OFF CP SET VMLAN ACNT ACCOUNTing USER ON OFF Use CP QUERY VMLAN to see current values No LAN is deleted by this command if you set limit < current (it just prevents creation of new LAN until current < limit) Use SET VMLAN TRANSIENT LIMIT 0 to eliminate ability for Class G user to create his or her own guest LAN 17

Create a Guest LAN at system IPL Automated with SYSTEM CONFIG file statements: DEFINE LAN name [OWNERid ownerid] [TYPE HIPERsockets QDIO] [MAXCONN INFinite nnnn] [MFS 16K 24K 40K 64K] [ACCOUNTing ON OFF] [UNRESTricted RESTricted] [GRANT userlist] * Examples: DEFINE LAN HIPER1 DEFINE LAN DELTA TYPE QDIO DEFINE LAN QDIO5 OWNER TCPMAINT TYPE QDIO 18

Create a Guest LAN dynamically Interactive with CP DEFINE LAN commands: CP DEFINE LAN name [OWNERid ownerid] [TYPE HIPERsockets QDIO] [MAXCONN INFinite nnnn] [MFS 16K 24K 40K 64K] [UNRESTricted RESTricted] [ACCOUNTing ON OFF] Examples: CP DEFINE LAN HIPER1 OWNER SYSTEM RESTRICTED CP DEFINE LAN DELTA TYPE QDIO CP DEFINE LAN QDIO5 OWNER TCPMAINT TYPE QDIO 19

Grant Guest LAN permission at IPL Specify after DEFINE LAN statement in SYSTEM CONFIG to add users to access list MODIFY LAN name [OWNERid ownerid OWNERID SYSTEM] [GRANT userid] Example: DEFINE LAN HIPER1 OWNER SYSTEM RESTRICTED MODIFY LAN HIPER1 OWNER SYSTEM GRANT LNX01 MODIFY LAN HIPER1 OWNER SYSTEM GRANT LNX02 Prefer to use RACF/VM or other external security manager in z/vm 5.1 20

Modify a Guest LAN dynamically Modified by CP SET LAN commands: CP SET LAN name [OWNERid ownerid] [ACCOUNTing ON OFF] [GRANT userid] [REVOKE userid] Examples: CP SET LAN HIPER1 OWNER SYSTEM ACCOUNTING OFF CP SET LAN CSC201 OWNER TCPMAINT GRANT LNX01 21

22

Virtual Network Interface Card (NIC) A simulated network adapter OSA-Express QDIO HiperSockets Virtual Machine Must match LAN type 3 or more devices per NIC More than 3 to simulate port sharing on 2ndlevel system or for multiple data channels Provides access to Guest LAN or Virtual Switch Guest LAN or virtual switch Created by directory or CP DEFINE NIC command 23

Virtual NIC - User Directory May be automated with USER DIRECT file: NICDEF vdev [TYPE HIPERS QDIO] [LAN owner name] [CHPID xx] [MAC xxyyzz] z/vm 5.1 Example: Combined with VMLAN MACPREFIX to create virtual MAC NICDEF 1100 LAN SYSTEM SWITCH1 CHPID B1 MAC B10006 24

Virtual NIC - CP Command May be interactive with CP DEFINE NIC and COUPLE commands: CP DEFINE NIC vdev [[TYPE] HIPERsockets QDIO] [DEVices devs] [CHPID xx] CP COUPLE vdev [TO] owner name Example: CP DEFINE NIC 1200 TYPE QDIO CP COUPLE 1200 TO SYSTEM CSC201 25

NIC Virtual Device Address base virtual device address where this NIC is installed in your virtual I/O configuration A block of contiguous devices addresses is allocated to this NIC, beginning with vdev Must have minimum of 3 devices (the default) Write-control Read-control Data Can have multiple data devices if guest supports it 26

NIC CHPID parameter CHPID xx Specifies the Channel Path ID number (in hex) to use for this NIC Default is any available unused real CHPID number Needed for z/os guest because HiperSockets are managed by CHPID number Notes for z/os configuration: This is a virtual CHPID number (not a real hardware CHPID) It must be a CHPID number that is NOT in use by hardware 27

28

What s a switch anyway? T 1 1 2 1 2 2 2 3 1 3 1 It s a box that you plug cables in to create a LAN Cable/DSL multi-port and wireless switches for home are simplified versions of commercial switches (less configurable) It has its own IP address for management purposes 29

Trunk Port vs. Access Port A B 1 2 3 4 5 6 T 1 1 2 1 2 2 2 3 1 3 1 Access port carries traffic for a single VLAN Trunk port carries traffic from all VLANs A B 1 2 3 4 5 6 T 2 1 2 3 3 2 1 3 1 3 1 30

z/vm Virtual Switch A special-purpose Guest LAN guest guest guest Ethernet IPv4 Built-in 802.1q bridge to outside network Same subnet as OSA connection CP Each Virtual Switch has up to 3 separate OSA-Express connections associated with it Created in SYSTEM CONFIG or by CP DEFINE VSWITCH command Router AIX 31

IEEE VLAN support vswitch guest guest guest (1) (3) (2) guest CP VLAN creates multiple logical LAN segments on a single physical LAN segment Multiple VLANs are assigned to OSA port on switch CP ensures correct traffic flow Switch 32

Virtual Switch Attributes Name Associated OSAs (maximum 3) A controlling virtual machine (minimal VM TCP/IP stack server) Controller not involved in data transfer Do not ATTACH or DEDICATE User needs IUCV *VSWITCH authorization User needs VSWITCH CONTROLLER statement in PROFILE TCPIP Similar to Guest LAN Owner SYSTEM Type QDIO Persistent Restricted 33

Create a Virtual Switch SYSTEM CONFIG or CP command: DEFINE VSWITCH name [RDEV NONE cuu [cuu [cuu]] ] [CONNECT DISCONNECT] [CONTROLLER * userid] [NONROUTER PRIROUTER] z/vm 5.1 [VLAN UNAWARE VLAN default_vid] [PORTTYPE ACCESS PORTTYPE TRUNK] Example: DEFINE VSWITCH SWITCH12 RDEV 1E00 1F04 CONNECT VLAN 1 34

Change the Virtual Switch access list Specify after DEFINE LAN statement in SYSTEM CONFIG to add users to access list MODIFY VSWITCH name GRANT userid SET [VLAN vid1 vid2 ] [PORTTYPE ACCESS TRUNK] SET VSWITCH name REVOKE userid Examples: MODIFY VSWITCH SWITCH12 GRANT LNX01 VLAN 3 CP SET VSWITCH SWITCH12 GRANT LNX02 PORTTYPE TRUNK VLAN 4 6 8 11 z/vm 4.4 supports VLAN ANY, but it s removed in z/vm5.1! 35

Multi-DMZ Network on zseries - Reloaded app app app db zseries internet 36

Multi-DMZ Network on zseries with outboard firewall app app app db internet 37

Multi-DMZ Network with VSWITCH (A) LPAR 1 LPAR 2 app z/vm app app z/os DB2 VSWITCH 1 VSWITCH 2 38

Multi-DMZ Network with VSWITCH (B) LPAR 1 LPAR 2 app app z/vm app z/os DB2 VSWITCH To internet With 1 VSWITCH, 3 VLANs, and a multi-domain firewall 39

40

New in z/vm 5.1 ESM control for all guest LANs and VSWITCHes, including VLAN ID control RACF: Class VMLAN, Profile owner.lanname or owner.lanname.vid All Guest LANs and VSwitches can be controlled Layer 2 (MAC) communications Fulfillment of Statement of Direction All types of traffic, not just IP Virtual NIC MAC appears on network VMLAN updates to allow specification of ranges used for automatic and static MAC address assignments Better VSWITCH stall detection, error reporting, and error recovery. 41

New in z/vm 5.1 IEEE 802.1q compliance changes VLAN ANY is gone VSWITCH may be VLAN UNAWARE (like Guest LAN) or may be configured for VLAN-aware use. Default is UNAWARE. When a NIC couples to a VLAN-aware VSWITCH, it will be assigned a PORTTYPE attribute ACCESS: VLAN tags not given to or accepted from guest TRUNK: VLAN tags are given to and expected from guest Default PORTTYPE comes from DEFINE VSWITCH Can be overridden by MODIFY VSWITCH GRANT Some configurations require migration effort 42

43

Guest LAN vs. Virtual Switch Guest Guest Guest Guest Guest LAN Guest Virtual Switch Ethernet LAN Virtual router is required Different subnet External router awareness Guest-managed failover No virtual router Same subnet Transparent bridge CP-managed failover 44

VLAN UNAWARE vs. VLAN-aware VLAN UNAWARE Default for VSWITCH ONLY option for Guest LAN Guest configuration allowed CP respects any tagged frames Untagged frames == VLAN 1 PortType == undefined VLAN default_vid Optional for VSWITCH N/A for Guest LAN Guest configuration limited CP respects VALID tagged frames Untagged frames == default_vid PortType == Access Trunk 45

PORTTYPE ACCESS vs. PORTTYPE TRUNK PORTTYPE ACCESS Guest uses only one VLAN group Guest does NOT configure VLAN for the interface Guest may send/receive untagged frames Guest cannot send/receive tagged frames PORTTYPE TRUNK Guest may use multiple VLAN groups Guest must configure any VLAN other than default_vid Guest may send/receive untagged frames Guest may send/receive tagged frames 46

IP Layer 3 vs. ETHERNET Layer 2 IP (Layer 3) Default for VSWITCH / LAN OSA (and CP) take on ARP cache overhead IPv4 (and some IPv6) protocol supported Other higher level protocols must tunnel over IPv4 (extra overhead) MAC addresses have no real meaning ETHERNET (Layer 2) Optional for VSWITCH / LAN Guests take on ARP cache overhead Ethernet II (DIX) and 802.3 protocols supported Higher level protocols (e.g. IPv4, IPv6, IPX, SNA over Ethernet) are expected to operate on DIX / 802.3 MAC addresses are significant for addressing network traffic 47

Network Configuration In general, configure a Guest LAN network like any other network Subnet routing Use the VSWITCH whenever possible Minimize number of VSWITCHes; exploit IEEE VLAN if you can By having virtual and real configurations be the same, you can easily test network configuration before deployment with real hardware 48

Built-in Diagnostics CP QUERY VMLAN to get global VM LAN information (e.g. limits) to find out what service has been applied CP QUERY LAN ACTIVE to find out which users are coupled to find out which IP addresses are active CP QUERY NIC DETAILS to find out if your adapter is coupled to find out if your adapter is initialized to find out if your IP addresses have been registered to find out how many bytes/packets sent/received 49

Support Summary z/vm 5.1 z/vm 4.4 z/vm 4.3 z/vm 4.2 Virtual trunk and access port controls Removal of VLAN ANY Layer 2 (MAC) frame transport Improved virtual switch error detection & recovery External security manager access control IPv4 virtual switch IEEE VLANs IPv4 HiperSocket broadcast IPv6 QDIO QDIO Ethernet Guest LANs introduced IPv4 QDIO unicast, multicast, broadcast IPv4 HiperSockets multicast Accounting HiperSocket Guest LANs introduced IPv4 unicast 50

References Publications: Links: z/vm CP Planning and Administration z/vm CP Command and Utility Reference z/vm TCP/IP Planning and Customization z/vm Virtual Machine Operation http://www.ibm.com/s390/linux/ http://www.linuxvm.org/ 51

Contact Information By e-mail: musselwh@us.ibm.com In person: USA 607.429.3831 On the Web: Mailing lists: http://ibm.com/vm/devpages/mussel IBMTCP-L@vm.marist.edu VMESA-L@listserv.uark.edu LINUX-390@vm.marist.edu http://ibm.com/vm/techinfo/listserv.html 52

Thanks for Listening! 53