Sun Solaris to IBM AIX 5L Migration: A Guide for System Administrators
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's
responsibility to evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you.
Introduction
This part begins with a systems administrator’s perspective on the fundamental differences between Solaris and AIX 5L in Chapter 1, “AIX 5L and Solaris: Approaches to administration” on page 3, followed by Chapter 2, “Introduction to IBM System p” on page 29.
Sun Solaris to IBM AIX 5L Migration: A Guide for System Administrators
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
The team that wrote this IBM Redbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Part 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 1
Chapter 1. AIX 5L and Solaris: Approaches to administration . . . . . . . . . . 3
1.1 System configuration methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 The System Management Interface Tool . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2.1 The SMIT selector screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.2 The SMIT dialog screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.3 The SMIT output screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.3 Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.4 Object Data Manager: The system configuration storage facility in AIX 5L15
1.5 Errpt and syslog in AIX 5L. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.6 Operator panel or light-emitting diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.7 Important reminders: The inittab file and the Object Data Manager . . . . . 21
1.8 AIX 5L kernel parameters versus Solaris kernel parameters . . . . . . . . . . 22
1.9 Some useful AIX 5L hints for the Solaris administrator . . . . . . . . . . . . . . . 23
Part 2. System administration differences . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Chapter 2. Introduction to IBM System p . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.1 Introduction to IBM System p and IBM RS/6000 architectures . . . . . . . . . 30
2.1.1 RS/6000 system bus types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.1.2 POWER2 Super Chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.1.3 POWER3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.1.4 POWER3 II chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.1.5 PowerPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.1.6 The RS64 processor family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.1.7 POWER4 and POWER4+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.1.8 POWER5 and POWER5+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.1.9 POWER4-based server features. . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.1.10 POWER5-based server features. . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.2 Planning considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.2.1 IBM System p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.3 Concepts for AIX 5L logical partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.3.1 Hardware requirements for AIX 5L logical partitions. . . . . . . . . . . . . 39
2.3.2 Logical partition planning tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2.4 IBM eServer BladeCenter JS20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2.4.1 Network planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2.4.2 Minimal network requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2.5 IBM System p High Performance Switch . . . . . . . . . . . . . . . . . . . . . . . . . 45
2.6 IBM System Cluster 1600 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Chapter 3. Operating system installation . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.1 Basic system installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.2 Graphical installation or text installation . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.3 New and complete overwrite installation . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.4 Migration installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.5 Preservation installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.6 Advanced installation options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.7 Other installation methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.7.1 Alternate disk installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.7.2 Alternate disk migration installation. . . . . . . . . . . . . . . . . . . . . . . . . . 64
3.8 Using the multibos utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3.9 Network Installation Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3.9.1 Network Installation Management environments . . . . . . . . . . . . . . . 69
3.9.2 Network Installation Management setup . . . . . . . . . . . . . . . . . . . . . . 69
3.9.3 Installing Network Installation Management from a command line . . 73
3.9.4 Installing the Base Operating System on a Network Installation Management client . . . . 75
3.9.5 Booting a machine over the network. . . . . . . . . . . . . . . . . . . . . . . . . 76
3.10 AIX 5L installation in a partitioned environment . . . . . . . . . . . . . . . . . . . 77
3.10.1 Installing AIX 5L in a partitioned environment. . . . . . . . . . . . . . . . . 77
3.10.2 Configuring an initial partition as a NIM master . . . . . . . . . . . . . . . 77
3.10.3 Installing AIX 5L using a CD-ROM device . . . . . . . . . . . . . . . . . . . 85
3.11 Installing AIX 5L on IBM BladeCenter . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Chapter 4. Disks and file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.1 Disk administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.2 Disk recognition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.3 Multipath I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
4.4 Storage area network administration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
4.4.1 SAN command-line examples on AIX 5L . . . . . . . . . . . . . . . . . . . . . 95
4.5 Logical Volume Manager administration on AIX 5L . . . . . . . . . . . . . . . . . 96
4.5.1 Logical Volume Manager configuration data. . . . . . . . . . . . . . . . . . . 97
4.6 Physical volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
4.7 Volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
4.8 Logical volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
4.8.1 File system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.8.2 Disk mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.9 File system types and management . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
4.9.1 Basic administration and concepts . . . . . . . . . . . . . . . . . . . . . . . . . 109
4.9.2 File system types on Solaris and AIX 5L. . . . . . . . . . . . . . . . . . . . . 110
4.9.3 Network File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
4.9.4 Autofs automounter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
4.9.5 Virtual file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
4.9.6 Swap space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
4.9.7 File system journaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
4.10 Migration from physical disks partition to AIX 5L. . . . . . . . . . . . . . . . . . 127
4.11 Migration from Solaris Volume Manager to AIX 5L . . . . . . . . . . . . . . . . 128
4.11.1 Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
4.11.2 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
4.12 Migration from Veritas Volume Manager . . . . . . . . . . . . . . . . . . . . . . . . 130
4.12.1 Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
4.12.2 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Chapter 5. Software management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
5.1 Packages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
5.1.1 Package management in Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . 135
5.1.2 Package management in AIX 5L. . . . . . . . . . . . . . . . . . . . . . . . . . . 135
5.2 AIX 5L Base Operating System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
5.2.1 Bonus pack and expansion pack . . . . . . . . . . . . . . . . . . . . . . . . . . 140
5.2.2 Software updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
5.2.3 Software states under AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
5.2.4 Installing software under AIX 5L using smitty . . . . . . . . . . . . . . . . . 142
5.2.5 Installing optional software using the Web-based System Manager....144
5.3 Patching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
5.3.1 Patching in Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
5.3.2 Patching in AIX 5L. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
5.4 Maintenance levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
5.5 Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
5.5.1 Dependency management in Solaris . . . . . . . . . . . . . . . . . . . . . . . 150
5.5.2 Package dependencies in AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . 151
5.5.3 Package distribution methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
5.6 Automated software management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
5.6.1 Automated software management in Solaris . . . . . . . . . . . . . . . . . 151
5.6.2 Automated software management in AIX 5L. . . . . . . . . . . . . . . . . . 152
5.7 Activating the fixes after updating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.7.1 Patch activation in Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.7.2 Patch activation in AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.7.3 Verifying the integrity of the operating system . . . . . . . . . . . . . . . . 154
5.8 Software management in clustered environments . . . . . . . . . . . . . . . . . 154
5.8.1 Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
5.8.2 AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Chapter 6. Device management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
6.1 Device access and configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
6.1.1 Device naming and access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
6.1.2 Solaris logical disk devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
6.1.3 AIX 5L disk devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
6.2 Accessing devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
6.3 Listing device information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
6.3.1 Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
6.3.2 AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
6.4 Adding a device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
6.4.1 Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
6.4.2 AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
6.5 Modifying a device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
6.5.1 Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
6.5.2 AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
6.6 Removing a device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.6.1 Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.6.2 AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.7 Alternate disk paths (multipathing) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
6.7.1 Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
6.7.2 AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
6.8 Device management summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Chapter 7. Network services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
7.1 Network configuration changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
7.1.1 Instructions for Solaris. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
7.1.2 Instructions for AIX 5L. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
7.1.3 Common network configuration files in Solaris and AIX 5L . . . . . . 188
7.1.4 Other networking differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
7.2 Differences between Internet Protocol V4 and Internet Protocol V6 . . . . 191
7.3 Mixed IPv4 and IPv6 networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
7.3.1 Tunneling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
7.4 Network load balancing and failover solutions . . . . . . . . . . . . . . . . . . . . 195
7.4.1 Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
7.4.2 AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
7.5 Static and dynamic routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
7.6 IP network services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
7.6.1 inetd-based . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
7.6.2 Dynamic Host Configuration Protocol . . . . . . . . . . . . . . . . . . . . . . . 202
7.6.3 Domain Name System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
7.6.4 Network Time Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
7.6.5 Lightweight Directory Access Protocol . . . . . . . . . . . . . . . . . . . . . . 206
7.6.6 Network Information Service and Network Information Service+ . . 206
7.6.7 Network File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
7.6.8 Mail services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
7.7 Simple Network Management Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Chapter 8. Boot and system initialization . . . . . . . . . . . . . . . . . . . . . . . . . 213
8.1 Booting a system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
8.1.1 Booting types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
8.1.2 Overview of Solaris for SPARC booting process . . . . . . . . . . . . . . 216
8.1.3 Overview of the AIX 5L boot process . . . . . . . . . . . . . . . . . . . . . . . 216
8.1.4 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
8.1.5 Using the Hardware Management Console to perform a slow boot 222
8.2 Useful commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
8.3 The /etc/inittab file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
8.3.1 Startup process in Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
8.3.2 Startup process in AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
8.3.3 AIX 5L run levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
8.4 System shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
8.5 Network booting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Chapter 9. Managing system resources . . . . . . . . . . . . . . . . . . . . . . . . . . 239
9.1 Displaying system information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
9.2 Resource management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
9.2.1 Solaris domains and dynamic reconfiguration . . . . . . . . . . . . . . . . 243
9.2.2 Solaris Resource Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
9.2.3 AIX 5L logical partitioning, dynamic LPAR, and virtualization. . . . . 244
9.2.4 AIX 5L Partition Load Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
9.2.5 AIX 5L Work Load Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
9.2.6 Reliable Scalable Cluster Technology . . . . . . . . . . . . . . . . . . . . . . 248
9.3 Starting and stopping the system services . . . . . . . . . . . . . . . . . . . . . . . 250
9.4 Scheduling services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
9.5 Quotas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
9.6 Process accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
9.7 Management tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
9.7.1 Common system management tools. . . . . . . . . . . . . . . . . . . . . . . . 260
9.7.2 Solaris remote system management. . . . . . . . . . . . . . . . . . . . . . . . 262
9.7.3 AIX 5L management tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
9.7.4 Web-based System Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Chapter 10. Printing services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
10.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
10.2 AIX 5L print subsystem versus Solaris lpsched print subsystem . . . . . 280
10.3 Print queue administration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
10.3.1 Adding a local print queue. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
10.3.2 Displaying a queue configuration information . . . . . . . . . . . . . . . . 290
10.3.3 Deleting a queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
10.3.4 Enabling and disabling a queue . . . . . . . . . . . . . . . . . . . . . . . . . . 293
10.3.5 Cancelling print jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
10.4 Print job management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
10.4.1 Submitting printing jobs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
10.4.2 Checking the status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
10.4.3 Print queue status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
10.4.4 Cancelling a printing job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
10.4.5 Prioritizing a printing job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
10.4.6 Holding and releasing a printing job . . . . . . . . . . . . . . . . . . . . . . . 307
10.4.7 Moving a job between queues . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
10.5 Printer pooling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
10.6 Using System V print subsystem on AIX 5L . . . . . . . . . . . . . . . . . . . . . 310
10.7 System files associated with printing. . . . . . . . . . . . . . . . . . . . . . . . . . . 312
10.8 Remote printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
10.9 Common UNIX Printing System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
10.10 Quick reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Chapter 11. Users and groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
11.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
11.2 Adding users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
11.3 Removing users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
11.4 Displaying users who are currently logged in . . . . . . . . . . . . . . . . . . . . 329
11.5 Changing users, passwords, and other attributes . . . . . . . . . . . . . . . . . 331
11.5.1 Changing a user’s password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
11.5.2 Disabling a user account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
11.5.3 Modifying a user account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
11.6 Customizing a user’s work environment . . . . . . . . . . . . . . . . . . . . . . . . 341
11.7 Password files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
11.8 Administering groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
11.8.1 Adding a group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
11.8.2 Modifying an existing group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
11.8.3 Deleting a group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
11.9 Checking for inconsistencies in passwords and group definitions . . . . 353
11.10 Defining the system resource limits for users . . . . . . . . . . . . . . . . . . . 355
11.11 Quick reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Chapter 12. Monitoring and performance . . . . . . . . . . . . . . . . . . . . . . . . . 359
12.1 Monitoring memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
12.1.1 Solaris memory management . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
12.1.2 AIX 5L memory management . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
12.2 Virtual memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
12.2.1 The vmstat command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
12.3 The top and topas commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
12.4 AIX 5L paging and memory statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 366
12.5 Monitoring the processors and the CPU . . . . . . . . . . . . . . . . . . . . . . . . 368
12.5.1 Using sar to monitor CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
12.5.2 Using filemon to monitor CPU. . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
12.5.3 The procmon tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
12.6 Physical media, software RAID, Logical Volume Manager, and file systems . . . . . . . 373
12.6.1 Physical media monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
12.6.2 Monitoring logical volumes and logical volume groups . . . . . . . . . 373
12.6.3 Software Redundant Array of Independent Disks . . . . . . . . . . . . . 374
12.6.4 Logical volume monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
12.6.5 File systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
12.7 Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
12.8 System and user processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Chapter 13. Security and hardening . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
13.1 Hardware security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
13.1.1 System Controllers on Sun servers. . . . . . . . . . . . . . . . . . . . . . . . 378
13.1.2 OpenBoot PROM on Sun servers . . . . . . . . . . . . . . . . . . . . . . . . . 378
13.1.3 Hardware Management Console on IBM servers . . . . . . . . . . . . . 379
13.1.4 IBM System p hardware security features . . . . . . . . . . . . . . . . . . 379
13.2 Additional security features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
13.3 User and password policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
13.4 Securing the File Transfer Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
13.5 Removing unused services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
13.6 Access control list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
13.7 Auditing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
13.8 Light Directory Access Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
13.9 Secure Shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
13.10 Transmission Control Protocol Wrapper . . . . . . . . . . . . . . . . . . . . . . . 391
13.11 Network File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
13.12 Sudo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
13.13 Kerberos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
13.14 IP Security Architecture and Internet Key Exchange . . . . . . . . . . . . . 395
13.15 Pluggable Authentication Module and Loadable Authentication Module . . . . . . 396
Chapter 14. Backup and restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
14.1 Local tape, CD, or DVD operating system backup . . . . . . . . . . . . . . . . 400
14.1.1 Solaris ufsdump backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
14.1.2 Solaris flash archive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
14.1.3 AIX 5L tape image backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
14.1.4 AIX 5L CD or DVD image backup . . . . . . . . . . . . . . . . . . . . . . . . . 404
14.2 Remote operating system backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
14.2.1 Creating an mksysb image of the machine using the Network Installation Manager . . . . 407
14.3 Volume group backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
14.4 File system or directory backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
14.5 Raw devices backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
14.6 AIX 5L SysBack (IBM Tivoli Storage Manager for System Backup and Recovery) . . . . . . 415
14.7 Compression tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
14.8 Managing tape backup media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Chapter 15. High availability and clustering overview. . . . . . . . . . . . . . . 421
15.1 Introduction to clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
15.2 Solaris clustering software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
15.2.1 Sun cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
15.2.2 Veritas Cluster Server for Solaris . . . . . . . . . . . . . . . . . . . . . . . . . 423
15.2.3 Linux high availability on Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . 424
15.3 AIX 5L clustering software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
15.3.1 AIX 5L HACMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
15.3.2 AIX 5L HACMP/XD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
15.3.3 AIX 5L Cluster Systems Management . . . . . . . . . . . . . . . . . . . . . 426
Chapter 16. Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
16.1 The booting process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
16.1.1 Boot troubleshooting: Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
16.1.2 Boot troubleshooting: AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
16.2 Core files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
16.2.1 Management of core files: Solaris . . . . . . . . . . . . . . . . . . . . . . . . . 433
16.2.2 Management of core files: AIX 5L . . . . . . . . . . . . . . . . . . . . . . . . . 434
16.2.3 Determining which process failed and caused a core file . . . . . . . 434
16.3 Crash or system dumps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
16.4 Logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
16.4.1 Syslogging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
16.4.2 Differences in logging between Solaris and AIX 5L . . . . . . . . . . . 439
16.4.3 Application logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
16.5 File systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
16.5.1 Journaled file systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
16.5.2 Remote file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
16.6 Software Redundant Array of Independent Disks . . . . . . . . . . . . . . . . . 442
16.7 Logical volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
16.8 Packages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
16.9 Root password recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
16.10 Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
16.11 Tracing the system and user processes . . . . . . . . . . . . . . . . . . . . . . . 447
16.12 Using the truss command in troubleshooting . . . . . . . . . . . . . . . . . . . 449
Part 3. Appendixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
Appendix A. Tasks reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Packaging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Installation and upgrading tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Booting and shutting down. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
User management tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
Device management and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Multipath Input/Output management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Network management and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Network File System management and configuration . . . . . . . . . . . . . . . . . . 470
Monitoring and performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Memory management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Processors and CPU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
Physical media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Software Redundant Array of Independent Disks . . . . . . . . . . . . . . . . . . . 473
Logical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
File systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
System and user processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
Displaying system information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
Starting and stopping system services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
Scheduling services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
Quotas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
AIX 5L management tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
Backup and restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
Printer management and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
Disk and file system management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
File systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
Physical disk and Logical Volume Manager. . . . . . . . . . . . . . . . . . . . . . . . . . 491
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
Managing core files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
Crash dumps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Networking problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
Using logs to troubleshoot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
File systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
System and user problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
Appendix B. Quick reference: Comparable commands and configuration files. . . . . . . . 499
Configuration and other files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Appendix C. AIX 5L Object Data Manager . . . . . . . . . . . . . . . . . . . . . . . . 503
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
Object Data Manager components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
Object Data Manager commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
Changing the attribute values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
Location and contents of the Objects Data Manager repository . . . . . . . . . . 506
Object Data Manager device configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
Other publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
How to get IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
Download attached file: You must be Loged in to download file