V4.1
cover
���
Front coverAIX 6 System Administration I: Implementation (Course code AU14)
Course Quick View with Full TOCERC 12.0
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:
AIX® AIX 5L™ AIX 6 (logo)™AS/400® CICS/6000® DB2®Domino® HACMP™ iSeries®Language Environment® Lotus® Magstar®MVS™ Network Station® Notes®OS/2® POWER™ POWER4™POWER5™ POWER6™ PowerPC®pSeries® Requisite® RISC System/6000®RS/6000® SecureWay® SP™System p™ System/370™ System Storage™Tivoli® 400®
VMware® and the VMware "boxes" logo and design, Virtual SMP and VMotion are registered trademarks or trademarks (the "Marks") of VMware, Inc. in the United States and/or other jurisdictions.
Alerts® is a registered trademark of Alphablox Corporation in the United States, other countries, or both.
PS/2® is a trademark or registered trademark of Lenovo in the United States, other countries, or both.
PostScript 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 are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.
February 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 1997, 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.
Course Quick View with Full TOC
Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries.
UNIX® is a registered trademark of The Open Group in the United States and other countries.
Linux® is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
iii AIX System Administration I © Copyright IBM Corp. 1997, 2008
Course Quick View with Full TOCV4.1
TOC
ContentsTrademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Course description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Unit 1. Introduction to IBM System p Servers and AIX system administration . 1-1Unit Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2What is RISC Technology? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3System p bus types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5Workstation configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7Server configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8PC connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9Logical partitioning (LPAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10Logical partition virtualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12POWER6 system highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13AIX 6 highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15HMC management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17Remote access to the HMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19HMC default console view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21Role of the system administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22Who can perform administration tasks? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-25Exercise 1: root login methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-27
Unit 2. System Management Interface Tool (SMIT) . . . . . . . . . . . . . . . . . . . . . . . 2-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2Early system administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3System management objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5AIX administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7System Management Interface Tool (SMIT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9SMIT main menu (ASCII) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11SMIT main menu (Motif) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13Dialog screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15Output screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18SMIT log and script files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19smit command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21IBM Systems Director Console for AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25Exercise 2: Using SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-27
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Contents v
Course Quick View with Full TOC
Unit 3. System startup and shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2Startup modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3Starting system management services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-6PCI RS/6000 start up process overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-8The bootinfo command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-10The alog command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-12/etc/inittab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14System resource controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-16System resource controller syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-17Stopping processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-19System shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-20Manage the system environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-22Manage Language Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-24Hardware Management Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-26HMC - LPAR operations menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-27Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-28Exercise 3 - System startup and shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-29Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-30
Unit 4. AIX software installation and maintenance . . . . . . . . . . . . . . . . . . . . . . 4-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-2AIX product offerings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-3Packaging definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-5Bundles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-6Fileset naming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-7Software updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-9Software states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-11Software Installation and Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-13Install and Update Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-14Install Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-16Software inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-18List installed software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-19Fix repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-20Fix Central Web site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-21More fix services screen (from Fix Central) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-23Software Service Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-24Comparison Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-26Software Maintenance and Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-28instfix command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-30Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-32Exercise 4: AIX Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-34Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-35
Unit 5. AIX 6 installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-2Installation methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-3Installation process (from CD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-5
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
vi AIX System Administration I © Copyright IBM Corp. 1997, 2008
Course Quick View with Full TOCV4.1
TOC
Installation process (from NIM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7Console and language definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10Installation and Maintenance menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12Installation and Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13Method of installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14Installation disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16Erasure Options for Disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17Primary language environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19Install Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20Install More Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-21Begin installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22Configuration Assistant menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25Exercise 5: AIX install and Configuration Assistant . . . . . . . . . . . . . . . . . . . . . . . . 5-27Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28Unit 6. Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3Accessing the Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5Using the Web-based System Manager (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7Using the Web-based System Manager (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8Using the Web-based System Manager (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9Installation for a remote client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10Configure the HTTP (Web) server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13Remote client installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16Exercise 6: Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-18
Unit 7. Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2Device terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3Listing of /dev directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5Device configuration database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7List all supported devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9List all defined devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11Device states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13Self-configuring devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15SMIT Devices menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16Device addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-18Location code format for PCI devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-19Location code example: Non-SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-22Location code format for SCSI devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-24Location code example for SCSI device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-26Physical location codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-27Listing device physical locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-29Adding an ASCII terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-30
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Contents vii
Course Quick View with Full TOC
Attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-31Device nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-33Add a TTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-34Documenting hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-36Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-38Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-39Exercise 7: Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-40Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-41
Unit 8. System storage overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-2Components of AIX storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3Traditional UNIX disk storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-4Benefits of the LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-5Logical Volume Manager components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-6Physical storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-8Volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-10Volume group descriptor area (VGDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-12Logical storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-14Uses of logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-16What is a file system? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-18Why have multiple file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-20Standard file systems in AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-22Let’s review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-24/etc/filesystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-25Mount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-27Mounting over an empty directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-28Mounting over files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-29Listing file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-30Listing logical volume information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-31Checkpoint (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-32Checkpoint (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-33Checkpoint (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-34Exercise 8: LVM commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-35Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-36
Unit 9. Working with the Logical Volume Manager . . . . . . . . . . . . . . . . . . . . . . 9-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-2Logical Volume Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-3
9.1. Volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5Volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-6SMIT volume groups menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-8List all volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-9List volume group contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-10List volume group information (physical volumes) . . . . . . . . . . . . . . . . . . . . . . . . .9-11List volume group information (logical volumes) . . . . . . . . . . . . . . . . . . . . . . . . . . .9-12Add a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-13
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
viii AIX System Administration I © Copyright IBM Corp. 1997, 2008
Course Quick View with Full TOCV4.1
TOC
Add a Scalable Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-15Set Characteristics of a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-16Change a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17Logical track group (LTG) size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-19Hot spare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-21Extending and reducing volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-24Remove a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-26Activate/Deactivate a volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-27Import/Export a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-29Advanced RAID support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-30Exercise 9: Working with LVM (parts 1 and 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-329.2. Logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-33Logical storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-34Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-35Mirror write consistency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-38Striping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-40Striped columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-42Logical volume policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-43SMIT Logical Volumes menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-45Show logical volume characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-46Add a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-48Remove a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-49Set Characteristics of a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-50List all logical volumes by volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-52Show logical volume characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-53Add Copies to a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-54Reorganize a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-56
9.3. Physical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-57Physical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-58SMIT Physical Volumes menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-59List physical volume information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-60List logical volumes on a physical volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-61List a physical volume partition map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-62Add or move contents of physical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-63Documenting the disk storage setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-65Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-66Exercise 10: Working with LVM (parts 3-5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-67Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-68
Unit 10. Working with file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2Structure of a journaled file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3Structure of an inode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-5File system fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-6Variable number of inodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8Allocation group size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10Compressed file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-12
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Contents ix
Course Quick View with Full TOC
Large file enabled file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-14Exercise 10: Working with file systems (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . .10-16Journal log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-17JFS versus JFS2 file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-19Extended attributes (EA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-22File Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-24Listing file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-25List all mounted file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-27Add/Change/Show/Delete File Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-29Working with journaled files systems in SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . .10-30Add a standard journaled file system on a previously defined logical volume . . .10-31Add a Standard Journaled File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-33Working with enhanced journaled file systems (JFS2) in SMIT . . . . . . . . . . . . . .10-36Add an enhanced journaled file system (JFS2) on a previously defined logical volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-37Add an Enhanced Journaled File System (JFS2) . . . . . . . . . . . . . . . . . . . . . . . . .10-39Mount a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-40Change/Show Characteristics of a Journaled File System . . . . . . . . . . . . . . . . . .10-43Change/Show Characteristics of an Enhanced Journaled File System . . . . . . . .10-45Dynamically shrinking a JFS2 file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-46Remove a Journaled File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-48Add a RAM file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-50Add a UDF file system on a DVD-RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-51System storage review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-53Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-55Exercise 10: Working with file systems (parts 2-6) . . . . . . . . . . . . . . . . . . . . . . . .10-56Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-57
Unit 11. Managing file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-2Space management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-3Listing free disk space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-5Control growing files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-7The skulker command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-9Listing disk usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-11Fragmentation considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-13Defragmenting a file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-15Verify a file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-17Documenting file system setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-19Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-20Exercise 11: Managing file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-21Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-22
Unit 12. Paging space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-2What is paging space? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-3Paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-5Sizing paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-7
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
x AIX System Administration I © Copyright IBM Corp. 1997, 2008
Course Quick View with Full TOCV4.1
TOC
Paging 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 12: Paging space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-22Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-23Unit 13. Backup and restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2Why backup? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3Types of backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-5Backup strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-7Backup devices - diskette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-9Backup devices - tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-11Backup device - read/write optical drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-13Backup device - 7210 external DVD-RAM drive . . . . . . . . . . . . . . . . . . . . . . . . . 13-16SMIT backup menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-17rootvg backup process -mksysb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-18/image.data file for rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-20/bosinst.data file for rootvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-22rootvg - Back Up the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-27rootvg - Back Up This System to Tape/File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-28mksysb image . . . . . . . . . . . . . . . . . . . . . . . . . . 13-31Back Up a Volume Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-33Back Up a Volume Group to Tape/File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-34Restoring a mksysb (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-37Restoring a mksysb (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-38Remake/Restore a non-rootvg volume group . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-40mksysb - ISO9660 burn image . . . . . . . . . . . . . . . . . . . 13-42mksysb - UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-44rootvg - Back Up This System to CD (ISO9660) . . . . . . . . . . . . . . . . . . . . . . . . . 13-45rootvg - Back Up This System to ISO9660 DVD . . . . . . . . . . . . . . . . . . . . . . . . . 13-46rootvg - Back Up This System to UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-47Back Up a Volume Group to CD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-48Back Up a Volume Group to ISO9660 DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-49Back Up a Volume Group to UDF DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-50Exercise 13: Using backup and restore (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . 13-51Back up by filename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-52Back up by filename examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-54Backup a File or Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-56Back up a file system by inode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-57Incremental backup example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-59Back up a file system by inode using SMIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-61restore command (1 of 2) . . . . . . . . . . . . . . . . . . . . 13-62
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Contents xi
Course Quick View with Full TOC
restore command (2 of 2) . . . . . . . . . . . . . . . . . . . . 13-64Restore a File or Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-65Exercise 13: Using backup and restore (parts 2, 3, and 4) . . . . . . . . . . . . . . . . . .13-66Other UNIX backup commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-67The tar command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-69The cpio command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-71The dd command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-73Controlling the tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-75Good practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-77Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-79Exercise 14: (optional) Using tar and cpio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-80Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-81
Unit 14. Security and user administration. . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-2
14.1. Security concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3User accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-4Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-6Group hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-8User hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-10Controlling access to the root account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-11Security logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-13File/Directory permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-15Reading permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-17Changing permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-19umask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-21Changing ownership . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-23Role based access control (RBAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-25Predefined enhanced RBAC roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-27Exercise 15: Security files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-30
14.2. User administration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-31Login sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-32User initialization process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-34Security and users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-36SMIT users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-38List all users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-40Add a user to the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-42Change / Show Characteristics of a User . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-45Remove a user from the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-47Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-49Regaining root's password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-51SMIT groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-53List all groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-54Add a Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-55Change / remove groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-57Message of the day . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-59Exercise 16: User administration (parts 1-5) . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-60
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
xii AIX System Administration I © Copyright IBM Corp. 1997, 2008
Course Quick View with Full TOCV4.1
TOC
14.3. Security files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-61Security files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-62/etc/passwd file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-64/etc/security/passwd file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-66/etc/security/user file (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-68/etc/security/user file (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-71Group files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-75/etc/security/login.cfg file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-77Validating the user environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-79Documenting security policy and setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-81Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-82Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-83Exercise 16: User administration (parts 6-7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-84Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-85Unit 15. Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2The cron daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-3crontab files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-5Format of a crontab file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-7Editing a crontab file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-9The at and batch commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-11Controlling at jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-13Documenting scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-14Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-15Exercise 17: Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-16Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-17
Unit 16. Printers and queues. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-2AIX 5L printing environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-3AIX print subsystem: Advantages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-5System V print subsystem: Advantages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-7Concepts of queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-9Printer data flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-11System files associated with printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-13qdaemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-15The /etc/qconfig file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-17Printer menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-20AIX printer menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-21Configuring a printer with a queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-23Selecting a printer type (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-24Selecting a printer type (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-25Printer attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-26Add the print queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-27Remote printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-28Client authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-29
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Contents xiii
Course Quick View with Full TOC
Start lpd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-30Add a remote print queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-31Define the print server on the client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-32Let’s review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-33Submitting print jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-34Listing jobs in a queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-36Change characteristics of a queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-38Removing a queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-40Managing queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-41Understanding queue status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-42Bringing queues up and down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-44Managing Print Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-45Cancel a Print Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-46Job priority example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-48Holding a job in a queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-50Moving a job between queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-51Printing-related directories to monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-52Printing problem checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-53Checkpoint (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-55Checkpoint (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-56Exercise 18: Printers and queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-57Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-58
Unit 17. Networking overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-1Unit objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-2What is TCP/IP? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-3An Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-5Names and addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-7TCP/IP network facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-9Information needed to configure TCP/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-11Configuring TCP/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-13Flat name resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-15Identifying the hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-16Basic TCP/IP user functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-17Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-21Exercise 19: Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-22Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17-23
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
xiv AIX System Administration I © Copyright IBM Corp. 1997, 2008
Course Quick View with Full TOCV4.1
TOC
Appendix A. Checkpoint solutions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1Appendix B. Configuring AIX 5L V5.2 documentation . . . . . . . . . . . . . . . . . . . . . B-1
Appendix C. Command summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Appendix D. Sample shell scripts used in class . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Appendix E. AIX Control Book creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-1
Appendix F. Serial devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F-1
Appendix G. The System V print subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G-1
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .X-1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Contents xv
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. 1997, 2008 Trademarks xvii
V4.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:
AIX® AIX 5L™ AIX 6 (logo)™AS/400® CICS/6000® DB2®Domino® HACMP™ iSeries®Language Environment® Lotus® Magstar®MVS™ Network Station® Notes®OS/2® POWER™ POWER4™POWER5™ POWER6™ PowerPC®pSeries® Requisite® RISC System/6000®RS/6000® SecureWay® SP™System p™ System/370™ System Storage™Tivoli® 400®
VMware® and the VMware "boxes" logo and design, Virtual SMP and VMotion are registered trademarks or trademarks (the "Marks") of VMware, Inc. in the United States and/or other jurisdictions.
Alerts® is a registered trademark of Alphablox Corporation in the United States, other countries, or both.
PS/2® is a trademark or registered trademark of Lenovo in the United States, other countries, or both.
PostScript 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 are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.
Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries.
UNIX® is a registered trademark of The Open Group in the United States and other countries.
Linux® is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
Course Quick View with Full TOCV4.1
pref
Course descriptionAIX 6 System Administration I: Implementation
Duration: 5 days
Purpose
The purpose of this course is to enable students to install, customize, and administer the AIX 6 operating system in a multiuser environment using System p server.
Audience
Anyone responsible for the system administrative duties implementing and managing an AIX 6 operating system on an System p server.
Prerequisites
The students attending this course should already be able to:
• Log in to an AIX system and set a user password
• Execute basic AIX commands
• Manage files and directories
• Use the vi editor
• Use redirection, pipes, and tees
• Use the utilities find and grep
• Use the command and variable substitution
• Set and change Korn shell variables
• Write simple shell scripts
• Use a graphic Common Desktop Environment (CDE) interface
These skills can be acquired by taking the AIX Basics course or through equivalent AIX/UNIX knowledge.
Objectives
On completion of this course, students should be able to:
• Install the AIX 6 operating system, software bundles, and filesets
• Perform system startup and shutdown
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Course description xix
Course Quick View with Full TOC
• Understand and use the system management tools
• Manage physical and logical devices
• Perform file system management
• Create and manage user and group accounts
• Perform and restore system backups
• Utilize administrative subsystems, including cron to schedule system tasks, and security to implement customized access of files and directories
• Describe basic networking concepts
Contents
• Introduction to IBM System p and AIX system administration
• System Management Tools - SMIT and the Web-based System Manager
• Software installation and management
• System startup and shutdown devices
• Printers and queues
• Managing queues
• System storage overview
• Working with the Logical Volume Manager
• Working with file systems
• Managing file systems
• Paging space
• Backup and restore
• Security
• User administration
• Scheduling
• Networking overview
Curriculum relationship
This course should follow the AIX 6 Basics course. A basic understanding of AIX environment and simple commands is recommended before taking this course.
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
xx AIX System Administration I © Copyright IBM Corp. 1997, 2008
Course Quick View with Full TOCV4.1
pref
AgendaDay 1
Welcome Unit 1 - Introduction to System p/AIX system administration Activity: su Unit 2- System Management Interface Tool (SMIT) Exercise: Using SMITUnit 3 - System startup and shutdown Exercise: System startup and shutdown Unit 4- AIX Software installation and maintenance Exercise: AIX software installation Unit 5 - AIX 6 installation Exercise: AIX installation and Configuration Assistant Unit 6 - Web-based System Manager Exercise: Configuring Web-based System Manager server
Day 2
Unit 7 - Devices Exercise: Devices Unit 8 - System storage overview Let's review: LVM terminology Unit 8 - System storage overview (continued) Activity: LVM commands Unit 9 - Working with the Logical Volume Manager Activity: Volume groups Unit 9 - Working with the Logical Volume Manager (continued) Exercise: Logical Volume Manager Unit 10 - Working with file systems Activity: Inodes and NBPI
Day 3
Unit 10 - Working with file systems (continued) Exercise: Working with file systems Unit 11 - Managing file systems Exercise: Managing file systems Unit 12 - Paging space Exercise: Paging space Unit 13 - Backup and restore Activity: savevg Unit 13 - Backup and restore (continued)
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Agenda xxi
Course Quick View with Full TOC
Exercise - Using backup and restore
Day 4
Unit 13 - Backup and restore (continued) Exercise (optional) - Using tar and cpio Unit 14 - Security and user administration
14.1 - Security concepts Exercise: Security files 14.2 - User administration Exercise: User administration 14.3 - Security files Activity: Examine the security files
Unit 15 - Scheduling Exercise: Scheduling
Day 5
Unit 16 - Printers and queues Let's review Unit 16 - Printers and queues (continued) Exercise: Printers and queues Unit 17 - Networking overview Exercise: Networking
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
xxii AIX System Administration I © Copyright IBM Corp. 1997, 2008
Course Quick View with Full TOCV4.1
pref
Text highlightingThe following text highlighting conventions are used throughout this book:
Bold Identifies file names, file paths, directories, user names and principals.
Italics Identifies links to Web sites, publication titles, and is used where the word or phrase is meant to stand out from the surrounding text.
Monospace Identifies attributes, variables, file listings, SMIT menus, code examples of text similar to what you might see displayed, examples of portions of program code similar to what you might write as a programmer, and messages from the system.
Monospace bold Identifies commands, daemons, menu paths and what the user would enter in examples of commands and SMIT menus.
<text> The text between the < and > symbols identifies information the user must supply. The text may be normal highlighting, bold or monospace, or monospace bold depending on the context.
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 1997, 2008 Agenda xxiii
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. 1997, 2008 Unit 1. Introduction to IBM System p Servers and AIX system 1-1
V4.1
Uempty Unit 1. Introduction to IBM System p Servers and AIX system administration
What this unit is about
This unit introduces the basic IBM System p Server configurations and describes the roles of the system administrator.
What you should be able to do
After completing this unit, you should be able to:
• Define terminology and concepts of IBM System p Servers • List common configurations available for IBM System p Servers • Describe the roles of the system administrator • Obtain root access with the su command
How you will check your progress
Accountability:
• Checkpoint questions • Exercises
References
SG24-7559 IBM AIX Version 6.1 Differences Guide
SG24-2581 Managing AIX on PCI-Based RISC System/6000 Workstations
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. 1997, 2008 Unit 2. System Management Interface Tool (SMIT) 2-1
V4.1
Uempty Unit 2. System Management Interface Tool (SMIT)
What this unit is about
This unit covers the use of SMIT.
What you should be able to do
After completing this unit, you should be able to:
• Describe the benefits of the system management tools available with AIX V6.1
• Discuss the functionality of SMIT • Explain how SMIT activity is logged
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
Online AIX Version 6.1 Systems Director Console for AIX
Note: References listed as “online” above are available at the following address:
http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
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. 1997, 2008 Unit 3. System startup and shutdown 3-1
V4.1
Uempty Unit 3. System startup and shutdown
What this unit is about
This unit describes the system startup and shutdown processes and discusses how the system environment should be managed.
What you should be able to do
After completing this unit, you should be able to:
• Describe the system startup process • Explain how to shut down the system • Describe the contents of the /etc/inittab file • Manage the system environment
How you will check your progress
Accountability:
• Checkpoint questions • Exercise
References
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
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. 1997, 2008 Unit 4. AIX software installation and maintenance 4-1
V4.1
Uempty Unit 4. AIX software installation and maintenance
What this unit is about
This unit covers the process of installing and maintaining optional software product 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
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. 1997, 2008 Unit 5. AIX 6 installation 5-1
V4.1
Uempty Unit 5. AIX 6 installation
What this unit is about
This unit describes the process of installing the AIX 6.1 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 6.1 base operating
system • Identify the tasks that can be carried out using the Configuration
Assistant
How you will check your progress
Accountability:
• Checkpoint questions • Exercise
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
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. 1997, 2008 Unit 6. Web-based System Manager 6-1
V4.1
Uempty Unit 6. Web-based System Manager
What this unit is about
This unit covers the process of installing, configuring, and using the AIX Web-based System Manager.
What you should be able to do
After completing this unit, you should be able to:
• Use the Web-based System Manager to manage AIX • Install and configure the Web-based System Manager
How you will check your progress
Accountability:
• Checkpoint questions • Exercises
References
Online AIX 6.1 Documentation
SC23-4920 AIX 5L Version 5.3 Web-based System Manager Administration Guide
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. 1997, 2008 Unit 7. Devices 7-1
V4.1
Uempty Unit 7. Devices
What this unit is about
This unit introduces the concepts of devices, their different states, and their location codes.
What you should be able to do
After completing this unit, you should be able to:
• Describe the difference between logical and physical devices • 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/delete devices
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
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
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. 1997, 2008 Unit 8. System storage overview 8-1
V4.1
Uempty Unit 8. System storage overview
What this unit is about
This unit is an overview of AIX system storage.
What you should be able to do
After completing this unit, you should be able to:
• Describe the terminology and the concepts associated with:
- Physical volumes
- Volume groups
- Logical volumes
- Physical partitions
- Logical partitions
• Describe how file systems and logical volumes are related
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
Note: References listed as “Online” above are available at the following address:
http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
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. 1997, 2008 Unit 9. Working with the Logical Volume Manager 9-1
V4.1
Uempty Unit 9. Working with the Logical Volume Manager
What this unit is about
This unit provides information on how to work with logical volumes, physical volumes, and volume groups.
What you should be able to do
After completing this unit, you should be able to:
• Add, change, and delete: - Volume groups - Logical volumes - Physical volumes
• Describe mirroring • Describe striping
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 Command References
Note: References listed as “Online” above are available at the following address:
http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
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. 1997, 2008 Unit 10. Working with file systems 10-1
V4.1
Uempty Unit 10. Working with file systems
What this unit is about
This unit covers important concepts and procedures related to AIX file systems.
What you should be able to do
After completing this unit, you should be able to:
• Identify the components of an AIX file system • Add an enhanced journaled 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 • Activity
References
GG24-4484 AIX Storage Management
SG24-7559 AIX Version 6.1 Differences Guide
Online AIX 6.1 Operating system and device management
Online AIX 6.1 File Reference
Note: References listed as “Online” above are available at the following address:
http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
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. 1997, 2008 Unit 11. Managing file systems 11-1
V4.1
Uempty Unit 11. Managing file systems
What this unit is about
This unit illustrates the methods that can be used to manage the AIX file systems.
What you should be able to do
After completing this unit, you should be able to:
• Monitor file system growth and control growing files • Manage file system disk space usage • Implement basic file system integrity checks
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
Note: References listed as “Online” above are available at the following address:
http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
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. 1997, 2008 Unit 12. Paging space 12-1
V4.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
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. 1997, 2008 Unit 13. Backup and restore 13-1
V4.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:
• Identify issues that have to be considered when deciding which backup policies to implement: - Media to be used - Frequency of the backup - Type of backup
• List the different backup methods supported through SMIT and on the command line
• Create a customized installable system image backup • Execute other useful commands to manipulate the backed up data
on the media
How you will check your progress
Accountability:
• Checkpoint questions • Exercises
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
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. 1997, 2008 Unit 14. Security and user administration 14-1
V4.1
Uempty Unit 14. Security and user administration
What this unit is about
This unit explains key concepts related to AIX users and groups, and also describes the files that contain user account information.
What you should be able to do
After completing this unit, you should be able to:
• Define the concepts of users and groups, and explain how and when these should be allocated on the system
• Describe ways of controlling root access on the system • Explain the uses of SUID, SGID, and SVTX permission bits • Administer user accounts and groups • Identify the data files associated with users and security
How you will check your progress
Accountability:
• Checkpoint questions • Exercise
References
SG24-7424 AIX 6.1 Advanced Security Features
Introduction and Configuration
Online AIX 6.1 Security Guide
Note: References listed as “Online” above are available at the following address:
http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp
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. 1997, 2008 Unit 15. Scheduling 15-1
V4.1
Uempty Unit 15. Scheduling
What this unit is about
This unit describes how jobs can be scheduled on the system.
What you should be able to do
After completing this unit, you should be able to:
• Use crontab files to schedule jobs on a periodic basis • Use the at command to schedule a job or series of jobs at some
time in the future • Use the batch command to schedule jobs in a queue, to alleviate
immediate system demand
How you will check your progress
Accountability:
• Checkpoint questions • Exercise
References
Online AIX 6.1 Commands Reference
Online AIX 6.1 Files Reference
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. 1997, 2008 Unit 16. Printers and queues 16-1
V4.1
Uempty Unit 16. Printers and queues
What this unit is about
This unit describes the concepts behind the AIX print spooling mechanisms in AIX 6.1.
What you should be able to do
After completing this unit, you should be able to:
• Describe the purpose and the benefits of a queuing system • Identify the major components that are responsible for processing
a print request • Add a printer queue and device under different circumstances • Submit jobs for printing • View the status of the print queues
How you will check your progress
Accountability:
• Checkpoint questions • Exercise
References
Online AIX 6.1 System Management Guide
Online AIX 5L Version 5.3 Guide to Printers and Printing
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. 1997, 2008 Unit 17. Networking overview 17-1
V4.1
Uempty Unit 17. Networking overview
What this unit is about
This unit gives an overview of TCP/IP and networking concepts.
What you should be able to do
After completing this unit, you should be able to:
• Define the basic TCP/IP terminology • Configure TCP/IP for an Ethernet or Token-Ring connection • Use some of the standard TCP/IP facilities to:
- Log in to another system - Transfer files - Run commands
How you will check your progress
Accountability:
• Checkpoint question • Exercise
References
Online System Management Guide: Communications and Networks
���®