| Notices |
|
xiii | |
| Trademarks |
|
xiv | |
| Preface |
|
xv | |
| The team that wrote this redbook |
|
xvi | |
| Acknowledgements |
|
xviii | |
| Become a published author |
|
xviii | |
| Comments welcome |
|
xix | |
|
Part 1. Background and planning |
|
|
1 | (20) |
|
|
|
3 | (8) |
|
|
|
4 | (1) |
|
Linux kernels, distributions, and distributors |
|
|
4 | (2) |
|
|
|
5 | (1) |
|
The Linux operating system |
|
|
5 | (1) |
|
|
|
5 | (1) |
|
How this book is organized |
|
|
6 | (1) |
|
Linux administration overview |
|
|
7 | (3) |
|
|
|
8 | (1) |
|
|
|
8 | (1) |
|
|
|
9 | (1) |
|
|
|
10 | (1) |
|
|
|
10 | (1) |
|
|
|
11 | (10) |
|
Assemble the stakeholders |
|
|
12 | (1) |
|
Set objectives and define scope |
|
|
13 | (1) |
|
Assess workload and environment |
|
|
14 | (3) |
|
|
|
14 | (2) |
|
|
|
16 | (1) |
|
Custom application porting |
|
|
16 | (1) |
|
|
|
16 | (1) |
|
Integration with existing network services |
|
|
16 | (1) |
|
Other important infrastructure requirements |
|
|
17 | (1) |
|
|
|
17 | (1) |
|
Assess skill requirements |
|
|
17 | (1) |
|
|
|
18 | (3) |
|
Part 2. System administration differences guide |
|
|
21 | (214) |
|
Operating system installation |
|
|
23 | (28) |
|
Basic system installation |
|
|
24 | (5) |
|
Graphical or text installation |
|
|
25 | (1) |
|
Other installation methods |
|
|
25 | (1) |
|
|
|
26 | (1) |
|
|
|
27 | (1) |
|
|
|
28 | (1) |
|
Advanced installation and automation |
|
|
29 | (18) |
|
Installing using a serial interface as input/output device |
|
|
29 | (1) |
|
Configuring a serial console device |
|
|
30 | (1) |
|
Installing using remote display |
|
|
31 | (1) |
|
|
|
32 | (1) |
|
|
|
32 | (5) |
|
|
|
37 | (10) |
|
|
|
47 | (1) |
|
Network-based install: Solaris and Linux heterogeneous environments |
|
|
47 | (4) |
|
Solaris system serving Linux network installation |
|
|
47 | (3) |
|
Linux system serving Solaris network installation |
|
|
50 | (1) |
|
|
|
51 | (24) |
|
Disks and disk partitioning |
|
|
52 | (3) |
|
|
|
52 | (1) |
|
|
|
53 | (2) |
|
Disk-based file system management |
|
|
55 | (1) |
|
|
|
56 | (2) |
|
Network File System (NFS) |
|
|
58 | (1) |
|
|
|
58 | (1) |
|
|
|
59 | (1) |
|
|
|
60 | (2) |
|
|
|
62 | (1) |
|
|
|
62 | (3) |
|
Solaris Volume Manager to Linux LVM |
|
|
65 | (8) |
|
|
|
73 | (2) |
|
|
|
75 | (10) |
|
|
|
76 | (2) |
|
Package management in Solaris |
|
|
76 | (1) |
|
Package management in Linux |
|
|
76 | (2) |
|
|
|
78 | (1) |
|
|
|
79 | (1) |
|
|
|
79 | (1) |
|
|
|
79 | (1) |
|
Dependency management in Solaris |
|
|
80 | (1) |
|
Dependency management in Linux |
|
|
80 | (1) |
|
Package distribution methods |
|
|
80 | (1) |
|
Automated software management |
|
|
81 | (1) |
|
Automated software management in Solaris |
|
|
81 | (1) |
|
Automated software management in Linux |
|
|
81 | (1) |
|
Activating fixes after updating |
|
|
82 | (1) |
|
Patch activation in Solaris |
|
|
82 | (1) |
|
Patch activation in Linux |
|
|
82 | (1) |
|
Compiling patches in Linux |
|
|
82 | (3) |
|
|
|
85 | (22) |
|
Device access and configuration |
|
|
86 | (8) |
|
|
|
86 | (3) |
|
Displaying device configuration information |
|
|
89 | (3) |
|
|
|
92 | (1) |
|
|
|
93 | (1) |
|
|
|
94 | (7) |
|
|
|
94 | (1) |
|
Managing and accessing removable media |
|
|
94 | (2) |
|
Formatting removable media |
|
|
96 | (1) |
|
|
|
96 | (2) |
|
|
|
98 | (3) |
|
|
|
101 | (4) |
|
Terminal setup and initialization |
|
|
102 | (1) |
|
|
|
103 | (1) |
|
|
|
103 | (1) |
|
|
|
104 | (1) |
|
Distribution-based device management tools |
|
|
105 | (2) |
|
|
|
107 | (18) |
|
|
|
108 | (5) |
|
|
|
113 | (1) |
|
Mixed IPv4 and IPv6 networks |
|
|
114 | (1) |
|
Static and dynamic routing |
|
|
114 | (2) |
|
|
|
116 | (1) |
|
|
|
116 | (1) |
|
|
|
116 | (1) |
|
|
|
117 | (6) |
|
inetd-based versus xinetd-based network services |
|
|
117 | (2) |
|
|
|
119 | (1) |
|
|
|
120 | (1) |
|
|
|
120 | (1) |
|
|
|
120 | (1) |
|
|
|
121 | (1) |
|
|
|
121 | (1) |
|
Web proxy and cache servers |
|
|
122 | (1) |
|
|
|
122 | (1) |
|
|
|
123 | (1) |
|
|
|
123 | (2) |
|
Boot and system initialization |
|
|
125 | (14) |
|
|
|
126 | (5) |
|
|
|
126 | (1) |
|
|
|
127 | (1) |
|
|
|
127 | (4) |
|
|
|
131 | (1) |
|
|
|
132 | (3) |
|
|
|
133 | (1) |
|
Run control files (rc files) |
|
|
133 | (1) |
|
|
|
134 | (1) |
|
|
|
135 | (1) |
|
|
|
135 | (4) |
|
Managing system resources |
|
|
139 | (12) |
|
Displaying system information |
|
|
140 | (1) |
|
|
|
140 | (1) |
|
Starting and stopping system services |
|
|
141 | (3) |
|
|
|
141 | (1) |
|
|
|
142 | (2) |
|
Scheduling and cron services |
|
|
144 | (1) |
|
|
|
145 | (1) |
|
|
|
146 | (1) |
|
|
|
146 | (1) |
|
|
|
146 | (1) |
|
Remote system management services |
|
|
147 | (4) |
|
Web-Based Enterprise Management (WBEM) |
|
|
147 | (2) |
|
Simple Network Management Protocol (SNMP) |
|
|
149 | (2) |
|
|
|
151 | (8) |
|
|
|
152 | (1) |
|
|
|
152 | (1) |
|
|
|
153 | (1) |
|
Printer management using the lp commands |
|
|
154 | (2) |
|
Printer types and CUPS support |
|
|
156 | (3) |
|
|
|
159 | (14) |
|
Basic user administration |
|
|
160 | (1) |
|
|
|
160 | (3) |
|
|
|
160 | (1) |
|
Changing user account information |
|
|
161 | (1) |
|
|
|
162 | (1) |
|
|
|
163 | (1) |
|
|
|
163 | (1) |
|
|
|
164 | (1) |
|
User ID and group ID differences |
|
|
165 | (8) |
|
Monitoring and performance |
|
|
173 | (8) |
|
|
|
175 | (1) |
|
|
|
175 | (1) |
|
Physical media, software RAID, LVM, and file systems |
|
|
176 | (2) |
|
Logical volume groups and logical volumes |
|
|
177 | (1) |
|
|
|
178 | (1) |
|
|
|
178 | (1) |
|
System and user processes |
|
|
179 | (2) |
|
|
|
181 | (6) |
|
|
|
182 | (1) |
|
|
|
182 | (1) |
|
File system backup and restore |
|
|
183 | (1) |
|
|
|
183 | (1) |
|
|
|
183 | (1) |
|
|
|
184 | (1) |
|
|
|
185 | (2) |
|
|
|
187 | (18) |
|
Patching and security updates |
|
|
188 | (1) |
|
|
|
188 | (1) |
|
|
|
188 | (1) |
|
|
|
189 | (1) |
|
Securing and removing services |
|
|
189 | (3) |
|
|
|
189 | (1) |
|
|
|
190 | (1) |
|
|
|
191 | (1) |
|
Kernel tuning for security |
|
|
192 | (1) |
|
|
|
193 | (1) |
|
|
|
194 | (1) |
|
|
|
194 | (3) |
|
|
|
195 | (1) |
|
Limiting superuser login to secure terminals |
|
|
196 | (1) |
|
|
|
197 | (1) |
|
|
|
197 | (1) |
|
|
|
197 | (1) |
|
|
|
198 | (1) |
|
|
|
199 | (3) |
|
|
|
202 | (1) |
|
|
|
202 | (3) |
|
Linux high availability overview |
|
|
205 | (6) |
|
|
|
206 | (1) |
|
|
|
206 | (1) |
|
Some features of Linux-HA |
|
|
206 | (1) |
|
|
|
207 | (1) |
|
|
|
207 | (1) |
|
Cluster Resource Manager (CRM) |
|
|
207 | (1) |
|
Consensus Cluster Membership (CCM) |
|
|
208 | (1) |
|
Local Resource Manager (LRM) |
|
|
208 | (1) |
|
|
|
208 | (1) |
|
|
|
208 | (1) |
|
Cluster environment considerations |
|
|
209 | (2) |
|
Data sharing arrangements |
|
|
209 | (1) |
|
|
|
209 | (2) |
|
|
|
211 | (4) |
|
Overview of the shell environment |
|
|
212 | (1) |
|
Solaris shell environments |
|
|
212 | (1) |
|
|
|
212 | (1) |
|
|
|
213 | (1) |
|
|
|
213 | (2) |
|
|
|
215 | (20) |
|
Troubleshooting the booting process |
|
|
216 | (1) |
|
|
|
216 | (2) |
|
|
|
218 | (2) |
|
|
|
220 | (2) |
|
Permissions: File access problems |
|
|
222 | (1) |
|
Problem: Command not found |
|
|
222 | (1) |
|
|
|
223 | (1) |
|
|
|
223 | (2) |
|
Troubleshooting remote printer connectivity |
|
|
224 | (1) |
|
Troubleshooting local printers |
|
|
224 | (1) |
|
|
|
225 | (2) |
|
|
|
226 | (1) |
|
|
|
227 | (1) |
|
|
|
227 | (1) |
|
|
|
227 | (2) |
|
|
|
229 | (1) |
|
|
|
230 | (1) |
|
System and user processes |
|
|
231 | (1) |
|
Diagnostic and debugging tools |
|
|
232 | (3) |
|
Part 3. IBM eServer platforms |
|
|
235 | (108) |
|
IBM eServer xSeries hardware platform specifics |
|
|
237 | (10) |
|
Installation considerations |
|
|
238 | (1) |
|
|
|
238 | (1) |
|
|
|
239 | (1) |
|
Hardware and device differences |
|
|
239 | (6) |
|
|
|
240 | (4) |
|
|
|
244 | (1) |
|
|
|
245 | (2) |
|
IBM Power technology hardware platform specifics |
|
|
247 | (60) |
|
|
|
248 | (11) |
|
IBM eServer i5 and eServer p5 |
|
|
248 | (6) |
|
IBM eServer BladeCenter JS20 |
|
|
254 | (5) |
|
Booting and system initialization |
|
|
259 | (19) |
|
IBM eServer i5 and eServer p5 |
|
|
259 | (5) |
|
|
|
264 | (14) |
|
|
|
278 | (6) |
|
eServer i5 and eServer p5 |
|
|
278 | (1) |
|
|
|
278 | (1) |
|
|
|
279 | (1) |
|
|
|
280 | (3) |
|
YaBoot OpenFirmware boot loader |
|
|
283 | (1) |
|
eServer i5 and eServer p5 virtualization |
|
|
284 | (19) |
|
Create a virtual I/O server partition profile |
|
|
285 | (6) |
|
Create a client partition profile |
|
|
291 | (4) |
|
Configure Linux on a virtual I/O server |
|
|
295 | (7) |
|
Configure Linux on a virtual client partition |
|
|
302 | (1) |
|
Power technology platform service and productivity tools |
|
|
303 | (1) |
|
|
|
304 | (1) |
|
|
|
304 | (1) |
|
References and further readings |
|
|
304 | (3) |
|
IBM eServer zSeries and IBM System z hardware platform specifics |
|
|
307 | (36) |
|
|
|
309 | (3) |
|
|
|
310 | (1) |
|
|
|
310 | (1) |
|
|
|
311 | (1) |
|
Linux distributions and z/VM |
|
|
311 | (1) |
|
S/390 and zSeries overview |
|
|
312 | (8) |
|
|
|
312 | (1) |
|
|
|
312 | (1) |
|
|
|
313 | (2) |
|
|
|
315 | (1) |
|
|
|
315 | (1) |
|
|
|
316 | (3) |
|
|
|
319 | (1) |
|
Logical partition concepts |
|
|
319 | (1) |
|
|
|
320 | (1) |
|
Installation methods and techniques |
|
|
320 | (6) |
|
Preparing the z/VM guest resources |
|
|
321 | (1) |
|
Server farms or cloned environments |
|
|
321 | (5) |
|
Booting, system initialization, and shutdown |
|
|
326 | (1) |
|
|
|
327 | (4) |
|
|
|
327 | (1) |
|
|
|
328 | (3) |
|
Performance monitoring and tuning |
|
|
331 | (3) |
|
|
|
331 | (2) |
|
|
|
333 | (1) |
|
Troubleshooting and diagnostics |
|
|
334 | (1) |
|
z/VM troubleshooting and diagnostics |
|
|
334 | (1) |
|
Linux troubleshooting and diagnostics |
|
|
335 | (1) |
|
S/390 and zSeries-specific Linux commands |
|
|
335 | (3) |
|
Packages specifically for the mainframe |
|
|
336 | (1) |
|
Commands specifically for the mainframe |
|
|
336 | (2) |
|
|
|
338 | (3) |
|
|
|
338 | (1) |
|
|
|
338 | (1) |
|
Automating Linux guest boot and shutdown |
|
|
339 | (1) |
|
|
|
340 | (1) |
|
Backup and recovery options |
|
|
340 | (1) |
|
|
|
341 | (1) |
|
|
|
342 | (1) |
|
|
|
343 | (2) |
|
Appendix A. Tasks reference |
|
|
345 | (20) |
|
|
|
346 | (1) |
|
Installing and upgrading tasks |
|
|
346 | (2) |
|
Booting and shutting down |
|
|
348 | (3) |
|
|
|
351 | (1) |
|
Device management and configuration |
|
|
352 | (1) |
|
Network management and configuration |
|
|
353 | (1) |
|
NFS management and configuration |
|
|
354 | (1) |
|
Managing system resources |
|
|
354 | (1) |
|
|
|
355 | (1) |
|
Managing scheduling and cron |
|
|
356 | (1) |
|
|
|
356 | (1) |
|
Managing process accounting |
|
|
357 | (1) |
|
Printer management and configuration |
|
|
357 | (1) |
|
Disk and file system management |
|
|
358 | (1) |
|
|
|
359 | (1) |
|
Logical volume management |
|
|
359 | (3) |
|
|
|
362 | (1) |
|
|
|
363 | (2) |
|
Appendix B. Commands and configuration files reference |
|
|
365 | (6) |
|
Configuration and other files |
|
|
366 | (1) |
|
|
|
367 | (4) |
|
Common Solaris and Linux commands |
|
|
369 | (2) |
|
Appendix C. Unix to Linux Porting: A Comprehensive Reference (table of contents and sample chapter) |
|
|
371 | (26) |
|
|
|
372 | (1) |
|
Chapter 1 Porting Project Considerations |
|
|
373 | (1) |
|
Software Application Business Process |
|
|
373 | (1) |
|
|
|
374 | (4) |
|
Defining Project Scope and Objectives |
|
|
378 | (2) |
|
|
|
380 | (5) |
|
Creating a Porting Project Schedule |
|
|
385 | (2) |
|
Porting Process from a Business Perspective |
|
|
387 | (1) |
|
Annotated Sample Technical Questionnaire |
|
|
387 | (7) |
|
|
|
394 | (3) |
|
Appendix D. Example: System information gathering script |
|
|
397 | (4) |
|
Appendix E. Additional material |
|
|
401 | (2) |
|
Locating the Web material |
|
|
402 | (1) |
|
|
|
402 | (1) |
|
|
|
403 | (10) |
|
|
|
403 | (1) |
|
|
|
404 | (1) |
|
|
|
405 | (6) |
|
|
|
411 | (1) |
|
|
|
411 | (2) |
| Index |
|
413 | |