More Related Content
Similar to IBM i client partitions concepts and implementation (20)
More from COMMON Europe (20)
IBM i client partitions concepts and implementation
- 1. Common Europe Conference – Vienna | June 2012
IBM i client partitions - concepts & implementation
Janus Hertz
Senior IT Specialist
IBM EMEA ETS Center of Competency for Power Systems
Rev. 10-06-2012 © 2012 IBM Corporation
- 2. Common Europe Conference – Vienna | June 2012
Abstract
In this session we will go through the concepts and
implementation steps for IBM i client partitions, when
hosted by an IBM i host partition. VIOS host
partitions will briefly be covered. We will also go
through a couple of real life customer case, to see
how this can be done in practice.
2 © 2012 IBM Corporation
- 3. Common Europe Conference – Vienna | June 2012
Agenda
• Overview iVirtualization
• New enhancments
• HMC based setup
• Things to consider
• Customer examples
3 © Copyright IBM Corporation 2011 © 2012 IBM Corporation
- 4. Common Europe Conference – Vienna | June 2012
Where Do I Start with Installing IBM I hosting clients on Power system?
HMC based
Same guide
Describes VIOS
hosting IBM i clients
• Latest version at:
http://www.ibm.com/systems/resources/systems_i_Virtualization_Open_Storage.pdf
© 2012 IBM Corporation
- 5. Common Europe Conference – Vienna | June 2012
IBM i Client LPAR Quick Install Guide
Author:
Peter G. Croes
IBM Nederland
peter_g_croes@nl.ibm.com
5 © 2012 IBM Corporation
- 6. Common Europe Conference – Vienna | June 2012
Virtual versus Physic Hardware Resources
Virtual I/O Physic I/O
IBM i LPAR IBM i LPAR
IBM i host Linux LPAR IBM i LPAR Linux LPAR
Virtuel SCSI
Virtuel Ethernet
IBM i host ASP function as SAN Each partition owns I/O
IBM i/AIX/Linux managed hardware
IBM i/AIX/Linux independend from
other partitions
© 2012 IBM Corporation
- 7. Common Europe Conference – Vienna | June 2012
IBM i Virtual Client Partitions
IBM i-based Virtualization aka “iVirtualization”
– IBM i partition uses I/O resources from another
IBM i partition
– Eliminates requirement to buy adapters and disk IBM i
drives for each IBM i partition IBM I Linux
AIX
– Supports simple creation of additional partitions
. e.g., for test and development Hypervisor
– Requires POWER6 (or later) systems with IBM i POWER
6.1 (or later)
– Requires PowerVM standard edition
– Can mix virtual and direct I/O in client (only HMC)
Platform support
– All POWER6 (and later) System models
(NOT PowerBlades or PureSystem)
Storage support
– Determined by host IBM i partition (SAN, EXP24,
integrated disk)
LPAR management
– HMC, (SDMC)
– VPM (virtual partition manager) with IBM i 7.1
TR3 (new in oct.2011) © 2012 IBM Corporation
- 8. Common Europe Conference – Vienna | June 2012
IBM i Host and Client Partitions: Overview
Requirements
POWER6/7 hardware
IBM I 6.1 (or later) on host
and client
PowerVM standard edition
required,
DASD
Hardware assigned to host
LPAR in HMC/SDMC
DASD can be integrated or
SAN
DASD virtualized as
NWSSTG objects
Optical
DVD drive in host LPAR
virtualized directly (OPTxx)
Networking
Network adapter (such as
IVE) and Virtual Ethernet
adapter in host LPAR
Virtual Ethernet adapter in
client LPAR
Tape virtualization
new from 7.1 TR2
© 2012 IBM Corporation
- 9. Common Europe Conference – Vienna | June 2012
Virtualization Enhancements
VIOS VIOS
1. IBM i 6.1 partition can host IBM i 6.1 IBM i 7.1 IBM i 6.1
IBM i 7.1 and 6.1 partitions POWER6 & POWER7
AIX and Linux partitions (SLES & RHEL)
iSCSI attached System x and BladeCenter
2. IBM i 7.1 partition can host
IBM i 7.1 and 6.1 partitions (SLES & RHEL)
VIOS VIOS
AIX and Linux partitions
IBM i 7.1 IBM i 7.1 IBM i 6.1
iSCSI attached System x and BladeCenter
POWER6 & POWER7
3. PowerVM VIOS can host
IBM i 7.1 and IBM i 6.1 partitions
AIX and Linux partitions (SLES & RHEL)
VIOS supports advanced virtualization
technologies including Active Memory VIOS
Sharing and NPIV
VIOS IBM i 7.1 IBM i 6.1
POWER6 & POWER7
© 2012 IBM Corporation
- 10. Common Europe Conference – Vienna | June 2012
iVirtualization Enhancements in IBM i 7.1 Technology Refreshes
Following the GA of IBM i 7.1, IBM i point / modification releases have been replaced by a new
release delivery mechanism called a Technology Refresh.
Technology Refreshes are also used to deliver new capabilities for iVirtualization (IBM i Host /
IBM i Client partition concept).
TR1: Support for embedded media changers (enabling unattended installs of IBM i Client
partitions)
TR2: IBM i to IBM i virtual tape support (info APAR II14615 lists supported devices and
required PTFs)
TR3: Ethernet layer-2 bridging and Virtual Partition Manager enhancement to create IBM i
partitions
Detailed information on Technology Refreshes can be found via
http://www.ibm.com/systems/support/i/planning/techrefresh/index.html
10 © 2012 IBM Corporation
- 11. Common Europe Conference – Vienna | June 2012
IBM i host to IBM i Client Virtual Tape Summary
Allows IBM i client partitions to use tape devices attached to IBM i server
partitions
– Client partition utilizes existing support for VIOS-hosted tape devices
– Server partition utilizes existing support for Linux & Windows virtual tape clients
– Error recovery & serviceability improvements
Only a subset of tape drives are supported for virtualization
– Physical tape drives only, no support for exporting tape image catalogs to IBM i clients
• LTO3/LTO4/LTO5
• DAT72/DAT160/DAT320
– IOPless attachment only, IOP attached tape drives are not supported by the IBM i client
– Tape library drives can only be virtualized when configured as a stand-
alone device, they are not supported while in library mode
11 © 2012 IBM Corporation
- 12. Common Europe Conference – Vienna | June 2012
System Requirements (as of 04/2011)
Server Partition Software Tape Device Hardware
– TS2230 HH-LTO3 SCSI drive
– IBM i 7.1 with Technology Refresh 2
– TS2240 HH-LTO4 SAS
– TS23240 LTO4 SAS
Client Partition Software – FC 5746 HH-LTO4 SAS
– IBM i 7.1 with TR2 + MF52103 – TS2250 HH-LTO5 SAS
– TS2350 LTO5 SAS
-- OR –
– FC 5638 HH-LTO5 SAS
– IBM i 7.1 + client support PTFs
– TS2900 in sequential mode with LTO4 or LTO5 SAS drives
-- OR –
– TS3100 in sequential mode with LTO3, LTO4 or LTO5 SAS/FC drives
– IBM i 6.1.1 + client support PTFs.
– TS3200 in sequential mode with LTO3, LTO4 or LTO5 SAS/FC drives
– FC 5907 DAT72 SAS
– FC 5619 DAT160 SAS
– FC 5661 DAT320 SAS
– 7206 Model 336 external SCSI DAT72 drive.
Info APAR: ”II14615 - SUPPORT OF CLIENT VIRTUAL TAPE DEVICES ON SYSTEM I”
– https://www-304.ibm.com/support/docview.wss?uid=nas2e654bc8dc47fcbed8625781e0041eb64
12 © 2012 IBM Corporation
- 13. Common Europe Conference – Vienna | June 2012
Network Virtualization with an IBM i Bridged Ethernet Adapter
IBM i Host i Client
Physical Ethernet adapter
10.10.10.35
LAN Phy
Eth Virtual Ethernet Adapter
Virtual LAN
connection CMN01
IVE Virtual Ethernet
Layer-2 bridge)
10.10.10.5 10.10.10.50
IBM i now provides the capability to share a physical network adapter by creating
a Layer-2 Virtual Ethernet bridge
– Bridges an internal VLAN switched managed by the POWER Hypervisor to the
external LAN through a physical Ethernet adapter.
Virtual Ethernet adapters in client IBM i partitions get direct access to outside
network.
Done though an option on the Hardware Management Console (HMC) or
automatically via VPM © 2012 IBM Corporation
- 14. Common Europe Conference – Vienna | June 2012
Comparison of hosting options
VIOS on VIOS on IBM i hosting a
POWER6/7 server POWER6/7 blade client partition
Minimum IBM i i 6.1 i 6.1 i 6.1 for IBM i client
level required? partition
Skills required VIOS, IBM i VIOS, IBM i IBM i
BladeCenter
Management HMC/SDMC or IVM* IVM or SDMC* HMC/SDMC or
interface VPM*
* certain models * certain models
* req. 7.1 TR3
Console used HMC or IVM* LAN console HMC or VPM: LAN
console
IBM i * mkvt
Storage options Integrated / FC / FC / SAS NWSSTG
FCoE
Physical adapter Optional No HMC: Optional
ownership VPM: No!
14 © 2012 IBM Corporation
- 16. Common Europe Conference – Vienna | June 2012
HMC Partition Creation
Virtual SCSI for the Host Partition
© 2012 IBM Corporation
- 17. Common Europe Conference – Vienna | June 2012
Using a HMC to create your virtual environment
Virtual Server SCSI
-Navigate to Systems Management – Servers
-Select the IBM i Host partition.
-Select Dynamic Logical Partitioning and click Virtual Adapters
Select Actions – Create – SCSI Adapter
IBM i Host IBM i Client
DDxx DDxx
NWSSTGs
Virtual
SCSI
OPTxx
DVD
DVD CMNxx
Virtual
IVE LAN
© 2012 IBM Corporation
- 18. Common Europe Conference – Vienna | June 2012
Using a HMC to create your virtual environment
Add Virtual SCSI Server adapter to partition profile to stay permanent
© 2012 IBM Corporation
- 19. Common Europe Conference – Vienna | June 2012
Using a HMC to create your virtual environment
WRKDHWRSC *CMN
© 2012 IBM Corporation
- 20. Common Europe Conference – Vienna | June 2012
Using a HMC to create your virtual environment
WRKDHWRSC – Resource Detail
© 2012 IBM Corporation
- 21. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
-Select System and partition - Click Configuration and Create Logical Partition
© 2012 IBM Corporation
- 22. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Partition Profile
© 2012 IBM Corporation
- 24. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Processing Settings
© 2012 IBM Corporation
- 25. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Memory Settings
© 2012 IBM Corporation
- 27. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Virtual Adapters
© 2012 IBM Corporation
- 28. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Virtual Adapters
© 2012 IBM Corporation
- 29. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- VIrtual Adapters
Must match the number from the Server SCSI Adapter
Pointing to the Client adapter
IBM i Host IBM i Client
DDxx DDxx
NWSSTGs
Virtual
SCSI
OPTxx
DVD
DVD CMNxx
Virtual
IVE LAN
Must match the number of the Hosting Server SCSI Adapter
© 2012 IBM Corporation
- 30. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Virtual Adapters – inclusive new adapter
© 2012 IBM Corporation
- 31. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Logical Host Ethernet Adapter
© 2012 IBM Corporation
- 32. Common Europe Conference – Vienna | June 2012
IBM i client partition creation – LHEA config
Select available logical port
1 LHEA per physical HEA per LPAR is
allowed
Additional LHEAs per physical port can
be enabled in the managed system’s
properties
32 © 2012 IBM Corporation
- 33. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Opticonnect Settings
© 2012 IBM Corporation
- 36. Common Europe Conference – Vienna | June 2012
HMC Partition Creation Wizard
- Profile Summary
© 2012 IBM Corporation
- 37. Common Europe Conference – Vienna | June 2012
Using a HMC to create your virtual environment
WRKDHWRSC *CMN
© 2012 IBM Corporation
- 38. Common Europe Conference – Vienna | June 2012
Using a HMC to create your virtual environment
WRKDHWRSC – Resource Detail
© 2012 IBM Corporation
- 39. Common Europe Conference – Vienna | June 2012
Setting up IBM i Virtual I/O Resources
Create Network Server Description (NWSD)
Create Network Storage Space (aka Virtual Disk)
Linking the virtual disks to the NWSD
Optionally create a Virtual Image Catalog
© 2012 IBM Corporation
- 52. Common Europe Conference – Vienna | June 2012
Install IBM i using virtual optical or real media
• The client partition will see all optical devices
presented by the server partition.
• This includes any physical or virtual optical
devices owned by the IBM i server partition.
• The client will not see any difference between
virtual or physical.
© 2012 IBM Corporation
- 53. Common Europe Conference – Vienna | June 2012
Next you need to activate the partition
From the HMC – Server management tab
–Select Activate
• Select Advanced Options
• Set IPL source to – D
• Set IPL Mode to Manual
–The partition will begin initialization. The hosting partition will
present the virtual optical device or devices and if a real optical
drive is assigned to the hosting partition it will be presented as
well.
–The client partition will locate a valid install or bootable media from
any of the optical devices it finds on the VSCSI connection.
• The rest of the install proceeds as normal, client partition will prompt
for ‘next media’. Go to the host partition and ‘mount’ the next media or
virtual media image.
© 2012 IBM Corporation
- 54. Common Europe Conference – Vienna | June 2012
IBM i V7R1 with TR2 as a host partition adds TAPE
In this example – ATS740 is a POWER7 - 720 system
Partition ATS740P1 owns all the IO resources: Disk, Optical and the Half-high LTO-5 Tape in the CEC
Client partitions will automatically see the tape – owned by RATSi00. To be used as a bootable resource – the
system save on tape must include PTF’s 6.1.1 MF52482 or 7.1 MF52479 permanently applied.
© 2012 IBM Corporation
- 55. Common Europe Conference – Vienna | June 2012
Backups for IBM i Clients
For full-system backup, the client storage spaces can be saved on the host IBM i partition
– Similar to AIX and Windows client partitions – ideal for disaster recovery
– File-level backup is not supported
– Storage spaces can be restored on another IBM i host
– Storage spaces can be located in IASP, Flash Copy can be used on IASP
You can use the following command to save a specific NWSSTG-obj:
SAV DEV('/QSYS.LIB/TAP0x.DEVD')
OBJ(('/QFPNWSSTG/virtual_disk_name'))
The accompanying restore command to restore a specific NWSSTG-obj is:
RST DEV('/QSYS.LIB/TAP0x.DEVD')
OBJ(('/QFPNWSSTG/virtual_disk_name'))
© 2012 IBM Corporation
- 56. Common Europe Conference – Vienna | June 2012
Things to consider
Client Virtual Tape
– Tape library drives can only be virtualized when configured as a stand-alone
device, they are not supported while in library mode
Considerations on number of storage spaces (virtual disks)
–Apprx. 4-12, leaving room for growth upto 16
Considerations on single or multiple virtual SCSI adapter pairs
–Needed if more the 16 virtual disks
Considerations on single or multiple disk pools (ASPs) in host lpars
–Multiple diskpools if many IO intensive IBM i client lpars
Considerations on memory pool for each NWSD (Client lpar)
IBM i host vs. VIOS
–External storage
–Skills
–New virtualization enhancements like Active Memory Sharing,
Suspend/Resume
56 © 2012 IBM Corporation
- 57. Common Europe Conference – Vienna | June 2012
Virtual Partition Manager (VPM)
Virtual Partition Manager (VPM) is a partition management tool that supports the
creation of partitions that use only virtual I/O and does not require the HMC,
SDMC or IVM.
In addition to being able to manage Linux guest partitions, the VPM now supports
creation and management of IBM i client partitions.
VPM function is available on POWER6® and POWER7™ Express Servers™ that
do not have an external management console.
Requirement IBM i 7.1 TR3 in host lpar
57 © 2012 IBM Corporation
- 58. Common Europe Conference – Vienna | June 2012
Where Do I Start with Installing IBM I hosting clients on Power system?
VPM based
58
http://www.redbooks.ibm.com/redpieces/abstracts/redp4806.html?Open
© 2012 IBM Corporation
- 59. Power Virtualization IBM i on IBM i iSCSI integrated Servers
Common Europe Conference – Vienna | June 2012
Multisupport, Denmark
www.multi-support.dk
• IBM Business Partner / ISV
• Software Solutions: Intelligent Document Management
• Power6 system 520-M25 (2 way), 18 HDD 140 GB, 16 GB
Ram
• 1 IBM I 6.1 host LPAR – acting only as host, no applications
• 3 IBM I 6.1 client LPARs
• 1 Production – Lotus Domino + ERP
• 1 Development – software solutions
• 1 Test – software solutions
• 1 SLES 10 – as test/Proof-of-concept
• 1 iSCSI attached Sytstem x 3500 running Windows Server
2008
VIOS
Power Hypervisor
59 © 2012 IBM Corporation
- 60. IBM i on IBM i Power Virtualization
Common Europe Conference – Vienna | June 2012
System & Metode, Denmark
www.system-method.com
• IBM Business Partner
• Software Solutions & Hosting company
• Power6 system 520-M15 (1 way), 6 HDD
• 1 IBM i 6.1 host LPAR – acting only as host, no applications
• 3 IBM i 6.1 client LPARs
• 1 Production
• 1 Development – software solutions
• 1 “Open” for community “iGruppen.org”
VIOS
Power Hypervisor
60 © 2012 IBM Corporation
- 61. Power Virtualization IBM i on IBM i
Common Europe Conference – Vienna | June 2012
Multiple small customers in Denmark
• Power System 520 / 720 type, 8-20 HDD
• 1 IBM i 6.1/7.1 host production lpar with ERP
• 1 IBM i 6.1/7.1 client lpar for test/development
VIOS
Power Hypervisor
61 © 2012 IBM Corporation
- 62. Common Europe Conference – Vienna | June 2012
Performance Capabilities Reference Guide
http://www-03.ibm.com/systems/i/advantages/perfmgmt/resource.html
62 © 2012 IBM Corporation
- 63. Common Europe Conference – Vienna | June 2012
Virtual Tape Configuration Objects Needed
Need to define vSCSI server adapter in the serving partition via HMC
Need to define vSCSI client adapter in the client partition via HMC
Need to create *NWSD on IBM i server partition pairing the vSCSI controller slot to
the client partition. Be sure to set power control to *NO
– CHGNWSD NWSD(MEDIA) RSRCNAME(CTL06) PARTITION(‘partition
name’) PWRCTL(*NO)
Vary on *NWSD
© 2012 IBM Corporation
- 64. Common Europe Conference – Vienna | June 2012
Create the virtual optical device if needed
Device will need to be varied on:
VRYCFG CFGOBJ(VOPT01) CFGTYPE(*DEV) STATUS(*ON)
© 2012 IBM Corporation
- 65. Common Europe Conference – Vienna | June 2012
Optionally - Create optical virtual image catalog
• Cannot use iNav or IBM System Director Navigator for IBM i
• Install media can be virtualized
© 2012 IBM Corporation
- 66. Common Europe Conference – Vienna | June 2012
Add DVD media to virtual image catalog
Once install media is loaded on Virtual Optical, it will be accessible to any client
partitions.
Client partitions will see all real or virtual optical drives owned by the hosting
partition.
If staging the virtual optical from physical media
If staging the virtual optical IFS
© 2012 IBM Corporation
- 67. Common Europe Conference – Vienna | June 2012
Mount the i-BASE (SLIC) DVD in one of the optical devices
© 2012 IBM Corporation
- 68. Common Europe Conference – Vienna | June 2012
Load virtual media in one of the virtual optical devices
© 2012 IBM Corporation