You are previewing System Administration Guide: Virtualization Using the Solaris Operating System.
O'Reilly logo
System Administration Guide: Virtualization Using the Solaris Operating System

Book Description

This book is for anyone responsible for administering one or more systems that run the Solaris release. The book covers the topics Sun xVM hypervisor, Solaris resource management, Solaris Zones, and lx branded zones.

Table of Contents

  1. Copyright
  2. Preface
  3. Solaris Virtualization Product Overview
  4. Resource Management
    1. Introduction to Solaris Resource Management
      1. Resource Management Overview
      2. When to Use Resource Management
      3. Setting Up Resource Management (Task Map)
    2. Projects and Tasks (Overview)
      1. Project and Task Facilities
      2. Project Identifiers
      3. Task Identifiers
      4. Commands Used With Projects and Tasks
    3. Administering Projects and Tasks
      1. Administering Projects and Tasks (Task Map)
      2. Example Commands and Command Options
      3. Administering Projects
      4. Editing and Validating Project Attributes
    4. Extended Accounting (Overview)
      1. Introduction to Extended Accounting
      2. How Extended Accounting Works
      3. Extended Accounting Configuration
      4. Starting and Persistently Enabling Extended Accounting
      5. Commands Used With Extended Accounting
      6. Perl Interface to libexacct
    5. Administering Extended Accounting (Tasks)
      1. Administering the Extended Accounting Facility (Task Map)
      2. Using Extended Accounting Functionality
      3. Using the Perl Interface to libexacct
    6. Resource Controls (Overview)
      1. Resource Controls Concepts
      2. Configuring Resource Controls and Attributes
      3. Applying Resource Controls
      4. Temporarily Updating Resource Control Values on a Running System
      5. Commands Used With Resource Controls
    7. Administering Resource Controls (Tasks)
      1. Administering Resource Controls (Task Map)
      2. Setting Resource Controls
      3. Using the prctl Command
      4. Using rctladm
      5. Using ipcs
      6. Capacity Warnings
    8. Fair Share Scheduler (Overview)
      1. Introduction to the Scheduler
      2. CPU Share Definition
      3. CPU Shares and Process State
      4. CPU Share Versus Utilization
      5. CPU Share Examples
      6. FSS Configuration
      7. FSS and Processor Sets
      8. Combining FSS With Other Scheduling Classes
      9. Setting the Scheduling Class for the System
      10. Scheduling Class on a System with Zones Installed
      11. Commands Used With FSS
    9. Administering the Fair Share Scheduler (Tasks)
      1. Administering the Fair Share Scheduler (Task Map)
      2. Monitoring the FSS
      3. Configuring the FSS
    10. Physical Memory Control Using the Resource Capping Daemon (Overview)
      1. Introduction to the Resource Capping Daemon
      2. How Resource Capping Works
      3. Attribute to Limit Physical Memory Usage for Projects
      4. rcapd Configuration
      5. Monitoring Resource Utilization With rcapstat
      6. Commands Used With rcapd
    11. Administering the Resource Capping Daemon (Tasks)
      1. Setting the Resident Set Size Cap
      2. Configuring and Using the Resource Capping Daemon (Task Map)
      3. Administering the Resource Capping Daemon With rcapadm
      4. Producing Reports With rcapstat
    12. Resource Pools (Overview)
      1. Introduction to Resource Pools
      2. Introduction to Dynamic Resource Pools
      3. About Enabling and Disabling Resource Pools and Dynamic Resource Pools
      4. Resource Pools Used in Zones
      5. When to Use Pools
      6. Resource Pools Framework
      7. Implementing Pools on a System
      8. project.pool Attribute
      9. SPARC: Dynamic Reconfiguration Operations and Resource Pools
      10. Creating Pools Configurations
      11. Directly Manipulating the Dynamic Configuration
      12. poold Overview
      13. Managing Dynamic Resource Pools
      14. Configuration Constraints and Objectives
      15. poold Features That Can Be Configured
      16. How Dynamic Resource Allocation Works
      17. Using poolstat to Monitor the Pools Facility and Resource Utilization
      18. Commands Used With the Resource Pools Facility
    13. Creating and Administering Resource Pools (Tasks)
      1. Administering Resource Pools (Task Map)
      2. Enabling and Disabling the Pools Facility
      3. Configuring Pools
      4. Transferring Resources
      5. Activating and Removing Pool Configurations
      6. Setting Pool Attributes and Binding to a Pool
      7. Using poolstat to Report Statistics for Pool-Related Resources
    14. Resource Management Configuration Example
      1. Configuration to Be Consolidated
      2. Consolidation Configuration
      3. Creating the Configuration
      4. Viewing the Configuration
    15. Resource Control Functionality in the Solaris Management Console
      1. Using the Console (Task Map)
      2. Console Overview
      3. Management Scope
      4. Performance Tool
      5. Resource Controls Tab
      6. Console References
  5. Zones
    1. Introduction to Solaris Zones
      1. Zones Overview
      2. When to Use Zones
      3. How Zones Work
      4. Features Provided by Non-Global Zones
      5. Setting Up Zones on Your System (Task Map)
    2. Non-Global Zone Configuration (Overview)
      1. About Resources in Zones
      2. Pre-Installation Configuration Process
      3. Zone Components
      4. Using the zonecfg Command
      5. zonecfg Modes
      6. Zone Configuration Data
      7. Tecla Command-Line Editing Library
    3. Planning and Configuring Non-Global Zones (Tasks)
      1. Planning and Configuring a Non-Global Zone (Task Map)
      2. Evaluating the Current System Setup
      3. Determine the Zone Host Name and Obtain the Network Address
      4. File System Configuration
      5. Creating, Revising, and Deleting Non-Global Zone Configurations (Task Map)
      6. Configuring, Verifying, and Committing a Zone
      7. Using the zonecfg Command to Modify a Zone Configuration
      8. Using the zonecfg Command to Revert or Remove a Zone Configuration
    4. About Installing, Halting, Uninstalling, and Cloning Non-Global Zones (Overview)
      1. Zone Installation and Administration Concepts
      2. Zone Construction
      3. The zoneadmd Daemon
      4. The zsched Zone Scheduler
      5. Zone Application Environment
      6. About Halting, Rebooting, and Uninstalling Zones
      7. About Cloning Non-Global Zones
    5. Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)
      1. Zone Installation (Task Map)
      2. Installing and Booting Zones
      3. Halting, Rebooting, Uninstalling, Cloning, and Deleting Non-Global Zones (Task Map)
      4. Halting, Rebooting, and Uninstalling Zones
      5. Cloning a Non-Global Zone on the Same System
      6. Deleting a Non-Global Zone From the System
    6. Non-Global Zone Login (Overview)
      1. zlogin Command
      2. Internal Zone Configuration
      3. Non-Global Zone Login Methods
      4. Failsafe Mode
      5. Remote Login
      6. Interactive and Non-Interactive Modes
    7. Logging In to Non-Global Zones (Tasks)
      1. Initial Zone Boot and Zone Login Procedures (Task Map)
      2. Performing the Initial Internal Zone Configuration
      3. Logging In to a Zone
      4. Switching the Non-Global Zone to a Different Networking Service Configuration
      5. Printing the Name of the Current Zone
    8. Moving and Migrating Non-Global Zones (Tasks)
      1. Moving a Non-Global Zone
      2. Migrating a Non-Global Zone to a Different Machine
      3. Migrating a Zone From a Machine That Is not Usable
    9. About Packages and Patches on a Solaris System With Zones Installed (Overview)
      1. Packaging and Patch Tools Overview
      2. About Packages and Zones
      3. Keeping Zones in Sync
      4. How Zone State Affects Patch and Package Operations
      5. About Adding Packages in Zones
      6. About Removing Packages in Zones
      7. Package Parameter Information
      8. Package Information Query
      9. About Adding Patches in Zones
      10. Applying Patches on a Solaris System With Zones Installed
      11. Removing Patches on a Solaris System With Zones Installed
      12. PatchPro Support
      13. Product Database
    10. Adding and Removing Packages and Patches on a Solaris System With Zones Installed (Tasks)
      1. Adding and Removing Packages and Patches on a Solaris System With Zones Installed (Task Map)
      2. Adding a Package on a Solaris System With Zones Installed
      3. Checking Package Information on a Solaris System With Zones Installed
      4. Removing a Package From a Solaris System With Zones Installed
      5. Applying a Patch to a Solaris System With Zones Installed
      6. Removing a Patch on a System with Zones Installed
      7. Checking Package Parameter Settings on a System with Zones Installed
    11. Solaris Zones Administration (Overview)
      1. Global Zone Visibility and Access
      2. Process ID Visibility in Zones
      3. System Observability in Zones
      4. Non-Global Zone Node Name
      5. File Systems and Non-Global Zones
      6. Networking in Shared-IP Non-Global Zones
      7. Networking in Exclusive-IP Non-Global Zones
      8. Device Use in Non-Global Zones
      9. Running Applications in Non-Global Zones
      10. Resource Controls Used in Non-Global Zones
      11. Fair Share Scheduler on a Solaris System With Zones Installed
      12. Extended Accounting on a Solaris System With Zones Installed
      13. Privileges in a Non-Global Zone
      14. Using IP Security Architecture in Zones
      15. Using Solaris Auditing in Zones
      16. Core Files in Zones
      17. Running DTrace in a Non-Global Zone
      18. About Backing Up a Solaris System With Zones Installed
      19. Determining What to Back Up in Non-Global Zones
      20. About Restoring Non-Global Zones
      21. Commands Used on a Solaris System With Zones Installed
    12. Administering Solaris Zones (Tasks)
      1. Using the ppriv Utility
      2. Using DTrace in a Non-Global Zone
      3. Checking the Status of SMF Services in a Non-Global Zone
      4. Mounting File Systems in Running Non-Global Zones
      5. Adding Non-Global Zone Access to Specific File Systems in the Global Zone
      6. Using IP Network Multipathing on a Solaris System With Zones Installed
      7. Administering Data-Links in Exclusive-IP Non-Global Zones
      8. Using the Fair Share Scheduler on a Solaris System With Zones Installed
      9. Using Rights Profiles in Zone Administration
      10. Backing Up a Solaris System With Installed Zones
      11. Restoring a Non-Global Zone
    13. Troubleshooting Miscellaneous Solaris Zones Problems
      1. Exclusive-IP Zone Is Using Device, so dladm reset-linkprop Fails
      2. Incorrect Privilege Set Specified in Zone Configuration
      3. Zone Administrator Mounting Over File Systems Populated by the Global Zone
      4. netmasks Warning Displayed When Booting Zone
      5. Zone Does Not Halt
      6. Resolving Problems With a zoneadm attach Operation
  6. Branded Zones
    1. About Branded Zones and the Linux Branded Zone
      1. About Using Zones on a Solaris System
      2. Branded Zones Technology
      3. About the lx Brand
      4. Debugging Tools
      5. Commands and Other Interfaces
      6. Setting Up lx Branded Zones on Your System (Task Map)
    2. Planning the lx Branded Zone Configuration (Overview)
      1. System and Space Requirements
      2. Restricting the Size of the Branded Zone
      3. Branded Zone Network Address
      4. lx Branded Zone Configuration Process
      5. lx Branded Zone Configuration Components
      6. Resources Included in the Configuration by Default
      7. Using the zonecfg Command to Create an lx Branded Zone
      8. zonecfg Modes
      9. Branded Zone Configuration Data
    3. Configuring the lx Branded Zone (Tasks)
      1. Planning and Configuring an lx Branded Zone (Task Map)
      2. How to Configure the lx Branded Zone
      3. Modifying, Reverting, or Removing Zone Configurations
    4. About Installing, Booting, Halting, Cloning, and Uninstalling lx Branded Zones (Overview)
      1. Branded Zone Installation and Administration Concepts
      2. lx Branded Zone Installation Methods
      3. lx Branded Zone Construction
      4. Branded Zone Application Environment
      5. Passwords
      6. About Halting, Rebooting, Uninstalling, and Cloning lx Branded Zones
      7. About Cloning an lx Branded Zone
      8. Booting and Rebooting lx Branded Zones
    5. Installing, Booting, Halting, Uninstalling and Cloning lx Branded Zones (Tasks)
      1. lx Branded Zone Installation (Task Map)
      2. Installing and Booting lx Branded Zones
      3. Halting, Rebooting, Uninstalling, Cloning, and Deleting lx Branded Zones (Task Map)
      4. Cloning an lx Branded Zone on the Same System
      5. Deleting an lx Branded Zone From the System
    6. Logging In to lx Branded Zones (Tasks)
      1. zlogin Command Overview
      2. lx Branded Zone Login Methods
      3. Login Procedures for Branded Zones (Task Map)
      4. Logging In to an lx Branded Zone
    7. Moving and Migrating lx Branded Zones (Tasks)
      1. Moving an lx Branded Zone
      2. Migrating an lx Branded Zone to a Different Machine
    8. Administering and Running Applications in lx Branded Zones (Tasks)
      1. About Maintaining a Supported Configuration
      2. Upgrading the Distribution and Adding Packages
      3. How to Install an Application in an lx Branded Zone
      4. Backing Up lx Branded Zones
      5. Features That Are Not Supported in an lx Branded Zone
  7. Sun xVM
    1. Sun xVM Hypervisor System Requirements
      1. Supported Hardware
      2. Supported Configurations
      3. Domain 0 Memory Requirements
      4. Introduction to the Sun xVM Hypervisor
      5. The Sun xVM Hypervisor and the Control Domain
      6. How Hypervisors Work
      7. Resource Virtualization to Enable Interoperability
      8. Sun xVM Hypervisor Scheduler
      9. Supported Virtualization Modes
      10. Virtual NICs
      11. Virtual FibreChannel HBAs
      12. About Domains
      13. Solaris Guest Domain U
      14. Domain States
      15. The Solaris System and Intel Platforms
    2. Booting and Running the Sun xVM Hypervisor
      1. x86 Boot Architecture
      2. About Booting the Solaris Control Domain
      3. How to Run 32–bit PAE Control Domains
      4. Creating Guest Domain Environments Using File Systems
      5. Starting xVM
    3. Xvnc
      1. About Xvnc
      2. Starting VNC
    4. Using virt-install to Install a Domain
      1. virt-install Overview
      2. Install Using virt-install With Options
      3. Install a DomU Interactively by Using virt-install
      4. About Network Installations
    5. xVM System Administration
      1. Printing Kernel and Machine Information
      2. Configuring the Serial Console to Be the Main Console
      3. virsh Command and Domain Management
      4. Cloning ZFS-Based Solaris Domains
      5. Communication From xVM Hypervisor to Dom0 Using xm
      6. About Crash Dumps
    6. Troubleshooting Miscellaneous Sun xVM Problems
      1. Verifying System Elements
      2. Developers: Using DTrace With the Hypervisor
  8. Glossary