You are previewing HP-UX i Version 2 System Administration HP Integrity and HP 9000 Servers.
O'Reilly logo
HP-UX i Version 2 System Administration HP Integrity and HP 9000 Servers

Book Description

This is the definitive guide to installing and administering HP-UX 11i Version 2 in any environment, on both HP 9000 and HP Integrity server families.

Drawing on 18 years of on-site HP-UX consulting experience, Marty Poniatowski offers unparalleled practical insight into running HP-UX 11i efficiently and reliably, illuminating features even experienced HP-UX sysadmins find confusing. Poniatowski organizes this book around your day-to-day needs and your system's lifecycle. He begins with in-depth coverage of installation and bootup, then walks through everything from LVM and kernel configuration through networking. He especially focuses on the capabilities and tools that make HP-UX unique—and how you can use them to save time and money. Coverage includes

  • Partitioning from start to finish—including vPars and nPartitions installation, creation, and modification

  • Booting HP Integrity systems with EFI, and HP 9000 systems with PDC, ISL, or hpux

  • Mastering the Management Processor (MP): console, virtual front panel, and command menu

  • Using HP-UX's new kernel-building commands: kcconfig, kcusage, kctune, kcmodule, and more

  • Working with HP-UX's new web-based tools: pd (devices), parmgr (partitions), and kcweb (kernel)

  • Mapping LBA to slot numbers: clear explanations of a non-intuitive technique

  • Using Ignite-UX to boot and recover systems across the network

  • Managing disks, devices, backup, users/groups, and much more

  • © Copyright Pearson Education. All rights reserved.

    Table of Contents

    1. Copyright
    2. Hewlett-Packard® Professional Books
    3. About Prentice Hall Professional Technical Reference
    4. Preface
      1. About This Book
        1. Version 2 Update 2 Features
      2. Relevant URLs
        1. Open Source and Other Sites of Interest
      3. Acknowledgments
        1. The Author: Marty Poniatowski
        2. Martin Whittaker
        3. Steven M. Wolff
        4. Brian Hackley
        5. Glenn Miller
        6. Reviewers and Other Contributors
      4. Conventions Used in This Book
    5. 1. Booting HP Integrity Servers
      1. Introduction
      2. High-Level Boot Process Overview on HP Integrity Servers
      3. EFI and POSSE
        1. Working with EFI
        2. EFI Command Examples
    6. 2. Booting on HP 9000 Servers (PDC, ISL, hpux)
      1. Introduction
      2. Boot Process Overview
      3. The BCH Commands Including PathFlags on PA-RISC
      4. The setboot Command
      5. Boot Console Handler (BCH) and Processor Dependent Code (PDC)
      6. PDC Commands
      7. Initial System Loader
      8. HPUX Secondary System Loader (hpux)
    7. 3. Installing HP-UX
      1. Topics Covered in this Chapter
      2. Background on HP-UX 11i Operating Environments
      3. Installing the HP-UX 11i Operating Environment
        1. Integrity Early Boot and Begin Loading HP-UX from an Ignite-UX Server
        2. Integrity Early Boot and Begin Loading HP-UX from Media
        3. Loading HP-UX
        4. HP 9000 Early Boot and Beginning the Load of HP-UX
      4. Setting the System Parameters After Booting
      5. Software Distributor Example: Load Additional Software
      6. Loading Patches
      7. Remote Support (Instant Support Enterprise Edition)
      8. Software Distributor Background
        1. Installing and Updating Software (Command Line or GUI)
        2. Copying Software to a Depot (Command Line or GUI)
        3. Removing Software from a System (Command Line or GUI)
        4. List Information About Installation Software
        5. Configure Installed Software
        6. Verify Software
        7. Package Software That Can Later Be Installed (Local Sys Only)
        8. Control Access to Software Distributor Objects
        9. Modify Information about Loaded Software (Local System Only)
        10. Register or Unregister a Depot
        11. Manage Jobs (Command Line or GUI, this is SD-OV only)
      9. Listing Software
    8. 4. Logical Volume Manager
      1. Introduction
      2. Logical Volume Manager Background
        1. Logical Volume Manager Terms
        2. Disk Mirroring
        3. Logical Volume Manager Commands
        4. Physical Volume Commands
        5. Volume Group Commands
        6. Logical Volume Commands
        7. JFS and OnLineJFS Commands
      3. Example of Adding External Disks
        1. Fibre Interface Worldwide Names
        2. Install Special Files and Work with Disk Devices
        3. Example Volume Layout Table
        4. Steps to Add External Storage to Partitions
        5. Scripts to Handle pv and vg Work
        6. Command File to Perform Logical Volume-Related Work
      4. Commonly Used LVM Procedures
      5. Some Additional File System-Related Commands
        1. Viewing File Systems with bdf
        2. File System Maintenance with fsck
        3. Initialize with mediainit
    9. 5. Configuring an HP-UX Kernel
      1. Introduction
      2. Kernel Commands
        1. kcmodule
        2. kctune
        3. kconfig
        4. kclog
        5. kcusage
        6. kcalarm
        7. kcmond
      3. Building a Kernel
        1. Reverting to a Saved Kernel Configuration
        2. System File
      4. kcweb
    10. 6. Devices
      1. Introduction
      2. Device File Background
        1. The ioscan Command
        2. Mapping LBA to Slot Number
      3. Identify the Cards and Slot Numbers—Integrity Superdome Example
      4. Identify the Cards and Slot Numbers—rx Example
      5. OLA/R
        1. lsdev and lssf
    11. 7. Backup
      1. Built-In Backup Programs
      2. tar
      3. cpio
      4. fbackup and frecover
      5. dd
      6. dump and restore
      7. Back Up of Virtual Partitions
      8. Back Up to a Tape Drive on the Local Virtual Partition
      9. Back Up to a Tape Drive on a Different Local Virtual Partition
    12. 8. System Startup and Shutdown
      1. Introduction
      2. System Startup and Shutdown Mechanism
        1. System Shutdown
      3. System Startup and Shutdown Scripts in Virtual Partitions
      4. Application Startup in Virtual Partitions
      5. Virtual Partition Startup
    13. 9. Users and Groups
      1. Set Up Users and Groups
        1. Assigning Users to Groups
      2. Partitions and Users: vPars Examples
      3. Individual User Setup
      4. Application Users
      5. NIS for Managing Users
        1. What Does NIS Manage?
        2. How Do I Plan for NIS?
        3. How Do I Configure an NIS Master or Slave Server?
        4. How Do I Configure an NIS Client?
        5. How Do I Maintain My NIS Environment?
    14. 10. Ignite-UX
      1. Ignite-UX Overview
      2. Set Up the Ignite/UX Server and Boot From It
        1. Run Ignite-UX CLI to Set Up and Load Software on the Server
        2. Booting a Client From an Ignite-UX Server
      3. Creating a Recovery Archive with make_net_recovery
        1. Recovery Archive with Ignite-UX: Server Setup
        2. Recovery Archive with Ignite-UX: Client Setup
        3. Recovery Archive with Ignite-UX: Client Recovery
    15. 11. HP System Insight Manager (HP SIM)
      1. HP SIM
        1. Obtaining and Installing HP SIM
        2. Working with the HP SIM GUI
        3. Set Up an HP-UX Managed System
        4. HP SIM CLI Commands
    16. 12. System Administration Manager (SAM)
      1. SAM Overview
      2. Running and Using SAM as Superuser
      3. Author's Disclaimer: SAM Is a Moving Target
      4. Accounts for Users and Groups
        1. Adding a User
      5. Auditing and Security
        1. Audited Events and Audited System Calls
        2. Audited Users
        3. Authenticated Commands
        4. System Security Policies
      6. Backup and Recovery
      7. Disks and File Systems
        1. Disk Devices
        2. File Systems
        3. Logical Volumes
        4. Swap
        5. Volume Groups
      8. Display
      9. Kernel Configuration
      10. Networking and Communications
        1. Bootable Devices
        2. DNS (BIND)
        3. Hosts
        4. NIS
        5. NIS+
        6. Name Service Switch
        7. Network Interface Cards
        8. Network Services
        9. Network File Systems
        10. System Access
      11. Partition Manager
      12. Performance Monitors
        1. Disk and Terminal Activity
        2. GlancePlus
        3. Inter-Process Communication Facility Status
        4. Processes with Highest CPU Usage
        5. System Activity
        6. System Properties
        7. Virtual Memory Activity
      13. Peripheral Devices
        1. Cards and Devices
        2. Tape Drives
        3. Terminals and Modems
        4. Uninterruptable Power Supplies
      14. Printers and Plotters
        1. Print Requests
        2. Printers and Plotters
        3. Save/Restore Spooler Configuration
      15. Process Management
        1. Process Control
        2. Scheduling Cron Jobs
      16. Resource Management
      17. Routine Tasks
        1. Backup and Recovery
        2. Selective File Removal
        3. System Log Files
        4. System Shutdown
      18. Run SAM on Remote Systems
      19. Software Management
      20. Time
      21. SAM Log Viewer
    17. 13. Introduction to HP-UX Performance Tools
      1. Introduction
      2. Standard UNIX Commands
        1. I/O and CPU Statistics with iostat (complete)
        2. Virtual Memory Statistics with vmstat
        3. Network Statistics with netstat
      3. Check Processes with ps
      4. Killing a Process
      5. Signals
        1. Show Remote Mounts with showmount
        2. Show System Swap
        3. sar: The System Activity Reporter
      6. top
      7. HP GlancePlus/UX
        1. Process List Description
        2. CPU Report Screen Description
        3. Memory Report Screen Description
        4. Disk Report Screen Description
        5. GlancePlus Summary
        6. Advanced Tools: Performance Manager
    18. 14. Networking Background
      1. An Overview of IEEE802.3, TCP/IP
        1. Physical Layer
        2. Link Layer
        3. Network Layer
        4. Transport Layer
      2. Internet Protocol (IP) Addressing and Subnet Mask
        1. Subnet Mask
    19. 15. Configuring and Using Networking
      1. Introduction
      2. Configuring Networking and LAN Adapters
        1. Identify LAN Cards in System
        2. Use set_parms to Configure First LAN Interface
        3. Manually Configure Second LAN Interface
      3. Commonly Used Networking Commands
        1. ping
        2. netstat
        3. route
        4. ifconfig
        5. rpcinfo
        6. arp
        7. lanadmin
        8. nslookup and nsquery
        9. ndd
      4. Using Networking
      5. Internet Services ARPA (Communication Among Systems with Different OS)
      6. Internet Services Berkeley (Communication Between UNIX Systems)
      7. Host Name Mapping
        1. /etc/hosts
        2. /etc/hosts.equiv
        3. /.rhosts
      8. Set Up DNS Servers Using BIND 8.1.2 and 9.2 on HP-UX 11i
        1. A Word on Slave (Secondary) Name Servers
        2. A Word On Cache-Only Name Servers
        3. A Final Word on Name Server Setup
      9. Network File System (NFS)
        1. Example NFS Configuration
    20. 16. Virtual Partitions (vPars)
      1. Introduction
      2. About Virtual Partitions
      3. Virtual Partitions Background
      4. Uses of Virtual Partitions
      5. Loading the Software
      6. Virtual Partitions Command Summary
      7. Steps to Create Virtual Partitions
        1. 1. Load HP-UX 11i
        2. 2. Load the Virtual Partitions Application Software
        3. 3. Gather the System Component and Hardware Paths
        4. 4. List the Components of the Virtual Partitions
        5. 5. Virtual Partition Kernel-Related Work
        6. 6. Create the First Virtual Partition
        7. 7. Boot the First Virtual Partition
        8. 8. Create the Second Virtual Partition
        9. 9. Boot the Second Virtual Partition
        10. 10. Modify the Virtual Partition
        11. Virtual Partition Dump Files
        12. Summary
    21. 17. Node Partitions (nPartitions) and Management Processor Overview
      1. Introduction to nPartitions
      2. Cells and nPartitions
      3. Ways of Managing nPartitions
      4. Command Menu (CM) From the MP Main Menu
      5. HP-UX nPartition Commands Using Consoles Area
        1. The parstatus Command
        2. The olrad -q Command
        3. The ioscan Command
      6. Modifying and Creating an nPartition
        1. Summary of HP-UX nPartition Commands
      7. Using CM, VFP, and CO to Reset a Partition on Integrity
      8. Using CM, VFP, and CO to Reset a Partition on PA-RISC
      9. Using Partition Manager (parmgr) to Modify and Create nPartitions
    22. 18. Future Directions for HP-UX System Administration
      1. Introduction
      2. Driving Forces
        1. Need to Increase Server Utilization
        2. Need to Increase Service Levels
        3. Heterogeneous Operating System Administration
        4. Affects of Sarbanes-Oxley Act
      3. Virtualization
        1. Current HP-UX Partitioning Technologies
        2. Integrity Virtual Machines
        3. Tools to Make It Fool-Proof
      4. Automation
        1. Standardization and Simplification
        2. Automated Configuration Management
        3. Policy-Based Workload Management
      5. Virtual Server Environment
      6. Looking Forward