AIX Workload Partition Management in IBM AIX Version
Total Page:16
File Type:pdf, Size:1020Kb
Front cover Workload Partition Management in IBM AIX Version 6.1 Presents updated technical planning information for AIX V6.1 TL2 Covers new partition mobility, isolation, NIM support, and WPAR Manager features Provides walk-through examples for AIX system administrators Shane Brandon Anirban Chatterjee Henning Gammelmark Vijayasekhar Mekala Liviu Rosca Arindom Sanyal ibm.com/redbooks International Technical Support Organization Workload Partition Management in IBM AIX Version 6.1 December 2008 SG24-7656-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (December 2008) This edition applies to AIX 6.1 TL2. © Copyright International Business Machines Corporation 2008. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this book . xi Acknowledgements . xiii Become a published author . xiv Comments welcome. xiv Part 1. Introduction . 1 Chapter 1. Introduction to AIX workload partitions . 3 1.1 Workload management and partitioning in AIX systems. 4 1.1.1 AIX Workload Manager . 4 1.1.2 Logical partitions . 5 1.1.3 PowerVM (formerly Advanced POWER Virtualization) . 6 1.2 AIX6 Workload Partitions . 7 1.2.1 Global environment . 9 1.2.2 System WPAR . 10 1.2.3 Application WPAR. 10 1.3 WPAR isolation and security . 10 1.3.1 Processes . 11 1.3.2 Users. 11 1.3.3 Resources . 11 1.4 Other WPAR features . 12 1.4.1 Checkpoint/restart . 12 1.4.2 Live application mobility . 12 1.5 When to use workload partitions . 14 1.5.1 Improve application reliability and availability . 14 1.5.2 Simplify operating system and application management . 15 1.5.3 Optimize server utilization . 16 1.5.4 Manage application resource utilization . 17 1.5.5 Scoping administrative privileges by application. 17 1.5.6 Protect the existing hardware investment . 18 1.5.7 Easily clone application environments . 19 1.5.8 Support “green” computing strategies. 19 Chapter 2. Understanding and planning for workload partitions . 21 2.1 High-level planning information . 22 © Copyright IBM Corp. 2008. All rights reserved. iii 2.2 General considerations . 22 2.2.1 Software prerequisites . 22 2.2.2 File system considerations . 23 2.2.3 Network considerations. 24 2.3 Considerations for the global environment . 27 2.4 Application WPARs . 28 2.5 System WPARs. 28 2.6 Mobility . 31 2.7 WPAR and LPAR comparison. 36 Part 2. Managing workload partitions . 39 Chapter 3. Functional overview of workload partitions. 41 3.1 Understanding application WPARs and system WPARs . 42 3.1.1 Comparing application WPARs and system WPARs . 43 3.2 WPAR tools overview . 45 3.3 WPAR Manager . 46 3.4 WPAR commands . 48 3.5 Modified AIX commands . 50 3.6 WPAR description database . 52 Chapter 4. Overview of workload partition operations . 55 4.1 WPAR administration . 56 4.1.1 Creating and managing simple WPARs . 56 4.1.2 Deployment states and transitions . 65 4.1.3 Network considerations. 70 4.2 File system setup . 70 4.2.1 Creating a new filesystem . 71 4.2.2 Changing an existing file system. 72 4.2.3 Shared /usr with writable subdirectory (filesystem). 73 4.3 Software installation . 74 4.3.1 Software availability . 75 4.3.2 Installing software . 75 4.4 Backing up, restoring, and cloning WPARs. 78 4.4.1 Backup considerations . 78 4.4.2 WPAR considerations . 79 4.4.3 Backing up the global environment . 80 4.4.4 Backing up and restoring a system WPAR . 80 4.4.5 Cloning a system WPAR. 83 4.5 User and group management . 86 4.5.1 Defaults access: Users and root . 86 4.5.2 Recovering a password for users inside WPARs . 87 4.6 Relocation . 88 4.6.1 Administrative locking . 91 iv Workload Partition Management in IBM AIX Version 6.1 4.7 CLI walkthrough . 92 4.7.1 Static mobility . 93 4.7.2 Creating WPARs eligible for Live mobility from CLI . 93 4.7.3 Live mobility prerequisites. 94 4.7.4 Live mobility . 95 4.8 Checkpointing and restarting. 97 Chapter 5. Managing workload partitions. 99 5.1 WPAR Manager components and functions . 101 5.1.1 Common Agent Service . 101 5.1.2 Agent Manager . 103 5.1.3 Resource Manager . 105 5.1.4 Common Agent . 105 5.2 WPAR Manager installation . 106 5.2.1 Check WPAR Manager prerequisites . 108 5.2.2 WPAR Manager installation and configuration . ..