Escolar Documentos
Profissional Documentos
Cultura Documentos
cover
Front cover
Trademarks The reader should recognize that the following terms, which appear in the content of this training document, are official trademarks of IBM or other companies: IBM is a registered trademark of International Business Machines Corporation. The following are trademarks of International Business Machines Corporation in the United States, or other countries, or both: AIX AS/400 DS4000 HACMP Magstar Notes POWER2 POWER5 POWER Hypervisor PowerVM Requisite System p Tivoli AIX 5L CICS eServer i5/OS Micro Channel OpenPower POWER3 POWER5+ PowerPC pSeries RS/6000 System p5 TotalStorage Alerts DB2 FlashCopy iSeries Micro-Partitioning POWER POWER4 POWER6 PowerPC Reference Platform Redbooks System i System Storage xSeries
Adobe is either a registered trademark or a trademark of Adobe Systems Incorporated in the United States, and/or other countries. Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Microsoft, Windows and Windows NT are trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Other company, product, or service names may be trademarks or service marks of others.
November 2008 edition
The information contained in this document has not been submitted to any formal IBM test and is distributed on an as is basis without any warranty either express or implied. The use of this information or the implementation of any of these techniques is a customer responsibility and depends on the customers ability to evaluate and integrate them into the customers operational environment. While each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will result elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk. Copyright International Business Machines Corporation 2000, 2008. All rights reserved. This document may not be reproduced in whole or in part without the prior written permission of IBM. Note to U.S. Government Users Documentation related to restricted rights Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp.
V5.1
Course Quick View with Full TOC
TOC
Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Course Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi Unit 1. System hardware overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 What is a partition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 Physical partition (PPAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Logical partition (LPAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 Partition characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 Partition resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 Logical partition resource example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12 IBM POWER5 LPAR-capable systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 POWER Hypervisor functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14 The big picture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16 Advanced partition features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 Dynamic partitioning (DLPAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19 Processor concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21 Micro-partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23 Virtual I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24 Virtual I/O example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26 Capacity on Demand (CoD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28 PowerVM Standard Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-30 POWER6 system highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-32 IBM POWER5 processor-based systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-34 IBM System p5 servers information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-36 p5-520 and p5-520Q overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-37 p6-P520 system overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-40 p5-550 and p5-550Q overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41 p6-P550 system overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-43 p5-560Q and p5-570 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-44 Midrange functional differences - per CEC node . . . . . . . . . . . . . . . . . . . . . . . . . 1-47 p5-590 and p5-595 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-49 I/O drawer options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-52 Example I/O drawer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-53 POWER6 remote I/O drawer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-54 Service Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-55 Hardware Management Console (HMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-57 New Web user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-59 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-61 Exercise: System hardware overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-62 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-63
Contents
iii
Unit 2. System management tools and documentation . . . . . . . . . . . . . . . . . . . . .2-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2 2.1. System Management Interface Tool (SMIT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3 Topic 1 objectives: System Management Interface Tool (SMIT) . . . . . . . . . . . . . . .2-4 AIX administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-5 System Management Interface Tool (SMIT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7 SMIT main menu (ASCII) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-9 SMIT main menu (Motif) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-11 Dialog screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-13 Output screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-16 SMIT log and script files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-17 smit command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-19 IBM Systems Director Console for AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-21 Lets review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-23 2.2. Using AIX documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-25 Topic 2 objectives: Configuring AIX documentation . . . . . . . . . . . . . . . . . . . . . . . .2-26 Viewing AIX 6.1 documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-27 Accessing the documents from a Web Browser . . . . . . . . . . . . . . . . . . . . . . . . . . .2-28 AIX 6.1 documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-29 Search AIX 6.1 documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-31 Search scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-32 Lets review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-33 2.3. Web-based System Manager (WebSM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-35 Topic 3 objectives: Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . .2-36 Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-37 Accessing the Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-39 Using the Web-based System Manager (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . .2-41 Using the Web-based System Manager (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . .2-42 Using the Web-based System Manager (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . .2-43 Installation for a remote client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-44 Configure the HTTP (Web) server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-47 Remote client installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-48 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-50 Exercise 2: Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-51 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-52 Unit 3. Software installation and maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2 AIX product offerings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3 Packaging definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-5 Bundles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-6 Fileset naming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-7 Software updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-9 Software states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-11 Software Installation and Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-13 Install and Update Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14 Install Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-16 Software inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-18
iv AIX 6 for UNIX Professionals Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
TOC
List installed software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Fix repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Fix Central Web site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . More fix services screen (from Fix Central) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software Service Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software Maintenance and Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . instfix command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise: AIX software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-19 3-20 3-21 3-23 3-24 3-26 3-28 3-30 3-31 3-32
Unit 4. Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Listing of /dev directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Device configuration database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 List all supported devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7 List all defined devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9 Device states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11 Self-configuring devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13 SMIT Devices menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14 Device addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16 Location code format for PCI devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17 Location code example: Non-SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20 Location code format for SCSI devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22 Location code example for SCSI device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24 Physical location codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25 Listing device physical locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27 Adding an ASCII terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28 Attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29 Device nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31 Add a TTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-32 Documenting hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34 Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-36 Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-37 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-38 Unit 5. The Object Data Manager (ODM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 5.1. Introduction to the ODM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 What is the ODM? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 Data managed by the ODM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5 ODM components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7 ODM database files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Device configuration summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10 Configuration Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11 Location and contents of ODM repositories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12 How ODM classes act together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14 Data not managed by the ODM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15
Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Contents
Lets review: Device configuration and the ODM . . . . . . . . . . . . . . . . . . . . . . . . . .5-16 ODM commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-17 Changing attribute values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-19 Using odmchange to change attribute values . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-21 5.2. ODM database files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-23 Software vital product data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-24 Software states you should know about . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-26 Predefined devices (PdDv) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-28 Predefined attributes (PdAt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-32 Customized devices (CuDv) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-34 Customized attributes (CuAt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-37 Additional device object classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-38 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-40 Exercise 4: The Object Data Manager (ODM) . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-41 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-42 Unit 6. System boot: Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-2 AIX startup process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-3 Loading the boot image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-4 Boot disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-7 Creating the boot image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-10 Boot device alternatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-13 HMC remote access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-15 HMCv6: Server management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-17 HMCv6: Activate a partition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-19 HMCv6: Activating partition with console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-21 Hardware Management Console (HMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-22 HMCv7: Server management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-24 HMCv7: Activate partition operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-25 HMCv7: Activate partition options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-26 How to fix a corrupted BLV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-27 Working with bootlists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-30 Starting System Management Services (SMS) . . . . . . . . . . . . . . . . . . . . . . . . . . .6-32 Working with bootlists in SMS (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-34 Working with bootlists in SMS (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-36 Service processors and boot failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-37 Accessing a system that will not boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-39 Booting in maintenance mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-41 Working in maintenance mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-42 Progress and reference codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-44 Firmware checkpoints and error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-47 Firmware fixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-48 Getting firmware updates from the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-50 Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-52 Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-53 Exercise: System boot: Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-54 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-55
vi AIX 6 for UNIX Professionals Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
TOC
Unit 7. System boot: Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 AIX startup process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3 AIX initialization overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4 rc.boot 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6 rc.boot 2 (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8 RAM file system and rootvg (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10 rc.boot (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11 RAM file system and rootvg (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13 rc.boot 3 (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14 rc.boot 3 (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16 rc.boot summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-18 Boot problem management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-20 Configuration Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23 Config_Rules object class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-25 Device names and CD-ROM example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-27 The alog facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-29 System hang detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-32 Configuring shdaemon . . . . . . . . . . . . . . . . . . . . . . . 7-34 System resource controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-36 Using the system resource controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-37 Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-38 Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-39 Exercise: System Boot: Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-40 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-41 Unit 8. Installation and initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 Installation methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3 Installation process (from CD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5 Console and language definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7 Installation and Maintenance menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9 Installation and Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10 Method of installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11 Installation disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13 Primary language environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-14 Install Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15 Install More Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-16 Begin installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-17 Installation flowchart - all systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-18 Configuration Assistant menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-19 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-22 Unit 9. The Logical Volume Manager (LVM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1. LVM terminology and concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Benefits of the LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Contents
Volume group limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-6 Scalable volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-8 Configuration limits for volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-10 Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-12 Striping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-13 Mirroring and striping with RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-15 RAID levels you should know about . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-17 9.2. LVM data representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-19 LVM identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-20 LVM data on disk control blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-22 LVM data in the operating system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-24 Contents of the VGDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-25 VGDA example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-27 The logical volume control block (LVCB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-30 How LVM interacts with ODM and VGDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-32 ODM entries for physical volumes (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-34 ODM entries for physical volumes (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-36 ODM entries for physical volumes (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-37 ODM entries for volume groups (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-38 ODM entries for volume groups (2 of 2)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-39 ODM entries for logical volumes (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-40 ODM entries for logical volumes (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-41 ODM-related LVM problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-42 Fixing ODM problems (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-44 Fixing ODM problems (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-46 9.3 Working with volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-49 Logical Volume Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-50 SMIT Volume Groups menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-52 List all volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-53 List volume group contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-54 List volume group information (physical volumes) . . . . . . . . . . . . . . . . . . . . . . . . .9-55 List volume group information (logical volumes) . . . . . . . . . . . . . . . . . . . . . . . . . . .9-56 Add a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-57 Add a Scalable Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-59 Set Characteristics of a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-60 Change a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-61 Logical track group (LTG) size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-63 Hot spare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-65 Extending and reducing volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-68 Remove a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-70 Activate/Deactivate a volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-71 Import/Export a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-73 Advanced RAID support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-74 9.4 Logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-77 Logical volume policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-78 SMIT Logical Volumes menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-80 Show logical volume characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-81 Add a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-83
viii AIX 6 for UNIX Professionals Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
TOC
Remove a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-84 Set Characteristics of a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-85 List all logical volumes by volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-87 Show logical volume characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-88 Reorganize a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-89 9.5. Physical volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-91 SMIT Physical Volumes menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-92 List physical volume information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-93 List logical volumes on a physical volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-94 List a physical volume partition map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-95 Add or move contents of physical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-96 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-98 Exercise: The Logical Volume Manager (LVM) . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-99 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-100 Unit 10. Storage management with LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 10.1. Mirroring and quorum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3 Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4 Stale partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-6 Creating mirrored LVs (smit mklv) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8 Scheduling policies: Sequential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10 Scheduling policies: Parallel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-12 Mirror write consistency (MWC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-14 Adding mirrors to existing LVs (mklvcopy) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17 Mirroring rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-19 Mirroring volume groups (mirrorvg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21 VGDA count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-23 Quorum not available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-24 Nonquorum volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-26 Forced varyon (varyonvg -f) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-28 Physical volume states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-30 10.2. Disk replacement techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-33 Disk replacement: Starting point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-34 Procedure 1: Disk mirrored . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-36 Procedure 2: Disk still working . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-38 Procedure 2: Special steps for rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-40 Procedure 3: Disk in missing or removed state . . . . . . . . . . . . . . . . . . . . . . . . . . 10-42 Procedure 4: Total rootvg failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-44 Procedure 5: Total non-rootvg failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-46 Frequent disk replacement errors (1 of 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-48 Frequent disk replacement errors (2 of 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-49 Frequent disk replacement errors (3 of 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-50 Frequent disk replacement errors (4 of 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-52 10.3. Export and import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-55 Exporting a volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-56 Importing a volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-58 importvg and existing logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-60
Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Contents
ix
importvg and existing file systems (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-61 importvg and existing file systems (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-63 importvg -L (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-65 importvg -L (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-67 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-68 Exercise: Storage management with LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-69 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-70 Unit 11. Working with file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-2 Uses of logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-3 What is a file system? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-5 Why have multiple file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-7 Standard file systems in AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-9 /etc/filesystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-11 Structure of a journaled file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-13 Structure of an inode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-15 File system fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-16 Variable number of inodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-18 Allocation group size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-20 Compressed file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-22 Large file enabled file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-24 Journal log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-26 JFS versus JFS2 file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-28 Extended attributes (EA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-31 File Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-33 Listing file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-34 List all mounted file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-36 Add/Change/Show/Delete File Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-38 Working with journaled files systems in SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . .11-39 Add a standard journaled file system on a previously defined logical volume . . .11-40 Add a Standard Journaled File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-42 Working with enhanced journaled file systems (JFS2) in SMIT . . . . . . . . . . . . . .11-45 Add an enhanced journaled file system (JFS2) on a previously defined logical volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-46 Add an Enhanced Journaled File System (JFS2) . . . . . . . . . . . . . . . . . . . . . . . . .11-48 Mount a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-49 Change/Show Characteristics of a Journaled File System . . . . . . . . . . . . . . . . . .11-52 Change/Show Characteristics of an Enhanced Journaled File System . . . . . . . .11-54 Dynamically shrinking a JFS2 file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-55 Remove a Journaled File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-57 Add a RAM file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-59 Add a UDF file system on a DVD-RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-60 System storage review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-62 Listing free disk space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-64 Control growing files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-66 The skulker command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-68 Listing disk usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-70
x AIX 6 for UNIX Professionals Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
TOC
Fragmentation considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defragmenting a file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Verify a file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise: Working with file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unit 12. Paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2 What is paging space? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-3 Paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5 Sizing paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7 Paging space placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9 Checking paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-11 Adding paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-13 Change paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-15 Remove paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-17 Problems with paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-19 Documenting paging space setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-20 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21 Exercise 10: Paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-22 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-23 Unit 13. Backup and restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2 Backup devices - diskette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3 Backup devices - tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-5 Backup device - read/write optical drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-7 Backup device - 7210 external DVD-RAM drive . . . . . . . . . . . . . . . . . . . . . . . . . 13-10 SMIT backup menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-11 rootvg backup process - mksysb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-12 /image.data file for rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-14 /bosinst.data file for rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-16 rootvg - Back Up the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-21 rootvg - Back Up This System to Tape/File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-22 mksysb image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-24 Back Up a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-26 Back Up a Volume Group to Tape/File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-27 Restoring a mksysb (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-29 Restoring a mksysb (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-30 Remake/Restore a non-rootvg volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-32 mksysb - ISO9660 burn image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-34 mksysb - UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-36 rootvg - Back Up This System to CD (ISO9660) . . . . . . . . . . . . . . . . . . . . . . . . . 13-37 rootvg - Back Up This System to ISO9660 DVD . . . . . . . . . . . . . . . . . . . . . . . . . 13-38 rootvg - Back Up This System to UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-39 Back Up a Volume Group to CD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-40 Back Up a Volume Group to ISO9660 DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-41
Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Contents
xi
Back Up a Volume Group to UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-42 Back up by filename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-43 Back up by filename examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-45 Backup a File or Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-47 Back up a file system by inode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-49 Back up a file system by inode using SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-51 restore command (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-52 restore command (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-54 Restore a File or a Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-55 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-56 Exercise: Using backup and restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-57 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-58 Unit 14. TCP/IP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-2 TCP/IP pseudo device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-3 Network adapters and interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-5 Interface device drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-6 Adapter device drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-7 TCP/IP startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-8 # smit tcpip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-10 /etc/rc.tcpip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-12 Network super daemon (inetd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-14 /etc/inetd.conf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-16 /etc/services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-18 Name resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-19 Address resolution protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-24 Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-26 Static routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-28 Dynamic routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-31 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-33 Exercise: TCP/IP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-34 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-35 Unit 15. Error log and syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-2 15.1. Working with the error log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-3 Error logging components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-4 Generating an Error Report using SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-6 The errpt command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-9 A summary report (errpt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-11 A detailed error report (errpt -a) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-12 Types of disk errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-14 LVM error log entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-16 Maintaining the error log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-17 15.2. Error notification and syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-19 Error notification methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-20 Self-made error notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-22
xii AIX 6 for UNIX Professionals Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
TOC
ODM-based error notification: errnotify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . syslogd daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . syslogd configuration examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Redirecting syslog messages to error log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Directing error log messages to syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise: Error logging and syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A. Checkpoint solutions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 Appendix B. Performance and workload management. . . . . . . . . . . . . . . . . . . . . B-1 Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2 Basic performance analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3 Performance analysis tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-5 Identify CPU-intensive programs: ps aux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8 Identify high priority processes: ps -elf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-10 Monitoring CPU usage: sar -u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-12 AIX tools: tprof . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-14 Monitoring memory usage: vmstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-16 AIX tools: svmon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-18 Monitoring disk I/O: iostat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-20 AIX tools: filemon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-23 topas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-25 There is always a next bottleneck! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-26 Workload management techniques (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-27 Workload management techniques (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-28 Workload management techniques (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-30 Simultaneous multi-threading (SMT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-32 Tool enhancements for micro-partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-34 Performance Diagnostic Tool (PDT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-37 Enabling PDT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-39 cron control of PDT components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-41 PDT files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-43 Customizing PDT: Changing thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-45 Customizing PDT: Specific monitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-48 PDT report example (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-49 PDT report example (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-51 Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-53 Appendix C. Quick reference: HP-UX to AIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 Appendix D. Quick Reference: Solaris to AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Contents
xiii
V5.1
Course Quick View with Full TOC
TMK
Trademarks
The reader should recognize that the following terms, which appear in the content of this training document, are official trademarks of IBM or other companies: IBM is a registered trademark of International Business Machines Corporation. The following are trademarks of International Business Machines Corporation in the United States, or other countries, or both: AIX AS/400 DS4000 HACMP Magstar Notes POWER2 POWER5 POWER Hypervisor PowerVM Requisite System p Tivoli AIX 5L CICS eServer i5/OS Micro Channel OpenPower POWER3 POWER5+ PowerPC pSeries RS/6000 System p5 TotalStorage Alerts DB2 FlashCopy iSeries Micro-Partitioning POWER POWER4 POWER6 PowerPC Reference Platform Redbooks System i System Storage xSeries
Adobe is either a registered trademark or a trademark of Adobe Systems Incorporated in the United States, and/or other countries. Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Microsoft, Windows and Windows NT are trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Other company, product, or service names may be trademarks or service marks of others.
Trademarks
xv
V5.1
Course Quick View with Full TOC
pref
Course Description
AIX 6 Jumpstart for UNIX Professionals Duration: 5 days Purpose
The purpose of this course is to show a UNIX system administrator how they can install, customize, and administer the AIX 6 operating system.
Audience
Anyone responsible for the system administrative duties in implementing and managing systems capable of running the AIX 6 operating system. This course is targeted for SUN Solaris, HP-UX, or other UNIX system administrators with at least twelve months of experience in UNIX administration and other relevant education.
Prerequisites
The students attending this course should have at least one year of UNIX system administration experience and be able to: Write shell scripts Install a UNIX operating system Install and configure layered products Start up and shut down the system Monitor system usage and performance Create user accounts Solve user and system problems Create, configure, and back up file systems Configure and manage networks
Course Description
xvii
Objectives
On completion of this course, students will be able to: Describe how to install the AIX 6 operating system Describe and use the system management tools Install software bundles and filesets Perform system startup and shutdown Manage physical and logical devices Perform file system management Perform and restore system backups Configure TCP/IP Locate and analyze system error logs
Contents
Unit 1: System hardware overview Unit 2: System management tools and documentation Unit 3: Software installation and maintenance Unit 4: Devices Unit 5: ODM Unit 6: System boot: Hardware Unit 7: System boot: Software Unit 8: AIX 6 installation and initial configuration Unit 9: The Logical Volume Manager Unit 10: Storage management with LVM Unit 11: Managing file systems Unit 12: Paging space Unit 13: Backup and restore Unit 14: TCP/IP configuration Unit 15: Error logs and syslogd
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
pref
Text highlighting
The following text highlighting conventions are used throughout this book: Bold Identifies file names, file paths, directories, user names, principals, menu paths, and menu selections. Also identifies graphical objects such as buttons, labels, and icons that the user selects. Identifies links to Web sites, publication titles, is used where the word or phrase is meant to stand out from the surrounding text. It also identifies parameters whose actual names or values are to be supplied by the user. Identifies attributes, variables, file listings, SMIT menus, code examples, command output, and system messages that you would see displayed on a terminal. Identifies commands, subroutines, daemons, and text the user would type.
Italics
Monospace
Monospace bold
Documentation References
The following will be used to indicate where a particular referenced document can be located: Info Center Indicates that a referenced document can be found in the AIX Information Center. This is located at: http://publib.boulder.ibm.com/infocenter/pseries Indicates that a referenced document can be found in the IBM Redbooks Web site. This is located at: http://www.redbooks.ibm.com
Redbooks
Course Description
xix
xx
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
pref
Agenda
Day 1
Welcome Unit 1 - System hardware overview Exercise 1 - System hardware overview Unit 2 - System management tools and documentation Exercise 2 - System management tools and documentation Unit 3 - Software installation and maintenance Exercise 3 - Software installation
Day 2
Unit 4 - Devices Unit 5 - The Object Data Manager (ODM) Exercise 4 - The Object Data Manager (ODM) Unit 6 - System boot: Hardware Exercise 5 - System boot: Hardware Unit 7 - System boot: Software
Day 3
Unit 8 - Installation and initial configuration Exercise 6 - System boot: Software Unit 9 - The Logical Volume Manager (LVM) Exercise 7 - LVM Unit 10 - Storage management with LVM (Topic 1)
Day 4
Unit 10 - Storage management with LVM (Topics 2 and 3) Exercise 8 - Storage management with LVM Unit 11 - Working with file systems Exercise 9 - Working with file systems Unit 12 - Paging space Exercise 10 - Paging space Unit 13 - Backup and restore (start)
Day 5
Unit 13 - Backup and restore (Conclude) Exercise 11 - Using backup and restore Unit 14 - TCP/IP configuration
Copyright IBM Corp. 2000, 2008
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Agenda
xxi
Exercise 12 - TCP/IP configuration Unit 15 - Error Log and syslogd Exercise 13 - Error Log and syslogd
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
All documents can be found in the AIX Information Center: http://publib.boulder.ibm.com/infocenter/pseries General product information can be found on-line at: http://www.ibm.com
1-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
Online Online AIX Version 6.1 Operating System and Device management AIX Version 6.1 Web-based System Manager Administration Guide
Note: References listed as online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
2-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
SG24-7559 Online AIX Version 6.1 Differences Guide AIX 6.1 Installation and Migration
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
3-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
Unit 4. Devices
What this unit is about
This unit presents important information regarding devices in an AIX environment, including information about device states and device location codes.
References
SG24-7559 Online Online AIX Version 6.1 Differences Guide AIX 6.1 Installation and migration AIX 6.1 Operating System and device management
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
Unit 4. Devices
4-1
V5.1
Course Quick View with Full TOC
Uempty
References
Online Online Online AIX Version 6.1 Command Reference volumes 1-6 AIX Version 6.1 General Programming Concepts: Writing and Debugging Programs AIX Version 6.1 Technical Reference: Kernel and Subsystems
Note: References listed as online above are available via the IBM Systems Information Center at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
5-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
AIX Version 6.1 Operating system and device management Note: References listed as online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp Online SA38-0509 SG24-5496 RS/6000 Eserver pSeries Diagnostic Information for Multiple Bus Systems Problem Solving and Troubleshooting in AIX 5L
6-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
AIX Version 6.1 Operating system and device management Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp Online SA38-0509 SG24-5496 RS/6000 Eserver pSeries Diagnostic Information for Multiple Bus Systems Problem Solving and Troubleshooting in AIX 5L
7-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
SG25-7559 SC23-6629 SC23-6630 Online IBM AIX Version 6.1 Differences Guide AIX Version 6.1 Release Notes AIX Version 6.1 Expansion Pack Release Notes AIX Version 6.1 Installation and migration
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
8-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
Online Online AIX Version 6.1 Commands reference AIX Version 6.1 Operating System and Device management
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
AIX Storage Management Redbook (GG24-4484) Logical Volume Manager from A to Z: Introduction and Concepts Redbook (SG24-5432) Logical Volume Manager from A to Z: Troubleshooting and Commands Redbook (SG24-5433)
9-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
Online Online AIX Version 6.1 Commands reference AIX Version 6.1 Operating System and Device management
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp Redbooks Redbooks Redbooks AIX Storage Management Redbook (GG24-4484) Logical Volume Manager from A to Z: Introduction and Concepts Redbook (SG24-5432) Logical Volume Manager from A to Z: Troubleshooting and Commands Redbook (SG24-5433)
10-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
Online Online AIX Version 6.1 Commands reference AIX Version 6.1 Operating System and Device management
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
11-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
SG24-7559 Online Online AIX Version 6.1 Differences Guide AIX 6.1 Operating system and device management AIX 6.1 Installation and migration
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
12-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
Online AIX Version 6.1 Operating System and Device management
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp SG24-5765 SG24-5766 SG24-7414 SG24-7559 AIX 5L Differences Guide Version 5.2 Edition AIX 5L Differences Guide Version 5.3 Edition AIX 5L Differences Guide Version 5.3 Addendum IBM AIX Version 6.1 Differences Guide
13-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
Info Center Info Center Info Center System Management Guide: Communications and Networks Communications Programming Concepts AIX 5L Differences Guide Version 5.3 Edition, Chapter 7. Networking
14-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.1
Course Quick View with Full TOC
Uempty
References
Info Center General Programming Concepts: Writing and Debugging Programs (Chapter 4. Error-Logging Overview) AIX Version 6.1 Commands reference General Programming Concepts: Writing and Debugging Programs (Chapter 4. Error-Logging Overview)
Online Online
Note: References listed as Online above are available at the following address: http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
15-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.