You are previewing HP-Certified HP-UX System Administration.
O'Reilly logo
HP-Certified HP-UX System Administration

Book Description

The all-in-one authorized reference for HP certified, HP-UX system administration certification!

If you are preparing for HP Certified, HP-UX System Administration certification, here's your all-in-one, authorized reference and preparation guide! The only preparation book approved by HP Education, HP Certified, HP-UX System Administration covers every exam objective in HP's three-part HP-UX System Administration exam (3HO-002). Best of all, this comprehensive book won't just help you prepare for the exam: it'll help you manage your systems for maximum efficiency today, tomorrow, and for years to come! Coverage includes all this, and more:

  • UNIX and HP-UX fundamentals: installation, startup, logins, shells, processes, file systems, and more

  • Managing users, groups, and accounts

  • Security, auditing, performance management, and optimization

  • HP-UX networking: configuring LAN devices, IP addresses, NFS, DNS, NIS, and more

  • Printing, backup, storage management, kernel patches, peripherals, and more

  • Essential shell programming and job automation techniques

  • HP Certified: HP-UX System Administration contains detailed lists of exam objectives, summaries of key points and challenging review questions after every chapter, plus a complete sample exam. If you run HP-UX, this book is all you need to get certified. Even better, it's all you need to get results.

    Table of Contents

    1. Copyright
      1. Dedication
    2. FOREWORD
    3. PREFACE
      1. Part 1: Fundamentals of the UNIX System
      2. Part 2: HP-UX System Administration
      3. Part 3: HP-UX Network Administration
      4. How to Register for the HP-UX Certification Examination
      5. Strategies for Taking the Test
    4. ACKNOWLEDGMENTS
    5. I. Fundamentals of the UNIX System
      1. 1. Getting Started with UNIX
        1. 1.1. UNIX Shells
        2. 1.2. Logging In and Out of HP-UX
          1. The Superuser
          2. Logging In
          3. Shell Prompts
          4. Logging Out
        3. 1.3. Home Directory
        4. 1.4. Using HP-UX Commands
          1. Extrinsic and Intrinsic Commands
          2. Changing Your Password
          3. Shell History and Repeating Commands
          4. Command Aliases
        5. 1.5. Shell Startup Files
          1. System Startup File
          2. User Startup File
        6. 1.6. Some Simple HP-UX Commands
          1. Where Am I?
          2. What Is the Current Date and Time?
          3. Who Are Others and Who Am I?
          4. What Is the Name of My System?
          5. Printing Banners
          6. The Calendar
          7. Getting Help with Manual Pages
          8. Executing Multiple Commands on One Line
          9. Options and Arguments
        7. Chapter Summary
        8. Chapter Review Questions
        9. Test Your Knowledge
      2. 2. Working with Files and Directories
        1. 2.1. Basic Operations on Files
          1. Creating a File
          2. Listing Files
          3. Deleting Files
          4. Displaying Contents of a Text File
        2. 2.2. File Naming Rules
          1. General Guidelines for File Names
          2. Hidden Files
        3. 2.3. Working with Directories
          1. Creating Directories
          2. Deleting Directories
          3. Understanding Directory Structure
          4. Moving Around in a Directory Tree
        4. 2.4. Copying and Moving Files
          1. Copying Files
          2. Moving and Renaming Files
            1. RENAME A FILE
            2. MOVE A FILE
        5. 2.5. Wildcards
          1. Use of *
          2. Use of ?
          3. Use of [ ] Wildcard
        6. 2.6. File Types
          1. A Text File
          2. A Directory
          3. An Executable File
          4. A Shared Library
          5. A Shell Script
        7. 2.7. Searching File Contents
          1. Searching a Word
          2. Searching Multiple Words
          3. Searching a String in Multiple Files
        8. 2.8. Finding Files
        9. 2.9. Miscellaneous File Handling Commands
          1. The Head and the Tail
          2. Counting Characters, Words, and Lines in a Text File
          3. Link Files
        10. Chapter Summary
        11. Chapter Review Questions
        12. Test Your Knowledge
      3. 3. Environment Variables
        1. 3.1. Environment and Shell Variables
        2. 3 2. Setting and Displaying Variables
          1. Listing All Variables
          2. Variable Containing More Than One Word
          3. Modifying a Variable
          4. Single- and Double-Quote Characters
          5. Removing a Variable
          6. Assigning Output of a Command to a Variable
        3. 3.3. Predefined Environment Variables
        4. 3.4. Exporting Shell Variables
        5. 3.5. Setting the Command Prompt
          1. Adding Useful Information to the Prompt
        6. 3.6. The PATH Variable
        7. Chapter Summary
        8. Chapter review questions
        9. Test Your Knowledge
      4. 4. Input/Output Redirection and Pipes
        1. 4.1. Redirecting Standard Output
          1. Joining Two or More Files
          2. Appending to a File
          3. Redirecting Standard Output to Devices
        2. 4.2. Redirecting Standard Input
        3. 4.3. Redirecting Standard Error
        4. 4.4. Redirecting Standard Input, Output, and Error Simultaneously
        5. 4.5. Pipes and How They Are Used
          1. Use of Pipes as Filters
          2. Use of Pipes for Data Manipulation
        6. 4.6. The T-Junction
        7. Chapter Summary
        8. Chapter Review Questions
        9. Test Your Knowledge
      5. 5. Using the vi Editor
        1. 5.1. Modes Used in vi
        2. 5.2. Starting and Stopping vi
        3. 5.3. Cursor Movement
        4. 5.4. Inserting and Deleting Text
        5. 5.5. Replacing Text
        6. 5 6. Undo and Redo
        7. 5.7. Scrolling Text
        8. 5.8. Search and Replace
        9. 5.9. Cut, Copy, and Paste
        10. 5.10. Importing and Exporting Text
          1. Importing a Disk File into Editor
          2. Exporting Text from the Current File
        11. 5.11. Configuring vi Options
        12. Chapter Summary
        13. Chapter Review Questions
        14. Test Your Knowledge
      6. 6. Regular Expressions
        1. 6.1. How a Command Is Executed
        2. 6.2. Position Specifiers
          1. Use of $
          2. Use of ^
          3. Getting Rid of Blank Lines
          4. Escaping Position Specifiers
        3. 6.3. Meta Characters
          1. Use of the Asterisk * Character
          2. Use of the Dot (.) Character
          3. Use of Range Characters [...]
          4. Use of the Word Delimiters \< and \>
        4. 6.4. Standard and Extended Regular Expressions
        5. Chapter Summary
        6. Chapter Review Questions
        7. Test Your Knowledge
      7. 7. File Permissions
        1. 7.1. Who Are UNIX Users
        2. 7.2. Types of File Permissions
          1. Importance of Read Permission
          2. Left-to-Right Rule of File Permissions
          3. Directory Permissions
        3. 7.3. Modifying File Permissions
          1. Modifying File Permissions Using Symbolic Modes
          2. Changing File Permissions Using Octal Numbers
        4. 7.4. Default File Permissions
        5. 7.5. Changing the Owner and Group of a File
        6. 7.6. Special File Permissions
          1. SETUID and SETGID
          2. Sticky Bit
        7. 7.7. Finding Files Having a Particular Set of File Permissions
        8. 7.8. Access Control Lists
          1. Listing ACL
          2. Changing ACL
        9. 7.9. Miscellaneous Commands
          1. The newgrp Command
          2. The su Command
          3. The id Command
        10. Chapter Summary
        11. Chapter Review Questions
        12. Test Your Knowledge
      8. 8. UNIX File System Hierarchy
        1. 8.1. Static and Dynamic Files
        2. 8.2. The Root Directory ( / )
        3. 8.3. The Device Directory (/dev)
        4. 8.4. The /etc Directory
        5. 8.5. The Home Directory (/home)
        6. 8.6. The System Binary Directory (/sbin)
        7. 8.7. The /stand Directory
        8. 8.8. The /net Directory
        9. 8.9. The Application Directory (/opt)
        10. 8.10. The Temporary File Directory (/tmp)
        11. 8.11. The /usr Directory
          1. /usr/bin
          2. /usr/contrib
          3. /usr/include
          4. /usr/lib
          5. /usr/sbin
          6. /usr/share/man
        12. 8.12. The Variable Files Directory (/var)
          1. Log Files
          2. Spool Files (/var/spool)
          3. Temporary var files (/var/tmp)
        13. 8.13. The lost+found Directory
        14. 8.14. Some Useful Commands Related to File System Hierarchy
          1. The which Command
          2. The whereis Command
          3. More on the man Command
        15. Chapter Summary
        16. Chapter Review Questions
        17. Test Your Knowledge
      9. 9. Working with the POSIX Shell and Job Control
        1. 9.1. POSIX Shell Capabilities
          1. Shell and Subshell
          2. Controlling Resources (ulimit)
        2. 9.2. File Name Completion
        3. 9.3. History and Reentering Commands
        4. 9.4. Command Line Editing
        5. 9.5. Substitution
          1. Variable Substitution
          2. Command Substitution
          3. Tilde Substitution
        6. 9.6. Setting Terminal Parameters
        7. 9.7. Job Control
          1. Foreground and Background Jobs
          2. Suspending a Foreground Job
          3. Resuming Suspended Jobs and Bringing Background Jobs to the Foreground
          4. Moving Jobs to the Background
          5. Stopping a Running Job
          6. Waiting for Background Jobs to Finish
        8. Chapter Summary
        9. Chapter Review Questions
        10. Test Your Knowledge
      10. 10. Introduction to Shell Programming
        1. 10.1. Anatomy of a Shell Program
          1. Which Subshell Will Execute It?
          2. Comments in a Shell Program
          3. Commands and Control Structures
          4. Steps for Creating a Shell Program
          5. Debugging Shell Programs
        2. 10.2. Using Variables
          1. Passing Data Through Environment Variables
        3. 10.3. Command Line Arguments
          1. Using Command Line Arguments, or Positional Parameters
          2. The shift Command
        4. 10.4. Interactive Shell Programs
          1. The read Command
          2. The echo Command
        5. 10.5. Exit Codes
        6. 10.6. The test Command
          1. Testing Numeric Values
          2. Testing String Values
          3. Testing Files
          4. Testing with Logical Operators
        7. 10.7. Branching
          1. The if-then-fi Structure
          2. The if-then-else-fi Structure
          3. The case Structure
        8. Chapter Summary
        9. Chapter Review Questions
        10. Test Your Knowledge
      11. 11. Advanced Shell Programming
        1. 11.1. Arithmetic and Logic Operations
          1. Explicit Mode let Command
          2. Implicit Mode let Command
        2. 11.2. The while-do-done Loop
        3. 11.3. The until-do-done Loop
        4. 11.4. The for-do-done Loop
          1. Changing File Access Date and Time
          2. Accessing Command Line Parameters
        5. 11.5. Breaking a Loop
          1. The break Command
          2. The continue Command
          3. The exit Command
        6. 11.6. Text Processing
          1. Using sed
          2. Using cut
          3. The sleep Command
        7. Chapter Summary
        8. Chapter Review Questions
        9. Test Your Knowledge
    6. II. HP-UX System Administration
      1. 12. The System Administration Manager
        1. 12.1. Why Use SAM?
        2. 12.2. Starting and Stopping SAM
          1. Starting and Stopping SAM in Text Mode
          2. Starting and Stopping SAM in GUI
        3. 12.3. A Sample SAM Session
          1. Creating a New User
        4. 12.4. SAM Log Files
        5. 12.5. Restricted Use of SAM by Non-Root Users
        6. Chapter Summary
        7. Chapter Review Questions
        8. Test Your Knowledge
      2. 13. Installing HP-UX
        1. 13.1. Introduction to HP Workstations and Servers
        2. 13.2. Installing HP-UX
        3. 13.3. Guided Installation
        4. 13.4. Advanced Installation
        5. 13.5. Initial System Configuration
          1. Postinstallation Tasks
        6. Chapter Summary
        7. Chapter Review Questions
        8. Test Your Knowledge
      3. 14. System Startup and Shutdown
        1. 14.1. Introduction to the Boot Process
        2. 14.2. Processor Dependent Code
          1. PDC Menus
          2. Searching Boot Devices
          3. Booting from an Alternate Disk
          4. Stable Storage
          5. Booting in Single-User Mode
        3. 14.3. Boot Area on the System Disk
          1. Commands Related to the LIF Area
        4. 14.4. Initial System Loader
          1. Secondary Loader
            1. BOOTING ANOTHER KERNEL
            2. BOOTING IN SINGLE-USER MODE
        5. 14.5. Loading the HP-UX Kernel
          1. Swapper Process
          2. /sbin/pre_init_rc File
        6. 14.6. The init Process
          1. /etc/inittab File
          2. Initialization of I/O Devices with ioinit
          3. The /sbin/bcheckrc Script
          4. The /sbin/rc Script
          5. Sample /etc/inittab
        7. 14.7. Runlevels
          1. Changing Runlevel
          2. Determine Current Runlevel
        8. 14.8. Adding a Program to Run at Boot Time
          1. Sequencer Directories
          2. Configuration Files
        9. 14.9. System Shutdown
          1. Shutdown and Reboot Commands
          2. The shutdown.allow File
        10. Chapter Summary
        11. Chapter Review Questions
        12. Test Your Knowledge
      4. 15. Software and Patch Management
        1. 15.1. Software Packaging Structure
          1. Filesets
          2. Subproducts
          3. Products
          4. Bundles
          5. Software Depots
        2. 15.2. Listing Installed Software
        3. 15.3. Installing New Software
          1. Phases of Software Installation
          2. Install/Update Log File
          3. Installing Protected Software Using Codewords
          4. SD-UX Daemon and Agent
          5. Installed Product Database
        4. 15.4. Removing Software
          1. Finding and Removing Unused Filesets
        5. 15.5. Verifying Installed Software
        6. 15.6. Managing Software Depots
          1. Adding Packages to a Depot
          2. Removing Packages from a Depot
          3. Listing Packages in a Depot
        7. 15.7. HP-UX Patches
          1. Patch Sources
            1. CUSTOM PATCH MANAGER
          2. Types of Patches
          3. Listing Installed Patches
        8. 15.8. Installing and Removing Patches
          1. Obtaining Patches
          2. Creating a Patch Depot
          3. Installing Patches
          4. Removing Patches
        9. 15.9. SD-UX Commands
        10. Chapter Summary
        11. Chapter Review Questions
        12. Test Your Knowledge
      5. 16. Reconfiguring the HP-UX Kernel
        1. 16.1. Why Reconfigure the Kernel?
          1. Adding or Removing Device Drivers
          2. Adding or Removing a Subsystem
          3. Changing Swap or Dump Devices
          4. Modifying System Parameters
        2. 16.2. The Reconfiguration Process
          1. Preparing a New System Configuration File
          2. Compiling the Kernel
          3. Installing New Kernel and Configuration Files
          4. Rebooting the System
        3. 16.3. Kernel Rebuilding in a Nutshell
        4. 16.4. Booting from the Old Kernel
        5. 16.5. Common Kernel Tunable Parameters
        6. 16.6. Using SAM to Reconfigure the Kernel
        7. Chapter Summary
        8. Chapter Review Questions
        9. Test Your Knowledge
      6. 17. Peripheral Devices
        1. 17.1. Devices and Physical Paths
          1. Common Types of Device Adapters
          2. Hardware Paths
        2. 17.2. Device Files
          1. Devices Directory Hierarchy
          2. Major and Minor Numbers
          3. Character Devices
          4. Block Devices
        3. 17.3. SCSI Device File Naming Convention
          1. Disk Naming
          2. Tape Devices
        4. 17.4. Listing Installed Devices
          1. Using the ll Command
          2. Using the ioscan Command
          3. Using the lssf Command
          4. Usable Devices
        5. 17.5. Creating Device Files
          1. Autoconfiguration
          2. Using the insf Command
          3. Using the mksf Command
          4. Using the mknod Command
          5. Using SAM
        6. 17.6. Installing a New Device
        7. 17.7. Terminals and Modems
        8. Chapter Summary
        9. Chapter Review Questions
        10. Test Your Knowledge
      7. 18. HP-UX File Systems and Logical Volume Manager
        1. 18.1. Disk Devices and Their Configuration
        2. 18.2. Introduction to Logical Volume Manager
          1. The Whole-Disk Approach
          2. The Logical Volume Manager Approach
            1. PHYSICAL VOLUME
            2. VOLUME GROUP
            3. LOGICAL VOLUME
        3. 18.3. Listing and Creating Logical Volumes
          1. Listing Physical Volumes
          2. Listing Volume Groups
          3. Listing Logical Volumes
          4. Creating Physical Volumes
          5. Creating Volume Groups
          6. Creating Logical Volumes
          7. LVM Data Structure
        4. 18.4. Introduction to File Systems
          1. File System Types
          2. More on Hard and Soft Links
        5. 18.5. The HighPerformance File System
          1. HFS Blocks
          2. HFS Fragments
        6. 18.6. The Journaled File System
        7. 18.7. Creating a New File System
          1. File System Creation Process
          2. Creating a File System with the newfs Command
        8. 18.8. Mounting and Unmounting a File System
          1. Automatic Mounting at Startup
          2. Sample /etc/fstab File
        9. 18.9. Managing a File System
          1. Monitoring Disk Usage
          2. Extending Volume Groups
          3. Extending Logical Volumes
          4. Extending File Systems
          5. Using SAM for LVM Administration
        10. 18.10. File System Repair
          1. Repairing a File System Using the fsck Command
        11. 18.11. Important LVM Commands
        12. Chapter Summary
        13. Chapter Review Questions
        14. Test Your Knowledge
      8. 19. User and Group Management
        1. 19.1. Managing Users
          1. Creating Users
          2. Deleting Users
          3. Modifying a User
          4. User Inactivity and Expiration
        2. 19.2. Managing Groups
          1. Standard Groups
          2. Creating, Deleting and Modifying Groups
          3. Multiple Group Membership
        3. 19.3. The Password File (/etc/passwd)
        4. 19.4. The Group File (/etc/group)
          1. Restricted User Access
          2. Verifying Consistency of Password and Group Files
        5. 19.5. The Skeleton Directory (/etc/skel)
        6. 19.6. Using SAM for User and Group Management
          1. User Templates
        7. Chapter Summary
        8. Chapter Review Questions
        9. Test Your Knowledge
      9. 20. Dealing with HP-UX Processes
        1. 20.1. Process Table
        2. 20.2. Process States
          1. Running
          2. Sleeping
          3. Ready to Run Process
          4. Stopped
          5. Zombie
        3. 20.3. Listing Processes
          1. Description of Fields in the Process Table
        4. 20.4. Sending Signals to Processes
          1. The nohup Command
        5. 20.5. Process Nice Values
          1. Listing Nice Priorities
          2. Changing the Nice Values of Running Processes
        6. 20.6. Some Useful Commands
          1. The timex Command
          2. The trap Command
        7. Chapter Summary
        8. Chapter Review Questions
        9. Test Your Knowledge
      10. 21. Printing on HP-UX
        1. 21.1. Introduction to the Printing System
          1. Sending a Print Request
          2. Canceling a Print Request
          3. Modifying a Print Request
        2. 21.2. Types of Printers
          1. Local Printers
          2. Remote Printers
          3. Network Printers
        3. 21.3. Directory Hierarchy of the Printing System
        4. 21.4. Adding a Printer
          1. Adding a Printer
          2. Setting a Printer as Default Destination
          3. Deleting a Printer
          4. Adding Printers Using SAM
        5. 21.5. Managing Print Queues
          1. Starting and Stopping the Print Scheduler
          2. Moving Print Jobs
          3. Deleting Print Jobs
          4. Enabling and Disabling Printers
          5. Accepting and Rejecting Print Requests
          6. Current Printer Status
        6. 21.6. Print Job Priorities
          1. Fence Priority
        7. 21.7. Troubleshooting
        8. Chapter Summary
        9. Chapter Review Questions
        10. Test Your Knowledge
      11. 22. Memory and Swap Space Management
        1. 22.1. System Memory and Swap Space
          1. Daemons Used with the Swap System
        2. 22.2. Types of Swap Space
          1. Device Swap Space
          2. File System Swap Space
          3. Primary Swap Space
          4. Secondary Swap Space
        3. 22.3. Creating Swap Space
          1. Creating Swap Space Using the Command Line
          2. Creating Swap Space Using SAM
          3. Enabling Swap Space at System Startup
        4. 22.4. Monitoring Swap Space
        5. 22.5. Swap Space Priorities and Performance
        6. Chapter Summary
        7. Chapter Review Questions
        8. Test Your Knowledge
      12. 23. System Backup and Recovery
        1. 23.1. Types of Backup
          1. Full Backup
          2. Incremental Backup
          3. Recovering from an Incremental Backup
        2. 23.2. Methods of Backup and Restore
          1. Comparison of Backup Methods
          2. Using dd
        3. 23.3. Using fbackup and frecover
          1. Creating a Backup
          2. Using Graph Files
          3. Creating an Incremental Backup
          4. Recovering Backed-up Data
        4. 23.4. Using tar
          1. Creating a Backup with tar
          2. Restoring Data Using tar
        5. 23.5. Using SAM to Back Up and Restore Data
        6. 23.6. Using Ignite-UX
          1. Creating a Recovery Tape
          2. Updating a Recovery Tape
        7. Chapter Summary
        8. Chapter Review Questions
        9. Test Your Knowledge
      13. 24. Automating Jobs
        1. 24.1. Introduction to cron
          1. The cron Daemon
          2. Granting Access to Users
          3. Log Files
        2. 24.2. Automating Jobs Using the crontab Command
          1. Format of crontab Files
          2. Editing crontab Files
          3. Sample crontab File for a Root User
        3. 24.3. Automating Jobs Using the at Command
          1. Submitting a Job
          2. Listing and Deleting at Jobs
          3. Allowing/Denying User Access
        4. Chapter Summary
        5. Chapter Review Questions
        6. Test Your Knowledge
      14. 25. System Performance Monitoring
        1. 25.1. Tools Used for Performance Monitoring
          1. Monitoring Memory Performance
          2. Monitoring Disk Performance
          3. Using top
          4. Using System Activity Reporter (sar)
            1. MONITORING CPU ACTIVITY WITH THE sar COMMAND
            2. MONITORING BUFFER CACHE ACTIVITY WITH THE sar COMMAND
        2. 25.2. Using GlancePlus
          1. CPU Utilization
          2. Disk Utilization
          3. Memory Utilization
          4. Swap Utilization
          5. Processor List
        3. Chapter Summary
    7. III. HP-UX Network Administration
      1. 26. Basic Network Concepts
        1. 26.1. Network Terminology
          1. Local and Wide Area Networks
          2. Protocol
          3. Host
          4. Physical Medium
          5. Network Interface Adapter
          6. Bandwidth
          7. Client and Server
          8. Route
        2. 26.2. The OSI Model
          1. OSI Layers
            1. APPLICATION LAYER
            2. PRESENTATION LAYER
            3. SESSION LAYER
            4. TRANSPORT LAYER
            5. NETWORK LAYER
            6. DATA LINK LAYER
            7. PHYSICAL LAYER
          2. How Data Transfer Takes Place Among Layers
            1. PEER PROTOCOLS
            2. INTERFACES
          3. Layered Network Model
        3. Chapter Summary
        4. Chapter Review Questions
        5. Test Your Knowledge
      2. 27. Network Components and Topologies
        1. 27.1. Network Topologies
          1. Bus Topology
          2. Star Topology
          3. Ring Topology
          4. Hybrid Networks
        2. 27.2. Network Hardware Components
          1. Network Cables
            1. COAXIAL CABLE
            2. TWISTED PAIR CABLE
            3. FIBER OPTIC CABLE
          2. Network Interface Adapter
          3. Cable Connectors
            1. BNC CONNECTORS
            2. LAN-TP CONNECTORS
            3. AUI CONNECTORS
          4. Transceiver
          5. Repeaters
          6. Hubs
          7. Bridges
          8. Switches
          9. Routers
          10. Gateway
        3. 27.3. MAC Addresses
        4. 27.4. Access Methods
          1. CSMA/CD
          2. Token Passing
        5. 27.5. Ethernet and IEEE 802.3
          1. 10BASE-2 Ethernet
          2. 10BASE-5 Ethernet
          3. 10BASE-T Ethernet
          4. 100BASE-T Fast Ethernet
          5. 100VG-AnyLAN Local Area Network
        6. 27.6. Token Ring and IEEE 802.5
        7. 27.7. FDDI
        8. Chapter Summary
        9. Chapter Review Questions
        10. Test Your Knowledge
      3. 28. Introduction to the TCP/IP Protocol
        1. 28.1. Introduction to TCP/IP
          1. TCP/IP Layers
          2. IP Address
          3. Network Address
          4. IP Address Classes
            1. CLASS A NETWORKS
            2. CLASS B NETWORKS
            3. CLASS C NETWORKS
        2. 28.2. Building an IP Network
          1. Assigning IP Addresses
          2. Netmasks and Subnetting
          3. IP Routes
            1. DEFAULT ROUTE
            2. ROUTING PROCESS
            3. ROUTING PROTOCOLS
          4. Address Resolution Protocol
          5. Reverse Address Resolution Protocol (RARP)
          6. Internet Control Message Protocol
        3. 28.3. TCP and UDP Protocols
          1. TCP Protocol
          2. UDP Protocol
          3. TCP Window Size
        4. 28.4. Ports and Sockets
        5. Chapter Summary
        6. Chapter Review Questions
        7. Test Your Knowledge
      4. 29. Configuring LAN Interface Adapters
        1. 29.1. Configuring LAN Adapters
          1. LAN Adapter-Naming Convention
          2. Detecting LAN Adapters
        2. 29.2. Configuring an IP Address to a LAN Adapter
          1. Enabling LAN Adapters at Boot Time Using the /etc/rc.config.d/netconf File
          2. Assigning Multiple IP Addresses to a Single LAN Adapter
          3. Updating the /etc/hosts File
        3. 29.3. Adding Routes
          1. Creating a Route
          2. Deleting a Route
          3. Default Routes
        4. 29.4. Using SAM to Configure a LAN Adapter
        5. 29.5. Troubleshooting LAN Connectivity
          1. Analyzing Protocol Statistics with netstat
          2. Using the lanadmin Command
          3. Using the ndd Command
        6. Chapter Summary
        7. Chapter Review Questions
        8. Test Your Knowledge
      5. 30. Configuring and Managing ARPA/Berkeley Services
        1. 30.1. Introduction to Internet Services
          1. ARPA Services
            1. REMOTE LOGIN USING TELNET
            2. FILE TRANSFER USING FTP
            3. NETWORK TIME PROTOCOL (NTP)
            4. DYNAMIC ROUTING USING GATED
          2. Berkeley Services
            1. REMOTE LOGIN USING RLOGIN
            2. REMOTE COPY USING RCP
            3. REMOTE EXECUTION USING REMSH
            4. BIND
            5. SENDMAIL
            6. REMOTE PRINTING
            7. NETWORK INFORMATION
          3. Security of Commands Starting with “r”
            1. HOST EQUIVALENCY
            2. USER EQUIVALENCY
        2. 30.2. Starting Internet Services
          1. Starting a Service as a Daemon
          2. Starting a Service through inetd
            1. SECURING INETD
          3. How a Connection Is Established
        3. 30.3. Using SAM to Manage Network Services
        4. Chapter Summary
        5. Chapter Review Questions
        6. Test Your Knowledge
      6. 31. Host Name Resolution and Domain Name Server
        1. 31.1. Host Name to IP Address Mapping
          1. Multiple Host Names for a Single IP
          2. Multiple IP Addresses for a Single Host
        2. 31.2. Name Resolution Methods
          1. The /etc/hosts File
          2. Network Information Service
          3. Domain Name Server
        3. 31.3. Introduction to the Domain Name System
          1. Name Space
            1. RELATIVE AND ABSOLUTE NAMES
            2. REVERSE NAME LOOKUP
          2. Name Server
            1. NAME SERVER ZONES
            2. PRIMARY NAME SERVER
            3. SECONDARY NAME SERVER
            4. CACHING NAME SERVER
        4. 31.4. Configuring the Primary DNS
          1. DNS Configuration Files
          2. Resource Records
          3. Updating Data Base Files on the Primary Server
        5. 31.5. Configuring the Secondary DNS
          1. Updating Data Base Files on the Secondary Server
        6. 31.6. Configuring the Caching DNS
        7. 31.7. Configuring the DNS Client
          1. Configuring the Name Service Switch
          2. Configuring /etc/resolv.conf
          3. Testing with nslookup
        8. 31.8. Using SAM to Configure DNS
        9. Chapter Summary
        10. Chapter Review Questions
        11. Test Your Knowledge
      7. 32. Configuring and Managing NIS
        1. 32.1. NIS Concepts
          1. NIS Domains
          2. NIS Maps
          3. NIS Roles
            1. MASTER NIS SERVER
            2. SLAVE NIS SERVER
            3. NIS CLIENT
        2. 32.2. Configuring NIS
          1. Setting Up an NIS Domain Name
          2. NIS Startup Files
          3. NIS Daemons
          4. Configuring the NIS Master Server
          5. Configuring an NIS Slave Server
          6. Configuring an NIS Client
          7. Name Service Switch
          8. Testing NIS Configuration
        3. 32.3. Managing NIS
          1. Updating NIS Maps on the Master Server
          2. Updating NIS Maps on a Slave Server
          3. Changing a Password on a Client
          4. Using rpcinfo
        4. 32.4. Controlling Access
        5. 32.5. Using SAM to Configure NIS
        6. Chapter Summary
        7. Chapter Review Questions
        8. Test Your Knowledge
      8. 33. Configuring and Managing the Network File System
        1. 33.1. NFS Concepts
          1. Remote Mount Process
          2. NFS and RPC
          3. The portmap and rpcbind Daemons
          4. NFS Versions
        2. 33.2. Configuring an NFS Server
          1. Creating the /etc/exports File
          2. Starting the Server Process at Boot Time
          3. Starting an NFS Server and Exporting Directories Manually
          4. Viewing Exported and Mounted File Systems
        3. 33.3. Configuring an NFS Client
          1. Starting an NFS Client at Boot Time
          2. Creating Mount Points and Configuring /etc/fstab
          3. Mounting Remote File Systems
          4. Viewing Mounted File Systems
          5. Viewing Exported File Systems by a Server
        4. 33.4. NFS Daemons
        5. 33.5. Troubleshooting
          1. The rpcinfo Command
          2. Using the nfsstat Command
        6. Chapter Summary
        7. Chapter Review Questions
        8. Test Your Knowledge
      9. 34. HP-UX Automounter
        1. 34.1. Automounter Maps
          1. Master Map
          2. Direct Map
          3. Indirect Map
          4. Special Map
          5. Including Maps Within Other Maps
          6. Modifying Automounter Maps
        2. 34.2. Configuring Automounter
        3. Chapter Summary
        4. Chapter Review Questions
        5. Test Your Knowledge
      10. 35. Network Time Protocol
        1. 35.1. Introduction to NTP
          1. NTP Time Sources
          2. Some Definitions
            1. SERVER
            2. CLIENT
            3. PEER
            4. STRATUM LEVEL
        2. 35.2. Configuring the NTP Server
          1. Configuring a Server to Use a Radio Clock
          2. Configuring a Server to Use Another Server
          3. Configuring a Server to Use a Local Clock
        3. 35.3. Configuring an NTP Client
          1. Configuring a Client to Use Server Polling
          2. Configuring a Client to Use Server Broadcast
          3. Using the ntpdate Command
        4. 35.4. Using SAM to Configure NTP
        5. Chapter Summary
        6. Chapter Review Questions
        7. Test Your Knowledge
      11. 36. System and Network Administration: Final Thoughts
        1. 36.1. Routine Uses of a Network
          1. SD-UX Server
          2. Network Printing
          3. A Standard Environment for Users
          4. Time Synchronization
          5. Network File System
          6. Backup and Recovery
        2. 36.2. Using syslogd Over a Network
        3. 36.3. Network Performance Monitoring
        4. 36.4. Routine Tasks
        5. Chapter Summary
      12. A. CHAPTER REVIEW ANSWERS
        1. Part One: Fundamentals of the UNIX Systems
          1. Chapter 1: Getting Started with UNIX
          2. Chapter 2: Working with Files and Directories
          3. Chapter 3: Environment Variables
          4. Chapter 4: Input/Output Redirection and Pipes
          5. Chapter 5: Using the vi Editor
          6. Chapter 6: Regular Expressions
          7. Chapter 7: File Permissions
          8. Chapter 8: UNIX File System Hierarchy
          9. Chapter 9: Working with the POSIX Shell and Job Control
          10. Chapter 10: Introduction to Shell Programming
          11. Chapter 11: Advanced Shell Programming
        2. Part Two: HP-UX System Administration
          1. Chapter 12: The System Administration Manager
          2. Chapter 13: Installing HP-UX
          3. Chapter 14: System Startup and Shutdown
          4. Chapter 15: Software and Patch Management
          5. Chapter 16: Reconfiguring the HP-UX Kernel
          6. Chapter 17: Peripheral Devices
          7. Chapter 18: HP-UX File Systems and Logical Volume Manager
          8. Chapter 19: User and Group Management
          9. Chapter 20: Dealing with HP-UX Processes
          10. Chapter 21: Printing on HP-UX
          11. Chapter 22: Memory and Swap Space Management
          12. Chapter 23: System Backup and Recovery
          13. Chapter 24: Automating Jobs
        3. Part Three: HP-UX Network Administration
          1. Chapter 26: Basic Network Concepts
          2. Chapter 27: Network Components and Topologies
          3. Chapter 28: Introduction to the TCP/IP Protocol
          4. Chapter 29: Configuring LAN Interface Adapters
          5. Chapter 30: Configuring and Managing ARPA/Berkeley Services
          6. Chapter 31: Host Name Resolution and Domain Name Server
          7. Chapter 32: Configuring and Managing NIS
          8. Chapter 33: Configuring and Managing the Network File System
          9. Chapter 34: HP-UX Automounter
          10. Chapter 35: Network Time Protocol
      13. B. TEST YOUR KNOWLEDGE ANSWERS
        1. Part One: Fundamentals of UNIX Systems
          1. Chapter 1: Getting Started with UNIX
          2. Chapter 2: Working with Files and Directories
          3. Chapter 3: Environment Variables
          4. Chapter 4: Input/Output Redirection and Pipes
          5. Chapter 5: Using the vi Editor
          6. Chapter 6: Regular Expressions
          7. Chapter 7: File Permissions
          8. Chapter 8: UNIX File System Hierarchy
          9. Chapter 9: Working with the POSIX Shell and Job Control
          10. Chapter 10: Introduction to Shell Programming
          11. Chapter 11: Advanced Shell Programming
        2. Part Two: HP-UX System Administration
          1. Chapter 12: The System Administration Manager
          2. Chapter 13: Installing HP-UX
          3. Chapter 14: System Startup and Shutdown
          4. Chapter 15: Software and Patch Management
          5. Chapter 16: Reconfiguring the HP-UX Kernel
          6. Chapter 17: Peripheral Devices
          7. Chapter 18: HP-UX File Systems and Logical Volume Manager
          8. Chapter 19: User and Group Management
          9. Chapter 20: Dealing with HP-UX Processes
          10. Chapter 21: Printing on HP-UX
          11. Chapter 22: Memory and Swap Space Management
          12. Chapter 23: System Backup and Recovery
          13. Chapter 24: Automating Jobs
        3. Part Three: HP-UX Network Administration
          1. Chapter 26: Basic Network Concepts
          2. Chapter 27: Network Components and Topologies
          3. Chapter 28: Introduction to TCP/IP Protocol
          4. Chapter 29: Configuring LAN Interface Adapters
          5. Chapter 30: Configuring and Managing ARPA/Berkeley Services
          6. Chapter 31: Host Name Resolution and Domain Name Server
          7. Chapter 32: Configuring and Managing NIS
          8. Chapter 33: Configuring and Managing the Network File System
          9. Chapter 34: HP-UX Automounter
          10. Chapter 35: Network Time Protocol
      14. C. HP-UX COMMANDS AND CONFIGURATION FILES
        1. Commands
        2. Configuration Files
      15. D. SAMPLE HP-UX CERTIFICATION EXAM
      16. E. GLOSSARY
        1. Glossary