IBM PowerVM Virtualization Managing and Monitoring

7,391 views

Published on

Learn about the IBM PowerVM virtualization technology which is a combination of hardware and software that supports and manages the virtual environments on POWER5-,POWER5+, POWER6 and POWER7 based systems. It lowers energy cost through server consolidation, reduces cost of your existing infrastructure, and provides better management of the growth, complexity, and risk of your infrastructure. For more information on Power Systems, visit
http://ibm.co/Lx6hfc.

Visit the official Scribd Channel of IBM India Smarter Computing at http://bit.ly/VwO86R to get access to more documents.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
7,391
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
59
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

IBM PowerVM Virtualization Managing and Monitoring

  1. 1. Front coverIBM PowerVMVirtualization Managingand MonitoringProvides managing and monitoringbest practices focused on virtualizationCovers AIX, IBM i, and Linux forPower virtual I/O clientsIncludes Virtual I/OServer 2.2 enhancements Nicolas Guerin Jimi Inge Narutsugu Itoh Robert Miciovici Rajendra Patel Arthur Törökibm.com/redbooks
  2. 2. International Technical Support OrganizationIBM PowerVM Virtualization Managing andMonitoringMay 2012 SG24-7590-03
  3. 3. Note: Before using this information and the product it supports, read the information in “Notices” on page xxvii.Fourth Edition (May 2012)This edition applies to:Version 7, Release 1 of AIX (product number 5765-G98)Version 7, Release 1 of IBM i (product number 5770-SS1)Version 2, Release 2, Modification 10, Fixpack 24, Service pack 1 of the Virtual I/O ServerVersion 7, Release 7, Modification 2 of the HMCVersion EM350, release 85 of the POWER6 System FirmwareVersion AL720, release 80 of the POWER7 System Firmware© Copyright International Business Machines Corporation 2012. All rights reserved.Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADPSchedule Contract with IBM Corp.
  4. 4. Contents Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvii Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviii Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix The team who wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx Now you can become a published author, too! . . . . . . . . . . . . . . . . . . . . . . .xxxii Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxxii Stay connected to IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiii Summary of changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxv May 2012, Fourth Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxvPart 1. PowerVM virtualization management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 PowerVM Editions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1.1 PowerVM Express Edition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1.2 PowerVM Standard Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1.3 PowerVM Enterprise Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1.4 How to determine the PowerVM Edition . . . . . . . . . . . . . . . . . . . . . . . 9 1.1.5 Software licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.2 Maintenance strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.3 New features for Virtual I/O Server Version 2.2 . . . . . . . . . . . . . . . . . . . . 10 Chapter 2. Virtual storage management . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.1 Disk mapping options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.1.1 Physical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.1.2 Logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.1.3 File-backed devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.1.4 Logical units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2 Virtual optical devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.3 Virtual tape devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.3.1 Moving the virtual tape drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.3.2 Finding the partition that holds the virtual tape drive. . . . . . . . . . . . . 20© Copyright IBM Corp. 2012. All rights reserved. iii
  5. 5. 2.3.3 Unconfiguring a virtual tape drive for local use . . . . . . . . . . . . . . . . . 22 2.3.4 Unconfiguring a virtual tape drive to be moved . . . . . . . . . . . . . . . . . 22 2.4 Using file-backed virtual optical devices . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5 Mapping LUNs over vSCSI to hdisks . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.5.1 Naming conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 2.5.2 Virtual device slot numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2.5.3 Tracing a configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 2.6 Managing Shared Storage Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 2.6.1 Creating the shared storage pool . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 2.6.2 Adding physical volumes to the shared storage pool . . . . . . . . . . . . 50 2.6.3 Creating and mapping logical units . . . . . . . . . . . . . . . . . . . . . . . . . . 51 2.6.4 Tracing logical units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 2.6.5 Unmapping and removing logical units . . . . . . . . . . . . . . . . . . . . . . . 55 2.6.6 Managing VLAN tagging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 2.7 Replacing a disk on the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . . 57 2.7.1 Replacing an LV-backed disk in the mirroring environment . . . . . . . 58 2.7.2 Replacing a mirrored storage pool-backed disk . . . . . . . . . . . . . . . . 63 2.7.3 Replacing a disk in the shared storage pool . . . . . . . . . . . . . . . . . . . 67 2.8 Managing multiple storage security zones . . . . . . . . . . . . . . . . . . . . . . . . 68 2.9 Storage planning with migration in mind . . . . . . . . . . . . . . . . . . . . . . . . . . 70 2.9.1 Virtual adapter slot numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 2.9.2 SAN considerations for LPAR migration . . . . . . . . . . . . . . . . . . . . . . 72 2.9.3 Backing devices and virtual target devices . . . . . . . . . . . . . . . . . . . . 73 2.10 Managing N_Port ID virtualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 2.10.1 Managing virtual Fibre Channel adapters . . . . . . . . . . . . . . . . . . . . 75 2.10.2 Replacing a Fibre Channel adapter configured with NPIV . . . . . . . 77 2.10.3 Migrating to virtual Fibre Channel adapter environments . . . . . . . . 78 Chapter 3. Virtual network management. . . . . . . . . . . . . . . . . . . . . . . . . . . 93 3.1 Modifying IP addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 3.1.1 Virtual I/O Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 3.1.2 Client partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 3.2 Modifying VLANs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 3.2.1 Process overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 3.2.2 Hardware Management Console . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 3.2.3 Virtual I/O Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 3.2.4 Client partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 3.3 Modifying MAC addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 3.3.1 Hardware Management Console . . . . . . . . . . . . . . . . . . . . . . . . . . 106 3.3.2 Operating system MAC modifications . . . . . . . . . . . . . . . . . . . . . . . 109 3.4 Managing the mapping of network devices . . . . . . . . . . . . . . . . . . . . . . . 114 3.4.1 Virtual network adapters and VLANs . . . . . . . . . . . . . . . . . . . . . . . 115 3.4.2 Virtual device slot numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115iv IBM PowerVM Virtualization Managing and Monitoring
  6. 6. 3.4.3 Tracing a configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1153.5 SEA threading on the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . . . 1213.6 Tuning network throughput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 3.6.1 Network Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 3.6.2 Operating system device configuration . . . . . . . . . . . . . . . . . . . . . . 123 3.6.3 Tuning network payloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 3.6.4 Payload tuning examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 3.6.5 Payload tuning verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 3.6.6 TCP checksum offload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 3.6.7 Largesend option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1363.7 Shared Ethernet Adapter failover with Load Sharing . . . . . . . . . . . . . . . 1383.8 Quality of Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 3.8.1 Strict mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 3.8.2 Loose mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 3.8.3 Setting up QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 3.8.4 General rules for setting modes for QoS. . . . . . . . . . . . . . . . . . . . . 1493.9 Denial of Service hardening . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 3.9.1 Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149Chapter 4. Virtual I/O Server security . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1514.1 Network security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 4.1.1 Stopping network services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 4.1.2 Setting up the firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 4.1.3 Enabling ping through the firewall . . . . . . . . . . . . . . . . . . . . . . . . . . 155 4.1.4 Security hardening rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 4.1.5 DoS hardening . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1574.2 The Virtual I/O Server as an LDAP client . . . . . . . . . . . . . . . . . . . . . . . . 157 4.2.1 Creating a key database file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 4.2.2 Configuring the LDAP server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 4.2.3 Configuring the Virtual I/O Server as an LDAP client . . . . . . . . . . . 1704.3 Network Time Protocol configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 1724.4 Setting up Kerberos on the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . 1734.5 Managing users. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 4.5.1 Creating a system administrator account . . . . . . . . . . . . . . . . . . . . 176 4.5.2 Creating a service representative (SR) account . . . . . . . . . . . . . . . 177 4.5.3 Creating a read-only account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 4.5.4 Checking the global command log (gcl) . . . . . . . . . . . . . . . . . . . . . 1784.6 Role-based access control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 4.6.1 Authorizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 4.6.2 Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 4.6.3 Privileges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 4.6.4 Using role-based access control . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 Contents v
  7. 7. Chapter 5. Virtual I/O Server maintenance . . . . . . . . . . . . . . . . . . . . . . . . 193 5.1 Installing or migrating to Virtual I/O Server Version 2.x. . . . . . . . . . . . . . 194 5.1.1 Installing Virtual I/O Server Version 2.2.1.0 . . . . . . . . . . . . . . . . . . 195 5.1.2 Migrating from an HMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 5.1.3 Migrating from a DVD that is managed by an HMC . . . . . . . . . . . . 198 5.1.4 Migrating from a DVD that is managed by an IVM . . . . . . . . . . . . . 208 5.2 Virtual I/O server back up strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 5.2.1 Backing up external device configuration . . . . . . . . . . . . . . . . . . . . 211 5.2.2 Backing up HMC resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211 5.2.3 Backing up IVM resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 5.2.4 Backing up operating systems from the client logical partitions . . . 212 5.2.5 Backing up the Virtual I/O Server operating system . . . . . . . . . . . . 213 5.3 Scheduling backups of the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . 214 5.4 Backing up the Virtual I/O Server operating system . . . . . . . . . . . . . . . . 215 5.4.1 Backing up to tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 5.4.2 Backing up to a DVD-RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 5.4.3 Backing up to a remote file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 5.5 Backing up user-defined virtual devices . . . . . . . . . . . . . . . . . . . . . . . . . 221 5.5.1 Backing up user-defined virtual devices using viosbr . . . . . . . . . . . 222 5.5.2 Scheduling regular backups using the viosbr command . . . . . . . . . 223 5.6 Backing up user-defined virtual devices using backupios . . . . . . . . . . . . 223 5.6.1 Backing up using IBM Tivoli Storage Manager . . . . . . . . . . . . . . . . 229 5.7 Restoring the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 5.7.1 Restoring the HMC configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 231 5.7.2 Restoring other IT infrastructure devices . . . . . . . . . . . . . . . . . . . . 231 5.7.3 Restoring the Virtual I/O Server operating system . . . . . . . . . . . . . 231 5.7.4 Recovering user-defined virtual devices and disk structure . . . . . . 241 5.7.5 Restoring the Virtual I/O Server client operating system . . . . . . . . 246 5.8 Rebuilding the Virtual I/O Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 5.8.1 Rebuilding the SCSI configuration . . . . . . . . . . . . . . . . . . . . . . . . . 249 5.8.2 Rebuilding the network configuration . . . . . . . . . . . . . . . . . . . . . . . 252 5.9 Updating the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 5.9.1 Updating a single Virtual I/O Server environment . . . . . . . . . . . . . . 254 5.9.2 Updating a dual Virtual I/O Server environment . . . . . . . . . . . . . . . 256 5.10 Updating Virtual I/O Server adapter firmware . . . . . . . . . . . . . . . . . . . . 266 5.11 Error logging on the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . . . 281 5.11.1 Redirecting error logs to other servers . . . . . . . . . . . . . . . . . . . . . 283 5.11.2 Troubleshooting error logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 5.12 VM Storage Snapshots/Rollback. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 Chapter 6. Dynamic operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 6.1 Multiple Shared Processor Pools management . . . . . . . . . . . . . . . . . . . 288 6.2 Dynamic LPAR operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293vi IBM PowerVM Virtualization Managing and Monitoring
  8. 8. 6.2.1 Adding and removing processors dynamically . . . . . . . . . . . . . . . . 293 6.2.2 Adding memory dynamically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 6.2.3 Removing memory dynamically . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 6.2.4 Adding physical adapters dynamically . . . . . . . . . . . . . . . . . . . . . . 301 6.2.5 Moving physical adapters dynamically . . . . . . . . . . . . . . . . . . . . . . 304 6.2.6 Removing physical adapters dynamically . . . . . . . . . . . . . . . . . . . . 309 6.2.7 Adding virtual adapters dynamically . . . . . . . . . . . . . . . . . . . . . . . . 311 6.2.8 Removing virtual adapters dynamically . . . . . . . . . . . . . . . . . . . . . 314 6.2.9 Removing or replacing a PCI Hot Plug adapter . . . . . . . . . . . . . . . 3166.3 Dynamic LPAR operations on Linux for Power . . . . . . . . . . . . . . . . . . . . 317 6.3.1 Service and productivity tools for Linux for Power . . . . . . . . . . . . . 3176.4 Dynamic LPAR operations on the Virtual I/O Server. . . . . . . . . . . . . . . . 332 6.4.1 Replacing Ethernet adapters on the Virtual I/O Server . . . . . . . . . . 332 6.4.2 Replacing a Fibre Channel adapter on the Virtual I/O Server . . . . . 335Chapter 7. PowerVM Live Partition Mobility . . . . . . . . . . . . . . . . . . . . . . . 3397.1 PowerVM Live Partition Mobility requirements . . . . . . . . . . . . . . . . . . . . 340 7.1.1 HMC requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 7.1.2 Common system requirements checklist . . . . . . . . . . . . . . . . . . . . 341 7.1.3 Destination system requirements checklist . . . . . . . . . . . . . . . . . . . 341 7.1.4 Migrating partition requirements checklist . . . . . . . . . . . . . . . . . . . . 342 7.1.5 Active and inactive migrations checklist . . . . . . . . . . . . . . . . . . . . . 3427.2 Managing a live partition migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 7.2.1 The migration validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 7.2.2 Validation and migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 7.2.3 How to fix missing requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . 3477.3 Live Partition Mobility and Live Application Mobility . . . . . . . . . . . . . . . . 348Chapter 8. Partition Suspend and Resume. . . . . . . . . . . . . . . . . . . . . . . . 3518.1 Listing volumes in the reserved storage device pool. . . . . . . . . . . . . . . . 3538.2 Adding volume to the reserved storage device pool . . . . . . . . . . . . . . . . 3548.3 Removing a volume from the reserved storage device pool . . . . . . . . . . 3588.4 Suspending a partition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3618.5 Shutting down a suspended partition . . . . . . . . . . . . . . . . . . . . . . . . . . . 3638.6 Recovering a suspended or resumed partition . . . . . . . . . . . . . . . . . . . . 3658.7 Correcting validation errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366Chapter 9. System Planning Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3699.1 Sample scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3709.2 Preparation recommendation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3719.3 Planning the configuration with SPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3729.4 Initial setup checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381Chapter 10. Automated management . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 Contents vii
  9. 9. 10.1 Using System Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386 10.2 Using the HMC command line interface . . . . . . . . . . . . . . . . . . . . . . . . 387 10.2.1 Configuring the Secure Shell interface . . . . . . . . . . . . . . . . . . . . . 387 10.2.2 Client configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 10.2.3 Initial login and shell conventions . . . . . . . . . . . . . . . . . . . . . . . . . 390 10.2.4 Basic reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391 10.2.5 Modifying the power state of partitions and systems . . . . . . . . . . 391 10.2.6 Modifying profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 10.2.7 Dynamic LPAR operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 10.3 Scheduling jobs on the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . 393 Chapter 11. High-level management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 11.1 Systems Director overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396 11.1.1 Plug-ins included with IBM Systems Director . . . . . . . . . . . . . . . . 397 11.1.2 Plug-ins for Systems Director . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398 11.1.3 IBM Systems Director editions . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 11.1.4 Choosing the management level for managed systems . . . . . . . . 401 11.2 IBM Systems Director installation on AIX . . . . . . . . . . . . . . . . . . . . . . . 402 11.3 Log on to IBM Systems Director . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405 11.4 Preparing managed systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406 11.4.1 Hardware Management Console . . . . . . . . . . . . . . . . . . . . . . . . . 407 11.4.2 Virtual I/O Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408 11.4.3 Power Systems servers running AIX. . . . . . . . . . . . . . . . . . . . . . . 408 11.4.4 Power Systems servers running IBM i . . . . . . . . . . . . . . . . . . . . . 410 11.4.5 Power Systems servers running Linux . . . . . . . . . . . . . . . . . . . . . 412 11.5 Discover managed systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412 11.6 Collect inventory data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 11.7 View Managed resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422 11.8 Power Systems Management summary . . . . . . . . . . . . . . . . . . . . . . . . 423 11.9 IBM Systems Director VMControl plug-in summary . . . . . . . . . . . . . . . 426 11.10 Manage Virtual I/O Server with IBM Systems Director . . . . . . . . . . . . 430 11.10.1 Create a virtual server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430 11.10.2 Show Virtual adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432 11.10.3 Topology map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434 11.10.4 Inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435 11.10.5 Monitor resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436 11.11 IBM Systems Director Active Energy Manager plug-in . . . . . . . . . . . . 439 11.11.1 Basic principles of power management . . . . . . . . . . . . . . . . . . . 439 11.11.2 Features of EnergyScale that can achieve the basic principles . 439Part 2. PowerVM virtualization monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441 Chapter 12. Virtual I/O Server monitoring agents . . . . . . . . . . . . . . . . . . 443 12.1 IBM Tivoli Monitoring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444viii IBM PowerVM Virtualization Managing and Monitoring
  10. 10. 12.1.1 What to monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444 12.1.2 VIOS Premium agent configuration. . . . . . . . . . . . . . . . . . . . . . . . 445 12.1.3 CEC Base agent configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 446 12.1.4 Using the Tivoli Enterprise Portal . . . . . . . . . . . . . . . . . . . . . . . . . 448 12.1.5 Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45712.2 Configuring the IBM Tivoli Storage Manager client . . . . . . . . . . . . . . . . 45712.3 IBM Tivoli Usage and Accounting Manager agent . . . . . . . . . . . . . . . . 45812.4 IBM TotalStorage Productivity Center . . . . . . . . . . . . . . . . . . . . . . . . . . 46012.5 IBM Tivoli Application Dependency Discovery Manager . . . . . . . . . . . . 464Chapter 13. Monitoring global system resource allocations . . . . . . . . . 46513.1 Hardware Management Console monitoring . . . . . . . . . . . . . . . . . . . . . 466 13.1.1 Partition properties monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . 467 13.1.2 HMC hardware information monitoring . . . . . . . . . . . . . . . . . . . . . 467 13.1.3 HMC virtual storage monitoring. . . . . . . . . . . . . . . . . . . . . . . . . . . 469 13.1.4 HMC virtual network monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . 471 13.1.5 HMC shell scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47213.2 Integrated Virtualization Manager monitoring . . . . . . . . . . . . . . . . . . . . 47313.3 Systems Director Management Console monitoring . . . . . . . . . . . . . . . 47513.4 Monitoring resource allocations from a partition . . . . . . . . . . . . . . . . . . 476 13.4.1 Monitoring CPU and memory allocations in AIX . . . . . . . . . . . . . . 476 13.4.2 Monitoring CPU and memory allocations in Linux . . . . . . . . . . . . 477Chapter 14. Monitoring commands on the Virtual I/O Server . . . . . . . . . 47914.1 Global system monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48014.2 Device inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48214.3 Storage monitoring and listing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48214.4 Shared storage pool monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483 14.4.1 Cluster information commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 483 14.4.2 Pool information commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48314.5 Network monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483Chapter 15. CPU monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48515.1 CPU-related terminology and metrics . . . . . . . . . . . . . . . . . . . . . . . . . . 486 15.1.1 Common to POWER5 or later systems. . . . . . . . . . . . . . . . . . . . . 486 15.1.2 Specific to POWER6 or later systems. . . . . . . . . . . . . . . . . . . . . . 48915.2 CPU metrics computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492 15.2.1 Processor Utilization of Resources Register . . . . . . . . . . . . . . . . . 492 15.2.2 PURR-based metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493 15.2.3 System-wide tools modified for virtualization . . . . . . . . . . . . . . . . 495 15.2.4 Scaled Processor Utilization of Resources Register (SPURR) . . . 49515.3 Cross-partition CPU monitoring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497 15.3.1 Monitoring from AIX and Virtual I/O Server . . . . . . . . . . . . . . . . . . 497 15.3.2 Cross-partition CPU monitoring from IBM i . . . . . . . . . . . . . . . . . . 504 Contents ix
  11. 11. 15.4 AIX and Virtual I/O Server CPU monitoring. . . . . . . . . . . . . . . . . . . . . . 506 15.4.1 Monitoring using topas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507 15.4.2 Monitoring using nmon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510 15.4.3 Monitoring using vmstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513 15.4.4 Monitoring using lparstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514 15.4.5 Monitoring using sar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516 15.4.6 Monitoring using mpstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518 15.4.7 Report generation for CPU utilization . . . . . . . . . . . . . . . . . . . . . . 519 15.5 IBM i CPU monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526 15.6 Linux for Power CPU monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532 Chapter 16. Memory monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535 16.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536 16.2 Dedicated memory partition monitoring. . . . . . . . . . . . . . . . . . . . . . . . . 536 16.2.1 AIX and Virtual I/O Server memory monitoring . . . . . . . . . . . . . . . 536 16.2.2 IBM i memory monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538 16.2.3 Linux for Power memory monitoring . . . . . . . . . . . . . . . . . . . . . . . 542 16.3 Shared memory partition monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . 543 16.3.1 HMC and IVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543 16.3.2 Monitoring IBM i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546 16.3.3 Monitoring AIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549 16.3.4 Monitoring Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558 16.4 Monitoring Active Memory Expansion . . . . . . . . . . . . . . . . . . . . . . . . . . 559 16.4.1 The amepat command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559 16.4.2 The topas command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561 16.4.3 The vmstat command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562 16.4.4 The lparstat command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563 16.4.5 The svmon command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564 Chapter 17. Virtual storage monitoring. . . . . . . . . . . . . . . . . . . . . . . . . . . 565 17.1 Virtual I/O Server storage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . 566 17.1.1 Checking storage health on the Virtual I/O Server . . . . . . . . . . . . 566 17.1.2 Monitoring storage performance on the Virtual I/O Server . . . . . . 566 17.1.3 Shared Storage Pools monitoring . . . . . . . . . . . . . . . . . . . . . . . . . 567 17.2 AIX virtual I/O client storage monitoring . . . . . . . . . . . . . . . . . . . . . . . . 569 17.2.1 Checking storage health on the AIX virtual I/O client . . . . . . . . . . 570 17.2.2 Monitoring storage performance on the AIX virtual I/O client . . . . 573 17.2.3 IBM i virtual I/O client storage monitoring . . . . . . . . . . . . . . . . . . . 574 17.2.4 Checking storage health on the IBM i virtual I/O client . . . . . . . . . 574 17.2.5 Monitoring storage performance on the IBM i virtual I/O client . . . 576 17.3 Linux for Power virtual I/O client storage monitoring . . . . . . . . . . . . . . . 579 Chapter 18. Virtual network monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . 581 18.1 Monitoring the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582x IBM PowerVM Virtualization Managing and Monitoring
  12. 12. 18.1.1 Error logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582 18.1.2 IBM Tivoli Monitoring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582 18.1.3 Testing your configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58218.2 Virtual I/O Server networking monitoring. . . . . . . . . . . . . . . . . . . . . . . . 587 18.2.1 Describing the scenario. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 588 18.2.2 Advanced SEA monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598 18.2.3 Using Topas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60418.3 AIX client network monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60418.4 IBM i client network monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 604 18.4.1 Checking network health on the IBM i virtual I/O client . . . . . . . . . 605 18.4.2 Monitoring network performance on the IBM i virtual I/O client. . . 60618.5 Linux network monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608Chapter 19. Third-party monitoring tools for AIX and Linux. . . . . . . . . . 60919.1 The nmon utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 610 19.1.1 nmon on AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 19.1.2 nmon on Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 19.1.3 Additional nmon statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 19.1.4 Recording with the nmon tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61219.2 sysstat utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61319.3 Ganglia tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61319.4 Other third party tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614Appendix A. Sample script for disk and NIB network checking and recovery on AIX virtual clients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615Listing of the fixdualvio.ksh script. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618Abbreviations and acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627Other publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629How to get Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 631Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 631Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633 Contents xi
  13. 13. xii IBM PowerVM Virtualization Managing and Monitoring
  14. 14. Figures 2-1 Logical versus physical drive mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2-2 Setting maximum number of virtual adapters in a partition profile . . . . . . 32 2-3 IBM i SST Display Disk Configuration Status panel . . . . . . . . . . . . . . . . . 36 2-4 IBM i SST Display Disk Unit Details panel . . . . . . . . . . . . . . . . . . . . . . . . 37 2-5 IBM i partition profile virtual adapters configuration . . . . . . . . . . . . . . . . . 38 2-6 IBM i SST Logical Hardware Resources Associated with IOP . . . . . . . . . 41 2-7 IBM i SST Logical Hardware Resources disk unit serial numbers . . . . . . 42 2-8 IBM i SST Auxiliary Storage Hardware Resource Detail. . . . . . . . . . . . . . 43 2-9 AIX LVM mirroring environment with LV-backed virtual disks. . . . . . . . . . 58 2-10 AIX LVM mirroring with storage pool-backed virtual disks . . . . . . . . . . . 63 2-11 Create virtual SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 2-12 Slot numbers that are identical in the source and target system . . . . . . 71 2-13 LUN mapped to a physical Fibre Channel adapter . . . . . . . . . . . . . . . . . 79 2-14 Add Virtual Adapter to the vios1 partition . . . . . . . . . . . . . . . . . . . . . . . . 80 2-15 Create virtual Fibre Channel server adapter in the vios1 partition . . . . . 81 2-16 Set Adapter IDs in the vios1 partition . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 2-17 Add a virtual adapter to the NPIV partition . . . . . . . . . . . . . . . . . . . . . . . 83 2-18 Create virtual Fibre Channel client adapter in the NPIV partition . . . . . . 84 2-19 Set Adapter IDs in the NPIV partition . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 2-20 Add a new host port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 2-21 Remove a physical Fibre Channel adapter . . . . . . . . . . . . . . . . . . . . . . . 90 2-22 Select the adapter to be removed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 3-1 Dynamically adding a virtual adapter to a partition . . . . . . . . . . . . . . . . . . 99 3-2 Modifying an existing adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 3-3 Adding VLAN 200 to the additional VLANs field . . . . . . . . . . . . . . . . . . . 101 3-4 Defining a custom MAC address. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 3-5 MAC address format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 3-6 IBM i Display line description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 3-7 HMC Virtual Network Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 3-8 Virtual Ethernet adapter slot assignments . . . . . . . . . . . . . . . . . . . . . . . 117 3-9 IBM i Work with Communication Resources panel . . . . . . . . . . . . . . . . . 118 3-10 IBM i Display Resource Details panel . . . . . . . . . . . . . . . . . . . . . . . . . . 119 3-11 HMC IBMi partition properties panel . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 3-12 HMC virtual Ethernet adapter properties panel. . . . . . . . . . . . . . . . . . . 121 3-13 IBM i Work with TCP/IP Interface Status panel. . . . . . . . . . . . . . . . . . . 131 3-14 Send Data error. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 3-15 SEA failover Primary-Backup configuration . . . . . . . . . . . . . . . . . . . . . 139 3-16 SEA failover with Load Sharing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140© Copyright IBM Corp. 2012. All rights reserved. xiii
  15. 15. 4-1 The ikeyman program initial window . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 4-2 Create new key database window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 4-3 Creating the ldap_server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 4-4 Setting the key database password . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 4-5 Default certificate authorities available on the ikeyman program . . . . . . 161 4-6 Creating a self-signed certificate initial panel . . . . . . . . . . . . . . . . . . . . . 162 4-7 Self-signed certificate information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 4-8 Default directory information tree created by mksecldap command . . . . 165 5-1 Define the System Console. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 5-2 Installation and Maintenance main menu . . . . . . . . . . . . . . . . . . . . . . . . 201 5-3 Virtual I/O Server Migration Installation and Settings . . . . . . . . . . . . . . . 202 5-4 Change Disk Where You Want to Install. . . . . . . . . . . . . . . . . . . . . . . . . 203 5-5 Virtual I/O Server Migration Installation and Settings - start migration . . 204 5-6 Migration Confirmation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 5-7 Running migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 5-8 Set Terminal Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 5-9 Example of a System Plan generated from a managed system . . . . . . . 247 5-10 IBM i Work with TCP/IP Interface Status panel. . . . . . . . . . . . . . . . . . . 258 5-11 Virtual I/O client running MPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 5-12 Virtual I/O client partition software mirroring . . . . . . . . . . . . . . . . . . . . . 260 5-13 IBM i Display Disk Configuration Status panel . . . . . . . . . . . . . . . . . . . 261 5-14 IBM Fix Central website . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268 5-15 IBM Fix Central website Firmware and HMC . . . . . . . . . . . . . . . . . . . . 269 5-16 IBM Fix Central website Select by feature code . . . . . . . . . . . . . . . . . . 270 5-17 IBM Fix Central website Select device feature code . . . . . . . . . . . . . . . 270 5-18 IBM Fix Central website Select device firmware fixes. . . . . . . . . . . . . . 271 5-19 Diagnostics aids Task Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273 5-20 Diagnostics aids Microcode Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 5-21 Diagnostics aids Download Microcode . . . . . . . . . . . . . . . . . . . . . . . . . 275 5-22 Diagnostics aids resource selection list . . . . . . . . . . . . . . . . . . . . . . . . 276 5-23 Diagnostic aids install microcode notice . . . . . . . . . . . . . . . . . . . . . . . . 277 5-24 Diagnostics aids install microcode image source selection . . . . . . . . . 278 5-25 Diagnostics aids microcode level selection . . . . . . . . . . . . . . . . . . . . . . 279 5-26 Diagnostics aids install microcode success message. . . . . . . . . . . . . . 280 5-27 Diagnostic aids successful diagnostic test . . . . . . . . . . . . . . . . . . . . . . 281 6-1 Shared Processor Pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 6-2 Modifying Shared Processor pool attributes . . . . . . . . . . . . . . . . . . . . . . 290 6-3 Partitions assignment to Multiple Shared Processor Pools. . . . . . . . . . . 291 6-4 Assign a partition to a Shared Processor Pool . . . . . . . . . . . . . . . . . . . . 291 6-5 Comparing partition weights from different Shared Processor Pools . . . 292 6-6 Add or remove processor operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 6-7 Defining the amount of CPU processing units for a partition . . . . . . . . . 295 6-8 IBM i Work with System Activity panel . . . . . . . . . . . . . . . . . . . . . . . . . . 296xiv IBM PowerVM Virtualization Managing and Monitoring
  16. 16. 6-9 Add or remove memory operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2976-10 Changing the total amount of memory of the partition to 5 GB . . . . . . . 2986-11 Dynamic LPAR operation in progress . . . . . . . . . . . . . . . . . . . . . . . . . . 2986-12 Add or remove memory operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2996-13 Dynamically reducing 1 GB from a partition . . . . . . . . . . . . . . . . . . . . . 3006-14 LPAR overview menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3016-15 Add physical adapter operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3026-16 Select physical adapter to be added . . . . . . . . . . . . . . . . . . . . . . . . . . . 3036-17 I/O adapters properties for a managed system . . . . . . . . . . . . . . . . . . . 3046-18 Move or remove physical adapter operation . . . . . . . . . . . . . . . . . . . . . 3066-19 Selecting adapter in slot C2 to be moved to partition AIX_LPAR . . . . . 3076-20 Save current configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3086-21 Remove physical adapter operation . . . . . . . . . . . . . . . . . . . . . . . . . . . 3096-22 Select physical adapter to be removed . . . . . . . . . . . . . . . . . . . . . . . . . 3106-23 Add virtual adapter operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3116-24 Dynamically adding virtual SCSI adapter . . . . . . . . . . . . . . . . . . . . . . . 3126-25 Virtual SCSI adapter properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3136-26 Virtual adapters for an LPAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3146-27 Remove virtual adapter operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3156-28 Delete virtual adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3166-29 Adding a processor to a Linux partition. . . . . . . . . . . . . . . . . . . . . . . . . 3246-30 Increasing the number of virtual processors . . . . . . . . . . . . . . . . . . . . . 3256-31 DLPAR add or remove memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3296-32 DLPAR adding 2 GB memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3307-1 Partition Migration Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3447-2 Partition Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3457-3 Virtual Storage assignments selection . . . . . . . . . . . . . . . . . . . . . . . . . . 3467-4 Partition migration validation detailed information. . . . . . . . . . . . . . . . . . 3478-1 Reserved storage device pool management access menu . . . . . . . . . . 3538-2 Reserved storage device pool device list . . . . . . . . . . . . . . . . . . . . . . . . 3538-3 Edit pool operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3558-4 Reserved storage device pool management device . . . . . . . . . . . . . . . 3558-5 Reserved storage device pool management device list selection. . . . . . 3568-6 Reserved storage device pool management device selection . . . . . . . . 3578-7 Adding a device to the reserved storage device pool validation . . . . . . . 3588-8 Reserved storage device pool management. . . . . . . . . . . . . . . . . . . . . . 3598-9 Reserved storage device pool management device . . . . . . . . . . . . . . . . 3608-10 Removing a device from the reserved storage device pool validation . 3608-11 Starting the suspend operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3618-12 Options for suspend and resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3618-13 Activity status window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3628-14 Suspend and resume final status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3628-15 HMC operating status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 Figures xv
  17. 17. 8-16 Recovering a suspended partition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365 8-17 Partition recover operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366 9-1 The partition and slot numbering plan of virtual storage adapters . . . . . 370 9-2 The partition and slot numbering plan for virtual Ethernet adapters . . . . 371 9-3 The SPT Partition properties window . . . . . . . . . . . . . . . . . . . . . . . . . . . 372 9-4 The SPT Virtual SCSI window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 9-5 The SPT Edit Virtual Slots window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 9-6 System Planning Tool ready to be deployed. . . . . . . . . . . . . . . . . . . . . . 375 9-7 Deploy System Plan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 9-8 Deploy System Plan Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 9-9 The System Plan validation window . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 9-10 Partitions to Deploy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377 9-11 The Deployment Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 9-12 The Deployment Progress window . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379 9-13 Partition profiles deployed on the HMC. . . . . . . . . . . . . . . . . . . . . . . . . 380 10-1 Creating a system profile on the HMC . . . . . . . . . . . . . . . . . . . . . . . . . 386 10-2 The HMC Remote Command Execution menu . . . . . . . . . . . . . . . . . . . 387 11-1 IBM Systems Director management topology. . . . . . . . . . . . . . . . . . . . 400 11-2 IBM Systems Director login panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405 11-3 IBM Systems Director home window . . . . . . . . . . . . . . . . . . . . . . . . . . 406 11-4 HMC LAN Adapter Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407 11-5 System Discovery view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413 11-6 HMC discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414 11-7 Resource explorer group view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415 11-8 Basic virtualization topology view of the HMC . . . . . . . . . . . . . . . . . . . 416 11-9 View and collect inventory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 11-10 System selection for inventory collection . . . . . . . . . . . . . . . . . . . . . . 418 11-11 Scheduled inventory collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419 11-12 Active and scheduled jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420 11-13 All Operating Systems inventory view. . . . . . . . . . . . . . . . . . . . . . . . . 421 11-14 Resource explorer - Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422 11-15 Power Systems Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423 11-16 IBM i integrated management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424 11-17 VMControl home panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429 11-18 Platform managers and members view. . . . . . . . . . . . . . . . . . . . . . . . 430 11-19 Summary page for creating a virtual server . . . . . . . . . . . . . . . . . . . . 431 11-20 Virtual servers view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432 11-21 Virtual LAN Adapters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433 11-22 Virtual SCSI adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433 11-23 IBM Systems Director Topology Virtualization Basic . . . . . . . . . . . . . 434 11-24 All systems view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435 11-25 Inventory summary view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436 11-26 Virtualization monitors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437xvi IBM PowerVM Virtualization Managing and Monitoring
  18. 18. 11-27 CPU Utilization graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43812-1 Tivoli Enterprise Portal login using web browser . . . . . . . . . . . . . . . . . 44912-2 Tivoli Enterprise Portal login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45012-3 Storage Mappings Workspace selection . . . . . . . . . . . . . . . . . . . . . . . . 45112-4 ITM panel showing Storage Mappings . . . . . . . . . . . . . . . . . . . . . . . . . 45212-5 ITM panel showing Network Mappings . . . . . . . . . . . . . . . . . . . . . . . . . 45312-6 ITM window showing Top Resources Usage . . . . . . . . . . . . . . . . . . . . 45412-7 ITM window showing CPU Utilization . . . . . . . . . . . . . . . . . . . . . . . . . . 45512-8 ITM window showing System Storage Information . . . . . . . . . . . . . . . . 45612-9 ITM window showing Network Adapter Utilization . . . . . . . . . . . . . . . . 45713-1 Available servers managed by the HMC . . . . . . . . . . . . . . . . . . . . . . . . 46613-2 Configuring the displayed columns on the HMC . . . . . . . . . . . . . . . . . . 46613-3 Virtual adapters configuration in the partition properties. . . . . . . . . . . . 46713-4 Virtual I/O Server hardware information context menu . . . . . . . . . . . . . 46813-5 The Virtual I/O Server virtual SCSI topology window . . . . . . . . . . . . . . 46913-6 HMC Virtual Storage Management window . . . . . . . . . . . . . . . . . . . . . 47013-7 Virtual Network Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47113-8 Virtual Network Management - detailed information . . . . . . . . . . . . . . . 47213-9 IVM partitions monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47313-10 IVM virtual Ethernet configuration monitoring . . . . . . . . . . . . . . . . . . . 47413-11 IVM virtual storage configuration monitoring . . . . . . . . . . . . . . . . . . . . 47413-12 SDMC Virtual Storage Management. . . . . . . . . . . . . . . . . . . . . . . . . . 47515-1 16-core system with dedicated and shared CPUs . . . . . . . . . . . . . . . . 48715-2 A Multiple Shared Processor Pool example on POWER6 . . . . . . . . . . 49015-3 Shared Processor Pool attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49115-4 Per-thread PURR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49315-5 Dedicated partition’s Processor Sharing properties . . . . . . . . . . . . . . . 50015-6 IBM i, Allow performance information collection . . . . . . . . . . . . . . . . . . 50415-7 IBM Systems Director Navigator for i Logical Partitions Overview . . . . 50615-8 Using smitty topas for CPU utilization reporting . . . . . . . . . . . . . . . . . . 52015-9 Local CEC recording attributes window . . . . . . . . . . . . . . . . . . . . . . . . 52115-10 Report generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52215-11 Reporting Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52315-12 IBM i WRKSYSACT command output . . . . . . . . . . . . . . . . . . . . . . . . 52715-13 IBM i CPU Utilization and Waits Overview . . . . . . . . . . . . . . . . . . . . . 53115-14 The mpstat command output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53316-1 IBM i WRKSYSSTS command output. . . . . . . . . . . . . . . . . . . . . . . . . . 53816-2 IBM i System Director Navigator Page fault overview. . . . . . . . . . . . . . 54116-3 Displaying shared memory pool utilization using the HMC . . . . . . . . . . 54516-4 Displaying I/O entitled memory for a shared memory partition . . . . . . . 54617-1 AIX virtual I/O client using MPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57017-2 AIX virtual I/O client using LVM mirroring . . . . . . . . . . . . . . . . . . . . . . . 57217-3 IBM i mirroring across two Virtual I/O Servers . . . . . . . . . . . . . . . . . . . 575 Figures xvii
  19. 19. 17-4 IBM i WRKDSKSTS command output . . . . . . . . . . . . . . . . . . . . . . . . . 576 17-5 IBM i Navigator Disk Overview for System Disk Pool . . . . . . . . . . . . . . 578 17-6 iostat command output showing I/O output activity . . . . . . . . . . . . . . . . 579 17-7 iostat output with -the d flag and a 5 sec interval as a parameter. . . . . 580 18-1 Network monitoring testing scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . 588 18-2 IBM i Work with TCP/IP Interface Status panel. . . . . . . . . . . . . . . . . . . 605 18-3 IBM i Work with Configuration Status panel . . . . . . . . . . . . . . . . . . . . . 605 18-4 IBM i Work with Communication Resources panel . . . . . . . . . . . . . . . . 606 19-1 The nmon LPAR statistics report for a Linux partition . . . . . . . . . . . . . . 612xviii IBM PowerVM Virtualization Managing and Monitoring
  20. 20. Tables 1-1 PowerVM Editions components, editions, and hardware support . . . . . . . . 7 3-1 Required versions for dynamic VLAN modifications . . . . . . . . . . . . . . . . . 98 3-2 OSI seven layer network model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 3-3 Cap values for loose mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 4-1 Default open ports on Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . . . . . 152 4-2 Hosts in the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 4-3 Task and associated command to manage Virtual I/O Server users . . . 176 4-4 Authorizations corresponding to Virtual I/O Server commands . . . . . . . 180 4-5 RBAC commands and their descriptions . . . . . . . . . . . . . . . . . . . . . . . . 189 5-1 Virtual I/O Server backup and restore methods . . . . . . . . . . . . . . . . . . . 214 5-2 Commands to save information about Virtual I/O Server . . . . . . . . . . . . 227 5-3 Error log entry classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 6-1 Service and productivity tools description . . . . . . . . . . . . . . . . . . . . . . . . 318 7-1 Missing requirements for PowerVM Live Partition Mobility . . . . . . . . . . . 347 7-2 PowerVM Live Partition Mobility versus Live Application Mobility. . . . . . 349 8-1 Common Suspend and Resume validation errors . . . . . . . . . . . . . . . . . 366 11-1 IBM Systems Director editions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 11-2 Terms for IBM Systems Director . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425 11-3 Tools for monitoring resources in a virtualized environment . . . . . . . . . 442 12-1 TPC agent attributes, descriptions, and their values. . . . . . . . . . . . . . . 461 15-1 POWER5-based terminology and metrics . . . . . . . . . . . . . . . . . . . . . . 488 15-2 POWER6 or later systems specific terminology and metrics . . . . . . . . 491 15-3 IBM i CPU utilization guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529 16-1 QAPMSHRMP field details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546© Copyright IBM Corp. 2012. All rights reserved. xix
  21. 21. xx IBM PowerVM Virtualization Managing and Monitoring
  22. 22. Examples 2-1 Finding which LPAR is holding the tape drive using dsh . . . . . . . . . . . . . 21 2-2 Finding which LPAR is holding the optical drive using ssh . . . . . . . . . . . . 21 2-3 Checking the version of the Virtual I/O Server . . . . . . . . . . . . . . . . . . . . . 23 2-4 Checking whether any virtual media repository is already defined . . . . . . 23 2-5 List of available storage pools and defining a virtual media repository . . . 23 2-6 Creating a virtual optical media disk in the virtual media repository . . . . . 24 2-7 Creating an iso image from CD/DVD drive . . . . . . . . . . . . . . . . . . . . . . . . 24 2-8 Creating an optical virtual target device . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2-9 Loading the virtual media on the virtual target device. . . . . . . . . . . . . . . . 25 2-10 Checking the virtual optical device contents on a AIX client . . . . . . . . . . 26 2-11 Loading a new disk on the virtual media device . . . . . . . . . . . . . . . . . . . 26 2-12 The fget_config command for the DS4000 series. . . . . . . . . . . . . . . . . . 30 2-13 SAN storage listing on the Virtual I/O Server version 2.1 . . . . . . . . . . . . 30 2-14 Tracing virtual SCSI storage from Virtual I/O Server . . . . . . . . . . . . . . . 33 2-15 Tracing NPIV virtual storage from the Virtual I/O Server . . . . . . . . . . . . 34 2-16 List all disk mappings in a cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 2-17 Displaying the Virtual I/O Server device mapping . . . . . . . . . . . . . . . . . . 39 2-18 Virtual I/O Server hdisk to LUN tracing . . . . . . . . . . . . . . . . . . . . . . . . . . 40 2-19 Virtual I/O Server virtual to physical Fibre Channel adapter mapping . . 43 2-20 Brocade SAN switch nameserver registration information . . . . . . . . . . . 45 2-21 DS8000 DSCLI displaying the logged in host initiators. . . . . . . . . . . . . . 46 2-22 List of SCSI disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 2-23 Information of scsi1 adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 2-24 Device mapping information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 2-25 Creating the cluster with one node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 2-26 Adding nodes to a cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 2-27 Checking the status of the cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 2-28 Listing the cluster information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 2-29 List of physical volumes capable of being added . . . . . . . . . . . . . . . . . . 50 2-30 Adding the physical volume to the shared storage pool . . . . . . . . . . . . . 50 2-31 A list of the physical volumes in the shared storage pool . . . . . . . . . . . . 51 2-32 Listing the shared storage pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 2-33 Creating a thin and a thick logical unit . . . . . . . . . . . . . . . . . . . . . . . . . . 52 2-34 Mapping the logical unit to a vhost adapter. . . . . . . . . . . . . . . . . . . . . . . 52 2-35 Creating and mapping of a logical unit with one command. . . . . . . . . . . 52 2-36 Listing the attributes of a disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 2-37 Listing the logical units in a shared storage pool . . . . . . . . . . . . . . . . . . 53 2-38 Listing the mapping on a specific host . . . . . . . . . . . . . . . . . . . . . . . . . . 54© Copyright IBM Corp. 2012. All rights reserved. xxi
  23. 23. 2-39 vhost adapters mapped to client partition 4 . . . . . . . . . . . . . . . . . . . . . . 54 2-40 Mapping information of vhost1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 2-41 Abstract from cfgassist menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 2-42 Unmapping a logical unit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 2-43 Removing the logical unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 2-44 Remove the logical unit specified by the luudid . . . . . . . . . . . . . . . . . . . 56 2-45 Find the disk to remove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 2-46 Replacing a disk in the shared storage pool . . . . . . . . . . . . . . . . . . . . . . 67 2-47 Removing a NPIV Fibre Channel adapter in the Virtual I/O Server . . . . 77 2-48 Show available Fibre Channel adapters . . . . . . . . . . . . . . . . . . . . . . . . . 78 2-49 WWPN of the virtual Fibre Channel client adapter in the NPIV partition. 87 2-50 Zoning WWPN for fcs2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 3-1 Dynamically modifying the additional VLANs field . . . . . . . . . . . . . . . . . 102 3-2 Dynamically modifying VLANs field and setting the IEEE 802.1q flag . . 102 3-3 Dynamically modifying the additional VLANs field . . . . . . . . . . . . . . . . . 102 3-4 Creating the VLAN tagged interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 3-5 Creating the VLAN tagged interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 3-6 Creating a VLAN tagged interface on Linux . . . . . . . . . . . . . . . . . . . . . . 105 3-7 Removing a VLAN tagged interface on Linux . . . . . . . . . . . . . . . . . . . . . 105 3-8 Loading the 8021q module into the kernel . . . . . . . . . . . . . . . . . . . . . . . 105 3-9 Listing an adapter MAC address within AIX . . . . . . . . . . . . . . . . . . . . . . 109 3-10 Changing an adapter MAC address within AIX. . . . . . . . . . . . . . . . . . . 110 3-11 Failed changing of an adapter MAC address within AIX. . . . . . . . . . . . 111 3-12 Changing an Ethernet adapter MAC address within IBM i . . . . . . . . . . 112 3-13 Displaying an adapter MAC address within Linux . . . . . . . . . . . . . . . . . 112 3-14 Changing an adapter MAC address within Linux . . . . . . . . . . . . . . . . . 112 3-15 Displaying an adapter firmware MAC address within Linux . . . . . . . . . 113 3-16 Failed changing of an adapter MAC address in Linux . . . . . . . . . . . . . 113 3-17 Virtual Ethernet adapter slot number . . . . . . . . . . . . . . . . . . . . . . . . . . 116 3-18 Path MTU display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 3-19 The default MSS value in AIX 6.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 3-20 Example of no fragmentation using AIX . . . . . . . . . . . . . . . . . . . . . . . . 132 3-21 Example of fragmentation using AIX. . . . . . . . . . . . . . . . . . . . . . . . . . . 133 3-22 Example of no fragmentation using IBM i . . . . . . . . . . . . . . . . . . . . . . . 134 3-23 Example of exceeding MTU size on IBM i . . . . . . . . . . . . . . . . . . . . . . 134 3-24 No response from TRCTCPRTE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 3-25 The tracepath command on Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 3-26 Largesend option for Shared Ethernet Adapter . . . . . . . . . . . . . . . . . . 137 3-27 Creating an SEA (ent7) with Load Sharing mode . . . . . . . . . . . . . . . . . 141 3-28 Adding a trunk adapter and changing SEA (ent6) failover mode . . . . . 142 3-29 Statistics for adapters in the Shared Ethernet Adapter . . . . . . . . . . . . . 143 3-30 Configuring QoS for an SEA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 3-31 Configuring VLAN for an existing VLAN device . . . . . . . . . . . . . . . . . . 148xxii IBM PowerVM Virtualization Managing and Monitoring
  24. 24. 3-32 Enabling network traffic regulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1503-33 Using tcptr for network traffic regulation for sendmail service. . . . . . . . 1504-1 Stopping network services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1524-2 Using the viosecure command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1534-3 Displaying the current rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1534-4 Removing the rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1544-5 Checking the rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1554-6 High level firewall settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1564-7 Creating an ldap user on the Virtual I/O Server . . . . . . . . . . . . . . . . . . . 1704-8 Log on to the Virtual I/O Server using an LDAP user . . . . . . . . . . . . . . . 1714-9 Searching the LDAP server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1714-10 Content of the /home/padmin/config/ntp.conf file . . . . . . . . . . . . . . . . . 1724-11 Start of the xntpd deamon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1724-12 Too large time error. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1724-13 Successful ntp synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1724-14 Creating a system administrator user and checking its attributes . . . . . 1764-15 Creating a service representative account . . . . . . . . . . . . . . . . . . . . . . 1774-16 lsgcl command output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1784-17 Using the mkrole command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1904-18 Using the lsrole command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1914-19 Creating a new user linked to a role . . . . . . . . . . . . . . . . . . . . . . . . . . . 1914-20 Displaying a user’s role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1914-21 Access to run command is not valid message . . . . . . . . . . . . . . . . . . . 1915-1 Backing up the Virtual I/O Server to tape . . . . . . . . . . . . . . . . . . . . . . . . 2165-2 Backing up the Virtual I/O Server to DVD-RAM . . . . . . . . . . . . . . . . . . . 2175-3 Backing up the Virtual I/O Server to the nim_resources.tar file . . . . . . . 2205-4 Backing up the Virtual I/O Server to the mksysb image . . . . . . . . . . . . . 2205-5 Performing a backup using the viosbr command . . . . . . . . . . . . . . . . . . 2235-6 Scheduling regular backups using the viosbr command. . . . . . . . . . . . . 2235-7 Sample output from the lsmap command . . . . . . . . . . . . . . . . . . . . . . . . 2255-8 Displaying shared storage pool information . . . . . . . . . . . . . . . . . . . . . . 2265-9 Restore of Virtual I/O Server to the same logical partition . . . . . . . . . . . 2365-10 Devices recovered if restored to a different server . . . . . . . . . . . . . . . . 2395-11 Using viosbr -view to display backup contents . . . . . . . . . . . . . . . . . . . 2415-12 Disks and volume groups to restore . . . . . . . . . . . . . . . . . . . . . . . . . . . 2445-13 Creating an HMC system plan from the HMC command line . . . . . . . . 2465-14 lsmap -all command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2505-15 The netstat -v comand on the virtual I/O client . . . . . . . . . . . . . . . . . . . 2575-16 The netstat -cdlistats command on the primary Virtual I/O Server . . . . 2585-17 The netstat -cdlistats command on the secondary Virtual I/O Server . . 2585-18 The mdstat command showing a healthy environment. . . . . . . . . . . . . 2615-19 AIX LVM Mirror Resync. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2635-20 lsdev -type adapter command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 Examples xxiii
  25. 25. 5-21 lsmcode -d fcs0 command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267 5-22 FTP transfer of adapter firmware to the Virtual I/O Server . . . . . . . . . . 271 5-23 Unpacking the adapter firmware package on the Virtual I/O Server . . . 272 5-24 diag command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 5-25 errlog short listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 5-26 Detailed error listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 5-27 Content of /tmp/syslog.add file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 5-28 Creating a new error log file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 5-29 Copy errlog and view it . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 5-30 snapshot create command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 5-31 snapshot rollback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 6-1 Removing the Fibre Channel adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 6-2 lscfg command on Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 6-3 lsvpd command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322 6-4 Display virtual SCSI and network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322 6-5 List the management server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 6-6 Linux finds new processors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 6-7 The lparcfg command before adding CPU dynamically . . . . . . . . . . . . . 326 6-8 The lparcfg command after adding 0.1 CPU dynamically . . . . . . . . . . . . 327 6-9 Ready to die message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 6-10 Display of total memory in the partition before adding memory . . . . . . 328 6-11 Total memory in the partition after adding 1 GB dynamically . . . . . . . . 330 6-12 Rescanning a SCSI host adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331 7-1 HMC CLI migrlpar -i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346 8-1 lshwres command output showing reserved storage device properties . 354 8-2 Suspending partition p71ibmi08 from the HMC command line . . . . . . . . 363 8-3 Listing partition p71ibmi08 state from the HMC command line . . . . . . . . 364 8-4 Shutting down and suspending a partition . . . . . . . . . . . . . . . . . . . . . . . 364 8-5 Verifying the state of the partition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364 10-1 The default behavior of ssh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 10-2 Using host specific options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 10-3 Configuring SSH public key authentication . . . . . . . . . . . . . . . . . . . . . . 389 10-4 Running a non-interactive command . . . . . . . . . . . . . . . . . . . . . . . . . . 390 10-5 Profile modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 10-6 Memory dynamic operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393 10-7 Virtual adapter dynamic operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393 11-1 Installing IBM Systems Director . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403 11-2 IBM Systems Director agent manager configuration. . . . . . . . . . . . . . . 404 11-3 Starting IBM Systems Director server . . . . . . . . . . . . . . . . . . . . . . . . . . 404 11-4 Checking the status of the IBM Systems Director server . . . . . . . . . . . 405 11-5 Starting the Virtual I/O Server’s Systems Director common agent . . . . 408 11-6 Installing IBM Director Common Agent . . . . . . . . . . . . . . . . . . . . . . . . . 409 11-7 checking the status of the common agent subsystem . . . . . . . . . . . . . 410xxiv IBM PowerVM Virtualization Managing and Monitoring
  26. 26. 11-8 IBMi QSH command window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41111-9 Agent installation from QSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41113-1 lparstat -i command output on AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47613-2 Listing partition resources on Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . 47714-1 Using topas to display CPU and memory usage on the VIO . . . . . . . . 48115-1 topas -cecdisp command on Virtual I/O Server. . . . . . . . . . . . . . . . . . . 49715-2 topas -C command on virtual I/O client . . . . . . . . . . . . . . . . . . . . . . . . . 49815-3 topas -C command global . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50115-4 Monitoring processor pools with topas -C . . . . . . . . . . . . . . . . . . . . . . . 50215-5 Shared pool partitions listing in topas . . . . . . . . . . . . . . . . . . . . . . . . . . 50315-6 Basic topas monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50715-7 Logical partition information report in topas (press L) . . . . . . . . . . . . . . 50815-8 Upper part of topas busiest CPU report . . . . . . . . . . . . . . . . . . . . . . . . 50915-9 Topas basic panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51015-10 Initial window of the NMON application. . . . . . . . . . . . . . . . . . . . . . . . 51015-11 Display of command help for monitoring system resources . . . . . . . . 51115-12 Monitoring CPU activity with NMON . . . . . . . . . . . . . . . . . . . . . . . . . . 51215-13 NMON monitoring of CPU and network resources . . . . . . . . . . . . . . . 51215-14 Monitoring with the vmstat command . . . . . . . . . . . . . . . . . . . . . . . . . 51315-15 Monitoring using the lparstat command . . . . . . . . . . . . . . . . . . . . . . . 51515-16 Variable processor frequency view with lparstat . . . . . . . . . . . . . . . . . 51515-17 Individual CPU Monitoring using the sar command . . . . . . . . . . . . . . 51615-18 The sar command working a previously saved file . . . . . . . . . . . . . . . 51715-19 Individual CPU Monitoring using the mpstat command . . . . . . . . . . . 51915-20 IBM i component report for component interval activity . . . . . . . . . . . 52815-21 IBM i System Report for Resource Utilization Expansion . . . . . . . . . . 52915-22 Using iostat for CPU monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53316-1 Cross-partition memory monitoring with topas -C . . . . . . . . . . . . . . . . . 53716-2 Performance rule of thumb for page faults . . . . . . . . . . . . . . . . . . . . . . 53916-3 IBM i Component Report for Storage Pool . . . . . . . . . . . . . . . . . . . . . . 53916-4 Linux monitoring memory statistics using meminfo. . . . . . . . . . . . . . . . 54216-5 Sample query execution output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54816-6 Displaying hypervisor paging information using vmstat . . . . . . . . . . . . 54916-7 Displaying hypervisor paging information using vmstat -h . . . . . . . . . . 55016-8 Shared memory partition with some free memory not backed by physical memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55116-9 Shared memory partition not loaning memory . . . . . . . . . . . . . . . . . . . 55116-10 Shared memory partition loaning memory . . . . . . . . . . . . . . . . . . . . . 55216-11 The lparstat -m command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55316-12 The lparstat -me command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55416-13 The topas -L command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55416-14 Displaying I/O memory entitlement using topas . . . . . . . . . . . . . . . . . 55516-15 The topas -C command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555 Examples xxv
  27. 27. 16-16 Displaying shared memory pool attributes using topas. . . . . . . . . . . . 556 16-17 AMD values with lparstat command . . . . . . . . . . . . . . . . . . . . . . . . . . 557 16-18 AMD activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557 16-19 Using the amsstat command for displaying AMS metrics . . . . . . . . . . 558 16-20 Monitoring Active Memory Expansion with the amepat command . . . 560 16-21 Monitoring Active Memory Expansion with the topas command . . . . . 562 16-22 Monitoring Active Memory Expansion with the vmstat command . . . . 563 16-23 Monitoring Active Memory Expansion with the lparstat command . . . 563 16-24 Monitoring Active Memory Expansion with the svmon command . . . . 564 17-1 Monitoring I/O performance with viostat . . . . . . . . . . . . . . . . . . . . . . . . 566 17-2 Shared storage pool listing with the lssp command . . . . . . . . . . . . . . . 567 17-3 Configuring a storage pool threshold using the alert command . . . . . . 568 17-4 Viewing the Virtual I/O Server error log using errlog command . . . . . . 568 17-5 AIX lspath command output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570 17-6 AIX client lsattr command to show hdisk attributes . . . . . . . . . . . . . . . . 571 17-7 Using the chdev command for setting hdisk recovery parameters . . . . 571 17-8 Check for any missing disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572 17-9 AIX command to recover from stale partitions . . . . . . . . . . . . . . . . . . . 573 17-10 Monitoring disk performance with iostat . . . . . . . . . . . . . . . . . . . . . . . 574 17-11 IBM i System Report for Disk Utilization (PRTSYSRPT) . . . . . . . . . . 577 17-12 IBM i Resource Report for Disk Utilization (PRTRSCRPT). . . . . . . . . 577 18-1 Verifying the active channel in an EtherChannel . . . . . . . . . . . . . . . . . 584 18-2 Errorlog message when the primary channel fails . . . . . . . . . . . . . . . . 585 18-3 Verifying the active channel in an EtherChannel . . . . . . . . . . . . . . . . . 585 18-4 Manual switch to primary channel using entstat . . . . . . . . . . . . . . . . . . 586 18-5 Checking for the link failure count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586 18-6 Output of entstat on SEA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589 18-7 entstat -all command on SEA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590 18-8 entstat -all command after file transfer attempt 1 . . . . . . . . . . . . . . . . . 592 18-9 entstat -all command after file transfer attempt 2 . . . . . . . . . . . . . . . . . 593 18-10 entstat -all command after file transfer attempt 3 . . . . . . . . . . . . . . . . 594 18-11 entstat -all command after reset of Ethernet adapters . . . . . . . . . . . . 595 18-12 entstat -all command after opening one ftp session . . . . . . . . . . . . . . 596 18-13 entstat -all command after opening two ftp session . . . . . . . . . . . . . . 597 18-14 Enabling advanced SEA monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . 599 18-15 Sample seastat statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600 18-16 seastat statistics using search criterion. . . . . . . . . . . . . . . . . . . . . . . . 603 18-17 Topas Shared Ethernet Adapter Monitor . . . . . . . . . . . . . . . . . . . . . . 604 18-18 IBM i System Report for TCP/IP Summary . . . . . . . . . . . . . . . . . . . . . 606 18-19 IBM i Resource Report for Disk Utilization . . . . . . . . . . . . . . . . . . . . . 607 19-1 nmon output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 19-2 Using a script to update partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616 19-3 Running the script and listing output . . . . . . . . . . . . . . . . . . . . . . . . . . . 617xxvi IBM PowerVM Virtualization Managing and Monitoring
  28. 28. NoticesThis information was developed for products and services offered in the U.S.A.IBM may not offer the products, services, or features discussed in this document in other countries. Consultyour local IBM representative for information on the products and services currently available in your area.Any reference to an IBM product, program, or service is not intended to state or imply that only that IBMproduct, program, or service may be used. Any functionally equivalent product, program, or service thatdoes not infringe any IBM intellectual property right may be used instead. However, it is the usersresponsibility to evaluate and verify the operation of any non-IBM product, program, or service.IBM may have patents or pending patent applications covering subject matter described in this document.The furnishing of this document does not give you any license to these patents. You can send licenseinquiries, in writing, to:IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A.The following paragraph does not apply to the United Kingdom or any other country where suchprovisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATIONPROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS ORIMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimerof express or implied warranties in certain transactions, therefore, this statement may not apply to you.This information could include technical inaccuracies or typographical errors. Changes are periodically madeto the information herein; these changes will be incorporated in new editions of the publication. IBM maymake improvements and/or changes in the product(s) and/or the program(s) described in this publication atany time without notice.Any references in this information to non-IBM websites are provided for convenience only and do not in anymanner serve as an endorsement of those websites. The materials at those websites are not part of thematerials for this IBM product and use of those websites is at your own risk.IBM may use or distribute any of the information you supply in any way it believes appropriate withoutincurring any obligation to you.Any performance data contained herein was determined in a controlled environment. Therefore, the resultsobtained in other operating environments may vary significantly. Some measurements may have been madeon development-level systems and there is no guarantee that these measurements will be the same ongenerally available systems. Furthermore, some measurement may have been estimated throughextrapolation. Actual results may vary. Users of this document should verify the applicable data for theirspecific environment.Information concerning non-IBM products was obtained from the suppliers of those products, their publishedannouncements or other publicly available sources. IBM has not tested those products and cannot confirmthe accuracy of performance, compatibility or any other claims related to non-IBM products. Questions onthe capabilities of non-IBM products should be addressed to the suppliers of those products.This information contains examples of data and reports used in daily business operations. To illustrate themas completely as possible, the examples include the names of individuals, companies, brands, and products.All of these names are fictitious and any similarity to the names and addresses used by an actual businessenterprise is entirely coincidental.COPYRIGHT LICENSE:This information contains sample application programs in source language, which illustrate programming© Copyright IBM Corp. 2012. All rights reserved. xxvii

×