IBM AIX Version 6.1 Differences Guide · PDF fileibm.com/redbooks IBM AIX Version 6.1...

download IBM AIX Version 6.1 Differences Guide · PDF fileibm.com/redbooks IBM AIX Version 6.1 Differences Guide Roman Aleksic Ismael "Numi" Castillo Rosa Fernandez Armin Röll Nobuhiko Watanabe

If you can't read please download the document

Transcript of IBM AIX Version 6.1 Differences Guide · PDF fileibm.com/redbooks IBM AIX Version 6.1...

  • ibm.com/redbooks

    IBM AIX Version 6.1Differences Guide

    Roman AleksicIsmael "Numi" Castillo

    Rosa FernandezArmin Rll

    Nobuhiko Watanabe

    AIX - The industrial strength UNIX operating system

    AIX Version 6.1 enhancements explained

    An experts guide to the new release

    Front cover

    http://www.redbooks.ibm.com/http://www.redbooks.ibm.com/

  • IBM AIX Version 6.1 Differences Guide

    March 2008

    International Technical Support Organization

    SG24-7559-00

  • Copyright International Business Machines Corporation 2007, 2008. All rights reserved.Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADPSchedule Contract with IBM Corp.

    First Edition (March 2008)

    This edition applies to AIX Version 6.1, program number 5765-G62.

    Note: Before using this information and the product it supports, read the information in Notices on page xvii.

  • Contents

    Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii

    Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviiTrademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii

    Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xixThe team that wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xixBecome a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiComments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi

    Chapter 1. Application development and system debug. . . . . . . . . . . . . . . 11.1 Transport independent RPC library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2 AIX tracing facilities review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.3 POSIX threads tracing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

    1.3.1 POSIX tracing overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.3.2 Trace event definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81.3.3 Trace stream definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.3.4 AIX implementation overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

    1.4 ProbeVue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211.4.1 ProbeVue terminology. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231.4.2 Vue programming language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241.4.3 The probevue command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251.4.4 The probevctrl command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251.4.5 Vue: an overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251.4.6 ProbeVue dynamic tracing example . . . . . . . . . . . . . . . . . . . . . . . . . 31

    Chapter 2. File systems and storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352.1 Disabling JFS2 logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362.2 JFS2 internal snapshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

    2.2.1 Managing internal snapshots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372.2.2 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392.2.3 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

    2.3 Encrypted File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402.3.1 Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412.3.2 Keystore modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412.3.3 File access permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422.3.4 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

    Copyright IBM Corp. 2007, 2008. All rights reserved. iii

  • 2.3.5 Enable and create EFS file systems . . . . . . . . . . . . . . . . . . . . . . . . . 442.3.6 File encryption and de-encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . 452.3.7 Encryption inheritance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482.3.8 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

    2.4 iSCSI target mode software solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502.4.1 iSCSI software target considerations . . . . . . . . . . . . . . . . . . . . . . . . 502.4.2 SMIT interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

    Chapter 3. Workload Partitions overview and resource management . . . 533.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543.2 WPAR based system virtualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553.3 Management tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

    3.3.1 Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563.4 System trace support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

    3.4.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573.4.2 WPAR tracing capabilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583.4.3 Trace WPAR filtering from the global environment . . . . . . . . . . . . . . 583.4.4 Trace report filtering from the Global environment . . . . . . . . . . . . . . 603.4.5 Tracing from within a WPAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

    3.5 File system metrics support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643.6 Network metrics support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653.7 Performance tools updates for WPAR support . . . . . . . . . . . . . . . . . . . . . 65

    3.7.1 Updates for the curt command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.7.2 Updates for the filemon command . . . . . . . . . . . . . . . . . . . . . . . . . . 683.7.3 Updates for the iostat command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713.7.4 Updates for the netpmon command . . . . . . . . . . . . . . . . . . . . . . . . . 743.7.5 Updates for the pprof command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783.7.6 Updates for the procmon plug-in. . . . . . . . . . . . . . . . . . . . . . . . . . . . 803.7.7 Updates for the proctree command. . . . . . . . . . . . . . . . . . . . . . . . . . 813.7.8 Updates for the svmon command . . . . . . . . . . . . . . . . . . . . . . . . . . . 833.7.9 Updates for the topas command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843.7.10 Updates for the tprof command. . . . . . . . . . . . . . . . . . . . . . . . . . . . 873.7.11 Updates for the vmstat command . . . . . . . . . . . . . . . . . . . . . . . . . . 89

    3.8 Standard command updates for WPAR support . . . . . . . . . . . . . . . . . . . . 923.9 Network file system support for WPARs . . . . . . . . . . . . . . . . . . . . . . . . . . 97

    3.9.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 973.9.2 NFS user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 983.9.3 AutoFS user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 993.9.4 CacheFS user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 993.9.5 Continuous availability enhancements for NFS . . . . . . . . . . . . . . . 100

    iv IBM AIX Version 6.1 Differences Guide

  • Chapter 4. Continuous availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1034.1 Storage protection keys. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044.2 Component trace and RTEC adoption . . . . . . . . . . . . . . . . . . . . . . . . . . 105

    4.2.1 VMM component trace and RTEC adoption . . . . . . . . . . . . . . . . . . 1104.2.2 AIX storage device driver component trace and RTEC support . . . 1144.2.3 Virtual SCSI device driver component trace and RTEC adoption. . 1154.2.4 MPIO and RAS component framework integration . . . . . . . . . . . . . 1164.2.5 InfiniBand device driver component trace and RTEC support . . . . 1184.2.6 LAN device driver component trace and RTEC support . . . . . . . . . 1204.2.7 Error level checking for TCP kernel and kernel extension . . . . . . . 1244.2.8 IPsec component trace exploitation . . . . . . . . . . . . . . . . . . . . . . . . 1264.2.9 PCI device driver component trace adoption . . . . . . . . . . . . . . . . . 1274.2.10 Virtual bus device driver component trace adoption . . . . . . . . . . . 1284.2.11 Component trace for USB system driver. . . . . . . . . . . . . . . . . . . . 1294.2.12 Component trace for USB audio . . . . . . . . . . .