| |
| |
Preface | |
| |
| |
| |
| |
Setting Up Your HP-UX System | |
| |
| |
SAM | |
| |
| |
Server vs. Workstation Implementation | |
| |
| |
Using the Setup Flowchart | |
| |
| |
Assemble Team (F1) | |
| |
| |
Inspect Site and Assemble Hardware (F2) | |
| |
| |
Logistical Considerations | |
| |
| |
Software Configuration | |
| |
| |
Order Documentation | |
| |
| |
Install HP-UX 11.x (F3) | |
| |
| |
Loading HP-UX 11.x - Installation Options | |
| |
| |
Loading HP-UX 11.x Software Using "Guided Installation" | |
| |
| |
Loading HP-UX 11.x Software Using "Advanced Installation" | |
| |
| |
Installing Software with Software Distributor-HP-UX | |
| |
| |
Build an HP-UX Kernel (F4) | |
| |
| |
Dynamically Loadable Kernel Modules | |
| |
| |
Building a Kernel | |
| |
| |
Configure Additional Peripherals (F5) | |
| |
| |
All About Device Files in HP-UX 11.x | |
| |
| |
An Example of Adding a Peripheral | |
| |
| |
Set Up Users and Groups (F6) | |
| |
| |
Assigning Users to Groups | |
| |
| |
SetUp Backup Procedure (F7) | |
| |
| |
Perform Ongoing System Administration Tasks (F8) | |
| |
| |
Memory Management | |
| |
| |
System Startup and Shutdown Scripts | |
| |
| |
System Shutdown | |
| |
| |
Manual Pages for Commands Used in Chapter 1 | |
| |
| |
Cpio | |
| |
| |
Dd | |
| |
| |
Diskinfo | |
| |
| |
Dmesg | |
| |
| |
Dump | |
| |
| |
Extendfs | |
| |
| |
Fbackup | |
| |
| |
Ioscan | |
| |
| |
Lsdev | |
| |
| |
Mksf | |
| |
| |
Shutdown | |
| |
| |
Sysdef | |
| |
| |
Tar | |
| |
| |
"sw" command summaries | |
| |
| |
| |
The HP-UX File System and Related Commands | |
| |
| |
Introduction | |
| |
| |
HP-UX File Types | |
| |
| |
Text Files | |
| |
| |
Data Files | |
| |
| |
Source Code File | |
| |
| |
Executable Files | |
| |
| |
Shell Programs | |
| |
| |
Links | |
| |
| |
Device Files | |
| |
| |
The file Command | |
| |
| |
The HP-UX 11.x File System Layout | |
| |
| |
Logical Volume Manager Background | |
| |
| |
Reconfiguring Some Disks | |
| |
| |
Why Change? | |
| |
| |
Optional Procedure to Exchange Dump Priorities | |
| |
| |
Some Additional File System Related Commands | |
| |
| |
Viewing File Systems with bdf | |
| |
| |
File System Maintenance with fsck | |
| |
| |
Initializing with mediainit | |
| |
| |
Manual Pages for Commands Used in Chapter 2 | |
| |
| |
Bdf | |
| |
| |
Fsck | |
| |
| |
"lv" command summaries | |
| |
| |
Mediainit | |
| |
| |
Newfs | |
| |
| |
"pv" command summaries | |
| |
| |
"vg" command summaries | |
| |
| |
| |
Networking | |
| |
| |
UNIX Networking | |
| |
| |
What Is All This Ethernet, IEEE802.3, TCP/IP Stuff, Anyway? | |
| |
| |
Internet Protocol (IP) Addressing | |
| |
| |
Using Networking | |
| |
| |
ARPA Services | |
| |
| |
Berkeley Commands | |
| |
| |
Host Name Mapping | |
| |
| |
Network File System (NFS) | |
| |
| |
Other Networking Commands and Setup | |
| |
| |
Manual Pages for Commands Used in Chapter 2 | |
| |
| |
Ftp | |
| |
| |
Ifconfig | |
| |
| |
Lanadmin | |
| |
| |
Lanscan | |
| |
| |
Netstat | |
| |
| |
Ping | |
| |
| |
Rcp | |
| |
| |
Remsh | |
| |
| |
Rlogin | |
| |
| |
Route | |
| |
| |
Rwho | |
| |
| |
Telnet | |
| |
| |
| |
System Administration Manager (SAM) | |
| |
| |
SAM Overview | |
| |
| |
Running and Using SAM as Superuser | |
| |
| |
Running Restricted SAM Builder | |
| |
| |
Accounts for Users and Groups | |
| |
| |
Adding a User | |
| |
| |
Adding a Group | |
| |
| |
Auditing and Security | |
| |
| |
Audited Events and Audited System Calls | |
| |
| |
Audited Users | |
| |
| |
Authenticated Commands | |
| |
| |
System Security Policies | |
| |
| |
Backup and Recovery | |
| |
| |
Scheduling a Backup | |
| |
| |
Interactive Backup and Recovery | |
| |
| |
Performing a Restore | |
| |
| |
Disks and File Systems | |
| |
| |
Disk Devices | |
| |
| |
File Systems | |
| |
| |
Logical Volumes | |
| |
| |
Swap | |
| |
| |
Volume Groups | |
| |
| |
Kernel Configuration | |
| |
| |
Configurable Parameters | |
| |
| |
Drivers | |
| |
| |
Dump Devices | |
| |
| |
Subsystems | |
| |
| |
Networking and Communications | |
| |
| |
Bootable Devices | |
| |
| |
DNS (BIND) | |
| |
| |
Hosts | |
| |
| |
NIS | |
| |
| |
NIS+ | |
| |
| |
Name Service Switch | |
| |
| |
Network Interface Cards | |
| |
| |
Network Services | |
| |
| |
Network File Systems | |
| |
| |
System Access | |
| |
| |
Performance Monitors | |
| |
| |
Disk and Terminal Activity | |
| |
| |
Glance Plus | |
| |
| |
Inter-Process Communication Facility Status | |
| |
| |
Processes with Highest CPU Usage | |
| |
| |
System Activity | |
| |
| |
System Properties | |
| |
| |
Virtual Memory Activity | |
| |
| |
Peripheral Devices | |
| |
| |
Cards | |
| |
| |
Device List | |
| |
| |
Tape Drives | |
| |
| |
Terminals and Modems | |
| |
| |
Uninterruptable Power Supplies | |
| |
| |
Printers and Plotters | |
| |
| |
Print Requests | |
| |
| |
Printers and Plotters | |
| |
| |
Save/Restore Spooler Configuration | |
| |
| |
Process Management | |
| |
| |
Process Control | |
| |
| |
Scheduling Cron Jobs | |
| |
| |
Routine Tasks | |
| |
| |
Backup and Recovery | |
| |
| |
Selective File Removal | |
| |
| |
System Log Files | |
| |
| |
System Shutdown | |
| |
| |
Running SAM on Remote Systems | |
| |
| |
Software Management | |
| |
| |
Copy Software to Depot | |
| |
| |
Install Software to Local Host | |
| |
| |
List Software | |
| |
| |
Remove Software | |
| |
| |
Time | |
| |
| |
NFS Diskless Concepts | |
| |
| |
ENWARE X-station Administration (optional) | |
| |
| |
Manual Pages for Commands Used in Chapter 4 | |
| |
| |
Crontab | |
| |
| |
Ioscan | |
| |
| |
Kill | |
| |
| |
Lpstat | |
| |
| |
Mount | |
| |
| |
Sam | |
| |
| |
| |
Introduction to HP-UX Performance Tools | |
| |
| |
Where Are Your HP-UX System Resources Going? | |
| |
| |
System Components | |
| |
| |
Commands and Tools for Determining How System Resources Are Being Used | |
| |
| |
Taking Inventory | |
| |
| |
Standard HP-UX Commands | |
| |
| |
I/O and CPU Statistics with iostat | |
| |
| |
Virtual Memory Statistics with vmstat | |
| |
| |
Network Statistics with netstat | |
| |
| |
Network Statistics with lanadmin | |
| |
| |
Check Processes with ps | |
| |
| |
Show Remote Mounts with showmount | |
| |
| |
Show Swap with swapinfo | |
| |
| |
Sar: The System Activity Reporter | |
| |
| |
Timex to Analyze a Command | |
| |
| |
HP GlancePlus/UX | |
| |
| |
Process List Description | |
| |
| |
CPU Report Screen Description | |
| |
| |
Memory Report Screen Description | |
| |
| |
Disk Report Screen Description | |
| |
| |
GlancePlus Summary | |
| |
| |
What Should I Look for When Using GlancePlus? | |
| |
| |
HP Measure Ware and HP PerfView | |
| |
| |
Using Some of the Performance Tools in a Benchmark | |
| |
| |
A Real-Life Performance Problem | |
| |
| |
First Things First - Taking Inventory | |
| |
| |
Characterize Application | |
| |
| |
Manual Pages for Commands Used in Chapter 5 | |
| |
| |
Iostat | |
| |
| |
Lanadmin | |
| |
| |
Mount | |
| |
| |
Netstat | |
| |
| |
Ps | |
| |
| |
Sar | |
| |
| |
Showmount | |
| |
| |
Swapinfo | |
| |
| |
Vmstat | |
| |
| |
| |
Common Desktop Environment | |
| |
| |
Common Desktop Environment | |
| |
| |
Why a Graphical User Interface (GUI)? | |
| |
| |
The Relationship among X, Motif, and CDE | |
| |
| |
The X Window System | |
| |
| |
Motif | |
| |
| |
CDE | |
| |
| |
X, Motif, and CDE Configuration Files | |
| |
| |
How Configuration Files Play Together | |
| |
| |
Specifying Appearance and Behavior | |
| |
| |
The Sequence of Events When CDE Starts | |
| |
| |
Customizing CDE | |
| |
| |
CDE and Performance | |
| |
| |
Customizing CDE - Personalizing Your Workstation | |
| |
| |
Basic Changes | |
| |
| |
More Challenging Changes | |
| |
| |
Creative Changes | |
| |
| |
Conclusion | |
| |
| |
| |
Shell Programming for System Administrators | |
| |
| |
Shell Programming | |
| |
| |
Bourne Shell Programming for System Administrators | |
| |
| |
Shell Variables | |
| |
| |
Command Substitution | |
| |
| |
Reading User Input | |
| |
| |
Arguments to Shell Programs | |
| |
| |
Testing and Branching | |
| |
| |
Making Decisions with the case Statement | |
| |
| |
Looping | |
| |
| |
The while Loop | |
| |
| |
Shell Functions | |
| |
| |
Awk in Shell Programs | |
| |
| |
Some Example Scripts with LVM and Ignite/UX | |
| |
| |
C Shell Programming for System Administrators | |
| |
| |
Issuing Commands | |
| |
| |
The .cshrc File | |
| |
| |
The .login File | |
| |
| |
Shell and Environment Variables | |
| |
| |
File Name Expansion | |
| |
| |
Umask and Permissions | |
| |
| |
C Shell Programming | |
| |
| |
Manual Pages for Commands Used in Chapter 7 | |
| |
| |
Awk | |
| |
| |
Csh | |
| |
| |
Grep | |
| |
| |
Sh-posix | |
| |
| |
Sed | |
| |
| |
| |
HP-UX System Auditing | |
| |
| |
What Should You Audit? | |
| |
| |
Important Files | |
| |
| |
Security | |
| |
| |
Logical Volume Review | |
| |
| |
Performance | |
| |
| |
Disk and File System Information | |
| |
| |
Kernel, Boot, and Printer Information | |
| |
| |
Patches | |
| |
| |
Networking | |
| |
| |
Some Example Scripts | |
| |
| |
Kernel | |
| |
| |
Disk Information | |
| |
| |
Logical Volume Summary | |
| |
| |
Logical Volume Detail | |
| |
| |
Patches | |
| |
| |
Software Check | |
| |
| |
Password and Group Check | |
| |
| |
Check for Disk Hogs | |
| |
| |
Ignite-UX Check | |
| |
| |
| |
System Recovery with Ignite-UX | |
| |
| |
System Recovery with Ignite-UX | |
| |
| |
An Example of Creating a Bootable System Recovery Tape | |
| |
| |
Running the check_recovery Command | |
| |
| |
Manual Pages for Commands Used in Chapter 9 | |
| |
| |
Check_recovery | |
| |
| |
Ignite | |
| |
| |
Make_recovery | |
| |
| |
| |
The vi Editor | |
| |
| |
The vi Editor | |
| |
| |
Modes Notations | |
| |
| |
Starting a vi Session | |
| |
| |
Cursor Control Commands | |
| |
| |
Adding Text in vi | |
| |
| |
Deleting Text in vi | |
| |
| |
Changing Text in vi | |
| |
| |
Searching and Replacing in vi | |
| |
| |
Copying Text in vi | |
| |
| |
Undoing and Repeating in vi | |
| |
| |
Saving Text and Exiting vi | |
| |
| |
Options in vi | |
| |
| |
Status in vi | |
| |
| |
Section Positioning and Placing Marks in Text | |
| |
| |
Joining Lines in vi | |
| |
| |
Cursor Placement and Adjusting the Screen | |
| |
| |
Shell Escape Commands | |
| |
| |
Macros and Abbreviations | |
| |
| |
Indenting Text | |
| |
| |
Shell Filters | |
| |
| |
Pattern Matching | |
| |
| |
Matching a Set | |
| |
| |
Matching a Range | |
| |
| |
Beginning and End of Line Search | |
| |
| |
Manual Pages Used in Chapter 10 | |
| |
| |
Vi | |
| |
| |
| |
Interoperability: The X Window System | |
| |
| |
Interoperability Topics | |
| |
| |
Why the X Window System | |
| |
| |
X Window System Background | |
| |
| |
X Server Software | |
| |
| |
| |
Interoperability: Networking | |
| |
| |
Why Cover Interoperability | |
| |
| |
TCP/IP Networking Background | |
| |
| |
Internet Protocol Addressing | |
| |
| |
NFS Background | |
| |
| |
Using Windows NT and UNIX Networking | |
| |
| |
File Transfer Protocol (FTP) | |
| |
| |
Other Connection Topics | |
| |
| |
| |
Interoperability: Advanced Server for UNIX | |
| |
| |
Windows NT Functionality on UNIX | |
| |
| |
Installing Advanced Server/9000 on UNIX | |
| |
| |
Sharing a Printer | |
| |
| |
Sharing a File System | |
| |
| |
| |
Interoperability: NET Commands, POSIX Utils, Others | |
| |
| |
Introduction for UNIX System Administrators | |
| |
| |
The Windows NT Command Line | |
| |
| |
NET Commands | |
| |
| |
POSIX Utilities | |
| |
| |
Additional Commands | |
| |
| |
Networking Commands | |
| |
| |
Permissions with cacls | |
| |
| |
Command Line Backup | |
| |
| |
| |
Interoperability: Microsoft's Services For UNIX (SFU) | |
| |
| |
Introduction to SFU | |
| |
| |
Using Network File System (NFS) Functionality of SFU | |
| |
| |
Telnet Client | |
| |
| |
Telnet Server | |
| |
| |
UNIX Utilities | |
| |
| |
NFS Server | |
| |
| |
Password Synchronization | |
| |
| |
Index | |