Documente Academic
Documente Profesional
Documente Cultură
IBM Training
Agenda
Virtual I/O configuration concepts Describe and configure virtual Ethernet Describe the new Integrated Virtual Ethernet (IVE) adapter
Architecture Multi-Core Scaling
Configure external network access using IVE Describe and configure external network access using Shared Ethernet adapter (SEA)
With Link Aggregation With SEA Failover
Conclusion
2008 IBM Corporation
IBM Training
IBM Training
LPAR 1
LPAR 2
LPAR 3
LPAR 4
LPAR 5
VLAN 1
VLAN 2
IBM Training
Virtual Ethernet interfaces are configured in AIX just like physical adapter interfaces
2008 IBM Corporation
IBM Training
192.168.1.1
192.168.1.2
en0
en0
ent0
PVID=1 ieee_virtual_eth=0
ent0
PVID=1 ieee_virtual_eth=0 POWER Hypervisor
VLAN 1
IBM Training
Logical Switch
Logical Switch
Port Group 1 10 Gb or 1 Gb physical port 1 Gb physical port External Layer 2 or Layer 3 switch
Three IVE models: Dual-port Gigabit: 1 port group, 2 physical 1 Gb ports Dual-port 10 Gigabit: 2 port groups, 1 physical 10 Gb port per port group Quad-port Gigabit: 2 port groups, 2 physical 1 Gb ports per port group
2008 IBM Corporation
IBM Training
IVE Ports
Logical ports are associated with a specific physical port Port group: Set of 16 logical ports on 1 or 2 physical ports: Logical ports can be split evenly between the 2 physical ports in a port group, or unevenly 1 or 2 port groups per Host Ethernet Adapter (HEA), depending on model 1 or 2 physical ports per port group, depending on model, each with own Layer 2 switch LPAR Logical Port Logical Switch OS ent lhea Logical devices as they appear in AIX IVE
Port Group
HEA
Physical Port
External Switch
2008 IBM Corporation
IBM Training
Switch
16 ports
Physical Switch
4 ports
2008 IBM Corporation
IBM Training
LPARs which are configured for logical ports using this physical port
IBM Training
Enabled means HMC will attempt to negotiate flow control for physical port
MCS
A Virtual I/O Server partition must be listed as the promiscuous LPAR if it is using a port on the IVE as part of a Shared Ethernet adapter device
2008 IBM Corporation
IBM Training
IBM Training
IVE Demonstration
Configure an IVE logical port on the VIOS LPAR
1. 2. Check the configuration of the physical adapter Add a logical port for the VIOS LPAR
POWER6 System VIOS LPAR1 LPAR2
192.168.1.1
192.168.1.2
ent0 lhea0
en0 ent0
PVID=1 ieee_virtual_eth=0
en0 ent0
PVID=1 ieee_virtual_eth=0 POWER Hypervisor
Ethernet Switch
VLAN 1
P0
P1
HEA
2008 IBM Corporation
IBM Training
IBM Training
SEA Example
Shared Ethernet adapter is used to extend VLAN 2 and 3 using the physical Ethernet in the Virtual I/O Server
Standalone servers Virtual I/O Server LPAR 1, 2, 3
Ethernet Switch
Managed system
IBM Training
Virtual adapters that will be associated with an SEA on the VIO Server must have the Access external network checkbox selected
Virtual Ethernet adapters and Hypervisor switch ports are configured here on the HMC/IVM
2008 IBM Corporation
IBM Training
VIOS
switch
ent0 physical
ent1 virtual
PVID 1
Hypervisor
ent2 (SEA)
IBM Training
SEA Demonstration
Configure an SEA adapter on the VIOS
1. 2. Create a virtual Ethernet adapter on the VIOS LPAR that can access external networks Create the SEA on the VIOS LPAR using the lhea port and the virtual adapter
POWER6 System VIOS SEA
192.168.1.1 192.168.1.2
LPAR1
LPAR2
en0 ent0
PVID=1 ieee_virtual_eth=0
en0 ent0
PVID=1 ieee_virtual_eth=0 POWER Hypervisor
Ethernet Switch
P0 P1
VLAN 1
HEA
2008 IBM Corporation
IBM Training
ent4 (SEA)
IBM Training
Client
Client
Client
Physical Storage
Hypervisor
The red connections show two clients accessing the same physical storage (A) via two different server adapters (B) and virtual target devices (D) The blue connection shows multiple target devices (D) attached to a single server adapter (B)
PHY
VTD
IBM Training
IBM Training
hdisk7 hdisk6
hdisk5 hdisk0
fcs0
fcs1
sas0
POWER Hypervisor
SAN
FC card
Internal storage
Optical device
IBM Training
IBM Training
For example:
$ mkvdev vdev hdisk3 vadapter vhost0 vtscsi0 Available $ mkvdev vdev lv10 vadapter vhost0 vtscsi1 Available $ mkvdev vdev cd0 vadapter vhost0 vtopt0 Available
IBM Training
Client LPAR ID
Server slot ID
VTD LUN Backing device Physloc VTD LUN Backing device Physloc VTD LUN Backing device Physloc vtopt0 0x8300000000000000 cd0 vtscsi0 0x8100000000000000 hdisk3 U787A.001.DNZ00G0-P1-T10-L8-L0 vtscsi1 0x8200000000000000 lv10
LUN ID
IBM Training
IBM Training
hdisk0
fcs0
fcs1
sas0
cd0
vhost0
POWER Hypervisor
IBM Training
Create a Virtual Media Repository which can be stocked with DVD-ROM/RAM media Clients can use images stored in repository as cd0 devices with media FB virtual device characteristics:
Read-only FB devices can be shared by multiple clients Bootable FB devices appear in SMS Reside in FB storage pools
IBM Training
IBM Training
Create new file device with a certain size, create the VTD, and map to vhost adapter: Create new 30 MB file called fb_disk1
$ mkbdsp -sp fbpool 30m -bd fb_disk1 -vadapter vhost3 Creating file "fb_disk1" in storage pool "fbpool". Assigning file "fb_disk1" as a backing device. vtscsi3 Available fb_disk1
IBM Training
--------------- ----------------------------- ----------------vhost3 VTD Status LUN Backing device Physloc U8203.E4A.10CD1F1-V1-C15 vtscsi3 Available 0x8100000000000000 /var/vio/storagepools/fbpool/fb_disk1 0x00000000
IBM Training
IBM Training
$ lsrep Size(mb) Free(mb) Parent Pool Free 10198 6532 medrep 59648 Name aixopt1
Create FB virtual optical device and map to vhost adapter:
Parent
Access ro
IBM Training
IBM Training
IBM Training
IBM Training
LPAR1 vtscsi2
fbpool1
(FB storage pool)
fb_disk2
rootvg medrep
cl_mksysb AIX53_iso AIX61_iso
stpool1
(LV storage pool)
vtopt1
hdisk2
cd1 vscsi1
POWER Hypervisor
IBM Training
Conclusion
Virtual I/O devices on POWER5 and POWER6 systems include virtual Ethernet, Integrated Virtual Ethernet (IVE), Shared Ethernet (SEA), and virtual SCSI Virtual Ethernet and IVE, are part of the base feature and do not require PowerVM (or Advanced Power Virtualization for POWER5)
Devices are defined in the HMC Configuration in AIX is same as for physical devices
Virtual SCSI and SEA devices extend the use of physical devices to multiple clients using the Virtual I/O Server and require the PowerVM feature
Create virtual devices with mkvdev on VIO Server command line to bridge virtual Ethernet adapters (mkvdev sea) and to associate virtual SCSI adapters with physical storage
File-backed virtual disks and optical devices provide even more flexibility in storage allocation
2008 IBM Corporation
IBM Training
Trademarks
The following are trademarks of the International Business Machines Corporation in the United States, other countries, or both.
Not all common law marks used by IBM are listed on this page. Failure of a mark to appear does not mean that IBM does not use the mark nor does it mean that the product is not actively marketed or is not significant within its relevant market. Those trademarks followed by are registered trademarks of IBM in the United States; all others are trademarks or common law marks of IBM in the United States.
39