You are previewing VMware® ESXi: Planning, Implementation, and Security.
O'Reilly logo
VMware® ESXi: Planning, Implementation, and Security

Book Description

VMware ESXi is the easiest way to get started with virtualization-and it's free. It allows users to consolidate their applications onto fewer servers and start saving money through reduced hardware, power, cooling and administration costs. VMware ESXi has been optimized and tested to run even your most resource intensive applications and databases with minimal performance overhead. VMware for ESXi Server: Planning, Implementation, and Security covers the key features critical to successfully planning for and implementing VMWare's ESXi. The book is perfect for those getting started with virtualization as well as current VMware VI3 and vSphere administrators who may be considering a switch to vSphere ESXi.

Table of Contents

  1. Copyright
    1. Dedication
  2. Acknowledgments
  3. About the Author
  4. Introduction
    1. Who This Book Is For
    2. How This Book Is Organized
  5. 1. Introduction to VMware ESXi 4.1
    1. Understanding the Architecture of VMware ESXi
    2. Managing VMware ESXi
    3. Comparing ESXi and ESX
      1. Common Features and Capabilities
      2. Product Differences
    4. What’s New with vSphere 4.1
    5. Conclusion
  6. 2. Getting Started with a Quick Install
    1. Determining Hardware and Software Requirements
    2. Installing VMware ESXi
    3. Configuring the DCUI
    4. Installing the vSphere Client and Initial Configuration
    5. Conclusion
  7. 3. Management Tools
    1. Managing Your ESXi Host with the vSphere Client
      1. Using the Host Configuration Tab
        1. Setting a Power Management Policy
        2. Configuring DNS and Routing Settings
        3. Configuring Licensing on Your Host
        4. Managing Your Host’s Security Profile
      2. Viewing Resource Allocation
      3. Viewing Events and System Logs
    2. Managing Your Hosts with vCenter Server
      1. Ensuring Configuration Compliance with Host Profiles
      2. Managing VMs with vSphere Web Access
    3. Getting Started with PowerCLI and the vCLI
      1. Getting Started with the vCLI
      2. Getting Started with PowerCLI
    4. Configuring and Troubleshooting ESXi with the DCUI
      1. Restarting and Shutting Down the Host
      2. Configuring the DCUI Keyboard Language
      3. Configuring a Password for the Root Login
      4. Enabling Lockdown Mode
      5. Configuring the Management Network
      6. Restarting the Management Network
      7. Testing the Management Network
      8. Disabling the Management Network
      9. Restoring the Standard vSwitch
      10. Viewing Support Information
      11. Viewing System Logs
      12. Troubleshooting Mode Options
      13. Resetting Your System Configuration
      14. Removing Custom Extensions
    5. Using Third-Party Products to Manage Your Hosts
      1. RVTools
      2. Veeam FastSCP
      3. Xtravirt vSphere Client RDP Plug-In
      4. Vizioncore vFoglight
      5. ManageIQ EVM Control
    6. Conclusion
  8. 4. Installation Options
    1. Using ESXi Embedded
    2. ESXi Installable Media and Boot Options
      1. Creating a Network Media Depot for VMware ESXi
      2. PXE Booting the ESXi Installer
        1. PXE Booting in a Windows Environment
        2. PXE Booting in a Linux Environment
      3. Installing VMware ESXi 4.1 Using Graphical Mode
      4. Installing VMware ESXi 4.1 Using Scripted Mode
        1. Considerations for Scripting ESXi Installations
        2. Installation Script Commands
          1. accepteula or vmaccepteula.
          2. autopart.
          3. install.
          4. rootpw.
          5. clearpart.
          6. dryrun.
          7. keyboard.
          8. serialnum or vmserialnum.
          9. network.
          10. paranoid.
          11. part or partition.
          12. %include or include.
          13. %pre.
          14. %post.
          15. %firstboot.
        3. A Sample Installation Script
        4. Troubleshooting Installation Scripts
    3. Conclusion
  9. 5. Migrating from ESX
    1. Prerequisites
    2. Upgrading to vCenter Server 4.1
      1. Migrating the VirtualCenter Database to a Supported Version
      2. Backing Up vCenter Server Configuration Data with the Data Migration Tool
      3. Restoring the vCenter Server Configuration Data and Installing vCenter Server 4.1
      4. Installing the License Service on the New vCenter Server Host
    3. Upgrading Datastore and Network Permissions
    4. Migrating ESX Hosts
    5. Upgrading Virtual Machines
      1. Performing an Interactive Upgrade of VMware Tools with the vSphere Client
      2. Automating the Upgrade of VMware Tools with the vSphere Client
      3. Upgrading Virtual Hardware
      4. Using PowerCLI to Upgrade VMware Tools and the Hardware Version
      5. Using vCenter Update Manager to Upgrade VMware Tools and the Hardware Version
    6. Conclusion
  10. 6. System Monitoring and Management
    1. Configuring Active Directory Integration
      1. AD Integration Prerequisites
      2. Configuring AD Integration with the vSphere Client
      3. Configuring AD Integration with Host Profiles
      4. Configuring AD Integration with the vCLI
      5. Assigning AD Permissions on VMware ESXi
    2. Enabling Time Synchronization and NTP
      1. Configuring NTP with the vSphere Client
      2. Configuring NTP with Host Profiles
      3. Configuring NTP with PowerCLI
    3. Redirecting ESXi Logs to a Remote Syslog Server
      1. Configuring Syslog Settings with the vSphere Client
      2. Configuring Syslog Settings with PowerCLI
      3. Managing ESXi Syslog Data
    4. Monitoring ESXi and vCenter Server with SNMP
      1. Configuring SNMP on ESXi and vCenter Server
      2. Configuring Your SNMP Management Server
    5. Monitoring Your Hosts with vCenter Server
      1. Working with Alarms
        1. Creating Alarms
        2. Managing Alarms
      2. Working with Performance Charts
        1. Using the Overview Layout
        2. Using the Advanced Performance Layout
        3. Using VMware Performance Counters with Microsoft Windows
      3. Working with Storage Views
        1. Using Storage Reports
        2. Using Storage Maps
      4. Hardware Management
        1. What Is the Common Information Model?
        2. Adding CIM Providers to Your ESXi Host
        3. Monitoring Health Status When Directly Connected to a Host
        4. Monitoring Health Status When Connected to vCenter Server
    6. Integration with Server Management Systems
    7. Host Backup and Recovery
      1. ESXi Backup and Recovery
      2. Backup and Recovery for Virtual Machines
        1. Installing VMware Data Recovery
        2. Configuring VMware Data Recovery
        3. Restoring Virtual Machines and Files with VMware Data Recovery
    8. Conclusion
  11. 7. Securing ESXi
    1. ESXi Architecture and Security Features
      1. Security and the VMkernel
      2. Security and Virtual Machines
      3. Security and the Virtual Networking Layer
    2. Network Protocols and Ports for ESXi
    3. Protecting ESXi and vCenter Server with Firewalls
    4. Using ESXi Lockdown Mode
    5. Configuring Users and Permissions
      1. Managing Permissions on a Standalone VMware ESXi Host
      2. Managing Permissions with vCenter Server
    6. Securing VMware ESXi and vCenter Server with SSL Certificates
      1. Types of SSL Certificates
      2. SSL Certificates Used by ESXi and vCenter Server
      3. Replacing the SSL Certificates Used by vCenter Server and ESXi
        1. Replacing the SSL Certificate for vCenter Server
        2. Replacing the SSL Certificate for ESXi
      4. Enabling Certificate Checking and Verifying Host Thumbprints
    7. Configuring IPv6 and IPSec
    8. Securing Network Storage
      1. Securing FC SAN Storage
      2. Securing NFS Storage
      3. Security iSCSI Storage
    9. Securing Virtual Networking
      1. Security Virtual Networking with VLANs
      2. Configuring vSwitch Security Properties
    10. Security and Clustering
    11. Isolating Virtual Machine Environments
    12. Conclusion
  12. 8. Scripting and Automation with the vCLI
    1. Installing the vCLI on Linux and Windows
    2. Installing and Configuring the vMA
    3. Running vCLI Commands
    4. Configuring vMA Components
      1. Configuring vi-fastpass Authentication
        1. Configuring Prerequisites for Active Directory Authentication
        2. Adding and Managing Target Servers
      2. Capturing ESXi Logs with vi-logger
    5. Managing vSphere with the vCLI
      1. Managing ESXi Hosts
      2. Managing Virtual Machines
      3. Managing Host Networking
      4. Managing Host Storage
      5. Managing Files
      6. Monitoring Performance with resxtop
    6. Scripting with the vCLI and the vSphere SDK for Perl
    7. Conclusion
  13. 9. Scripting and Automation with PowerCLI
    1. Installing vSphere PowerCLI
      1. Accessing the vSphere Managed Object Browser
      2. Installing and Testing PowerCLI
    2. Understanding the Basics of PowerShell and PowerCLI
      1. PowerShell Objects and Pipelines
      2. PowerShell Variables
      3. Formatting Output
      4. Managing Connections
      5. Developing Scripts with WhatIf
      6. Finding PowerCLI Cmdlets
    3. Using PowerShell Drives
    4. Managing Virtual Machines with PowerCLI
      1. Creating Virtual Machines
      2. Creating Virtual Machines from Templates
      3. Managing Virtual Machine Snapshots
      4. Interacting with VMware Tools
    5. Managing ESXi Hosts and vCenter Server with PowerCLI
      1. Configuring Your ESXi Hosts with a PowerCLI Script
      2. Managing Host Profiles with PowerCLI
      3. Integrating PowerCLI with vCenter Server Alarms
      4. Troubleshooting Your ESXi Hosts
    6. Extending PowerCLI with Other Tools
      1. The Integrated Shell Environment
      2. VMware Project Onyx
      3. PowerWF
    7. Conclusion
  14. 10. Patching and Updating ESXi
    1. Installing Patches for ESXi
    2. Patching ESXi with the vCLI Command vihostupdate
    3. Patching ESXi with the vCenter Update Manager
      1. Installing vCenter Update Manager
      2. Configuring vCenter Update Manager
      3. Creating a vCenter Update Manager Baseline
      4. Scanning and Remediating ESXi with vCenter Update Manager
    4. Patching ESXi with PowerCLI
      1. Updating a Host with Install-VMHostPatch
      2. Updating a Host with VUM PowerCLI
    5. Conclusion
  15. 11. Under the Hood with the ESXi Tech Support Mode
    1. Accessing Tech Support Mode
    2. Auditing Tech Support Mode
    3. Exploring the File System
    4. Understanding System Backups and Restores
      1. Repairing ESXi and Restoring from Backups
    5. Troubleshooting with Tech Support Mode
    6. Conclusion