PowerVM Virtualization on IBM System p: Introduction and Configuration Fourth Edition


На днях вышел новый Redbook посвященный виртуализации IBM System P: "PowerVM Virtualization on IBM System p: Introduction and Configuration Fourth Edition"

This IBM® Redbooks® publication provides an introduction to PowerVM™ virtualization technologies on IBM System p™ servers. The Advanced POWER™ Virtualization features and partitioning and virtualization capabilities of IBM Systems based on the Power Architecture® have been renamed to PowerVM.
PowerVM is a combination of hardware, firmware and software that provides CPU, network and disk virtualization. The main virtualization technologies are:

POWER6™ and POWER5™ hardware
POWER Hypervisor™
Virtual I/O Server

Though the PowerVM brand includes partitioning, software Linux® emulation, management software, and other offerings, this publication focuses on the virtualization technologies that are part of the PowerVM Standard and Enterprise Editions.
This publication is also designed to be an introduction guide for system administrators, providing instructions for:

Configuration and creation of partitions and resources on the HMC
Installation and configuration of the Virtual I/O Server
Creation and installation of virtualized partitions

While discussion is focussed on IBM System p hardware and AIX® , the basic concepts can be extended to the i5/OS® and Linux operating systems as well as the IBM System i™ hardware.
This edition has been updated with the new features available with the IBM POWER6 hardware and firmware.

Table of contents

Chapter 1. Introduction
Chapter 2. Virtualization technologies on System p servers
Chapter 3. Setting up virtualization: the basics
Chapter 4. Advanced virtualization configurations

Chapter 1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 The value of virtualization on System p. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 PowerVM on IBM System p servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.1 What is PowerVM? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.2 PowerVM Editions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.3 POWER Hypervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.4 Simultaneous multithreading. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2.5 Logical partitions and processor capacity . . . . . . . . . . . . . . . . . . . . . . 6
1.2.6 LPAR and dynamic reconfiguration. . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.7 Virtual Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.8 Virtual SCSI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.9 Virtual I/O Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.10 Integrated Virtualization Manager . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.11 Live Partition Mobility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2.12 Multiple operating system support . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.3 Capacity Upgrade on Demand for IBM System p . . . . . . . . . . . . . . . . . . . 14
1.4 Availability of virtualized systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.4.1 Serviceability in virtualized environments . . . . . . . . . . . . . . . . . . . . . 16
1.5 Security in a virtualized environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.6 Summary of PowerVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Chapter 2. Virtualization technologies on System p servers . . . . . . . . . . 19
2.1 Editions of the PowerVM feature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.1.1 PowerVM Standard Edition feature. . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.1.2 PowerVM Enterprise Edition feature . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.1.3 Summary of PowerVM feature codes . . . . . . . . . . . . . . . . . . . . . . . . 26
2.2 Introduction to the POWER Hypervisor. . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.2.1 POWER Hypervisor virtual processor dispatch. . . . . . . . . . . . . . . . . 28
2.2.2 POWER Hypervisor and virtual I/O . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.2.3 System port (virtual TTY/console support) . . . . . . . . . . . . . . . . . . . . 33
2.3 Overview of Micro-Partitioning technologies . . . . . . . . . . . . . . . . . . . . . . . 33
2.3.1 Micro-partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.3.2 POWER5 physical shared-processor pool . . . . . . . . . . . . . . . . . . . . 40
2.3.3 POWER6 Multiple Shared-Processor Pools . . . . . . . . . . . . . . . . . . . 44
2.3.4 Examples of Multiple Shared-Processor Pools . . . . . . . . . . . . . . . . . 58
2.3.5 Shared dedicated capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
2.4 Virtual I/O Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
2.4.1 Supported platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
2.4.2 Storage virtualization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
2.4.3 Shared Ethernet Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
2.4.4 Network security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
2.4.5 Command line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
2.4.6 Hardware Management Console integration. . . . . . . . . . . . . . . . . . . 68
2.4.7 System Planning Tool support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
2.4.8 Performance Toolbox support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
2.4.9 Integrated Virtualization Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
2.4.10 Tivoli support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
2.5 Integrated Virtualization Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
2.5.1 IVM setup guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
2.5.2 Partition configuration with IVM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
2.6 Virtual SCSI introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
2.6.1 Partition access to virtual SCSI devices . . . . . . . . . . . . . . . . . . . . . . 77
2.6.2 General virtual SCSI considerations . . . . . . . . . . . . . . . . . . . . . . . . . 82
2.7 Virtual and Shared Ethernet introduction . . . . . . . . . . . . . . . . . . . . . . . . . 84
2.7.1 Virtual LAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
2.7.2 Inter-partition networking with virtual Ethernet . . . . . . . . . . . . . . . . . 92
2.7.3 Sharing physical Ethernet adapters . . . . . . . . . . . . . . . . . . . . . . . . . 93
2.7.4 Virtual and Shared Ethernet configuration example . . . . . . . . . . . . . 98
2.7.5 PowerVM Enterprise Edition and virtual Ethernet . . . . . . . . . . . . . . 103
2.8 Linux virtual I/O concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
2.8.1 Linux device drivers for IBM System p virtual devices . . . . . . . . . . 105
2.8.2 Linux as a VIO client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
2.8.3 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
2.8.4 Further reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
2.9 Software licensing in a virtualized environment . . . . . . . . . . . . . . . . . . . 110
2.9.1 Software licensing methods for UNIX operating systems . . . . . . . . 111
2.9.2 Licensing factors in a virtualized system. . . . . . . . . . . . . . . . . . . . . 111
2.9.3 Capacity capping of LPARs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
2.9.4 License planning and license provisioning of IBM software . . . . . . 115
2.9.5 Sub-capacity licensing for IBM software . . . . . . . . . . . . . . . . . . . . . 117
2.9.6 Linux operating system licensing . . . . . . . . . . . . . . . . . . . . . . . . . . 119
2.10 Introduction to simultaneous multithreading . . . . . . . . . . . . . . . . . . . . . 119
2.10.1 POWER processor SMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
2.10.2 SMT and AIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
2.10.3 SMT control in Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
2.10.4 Capacity Upgrade on Demand . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
2.10.5 Instruction retry recovery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
2.10.6 Dynamic processor de-allocation and processor sparing . . . . . . . 127
2.10.7 Dynamic resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
2.10.8 Shared processor considerations . . . . . . . . . . . . . . . . . . . . . . . . . 129
2.11 Integrated Virtual Ethernet overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Chapter 3. Setting up virtualization: the basics . . . . . . . . . . . . . . . . . . . . 135
3.1 Getting started. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
3.1.1 Command line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
3.1.2 Hardware resources managed . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
3.1.3 Software packaging and support. . . . . . . . . . . . . . . . . . . . . . . . . . . 141
3.2 Virtual I/O Server enhancements and updates . . . . . . . . . . . . . . . . . . . . 143
3.2.1 Tracking the latest virtualization enhancements . . . . . . . . . . . . . . . 143
3.2.2 Updating the Virtual I/O Server using fix packs. . . . . . . . . . . . . . . . 154
3.3 Creating a Virtual I/O Server partition . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
3.3.1 Defining the Virtual I/O Server partition. . . . . . . . . . . . . . . . . . . . . . 155
3.4 Virtual I/O Server software installation . . . . . . . . . . . . . . . . . . . . . . . . . . 175
3.5 Basic Virtual I/O Server scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
3.5.1 Creating a Shared Ethernet Adapter . . . . . . . . . . . . . . . . . . . . . . . . 181
3.5.2 Defining virtual disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
3.5.3 Virtual SCSI optical devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
3.5.4 Mirroring the Virtual I/O Server rootvg . . . . . . . . . . . . . . . . . . . . . . 197
3.5.5 Creating client partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
3.5.6 AIX client partition installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
3.5.7 Dynamic partitioning for virtual SCSI devices . . . . . . . . . . . . . . . . . 216
3.5.8 Dedicated donating processors. . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
3.6 Interaction with UNIX client partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
3.6.1 Virtual SCSI resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
3.6.2 Virtual Ethernet resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
3.6.3 Simplification by using system plans and System Planning Tool . . 224
Chapter 4. Advanced virtualization configurations . . . . . . . . . . . . . . . . . 245
4.1 Providing continuous availability for virtual I/O . . . . . . . . . . . . . . . . . . . . 246
4.2 Virtual SCSI redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
4.2.1 MPIO in the client partition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
4.2.2 MPIO in the Virtual I/O Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
4.2.3 LVM mirroring in the client partition. . . . . . . . . . . . . . . . . . . . . . . . . 254
4.3 Shared Ethernet redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
4.3.1 Shared Ethernet Adapter failover . . . . . . . . . . . . . . . . . . . . . . . . . . 255
4.3.2 Network Interface Backup in the client partition . . . . . . . . . . . . . . . 258
4.3.3 When to use SEA failover or Network Interface Backup. . . . . . . . . 259
4.3.4 Using Link Aggregation on the Virtual I/O Server . . . . . . . . . . . . . . 261
4.4 System maintenance with dual Virtual I/O Servers . . . . . . . . . . . . . . . . . 263
4.5 Separating and balancing disk and network traffic . . . . . . . . . . . . . . . . . 265
4.6 Scenario 1: Shared Ethernet Adapter failover . . . . . . . . . . . . . . . . . . . . . 267
4.6.1 Configuring Shared Ethernet Adapter failover . . . . . . . . . . . . . . . . 268
4.7 Scenario 2: Network Interface Backup in the client. . . . . . . . . . . . . . . . . 273
4.7.1 Configuring Network Interface Backup . . . . . . . . . . . . . . . . . . . . . . 274
4.7.2 Testing Network Interface Backup . . . . . . . . . . . . . . . . . . . . . . . . . 276
4.8 Scenario 3: MPIO in the client with SAN. . . . . . . . . . . . . . . . . . . . . . . . . 278
4.8.1 Configuring MPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
4.8.2 Configuring MPIO in the client partitions. . . . . . . . . . . . . . . . . . . . . 285
4.8.3 Testing MPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
4.9 Scenario 4: LVM mirroring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
4.9.1 Configuring LVM mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
4.9.2 Testing LVM mirroring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
4.10 Linux on POWER network installation. . . . . . . . . . . . . . . . . . . . . . . . . . 299
4.10.1 Using an AIX server for Linux installation . . . . . . . . . . . . . . . . . . . 300
4.10.2 Using a Linux installation server for installation . . . . . . . . . . . . . . 301
4.11 Using Linux on POWER with two Virtual I/O Servers . . . . . . . . . . . . . . 302
4.11.1 Ethernet connection bonding . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
4.11.2 Software RAID mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
4.11.3 Device mapper multipath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
4.12 Configuring Multiple Shared-Processor Pools. . . . . . . . . . . . . . . . . . . . 311
4.12.1 Shared-Processor Pool management using the HMC GUI. . . . . . 313
4.12.2 Shared-Processor Pool management using the command line . . 318
4.13 Extending VLANs into virtual networks . . . . . . . . . . . . . . . . . . . . . . . . . 320
4.13.1 POWER Hypervisor switch implementation . . . . . . . . . . . . . . . . . 321
4.13.2 Scenario for setting up a VLAN. . . . . . . . . . . . . . . . . . . . . . . . . . . 323
4.13.3 Configuring the client partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . 325
4.13.4 Configuring the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . . . 326
4.13.5 Ensuring VLAN tags are not stripped on the Virtual I/O Server . . 328
4.13.6 Configuring the Shared Ethernet Adapter for VLAN use. . . . . . . . 328
4.13.7 Extending multiple VLANs into client partitions. . . . . . . . . . . . . . . 330
4.13.8 Virtual Ethernet and SEA considerations . . . . . . . . . . . . . . . . . . . 332
4.14 Supported configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
4.14.1 Supported virtual SCSI configurations . . . . . . . . . . . . . . . . . . . . . 334
4.14.2 HACMP for virtual I/O clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
4.14.3 Concurrent disks in client partitions . . . . . . . . . . . . . . . . . . . . . . . 348
4.14.4 General Parallel Filesystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351

Скачать: http://www.redbooks.ibm.com/redbooks/pdfs/sg247940.pdf

Оставьте комментарий