aw186 quick view with full toc

36
AIX 6 Jumpstart for UNIX Professionals (Course code AW18) Course Quick View with Full TOC ERC 6.0 V5.1 cover

Upload: cdrbc

Post on 24-May-2017

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Aw186 Quick View With Full Toc

V5.1

cover

Front cover

AIX 6 Jumpstart for UNIX Professionals (Course code AW18)

Course Quick View with Full TOCERC 6.0

Page 2: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

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:

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.

AIX® AIX 5L™ Alerts®AS/400® CICS® DB2®DS4000™ eServer™ FlashCopy®HACMP™ i5/OS® iSeries®Magstar® Micro Channel® Micro-Partitioning™Notes® OpenPower® POWER™POWER2™ POWER3™ POWER4™POWER5™ POWER5+™ POWER6™POWER Hypervisor™ PowerPC® PowerPC Reference

Platform®PowerVM™ pSeries® Redbooks®Requisite® RS/6000® System i™System p™ System p5™ System Storage™Tivoli® TotalStorage® xSeries®

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 customer’s ability to evaluate and integrate them into the customer’s 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.

Page 3: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

TOC

Contents

Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv

Course Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi

Unit 1. System hardware overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2What is a partition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3Physical partition (PPAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4Logical partition (LPAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6Partition characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8Partition resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9Logical partition resource example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12IBM POWER5 LPAR-capable systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13POWER Hypervisor functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14The big picture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16Advanced partition features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18Dynamic partitioning (DLPAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19Processor concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21Micro-partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23Virtual I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24Virtual I/O example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26Capacity on Demand (CoD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28PowerVM Standard Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-30POWER6 system highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-32IBM POWER5 processor-based systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-34IBM System p5 servers information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-36p5-520 and p5-520Q overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-37p6-P520 system overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-40p5-550 and p5-550Q overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41p6-P550 system overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-43p5-560Q and p5-570 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-44Midrange functional differences - per CEC node . . . . . . . . . . . . . . . . . . . . . . . . . 1-47p5-590 and p5-595 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-49I/O drawer options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-52Example I/O drawer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-53POWER6 remote I/O drawer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-54Service Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-55Hardware Management Console (HMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-57New Web user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-59Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-61Exercise: System hardware overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-62Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-63

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Contents iii

Page 4: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Unit 2. System management tools and documentation . . . . . . . . . . . . . . . . . . . . .2-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2

2.1. System Management Interface Tool (SMIT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3Topic 1 objectives: System Management Interface Tool (SMIT) . . . . . . . . . . . . . . .2-4AIX administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-5System Management Interface Tool (SMIT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7SMIT main menu (ASCII) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-9SMIT main menu (Motif) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-11Dialog screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-13Output screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-16SMIT log and script files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-17smit command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-19IBM Systems Director Console for AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-21Let’s review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-23

2.2. Using AIX documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-25Topic 2 objectives: Configuring AIX documentation . . . . . . . . . . . . . . . . . . . . . . . .2-26Viewing AIX 6.1 documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-27Accessing the documents from a Web Browser . . . . . . . . . . . . . . . . . . . . . . . . . . .2-28AIX 6.1 documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-29Search AIX 6.1 documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-31Search scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-32Let’s review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-33

2.3. Web-based System Manager (WebSM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-35Topic 3 objectives: Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . .2-36Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-37Accessing the Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-39Using the Web-based System Manager (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . .2-41Using the Web-based System Manager (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . .2-42Using the Web-based System Manager (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . .2-43Installation for a remote client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-44Configure the HTTP (Web) server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-47Remote client installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-48Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-50Exercise 2: Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-51Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-52

Unit 3. Software installation and maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2AIX product offerings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3Packaging definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-5Bundles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-6Fileset naming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-7Software updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-9Software states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-11Software Installation and Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-13Install and Update Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14Install Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-16Software inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-18

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

iv AIX 6 for UNIX Professionals © Copyright IBM Corp. 2000, 2008

Page 5: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

TOC

List installed software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19Fix repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20Fix Central Web site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21More fix services screen (from Fix Central) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23Software Service Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24Software Maintenance and Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26instfix command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30Exercise: AIX software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32

Unit 4. Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2Listing of /dev directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3Device configuration database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5List all supported devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7List all defined devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9Device states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11Self-configuring devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13SMIT Devices menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14Device addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16Location code format for PCI devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17Location code example: Non-SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20Location code format for SCSI devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22Location code example for SCSI device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24Physical location codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25Listing device physical locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27Adding an ASCII terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28Attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29Device nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31Add a TTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-32Documenting hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-36Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-37Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-38

Unit 5. The Object Data Manager (ODM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2

5.1. Introduction to the ODM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3What is the ODM? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4Data managed by the ODM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5ODM components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7ODM database files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8Device configuration summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10Configuration Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11Location and contents of ODM repositories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12How ODM classes act together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14Data not managed by the ODM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Contents v

Page 6: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Let’s review: Device configuration and the ODM . . . . . . . . . . . . . . . . . . . . . . . . . .5-16ODM commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-17Changing attribute values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-19Using odmchange to change attribute values . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-21

5.2. ODM database files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-23Software vital product data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-24Software states you should know about . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-26Predefined devices (PdDv) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-28Predefined attributes (PdAt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-32Customized devices (CuDv) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-34Customized attributes (CuAt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-37Additional device object classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-38Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-40Exercise 4: The Object Data Manager (ODM) . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-41Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-42

Unit 6. System boot: Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-2AIX startup process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-3Loading the boot image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-4Boot disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-7Creating the boot image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-10Boot device alternatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-13HMC remote access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-15HMCv6: Server management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-17HMCv6: Activate a partition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-19HMCv6: Activating partition with console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-21Hardware Management Console (HMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-22HMCv7: Server management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-24HMCv7: Activate partition operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-25HMCv7: Activate partition options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-26How to fix a corrupted BLV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-27Working with bootlists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-30Starting System Management Services (SMS) . . . . . . . . . . . . . . . . . . . . . . . . . . .6-32Working with bootlists in SMS (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-34Working with bootlists in SMS (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-36Service processors and boot failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-37Accessing a system that will not boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-39Booting in maintenance mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-41Working in maintenance mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-42Progress and reference codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-44Firmware checkpoints and error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-47Firmware fixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-48Getting firmware updates from the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-50Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-52Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-53Exercise: System boot: Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-54Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-55

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

vi AIX 6 for UNIX Professionals © Copyright IBM Corp. 2000, 2008

Page 7: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

TOC

Unit 7. System boot: Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2AIX startup process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3AIX initialization overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4rc.boot 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6rc.boot 2 (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8RAM file system and rootvg (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10rc.boot (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11RAM file system and rootvg (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13rc.boot 3 (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14rc.boot 3 (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16rc.boot summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-18Boot problem management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-20Configuration Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23Config_Rules object class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-25Device names and CD-ROM example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-27The alog facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-29System hang detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-32Configuring shdaemon . . . . . . . . . . . . . . . . . . . . . . . 7-34System resource controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-36Using the system resource controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-37Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-38Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-39Exercise: System Boot: Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-40Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-41

Unit 8. Installation and initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2Installation methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3Installation process (from CD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5Console and language definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7Installation and Maintenance menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9Installation and Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10Method of installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11Installation disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13Primary language environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-14Install Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15Install More Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-16Begin installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-17Installation flowchart - all systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-18Configuration Assistant menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-19Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-22

Unit 9. The Logical Volume Manager (LVM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2

9.1. LVM terminology and concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3Benefits of the LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Contents vii

Page 8: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Volume group limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-6Scalable volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-8Configuration limits for volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-10Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-12Striping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-13Mirroring and striping with RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-15RAID levels you should know about . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-17

9.2. LVM data representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-19LVM identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-20LVM data on disk control blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-22LVM data in the operating system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-24Contents of the VGDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-25VGDA example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-27The logical volume control block (LVCB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-30How LVM interacts with ODM and VGDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-32ODM entries for physical volumes (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-34ODM entries for physical volumes (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-36ODM entries for physical volumes (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-37ODM entries for volume groups (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-38ODM entries for volume groups (2 of 2)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-39ODM entries for logical volumes (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-40ODM entries for logical volumes (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-41ODM-related LVM problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-42Fixing ODM problems (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-44Fixing ODM problems (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-46

9.3 Working with volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-49Logical Volume Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-50SMIT Volume Groups menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-52List all volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-53List volume group contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-54List volume group information (physical volumes) . . . . . . . . . . . . . . . . . . . . . . . . .9-55List volume group information (logical volumes) . . . . . . . . . . . . . . . . . . . . . . . . . . .9-56Add a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-57Add a Scalable Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-59Set Characteristics of a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-60Change a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-61Logical track group (LTG) size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-63Hot spare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-65Extending and reducing volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-68Remove a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-70Activate/Deactivate a volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-71Import/Export a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-73Advanced RAID support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-74

9.4 Logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-77Logical volume policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-78SMIT Logical Volumes menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-80Show logical volume characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-81Add a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-83

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

viii AIX 6 for UNIX Professionals © Copyright IBM Corp. 2000, 2008

Page 9: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

TOC

Remove a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-84Set Characteristics of a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-85List all logical volumes by volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-87Show logical volume characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-88Reorganize a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-89

9.5. Physical volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-91SMIT Physical Volumes menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-92List physical volume information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-93List logical volumes on a physical volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-94List a physical volume partition map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-95Add or move contents of physical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-96Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-98Exercise: The Logical Volume Manager (LVM) . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-99Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-100

Unit 10. Storage management with LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2

10.1. Mirroring and quorum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4Stale partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-6Creating mirrored LVs (smit mklv) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8Scheduling policies: Sequential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10Scheduling policies: Parallel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-12Mirror write consistency (MWC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-14Adding mirrors to existing LVs (mklvcopy) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17Mirroring rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-19Mirroring volume groups (mirrorvg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21VGDA count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-23Quorum not available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-24Nonquorum volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-26Forced varyon (varyonvg -f) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-28Physical volume states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-30

10.2. Disk replacement techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-33Disk replacement: Starting point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-34Procedure 1: Disk mirrored . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-36Procedure 2: Disk still working . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-38Procedure 2: Special steps for rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-40Procedure 3: Disk in missing or removed state . . . . . . . . . . . . . . . . . . . . . . . . . . 10-42Procedure 4: Total rootvg failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-44Procedure 5: Total non-rootvg failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-46Frequent disk replacement errors (1 of 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-48Frequent disk replacement errors (2 of 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-49Frequent disk replacement errors (3 of 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-50Frequent disk replacement errors (4 of 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-52

10.3. Export and import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-55Exporting a volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-56Importing a volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-58importvg and existing logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-60

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Contents ix

Page 10: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

importvg and existing file systems (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-61importvg and existing file systems (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-63importvg -L (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-65importvg -L (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-67Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-68Exercise: Storage management with LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-69Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-70

Unit 11. Working with file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-2Uses of logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-3What is a file system? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-5Why have multiple file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-7Standard file systems in AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-9/etc/filesystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-11Structure of a journaled file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-13Structure of an inode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-15File system fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-16Variable number of inodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-18Allocation group size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-20Compressed file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-22Large file enabled file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-24Journal log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-26JFS versus JFS2 file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-28Extended attributes (EA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-31File Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-33Listing file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-34List all mounted file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-36Add/Change/Show/Delete File Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-38Working with journaled files systems in SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . .11-39Add a standard journaled file system on a previously defined logical volume . . .11-40Add a Standard Journaled File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-42Working with enhanced journaled file systems (JFS2) in SMIT . . . . . . . . . . . . . .11-45Add an enhanced journaled file system (JFS2) on a previously defined logical volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-46Add an Enhanced Journaled File System (JFS2) . . . . . . . . . . . . . . . . . . . . . . . . .11-48Mount a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-49Change/Show Characteristics of a Journaled File System . . . . . . . . . . . . . . . . . .11-52Change/Show Characteristics of an Enhanced Journaled File System . . . . . . . .11-54Dynamically shrinking a JFS2 file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-55Remove a Journaled File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-57Add a RAM file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-59Add a UDF file system on a DVD-RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-60System storage review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-62Listing free disk space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-64Control growing files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-66The skulker command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-68Listing disk usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-70

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

x AIX 6 for UNIX Professionals © Copyright IBM Corp. 2000, 2008

Page 11: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

TOC

Fragmentation considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-72Defragmenting a file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-74Verify a file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-76Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-78Exercise: Working with file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-79Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-80

Unit 12. Paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2What is paging space? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-3Paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5Sizing paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7Paging space placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9Checking paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-11Adding paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-13Change paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-15Remove paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-17Problems with paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-19Documenting paging space setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-20Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21Exercise 10: Paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-22Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-23

Unit 13. Backup and restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2Backup devices - diskette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3Backup devices - tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-5Backup device - read/write optical drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-7Backup device - 7210 external DVD-RAM drive . . . . . . . . . . . . . . . . . . . . . . . . . 13-10SMIT backup menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-11rootvg backup process - mksysb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-12/image.data file for rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-14/bosinst.data file for rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-16rootvg - Back Up the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-21rootvg - Back Up This System to Tape/File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-22mksysb image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-24Back Up a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-26Back Up a Volume Group to Tape/File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-27Restoring a mksysb (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-29Restoring a mksysb (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-30Remake/Restore a non-rootvg volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-32mksysb - ISO9660 burn image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-34mksysb - UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-36rootvg - Back Up This System to CD (ISO9660) . . . . . . . . . . . . . . . . . . . . . . . . . 13-37rootvg - Back Up This System to ISO9660 DVD . . . . . . . . . . . . . . . . . . . . . . . . . 13-38rootvg - Back Up This System to UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-39Back Up a Volume Group to CD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-40Back Up a Volume Group to ISO9660 DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-41

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Contents xi

Page 12: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Back Up a Volume Group to UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-42Back up by filename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-43Back up by filename examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-45Backup a File or Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-47Back up a file system by inode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-49Back up a file system by inode using SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-51restore command (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-52restore command (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-54Restore a File or a Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-55Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-56Exercise: Using backup and restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-57Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-58

Unit 14. TCP/IP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-2TCP/IP pseudo device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-3Network adapters and interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-5Interface device drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-6Adapter device drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-7TCP/IP startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-8# smit tcpip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-10/etc/rc.tcpip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-12Network super daemon (inetd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-14/etc/inetd.conf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-16/etc/services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-18Name resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-19Address resolution protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-24Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-26Static routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-28Dynamic routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-31Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-33Exercise: TCP/IP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-34Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-35

Unit 15. Error log and syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-2

15.1. Working with the error log. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-3Error logging components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-4Generating an Error Report using SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-6The errpt command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-9A summary report (errpt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-11A detailed error report (errpt -a) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-12Types of disk errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-14LVM error log entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-16Maintaining the error log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-17

15.2. Error notification and syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-19Error notification methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-20Self-made error notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-22

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

xii AIX 6 for UNIX Professionals © Copyright IBM Corp. 2000, 2008

Page 13: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

TOC

ODM-based error notification: errnotify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-24syslogd daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-27syslogd configuration examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-29Redirecting syslog messages to error log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-32Directing error log messages to syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-33Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-34Exercise: Error logging and syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-35Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-36

Appendix A. Checkpoint solutions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1

Appendix B. Performance and workload management. . . . . . . . . . . . . . . . . . . . . B-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2Basic performance analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3Performance analysis tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-5Identify CPU-intensive programs: ps aux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8Identify high priority processes: ps -elf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-10Monitoring CPU usage: sar -u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-12AIX tools: tprof . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-14Monitoring memory usage: vmstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-16AIX tools: svmon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-18Monitoring disk I/O: iostat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-20AIX tools: filemon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-23topas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-25There is always a next bottleneck! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-26Workload management techniques (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-27Workload management techniques (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-28Workload management techniques (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-30Simultaneous multi-threading (SMT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-32Tool enhancements for micro-partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-34Performance Diagnostic Tool (PDT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-37Enabling PDT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-39cron control of PDT components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-41PDT files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-43Customizing PDT: Changing thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-45Customizing PDT: Specific monitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-48PDT report example (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-49PDT report example (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-51Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-53

Appendix C. Quick reference: HP-UX to AIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1

Appendix D. Quick Reference: Solaris to AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Contents xiii

Page 14: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Trademarks xv

V5.1

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:

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.

AIX® AIX 5L™ Alerts®AS/400® CICS® DB2®DS4000™ eServer™ FlashCopy®HACMP™ i5/OS® iSeries®Magstar® Micro Channel® Micro-Partitioning™Notes® OpenPower® POWER™POWER2™ POWER3™ POWER4™POWER5™ POWER5+™ POWER6™POWER Hypervisor™ PowerPC® PowerPC Reference

Platform®PowerVM™ pSeries® Redbooks®Requisite® RS/6000® System i™System p™ System p5™ System Storage™Tivoli® TotalStorage® xSeries®

Page 15: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

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 materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Course Description xvii

Page 16: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

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.

xviii AIX 6 for UNIX Professionals © Copyright IBM Corp. 2000, 2008

Page 17: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

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.

Italics 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.

Monospace Identifies attributes, variables, file listings, SMIT menus, code examples, command output, and system messages that you would see displayed on a terminal.

Monospace bold Identifies commands, subroutines, daemons, and text the user would type.

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

Redbooks Indicates that a referenced document can be found in the IBM Redbooks Web site. This is located at: http://www.redbooks.ibm.com

General product information can be found on-line at http://www.ibm.com.

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Course Description xix

Page 18: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

xx AIX 6 for UNIX Professionals © Copyright IBM Corp. 2000, 2008

Page 19: Aw186 Quick View With Full Toc

Course Quick View with Full TOCV5.1

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

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Agenda xxi

Page 20: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

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.

xxii AIX 6 for UNIX Professionals © Copyright IBM Corp. 2000, 2008

Page 21: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 1. System hardware overview 1-1

V5.1

Uempty Unit 1. System hardware overview

What this unit is about

This unit is an introduction to the IBM System p5 and p6 product range, including workstations, workgroup servers, enterprise servers, large scale servers, and Logical Partitioning.

What you should be able to do

After completing this unit, you should be able to:

• Identify basic architecture elements and hardware components of the IBM System p5 and p6 servers

• Describe the features of Logical Partitioning

How you will check your progress

Accountability:

• Checkpoint

• Machine exercises

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

Page 22: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 2. System management tools and documentation 2-1

V5.1

Uempty Unit 2. System management tools and documentation

What this unit is about

This unit introduces the tools that are available for system administration.

What you should be able to do

After completing this unit, you should be able to:

• Outline the benefits of the system management tools available with AIX 5L and AIX 6.

• Define the functionality of SMIT

• Define how SMIT activity is logged

• Define the use of the Web-based System Manager

• Use AIX Web-based documentation

How you will check your progress

Accountability:

• Checkpoint questions

• Machine exercises

References

Online AIX Version 6.1 Operating System and Device management

Online 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

Page 23: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 3. Software installation and maintenance 3-1

V5.1

Uempty Unit 3. Software installation and maintenance

What this unit is about

This unit covers the process of installing and maintaining optional software products and updates.

What you should be able to do

After completing this unit, you should be able to:

• Define the package definitions and naming conventions

• Identify how software products and updates are installed and managed on the system

How you will check your progress

Accountability:

• Checkpoint questions

• Exercise

References

SG24-7559 AIX Version 6.1 Differences Guide

Online 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

Page 24: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 4. Devices 4-1

V5.1

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.

What you should be able to do

After completing this unit, you should be able to:

• Describe the purpose of the ODM predefined and customized databases

• Describe the different states of a device • Describe the format of device location codes • Use SMIT to add, show, change, and delete devices

How you will check your progress

Accountability:

• Checkpoint questions

References

SG24-7559 AIX Version 6.1 Differences Guide

Online AIX 6.1 Installation and migration

Online 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

Page 25: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 5. The Object Data Manager (ODM) 5-1

V5.1

Uempty Unit 5. The Object Data Manager (ODM)

What this unit is about

This unit describes the structure of the Object Data Manager (ODM). It shows the use of the ODM command line interface and explains the role of the ODM in device configuration. Specific information regarding the function and content of the most important ODM files is also presented.

What you should be able to do

After completing this unit, you should be able to:

• Describe the structure of the ODM • Use the ODM command line interface • Explain the role of the ODM in device configuration • Describe the function of the most important ODM files

How you will check your progress

Accountability:

• Checkpoint questions • Lab exercise

References

Online AIX Version 6.1 Command Reference volumes 1-6

Online AIX Version 6.1 General Programming Concepts: Writing and Debugging Programs

Online 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

Page 26: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 6. System boot: Hardware 6-1

V5.1

Uempty Unit 6. System boot: Hardware

What this unit is about

This unit describes the boot process up to the point of loading the boot logical volume. It describes the content of the boot logical volume and explains how it can be re-created if it is corrupted.

The unit also discusses the meaning of the LED codes and describes how they can be analyzed to fix boot problems.

What you should be able to do

After completing this unit, you should be able to:

• Describe the process of loading an AIX boot image • Describe the contents of the boot logical volume (BLV) • Fix a corrupted boot logical volume • View and modify boot lists • Use System Management Services (SMS) • Boot into maintenance mode to access a system that will not boot • Interpret LED codes and console messages displayed during boot

How you will check your progress

Accountability: • Checkpoint questions • Exercise

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

SA38-0509 RS/6000 Eserver pSeries Diagnostic Information for Multiple Bus Systems

SG24-5496 Problem Solving and Troubleshooting in AIX 5L

Page 27: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 7. System boot: Software 7-1

V5.1

Uempty Unit 7. System boot: Software

What this unit is about

This is the second of two units that deal with the AIX startup process. This unit describes the later stages of the process.

What you should be able to do

After completing this unit, you should be able to:

• Describe the functions of rc.boot, phases 1, 2, and 3

• Describe how devices are configured during AIX initialization

• Interpret LED codes and console messages displayed during boot

• Describe the use of the alog facility

• List the basic features of system hang detection

• Describe the System Resource Controller (SRC)

• Analyze and solve boot problems

How you will check your progress

Accountability: • Checkpoint questions • Exercise

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

SA38-0509 RS/6000 Eserver pSeries Diagnostic Information for Multiple Bus Systems

SG24-5496 Problem Solving and Troubleshooting in AIX 5L

Page 28: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 8. Installation and initial configuration 8-1

V5.1

Uempty Unit 8. Installation and initial configuration

What this unit is about

This unit describes the process of installing the AIX operating system.

What you should be able to do

After completing this unit, you should be able to:

• List the different installation and media options available

• List the steps necessary to install the AIX base operating system

• Identify the tasks that can be carried out using the Configuration Assistant

How you will check your progress

Accountability:

• Checkpoint questions

References

SG25-7559 IBM AIX Version 6.1 Differences Guide

SC23-6629 AIX Version 6.1 Release Notes

SC23-6630 AIX Version 6.1 Expansion Pack Release Notes

Online 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

Page 29: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 9. The Logical Volume Manager (LVM) 9-1

V5.1

Uempty Unit 9. The Logical Volume Manager (LVM)

What this unit is about

This unit explains concepts important for understanding the logical volume manager (LVM) used in AIX and provides information about how to work with this facility.

What you should be able to do

After completing this unit, you should be able to:

• Define key LVM-related terms • Explain where LVM information is stored • Manage volume groups, logical volumes, and physical volumes

How you will check your progress

Accountability:

• Checkpoint questions • Lab exercise

References

Online AIX Version 6.1 Commands reference

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

Redbooks AIX Storage Management Redbook (GG24-4484)

Redbooks Logical Volume Manager from A to Z: Introduction and Concepts Redbook (SG24-5432)

Redbooks Logical Volume Manager from A to Z: Troubleshooting and Commands Redbook (SG24-5433)

Page 30: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 10. Storage management with LVM 10-1

V5.1

Uempty Unit 10.Storage management with LVM

What this unit is about

This unit discusses several advanced LVM-related concepts and explains how to complete various important storage and disk management tasks. The procedures required to complete the tasks discussed involve the use of LVM.

What you should be able to do

After completing this unit, you should be able to:

• Set up mirroring appropriate to your needs • Describe the quorum mechanism • Explain the physical volume states used by LVM • Replace a disk under different circumstances • Export and import volume groups

How you will check your progress

Accountability:

• Lab exercises • Checkpoint questions

References

Online AIX Version 6.1 Commands reference

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

Redbooks AIX Storage Management Redbook (GG24-4484)

Redbooks Logical Volume Manager from A to Z: Introduction and Concepts Redbook (SG24-5432)

Redbooks Logical Volume Manager from A to Z: Troubleshooting and Commands Redbook (SG24-5433)

Page 31: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 11. Working with file systems 11-1

V5.1

Uempty Unit 11.Working with file systems

What this unit is about

This unit covers important concepts and procedures related to AIX 5L file systems.

What you should be able to do

After completing this unit, you should be able to:

• Describe journaled file system (JFS) and enhanced journaled file system (JFS2) features

• Add a JFS or JFS2 file system • Change characteristics of a file system • Add a RAM file system • Add a UDF file system on a DVD-RAM

How you will check your progress

Accountability:

• Checkpoint questions • Exercise

References

Online AIX Version 6.1 Commands reference

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

Page 32: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 12. Paging space 12-1

V5.1

Uempty Unit 12. Paging space

What this unit is about

This unit presents the key concepts related to paging space.

What you should be able to do

After completing this unit, you should be able to:

• Define why paging space is required in AIX • List and monitor the paging space utilization of the system • Perform corrective actions to rectify too little or too much paging

space scenarios

How you will check your progress

Accountability:

• Checkpoint questions • Exercise

References

SG24-7559 AIX Version 6.1 Differences Guide

Online AIX 6.1 Operating system and device management

Online 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

Page 33: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 13. Backup and restore 13-1

V5.1

Uempty Unit 13.Backup and restore

What this unit is about

This unit describes how a system can be backed up and restored.

What you should be able to do

After completing this unit, you should be able to:

• List the different backup methods supported through SMIT and on the command line

• Create a customized installable system image backup

How you will check your progress

Accountability:

• Checkpoint questions • Exercises

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 AIX 5L Differences Guide Version 5.2 Edition

SG24-5766 AIX 5L Differences Guide Version 5.3 Edition

SG24-7414 AIX 5L Differences Guide Version 5.3 Addendum

SG24-7559 IBM AIX Version 6.1 Differences Guide

Page 34: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 14. TCP/IP configuration 14-1

V5.1

Uempty Unit 14.TCP/IP configuration

What this unit is about

This unit introduces basic TCP/IP configuration in the AIX environment. It is assumed that you already have an understanding of basic network concepts such as IP addressing and netmasks.

What you should be able to do

After completing this unit, you should be able to:

• Describe the basic components of AIX networking

• Describe how the network is configured during AIX startup

• Locate the AIX network configuration files

• Describe name resolution concepts

• Describe how to configure a DNS client

• Describe IP routing concepts and how to configure static routes

• Use network status tools to gather information about the network

• Define static and dynamic routing and determine when it’s appropriate to use each of these types of routing

How you will check your progress

Accountability:

• Checkpoint • Machine exercises

References

Info Center System Management Guide: Communications and Networks

Info Center Communications Programming Concepts

Info Center AIX 5L Differences Guide Version 5.3 Edition,Chapter 7. Networking

Page 35: Aw186 Quick View With Full Toc

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

© Copyright IBM Corp. 2000, 2008 Unit 15. Error log and syslogd 15-1

V5.1

Uempty Unit 15.Error log and syslogd

What this unit is about

This unit provides an overview of the error logging facility available in AIX and shows how to work with the syslogd daemon.

What you should be able to do

After completing this unit, you should be able to:

• Analyze error log entries • Identify and maintain the error logging components • Describe different error notification methods • Log system messages using the syslogd daemon

How you will check your progress

Accountability:

• Lab exercise • Checkpoint questions

References

Info Center General Programming Concepts: Writing and Debugging Programs (Chapter 4. Error-Logging Overview)

Online AIX Version 6.1 Commands reference

Online General Programming Concepts: Writing and Debugging Programs (Chapter 4. Error-Logging Overview)

Note: References listed as “Online” above are available at the following address:http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp

Page 36: Aw186 Quick View With Full Toc