Professional Documents
Culture Documents
Power6 Virtual Io
Power6 Virtual Io
Agenda
Virtual Optical Devices, Virtual Optical Media, File-backed Devices Shared Ethernet Adapter (SEA) Failover SEA over Host Ethernet Adapter (HEA) Live Partition Mobility configuration Virtual Tape N-Port ID Virtualization (NPIV) Heterogeneous Multipathing Active Memory Sharing
Physical Volume (PV) or a Logical Volume (LV) has been available from the beginning.
VIO server 1.2 gave the ability to share the CDROM drive
be copied from one virtual target device (VTD) to a different VTD. This feature was added under VIO 1.5.2.1FP11.1.
On old client
# cfgmgr
This clients adapter will NOT configure while another client is connected to the server adapter
# cfgmgr -vl vscsi2 Method error (/usr/lib/methods/cfg_vclient -l vscsi2 ): 0514-040 Error initializing a device into the kernel.
$ rmdev dev vtopt0 $ mkvdev vdev cd0 \ vadapter vhost# (where vhost# is the VSCSI adapter for the client Partition)
swap out physical CD/DVDs or setup Network Installation Manager (NIM) server. It is also easier to boot a partition into maintenance mode to repair problems
Easier to maintain a complete library of all the software needed for the managed
system. Various software packages as well as all the necessary software levels to support each partition
Client partitions could use blank file-backed virtual optical media for backup purposes
(read/write devices)
These file-backed optical devices could then be backed up from on the VIO server to
$ cpvdi -src input_disk_image -dst output_disk_image [-isp input_storage_pool] [-osp output_storage_pool] [-overwrite] [-unconfigure] [-f] [-progress] The cpvdi command copies a block device image, which can be either a logical or physical volume, a file-backed device, or a file on another existing disk. This command is NOT used to move data between non-virtualized disks and virtualized disks.
VTD vtopt0 Status Available LUN 0x8200000000000000 Backing device Physloc $ mkvopt -name vio-1-5-expansion.iso -file /var/vio/storagepools/file-storage-pl/vio-1-5expansion.iso -ro
root@ec04 / # root@ec04 / # cd0 Available root@ec04 / # root@ec04 / # Filesystem /dev/hd4 /dev/hd2 /dev/hd9var /dev/hd3 /dev/hd1 /proc /dev/hd10opt /dev/cd0
cfgmgr lsdev -Cc cdrom Virtual SCSI Optical Served by VIO Server mount -v cdrfs -o ro /dev/cd0 /cdrom df 512-blocks Free %Used Iused %Iused 98304 49488 50% 1982 9% 2490368 88936 97% 23302 8% 65536 31584 52% 494 7% 229376 126928 45% 64 1% 65536 63368 4% 20 1% 229376 35272 85% 2937 11% 19724 0 100% 4931 100%
Agenda
Virtual Optical Devices, Virtual Optical Media, File-backed Devices Shared Ethernet Adapter (SEA) Failover SEA over Host Ethernet Adapter (HEA) Live Partition Mobility configuration Virtual Tape N-Port ID Virtualization (NPIV) Heterogeneous Multipathing Active Memory Sharing
Client 2
Create the Shared Ethernet Adapter (SEA) $ mkvdev -sea ent3 -vadapter ent2 -default ent2 -defaultid 1 ent4 Available en4 et4
Client
Virt Enet
VIOS 2
Primary
Backup
monitoring.
Virtual Ethernet Control Channel between the two VIOS.
Traffic flows through secondary SEA only when primary SEA fails.
No configuration required on the client partition;
Resilience
Protection against single VIOS / switch port /
VIOS 2 SEA
backup SEA (backup SEA is idle until needed). SEA failure initiated by: Backup SEA detects the active SEA has failed. Active SEA detects a loss of the physical link Manual failover by putting SEA in standby mode Active SEA cannot ping a given IP address.
Notes
Requires VIOS V1.2 and SF235 platform firmware Can be used on any type of client (AIX, Linux, I (on
Enet PCI
Control Channel
Enet PCI
Primary
Backup
interface or the virtual interface that will be part of the SEA prior to performing the SEA configuration. You can optionally configure an IP address on the new SEA interface after the configuration is done.
SEA failover
If you have multiple SEAs configured on each of the VIO servers, then for
each SEA pair, you need to configure a separate control channel with a unique PVID on the system.
Make sure you configure the SEA failover adapter (on the second VIOS) at
Agenda
Virtual Optical Devices, Virtual Optical Media, File-backed Devices Shared Ethernet Adapter (SEA) Failover SEA over Host Ethernet Adapter (HEA) Live Partition Mobility configuration Virtual Tape N-Port ID Virtualization (NPIV) Heterogeneous Multipathing Active Memory Sharing
Logical Ports
address Sharing bandwidth w/ other logical ports defined on same physical port
Logical ports are allocated to
HEA
Logical L2 switch
partitions
Each Logical Port can be owned by a
Physical Port
separate LPAR A Partition can own multiple Logical Ports Only one Logical Port per Physical Port per partition
24
HEA
AIX Linux iOS AIX
Linux
iOS
Ethernet Driver
Ethernet Driver
Ethernet Driver
PHYP
PHYP Networ k
...considerations
Ethernet adapter
HEA
Adapter sharing with Native Performance Removes SW forwarding overhead LPAR mobility
If you anticipate a future need for more adapters than you have
LHEA ports
(LP-HEA) available
10 Gbit Ethernet adapters, and large_receive parameter when using a 10Gbit Ethernet adapter (VIOS 1.5.1.1) to increase performance
27
Promiscuous Mode
28
Agenda
Virtual Optical Devices, Virtual Optical Media, File-backed Devices Shared Ethernet Adapter (SEA) Failover SEA over Host Ethernet Adapter (HEA) Live Partition Mobility configuration Virtual Tape N-Port ID Virtualization (NPIV) Heterogeneous Multipathing Active Memory Sharing
partition. It enables the specified Virtual I/O Server partition to allow the functionality that asynchronously extracts, transports, and installs partition state. Two mover service partitions are involved in an active partition migration: one on the source system, the other on the destination system. Mover service partitions are not used for inactive migrations.
Virtual asynchronous services interface (VASI)
The source and destination mover service partitions use this virtual
device to communicate with the POWER hypervisor to gain access to partition state. The VASI device is included on the Virtual I/O Server, but is only used when the server is declared as a mover service partition.
Applicability Workload consolidation (e.g. many to one) Workload balancing (e.g. move to larger system) Workload migration to newer systems Planned CEC outages for maintenance/upgrades Impending CEC outages (e.g. hardware warning received)
powered off (not running) from one system to another. Subject to fewer compatibility restrictions than active partition migration because the OS goes through the boot process on the destination. Provides some ease of migration from systems prior to those enabled for active migration.
Requisites
adapter configured to bridge to the same Ethernet network used by the mobile partition The Virtual I/O Servers on both systems must be capable of providing virtual access to all disk resources the mobile partition is using. The disks used by the mobile partition must be accessed through virtual SCSI and/or virtual Fibre Channel-based mapping
LAN
Source Partition
Ded. Adapt DD VSCSI Client DD
VIOS
VSCSI Server
Ded Adapt DD
VIOS
Ded Adapt DD
VSCSI Server
PHYP
Ded Adapter Ded Adapter Ded Adapter
PHYP
Ded Adapter
SAN Disks
LAN
Source Partition
VSCSI Client DD
VIOS
VSCI Server
Ded Adapt DD
VIOS
Ded Adapt DD
Target Partition
VSCI Server
PHYP
Ded Adapter Ded Adapter Ded Adapter
PHYP
Ded Adapter
SAN Disks
LAN
Source Partition
VSCSI Client DD
VIOS
VSCI Server
Ded Adapt DD
VIOS
Ded Adapt DD
Target Partition
VSCSI Client DD
VSCI Server
PHYP
Ded Adapter Ded Adapter Ded Adapter
PHYP
Ded Adapter
SAN Disks
LAN
Source Partition
VSCSI Client DD
VIOS
VSCI Server
Ded Adapt DD
VIOS
Ded Adapt DD
Target Partition
VSCSI Client DD
VSCI Server
PHYP
Ded Adapter Ded Adapter Ded Adapter
PHYP
Ded Adapter
SAN Disks
LAN
Source Partition
VSCSI Client DD
VIOS
VSCI Server
Ded Adapt DD
VIOS
Ded Adapt DD
Target Partition
VSCSI Client DD Ded. Adapt DD
VSCI Server
PHYP
Ded Adapter Ded Adapter Ded Adapter
PHYP
Ded Adapter
SAN Disks
LAN
Source Partition
VSCSI Client DD
VIOS
VSCI Server
Ded Adapt DD
VIOS
Ded Adapt DD
Target Partition
VSCSI Client DD Ded. Adapt DD
VSCI Server
PHYP
Ded Adapter Ded Adapter Ded Adapter
PHYP
Ded Adapter
SAN Disks
Agenda
Virtual Optical Devices, Virtual Optical Media, File-backed Devices Shared Ethernet Adapter (SEA) Failover SEA over Host Ethernet Adapter (HEA) Live Partition Mobility configuration Virtual Tape N-Port ID Virtualization (NPIV) Heterogeneous Multipathing Active Memory Sharing
VIOS
SAS Adapter Virtual SCSI Adapter Virtual SCSI Adapter
Power Hypervisor
vttape0 Available
On the client partition, simply run cfgmgr to configure the virtual tape Device can be used as a regular tape, for data and OS backup and restore, including
Agenda
Virtual Optical Devices, Virtual Optical Media, File-backed Devices Shared Ethernet Adapter (SEA) Failover SEA over Host Ethernet Adapter (HEA) Live Partition Mobility configuration Virtual Tape N-Port ID Virtualization (NPIV) Heterogeneous Multipathing Active Memory Sharing
NPIV
N_Port ID Virtualization (NPIV) provides direct Fibre Channel connections from client
partitions to SAN resources , simplifying SAN management Fibre Channel Host Bus Adapter is owned by VIOS partition Supported with PowerVM Express, Standard, and Enterprise Edition Supports AIX 5.3 and AIX 6.1 partitions
Power 520, 550, 560, and 570, with an 8 GB PCIe Fibre Channel Adapter
VIOS
FC Adapter Virtual FC Adapter Virtual FC Adapter
Power Hypervisor
Statement of Direction
Enables use of existing storage management tools Simplifies storage provisioning (i.e. zoning, LUN masking) Enables access to SAN devices including tape libraries
processor-based Power 595, BladeCenter JS12, and BladeCenter JS22 in 2009. IBM intends to support NPIV with IBM i and Linux environments in 2009.
All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
NPIV details
VIOS V2.1 (PowerVM Express, Standard, and Enterprise) Client OS support: AIX(5.3, 6.1); later in 2009, Linux and IBM i POWER6 only; Blade and High-End support in 2009 8 Gigabit PCI Express Dual Port Fibre Channel Adapter Compatible with Live Partition Mobility (LPM) VIO servers can support NPIV and vSCSI simultaneously Clients can support NPIV, vSCSI and dedicated Fibre Channel
simultaneously HMC-managed and IVM-managed servers Unique Worldwide Port Name (WWPN) generation (allocated in pairs)
FC Adapter
Shared FC Adapter
VIOS
FC Adapters
VIOS
FC Adapters
SAN
SAN
DS8000
EMC
DS8000
EMC
needs to be NPIV capable Other switches in the environment do not need to be NPIV capable Not all ports on the switch need to be configured for NPIV, just the one which the adapter will use Check with your storage vendor to make sure the switch is NPIV capable Order and install the latest available firmware for your SAN switch
FCPName Maps the Virtual Fibre Channel Adapter to the physical Fibre Channel Port -vadapter Specifies the virtual server adapter. -fcp Specifies the physical Fibre Channel Port Example: vfcmap vadapter vfchost0 f
After mapping done, running cfgmgr on the client partitions to
Agenda
Virtual Optical Devices, Virtual Optical Media, File-backed Devices Shared Ethernet Adapter (SEA) Failover SEA over Host Ethernet Adapter (HEA) Live Partition Mobility configuration Virtual Tape N-Port ID Virtualization (NPIV) Heterogeneous Multipathing Active Memory Sharing
VIOS
FC Adapter Virtual FC Adapter FC Adapter
NPIV
Power Hypervisor
NPIV
Power Hypervisor
4) Real adapter
Agenda
Virtual Optical Devices, Virtual Optical Media, File-backed Devices Shared Ethernet Adapter (SEA) Failover SEA over Host Ethernet Adapter (HEA) Live Partition Mobility configuration Virtual Tape N-Port ID Virtualization (NPIV) Heterogeneous Multipathing Active Memory Sharing
Memory virtualization enhancement for Power Systems Memory dynamically allocated based on partitions workload demands Contents of memory written to a paging device Improves memory utilization Extends Power Systems Virtualization Leadership Capabilities not provided by Sun and HP virtualization offerings Designed for partitions with variable memory requirements Low average memory requirements Active/inactive environments Workloads that peak at different times across the partitions Available with PowerVM Enterprise Edition AIX 6.1, Linux and i 6.1 partitions that use VIOS and shared processors POWER6 processor-based systems
* All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
25
Memory (GB)
Time
Time
10
Time
15
10 Night Day 5
0 15
Time
#10 #9 #8 #7 #6 #5 #4 #3 #2 #1
Infrequent use
Large number of partitions with
10
sporadic use
Time
paging is undesirable
Realtime, fixed response-time type of applications
Predictability is key, so resources should not be shared
References
Using File-Backed Virtual SCSI Devices, by Janel Barfield http://www.ibmsystemsmag.com/aix/februarymarch09/tipstechniques/24273p1.aspx Configuring Shared Ethernet Adapter Failover http://techsupport.services.ibm.com/server/vios/documentation/SEA_final.pdf Integrated Virtual Ethernet Adapter Technical Overview and Introduction http://www.redbooks.ibm.com/abstracts/redp4340.html IBM PowerVM Live Partition Mobility http://www.redbooks.ibm.com/abstracts/sg247460.html Power Systems Virtual I/O Server http://publib.boulder.ibm.com/infocenter/systems/scope/hw/topic/iphb1/iphb1.pdf
59
Gracias
Csar Diniz Maciel cmaciel@us.ibm.com
forotecnicoargentina.com/facebook