Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
© 2010 IBM Corporation
AIX VUG 2010
November 19, 2010
Virtual I/O Server Beyond the Basics
James Nash
© 2010 IBM Corporation
AIX VUG 2010
Trademarks
2
The following are trademarks of the International Business Machines Corporation in the United States, other countries, or both.
The following are trademarks or registered trademarks of other companies.
* All other products may be trademarks or registered trademarks of their respective companies.
Notes: Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here. IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply.All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer configurations and conditions.This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult your local IBM business contact for information on the product or services available in your area.All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries.Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other countries, or both and is used under license therefrom. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office.IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency, which is now part of the Office of Government Commerce.
For a complete list of IBM Trademarks, see www.ibm.com/legal/copytrade.shtml:
*, AS/400®, e business(logo)®, DBE, ESCO, eServer, FICON, IBM®, IBM (logo)®, iSeries®, MVS, OS/390®, pSeries®, RS/6000®, S/30, VM/ESA®, VSE/ESA, WebSphere®, xSeries®, z/OS®, zSeries®, z/VM®, System i, System i5, System p, System p5, System x, System z, System z9®, BladeCenter®
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.
© 2010 IBM Corporation
AIX VUG 2010
3
© 2010 IBM Corporation
AIX VUG 2010
Agenda
4
New (and almost new) Features
Virtual I/O Server Topics
• Networking
─ Shared Ethernet Adapters
─ Integrated Virtual Ethernet
─ MAC Addresses
• Virtual Storage
─ N_Port Id Virtualization
• Live Partition Mobility
─ Boot from SAN?
• Infrequently used alternatives
─ Virtual Media Library
─ backupios vs viosbr
─ Dynamic VLAN
─ Quality of Service
─ WWN Management
© 2008 IBM Corporation
© 2010 IBM Corporation
Enhancements v2.1.2 – Oct 2009
v2.1.3 – Apr 2010
v2.2.0 – Oct 2010
© 2010 IBM Corporation
AIX VUG 2010
Enhancements added with v2.1.2 (Oct 2009) Live Partition Mobility (LPM)
– Preservation of Virtual Target Device names or ability to change names– IPSEC Encryption of MSP to MSP traffic– Network Interface selection for MSP to MSP communications– Ability to create non-symmetric VIO server configurations– Support for shared persistent reservations (PR_shared)
N_Port Id Virtualization (NPIV)– Dynamic remapping of vFC adapter to a physical port– Concurrent microcode updates for NPIV adapters/ports– Support for additional Blade Fibre Channel adapters
• FC 8240• FC 8242• FC8271
New commands chkdev, postprocesssvc, and viosbr
Official support for Solid State Drives in a virtual environment
Latest version of SDDPCM
6
© 2010 IBM Corporation
AIX VUG 2010
Enhancements to Live Partition Mobility (v2.1.2)
Preservation of Virtual Target Device names– If the VTD had a user defined name on the source VIOS that name will now be
recreated on the destination VIOS.
Ability to change virtual target device names during a migration operation $ lsdev -dev vtscsi0 -attrattribute value description user_settableLogicalUnitAddr 0x8100000000000000 Logical Unit Address Falseaix_tdev hdisk7 Target Device Name Falseclient_reserve no Client Reserve Truemig_name N/A True
$ chdev -dev vtscsi0 -attr mig_name=testvtscsi0 changed
$ lsdev -dev vtscsi0 -attrattribute value description user_settableLogicalUnitAddr 0x8100000000000000 Logical Unit Address Falseaix_tdev hdisk7 Target Device Name Falseclient_reserve no Client Reserve Truemig_name test N/A True
7
© 2010 IBM Corporation
AIX VUG 2010
Enhancements to Live Partition Mobility (v2.1.2)
Ability to encrypt traffic between the source and destination Mover Service Partition (MSP)
– A command line interface (CLI) has been added to the VIOS to allow the creation of an IPSEC tunneled connection between the mover service partitions (MSPs) that are responsible for moving a client’s data during a live partition mobility event.
– To enable encryption on the VIOS, the clic.rte package must be installed.
8
© 2010 IBM Corporation
AIX VUG 2010
Enhancements to Live Partition Mobility (v2.1.2)
Ability to select network interface to be used for MSP to MSP communications
– If multiple network interfaces are available between a pair of Mover Service Partitions, it is now possible through the HMC command line to select which IP address the mover will use to transport client partition data during a live partition mobility event.
See HMC man pages for migrlpar for more details
hscroot@sahmc:~> migrlpar -o m -m p6_570 -t p7_770 --id 5 --ip 10.56.145.201 -u hscroot –i "source_msp_ipaddr=10.0.0.1,dest_msp_ipaddr=10.0.0.4"
9
© 2010 IBM Corporation
AIX VUG 2010
Enhancements to Live Partition Mobility (v2.1.2)
The ability to create non-symmetric VIO server configurations
$ migrlpar with –mpio flag
When validating or migrating a partition, use this option to specify whether the HMC is required to maintain an equivalent multipath I/O (MPIO) configuration of the partition's virtual SCSI and virtual fibre channel adapters on the destination managed system. Valid values are 1 if the HMC is required to maintain an equivalent MPIO configuration, or 2 if the HMC is not required to maintain an equivalent MPIO configuration, but should do so if possible. If this option is not specified, then this option defaults to the value 1.
10
© 2010 IBM Corporation
AIX VUG 2010
New VIO Server Commands (v2.1.2)$ chkdev - command determines whether a device can be
used in physical to virtual transitions in the Virtual I/O Server$ chkdev -dev hdisk4 -verboseNAME: hdisk4IDENTIFIER: 37213600A0B8000170BC10000E3544B953DB7081722-60003IBMfcp
PHYS2VIRT_CAPABLE: NAVIRT2NPIV_CAPABLE: YESVIRT2PHYS_CAPABLE: YESPVID: 0001ad724a4674550000000000000000UDID: 37213600A0B8000170BC10000E3544B953DB7081722-60003IBMfcp
IEEE:VTD: fs6_rootvg
$ chkdev -dev hdisk3NAME: hdisk2
IDENTIFIER: 291135000C5000A85C5470AST373455SS03IBMsas
PHYS2VIRT_CAPABLE: YES
VIRT2NPIV_CAPABLE: NA
VIRT2PHYS_CAPABLE: NA
11
© 2010 IBM Corporation
AIX VUG 2010
New VIO Server Commands (v2.1.2)$ viosbr -backup file backup -frequency daily numfiles 5
Creates a backup file once a day, prefixed with “backup” in /home/padmin/cfgbackups
– backup.01.tar.gz– backup.02.tar.gz– backup.03.tar.gz– backup.04.tar.gz– backup.05.tar.gz
$ viosbr -restore file /home/padmin/cfgbackups/backup.03.tar.gz
12
© 2008 IBM Corporation
© 2010 IBM Corporation
Enhancements v2.1.2 – Oct 2009
v2.1.3 – Apr 2010
v2.2.0 – Oct 2010
© 2010 IBM Corporation
AIX VUG 2010
NPIV support for FCoE (v2.1.3)
FCoE adapters now support NPIV devices– QLogic FCoCEE NPIV Blade Expansion Adapter (FC 8275)
– QLogic FCoCEE NPIV adapter (FC 5708)
Provides new NPIV support for other adapters in addition to the original FC 5735, 8Gb NPIV cards
14
© 2010 IBM Corporation
AIX VUG 2010
VIO Support of AIX Runtime Expert (v2.1.3)
Five new commands added to the padmin shell– artexget Creates a new profile
– artexset Applies a profile to a system
– artexdiff Compares a profile against exiting settings
– artexlist Finds profiles in a given path
– artexmerge Combines multiple profiles into a single profile
15
© 2010 IBM Corporation
AIX VUG 2010
New Flag for backupios command (v2.1.3)
New –nomedialib flag added to exclude contents of the virtual media repository
Ability to create smaller backups of the VIO server when the media library is being used
16
© 2010 IBM Corporation
AIX VUG 2010
PowerVM Enterprise Edition Trial (4/21/2010)
Try advanced features of PowerVM Enterprise Edition on a 60-day trial basis before you buy
─Verify LPM works in your environment
─Show the benefit of using AMS
System must already have PowerVM Standard Edition with current SWMA
Can be ordered with P/RPQ 8R7100
17
© 2008 IBM Corporation
© 2010 IBM Corporation
Enhancements v2.1.2 – Oct 2009
v2.1.3 – Apr 2010
v2.2.0 – Oct 2010
© 2010 IBM Corporation
AIX VUG 2010
Role Based Access Control (v2.2.0.0)
What sudo?
19
© 2010 IBM Corporation
AIX VUG 2010
Enhanced Virtual Networking (v2.2.0.11-FP24 SP01)
20
© 2010 IBM Corporation
AIX VUG 2010
21
Linked Clones (v2.2.0.11-FP24 SP01)Announce Oct 7, 2010 - GA Dec. 10
Partitions that share large amounts of common code will have the ability to share this code.
Partition will still need space to store unique files.
Advantages
─Less storage needed for partitions
─Ability to easily manage files that should remain the same on a set of partitions
─Could be used to help create a template for groups of partitions
© 2010 IBM Corporation
AIX VUG 2010
22
Thin Provisioning (v2.2.0.11-FP24 SP01)Announce Oct 7, 2010 - GA Dec. 10
Additional storage is provided as workloads and demands increase.
Storage can also be released as workloads contract.
Advantages
─Leave room to grow
─Method to over-commit storage
─Ease workload of storage administrators
© 2010 IBM Corporation
AIX VUG 2010
23
Partition Suspend/Resume (v2.2.0.11-FP24 SP01)Announce Oct 7, 2010 - GA Dec. 10
Write the contents of memory out to state file(s).
Resume workload exactly where it was stopped
Ability to suspend workload on one system and resume on a different system
Advantages
─Resource balancing
─System maintenance
─Debug by suspending and taking copy of workload to another system for anaylsis
© 2010 IBM Corporation
AIX VUG 2010
Additional Details
POWER5 / POWER6 / POWER7 Supported
Shared storage pools
Thin provisioning
POWER7 Supported only
Partition Suspend / Resume
24
© 2010 IBM Corporation
AIX VUG 2010
VIO New Feature Dates
VIO RBAC In VIO 2.2 build available on 9/17Partition Suspend/Resume Announce 10/7, GA 12/10Linked Clones Announce 10/7, GA 12/10Thin Provisioning Announce 10/7, GA 12/10
Additional Features to be added in 2011
25
© 2008 IBM Corporation
© 2010 IBM Corporation
Enhancements v2.1.2 – Oct 2009
v2.1.3 – Apr 2010
v2.2.0 – Oct 2010 Questions?
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking - Overview
27
─ Shared Ethernet Adapters Options
─ SEA Failover
─ Network Interface Backup
─ Link Aggregation
─ Integrated Virtual Ethernet Changes
─ Advanced Virtual Ethernet Adapters
─ Dynamic VLAN
─ User-defined MAC Address
─ Quality of Service
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Shared Ethernet Adapters
28
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Integrated Virtual Ethernet
29
FC 5636, 2 x 1Gb
FC 5637, 4 x 1Gb FC 5639, 2 x 10Gb
POWER6 Options
Up to 16 Logical Ports per Port Group
Up to 2 Port Groups per HEA
© 2010 IBM Corporation
AIX VUG 2010
IVE Options with POWER7 POWER7 770 (9117-MMB)
– FC 1803 Integrated, 4-port- 1Gb Virtual Ethernet, I/O ports– FC 1804 Integrated, 4-port (2x1Gb and 2x10Gb SFP+ Optical ports)– FC 1813 Integrated, 4-port (2x1Gb and 2x10Gb SFP+ Copper twinax
ports)• Each of these cards contains 4 port groups because it combines two P5IOC2
chips• 4 port groups allows for up to 64 logical ports per controller (assuming the
MCS value for each port group is set to 1)
POWER 750 (8233-E8B)
– FC 5613 Integrated, Dual-port- 10Gb Virtual Ethernet Daughter Card– FC 5624 4-port 1Gb Integrated Virtual Ethernet Daughter Card
• Same rules that apply to POWER6 systems• 2 port groups with up to a total of 32 logical ports per controller (also
assuming the MCS value is set to 1)
IBM P
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Integrated Virtual Ethernet– FC 1803 Integrated, 4-port – 1Gb Virtual Ethernet, I/O ports– FC 1804 Integrated, 4-port (2 x 1Gb and 2 x 10Gb SFP+ Optical ports)– FC 1813 Integrated, 4-port (2 x 1Gb and 2 x 10Gb SFP+ Copper ports)
– FC 1824 Integrated, 4-port – 1Gb Virtual Ethernet, I/O ports– FC 1825 Integrated, 2-port – 2 x 10Gb (Fiber)– FC 1826 Integrated, 4-port – 2 x 10Gb (Copper)
– FC 1832 Integrated, 4-port - 1Gb Virtual Ethernet, I/O ports– FC 1833 Integrated, 2-port – 2 x 10Gb (Fiber)– FC 1837 Integrated, 4-port – 2 x 10Gb (Copper)
– FC 5613 Integrated, 2-port – 10Gb (SR Fiber)– FC 5623 Integrated, 2-port – 2 x 1Gb – FC 1826 Integrated, 4-port – 2 x 1Gb
31
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Integrated Virtual Ethernet
32
Machine FC FC FC Note
710 1832 1833 1837 2U
720 1824 1825 1826 4U
730 1832 1833 1837 2U
740 1824 1825 1826 4U
750 5613 5623 5624 2 Port Groups
755 5613 5624 2 Port Groups
770 1803 1804 1813 4 Port Groups
780 1803 1804 1813 4 Port Groups
795 N/A
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Dynamic VLANs
33
© 2010 IBM Corporation
AIX VUG 2010
Other Dynamic Options
34
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Specify a MAC Address
35
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Specify a MAC Address
36
1 2 3 4 5 6 7 8 9 0 A Boctet: 1st 2nd 3rd 4th 5th 6th
Most Least
Significant Significant
0 0 0 1 0 0 1 0bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1
0: globally unique (OUI enforced)
1: locally administered
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Specify a MAC Address
37
© 2010 IBM Corporation
AIX VUG 2010
Virtual Networking – Quality of Service
38
© 2010 IBM Corporation
AIX VUG 2010
Double Check Yourself
You can select one of the following values for the priority level:
0 - best effort; lowest priority1 - background2 - spare3 - excellent effort4 - controlled load5 - video (less than 100 ms latency and jitter)6 - voice (less than 10 ms latency and jitter)7 - network control; highest priority
39
© 2010 IBM Corporation
AIX VUG 2010
Virtual Storage - Overview
40
─ The vSCSI Conundrum
─ Virtual Storage with Live Partition Mobility
─ Hub-and-spoke
─ N_Port Id Virtualization
─ WWN Management
© 2010 IBM Corporation
AIX VUG 2010
Virtual Storage - vSCSI
41
Client LPAR
vscsi0 vscsi1
VIO
Server 1
vhost0 vhost0 VIO
Server 2
fcs0 fcs1
SAN
Switch #1
SAN
Switch #2
SAN Storage
fcs0fcs1
VIO Server
POWER Hypervisor (PHYP)
ClientLPAR
ClientLPAR
ClientLPAR
© 2010 IBM Corporation
AIX VUG 2010
42
Where did that disk go?VIO Server Client
LPARClientLPAR
ClientLPAR
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
At one point the disks had to be configured with a
reserve_policy = no_reserve
PR_shared supported at VIO v2.1.2
Keep a spreadsheet
Check all the VIO servers
Consider NPIV
© 2010 IBM Corporation
AIX VUG 2010
43
Consider a Hub and Spoke Design
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
VIO Server
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
© 2010 IBM Corporation
AIX VUG 2010
NPIV - Virtual FC Server/Client Overview
44
VIO Server
POWER Hypervisor (PHYP)
ClientLPAR
ClientLPAR
ClientLPAR
Physical 8GbNPIV Adapter
Virtual FCServer Adapter
Virtual FCClient Adapter
© 2010 IBM Corporation
AIX VUG 2010
Virtual Storage – NPIV Configuration
45
hscroot@hmc:~> lssyscfg –r prof –m FieldSystem1 \–F lpar_name,virtual_fc_adapters
fs5,"""20/client/1/fs6vio2/20/c050760061590000,c050760061590001/0"", “"21/client/2/fs6vio3/21/c050760061590002,c050760061590003/0""“
fs6,"""22/client/1/fs6vio2/22/c050760061590004,c050760061590005/0"",""23/client/2/fs6vio3/23/c050760061590006,c050760061590007/0""“
fsios71,none
fsios61,none
fs6vio3,"21/server/7/fs5/21//0,23/server/6/fs6/23//0“
fs6vio2,"20/server/7/fs5/20//0,22/server/6/fs6/22//0"
© 2010 IBM Corporation
AIX VUG 2010
Virtual Storage – WWN Management
46
# lscfg -vpl fcs0fcs0 U8203.E4A.06EB1C4-V8-C26-T1 Virtual Fibre Channel Client Adapter
Network Address.............C05076006159000CROS Level and ID............Device Specific.(Z0)........Device Specific.(Z1)........Device Specific.(Z2)........Device Specific.(Z3)........Device Specific.(Z4)........Device Specific.(Z5)........Device Specific.(Z6)........Device Specific.(Z7)........
Device Specific.(Z8)........C05076006159000CDevice Specific.(Z9)........Hardware Location Code......U8203.E4A.06EB1C4-V8-C26-T1
PLATFORM SPECIFICName: vfc-client
Node: vfc-client@3000001aDevice Type: fcpPhysical Location: U8203.E4A.06EB1C4-V8-C26-T1
# fcstat fcs0FIBRE CHANNEL STATISTICS REPORT: fcs0
Device Type: FC Adapter (adapter/vdevice/IBM,vfc-client)Serial Number: UNKNOWNOption ROM Version: UNKNOWNFirmware Version: UNKNOWN
World Wide Node Name: 0xC05076006159000DWorld Wide Port Name: 0xC05076006159000D
FC-4 TYPES:Supported: 0x0000010000000000000000000000000000000000000000000000000000000000Active: 0x0000010000000000000000000000000000000000000000000000000000000000
Class of Service: 3Port Speed (supported): UNKNOWNPort Speed (running): 2 GBITPort FC ID: 0x6D071DPort Type: Fabric
© 2010 IBM Corporation
AIX VUG 2010
Virtual Storage – WWN Management
47
© 2010 IBM Corporation
AIX VUG 2010
Activate the LPAR
Activate LPAR and select Boot Mode to be Open Firmware OK prompt
© 2010 IBM Corporation
AIX VUG 2010
This Page Intentionally Left Blank
© 2010 IBM Corporation
AIX VUG 2010
This Page Intentionally Left Blank
© 2010 IBM Corporation
AIX VUG 2010
Manual Step?
51
© 2010 IBM Corporation
AIX VUG 2010
52
Anywhere to Anywhere
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
VIO Server ClientLPAR
ClientLPAR
ClientLPAR
© 2010 IBM Corporation
AIX VUG 2010
Virtual Storage – NPIV simplify management?
53
VIO AdminI. Fewer Devices on VIO Server
II. Minimize Risk for disk theft
III. Less setup needed for LPM
IV. Easier to replace failed FC adapter
V. Could make DR easier
VI. Advanced Multi-Path Options
SAN AdminI. Many more WWNs to
manage
II. Creating Zoneset more complicated
III. Once configured, fewer changes needed for LPM
IV. Nothing needed when FC adapter is replaced
Single Admin?
© 2010 IBM Corporation
AIX VUG 2010
Live Partition Mobility - Overview
54
─ Moving from POWER6 to POWER7
─ Requirements
─ In the Zone
─ Port ID Binding
─ Boot from SAN?
─ Port Security
─ Disaster Recovery
© 2010 IBM Corporation
AIX VUG 2010
55
© 2010 IBM Corporation
AIX VUG 2010
Moving to POWER7
Set processor compatibility mode
P7 features are not available while running in P6 mode
– Active Memory Expansion
– Virtual Ethernet QoS
“Default” sets the current mode to the most fully featured mode supported by the operating environment.
56
© 2010 IBM Corporation
AIX VUG 2010
Live Partition Mobility - Zoning
5757
VIO Server
POWER Hypervisor (PHYP)
ClientLPAR
ClientLPAR
ClientLPAR
Physical 8GbNPIV Adapter
Virtual FCServer Adapter
Virtual FCClient Adapter
© 2010 IBM Corporation
AIX VUG 2010
Live Partition Mobility – Boot from SAN?
Do you want SDDPCM or PowerPath managing rootvg?– What does your storage vendor recommend
– What are the requirements to update the MP software
– What are the required steps for partition recovery
Can you split MP software by drive?SDD # excludesddcfg –l hdisk0 (queries older versions)
HDLM # vi /usr/DynamicLinkManager/drv/dlmfdrv.unconf
PowerPath # pprootdev on
58
© 2010 IBM Corporation
AIX VUG 2010
Live Partition Mobility – Security
59
© 2010 IBM Corporation
AIX VUG 2010
Some advantages of Virtual Optical Media Library With read-only virtual media the same virtual optical device can be presented to
multiple client partitions simultaneously
You could easily boot from and install partitions remotely without having the need to swap out physical CD/DVDs or setup Network Installation Manager (NIM) server
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 other types of media (tape, physical CD/DVD, TSM server, etc.)
© 2010 IBM Corporation
AIX VUG 2010
Add Media – within IVM
© 2010 IBM Corporation
AIX VUG 2010
Virtual Optical Media on HMC Managed SystemsManaging the Virtual Media Repository
Managing Virtual Optical Media
VIO Command Description$ mkrep Create a Virtual media repository$ lsrep Display information on a Virtual Media Repository$ chrep Change characteristics of a Virtual Media Repository$ rmrep Remove a Virtual Media Repository
VIO Command Description$ mkvopt Creates a new virtual optical disk in the Virtual Media Repository
$ lsvopt Displays information about file backed virtual optical devices
$ chvopt Change the characteristics of a virtual optical media disk within the Virtual Media Repository
$ loadopt Load a virtual optical media disk from the Virtual Media Repository into a virtual optical device
$ unloadopt Remove a virtual optical media disk from a virtual optical device
$ rmvopt Remove virtual optical media disk from Virtual Media Repository
© 2010 IBM Corporation
AIX VUG 2010
Virtual Optical MediaCreate an ISO file from CDROM
$ mkvopt -name dvd.AIX_6.1.iso -dev cd0 -ro
– You choose the name for this file, so make it meaningful
– Creates an ISO image from the media in /dev/cd0
After the .iso file is in your /var/vio/VMLibrary directory, run:
$ mkvdev -fbo -vadapter vhost4 vtopt0 Available
– Replace vhost4 with your Virtual SCSI server adapter name.
– This mkvdev command creates your virtual optical target device.
$ loadopt -vtd vtopt0 –disk dvd.AIX_6.1.iso
– The loadopt command loads vtopt0 with your ISO image
– Replace “dvd.AIX_6.1.iso” with your meaningful filename
© 2010 IBM Corporation
AIX VUG 2010
New command – viosbr (with VIO 2.1.2)
64
$ viosbrToo few parameters.
Usage: viosbr -backup -file FileName [-frequency daily|weekly|monthly [-numfiles fileCount]]
viosbr -nobackupviosbr -view -file FileName [-type devType] [-detail]viosbr -view -file FileName -mappingviosbr -view -list [UserDir]viosbr -restore -file FileName [-validate] [-type devType]
[-inter]viosbr -restore -file FileName [-type devType] [-force]
$ viosbr -backup -file nash-backup
© 2010 IBM Corporation
AIX VUG 2010
New command - viosbr
65
$ viosbr -view -file /home/padmin/cfgbackups/nash-backup.tar.gz
Controllers:============Name Phys Loc---- --------iscsi0sissas0 U5802.001.00H1395-P1-C1-T1sissas1 U5802.001.00H1395-P1-C2-T1sissas2 U78C0.001.DBJ0426-P2-T3sissas3 U78C0.001.DBJ0426-P2-C9-T1pager0 U9117.MMB.100414P-V1-C32769-L0-L0pager1 U9117.MMB.100414P-V1-C32773-L0-L0vasi0 U9117.MMB.100414P-V1-C32769
© 2010 IBM Corporation
AIX VUG 2010
New command - viosbr
66
Physical Volumes:=================Name Phys Loc---- --------hdisk20 U78C0.001.DBJ0426-P2-C2-T1-W201800A0B81132D0-L12000000000000hdisk21 U78C0.001.DBJ0426-P2-C2-T1-W201800A0B81132D0-L1B000000000000hdisk22 U78C0.001.DBJ0426-P2-C9-D1hdisk23 U78C0.001.DBJ0426-P2-C9-D4hdisk0 U5802.001.00H1395-P3-D1hdisk1 U5802.001.00H1395-P3-D2hdisk2 U78C0.001.DBJ0426-P2-C2-T1-W201800A0B81132D0-L0hdisk3 U78C0.001.DBJ0426-P2-C2-T1-W201800A0B81132D0-L1000000000000
© 2010 IBM Corporation
AIX VUG 2010
New command - viosbr
67
Ethernet Interfaces:====================en0en1en2en3en4
Shared Ethernet Adapters:=========================Name Physical Adapter Default Adapter Virtual Adapters---- ---------------- --------------- ----------------ent4 ent0 ent1 ent1
© 2010 IBM Corporation
AIX VUG 2010
New command - viosbr
68
Virtual Server Adapters:========================SVSA Phys Loc VTD---- -------- ---vhost0 U9117.MMB.100414P-V1-C5 rg103_gambsvhost1 U9117.MMB.100414P-V1-C6 rg104_gambsvhost2 U9117.MMB.100414P-V1-C7 rg105_gambsvhost3 U9117.MMB.100414P-V1-C8 rg106_gambsvhost4 U9117.MMB.100414P-V1-C2 mob29_targetvhost5 U9117.MMB.100414P-V1-C4 vtscsi1
vtscsi0
© 2010 IBM Corporation
AIX VUG 2010
New command - viosbr
69
Virtual Server Adapters:========================SVSA Phys Loc VTD---- -------- ---vhost0 U9117.MMB.100414P-V1-C5 rg103_gambsvhost1 U9117.MMB.100414P-V1-C6 rg104_gambsvhost2 U9117.MMB.100414P-V1-C7 rg105_gambsvhost3 U9117.MMB.100414P-V1-C8 rg106_gambsvhost4 U9117.MMB.100414P-V1-C2 mob29_targetvhost5 U9117.MMB.100414P-V1-C4 vtscsi1
vtscsi0
This is NOT even the detailed view
© 2010 IBM Corporation
AIX VUG 2010
New command - viosbr
70
$ viosbr -view -file /home/padmin/cfgbackups/nash-backup.tar.gz \-detail..............hdisk21 U78C0.001.DBJ0426-P2-C2-T1-W201800A0B81132D0-L1B000000000000Attribute Name Attribute Value-------------- ---------------device_mode 10queue_depth 32message_no 105hcheck_interval 60hcheck_cmd inquiryunique_id 3E213600A0B80001132D00000F2F94B7E72800F1815 FAStT03IBMfcpscsi_id 0x611400lun_id 0x1b000000000000ww_name 0x201800a0b81132d0node_name 0x200800a0b81132d0ses_attach yespvid 00c23c9f212cf8880000000000000000reserve_policy no_reserve
© 2010 IBM Corporation
AIX VUG 2010
New command - viosbr
71
$ viosbr -view -file /home/padmin/cfgbackups/nash-backup.tar.gz \–mapping..............Name Physloc ClntID ClntName ClntOS------------- -------------------------------- ------ ------------- -------vfchost0 U9117.MMB.100414P-V1-C16 29 mob29_lpm AIX
ClntOS AIXStatus LOGGED_INFC name fcs0Ports logged in 3Flags aVFC client name fcs0FC loc code U78C0.001.DBJ0426-P2-C2-T1VFC client DRC U9117.MMA.1023C9F-V29-C3-T1
© 2010 IBM Corporation
AIX VUG 2010
viosbr or backupios
© 2010 IBM Corporation
AIX VUG 2010
73
New (and almost new) Features
Virtual I/O Server Topics
• Networking
─ Shared Ethernet Adapters
─ Integrated Virtual Ethernet
─ MAC Addresses
• Virtual Storage
─ N_Port Id Virtualization
• Live Partition Mobility
─ Boot from SAN?
• Infrequently used alternatives
─ Virtual Media Library
─ backupios vs viosbr
─ Dynamic VLAN
─ Quality of Service
─ WWN Management
© 2008 IBM Corporation
© 2010 IBM Corporation
Questions?
James Nash
Virtual I/O Server �Beyond the BasicsTrademarksSlide Number 3AgendaSlide Number 5Enhancements added with v2.1.2 (Oct 2009)Enhancements to Live Partition Mobility (v2.1.2)Enhancements to Live Partition Mobility (v2.1.2)Enhancements to Live Partition Mobility (v2.1.2)Enhancements to Live Partition Mobility (v2.1.2)New VIO Server Commands (v2.1.2)New VIO Server Commands (v2.1.2)Slide Number 13NPIV support for FCoE (v2.1.3)VIO Support of AIX Runtime Expert (v2.1.3)New Flag for backupios command (v2.1.3)Slide Number 17Slide Number 18Slide Number 19Enhanced Virtual Networking (v2.2.0.11-FP24 SP01)Slide Number 21Slide Number 22Slide Number 23Additional DetailsVIO New Feature DatesSlide Number 26Virtual Networking - OverviewVirtual Networking – Shared Ethernet AdaptersVirtual Networking – Integrated Virtual EthernetIVE Options with POWER7Virtual Networking – Integrated Virtual EthernetVirtual Networking – Integrated Virtual EthernetVirtual Networking – Dynamic VLANsOther Dynamic OptionsVirtual Networking – Specify a MAC AddressVirtual Networking – Specify a MAC AddressVirtual Networking – Specify a MAC AddressVirtual Networking – Quality of ServiceDouble Check YourselfVirtual Storage - OverviewVirtual Storage - vSCSIWhere did that disk go?Consider a Hub and Spoke DesignNPIV - Virtual FC Server/Client OverviewVirtual Storage – NPIV ConfigurationVirtual Storage – WWN Management Virtual Storage – WWN Management Activate the LPARThis Page Intentionally Left BlankThis Page Intentionally Left BlankManual Step?Anywhere to AnywhereVirtual Storage – NPIV simplify management?Live Partition Mobility - OverviewSlide Number 55Moving to POWER7Live Partition Mobility - ZoningLive Partition Mobility – Boot from SAN? Live Partition Mobility – SecuritySome advantages of Virtual Optical Media LibraryAdd Media – within IVMVirtual Optical Media on HMC Managed SystemsVirtual Optical MediaNew command – viosbr (with VIO 2.1.2)New command - viosbrNew command - viosbrNew command - viosbrNew command - viosbrNew command - viosbrNew command - viosbrNew command - viosbrviosbr or backupios �?� Slide Number 73Slide Number 74