You are previewing VMware ESXi Cookbook.
O'Reilly logo
VMware ESXi Cookbook

Book Description

Everything you need to know about installing, configuring, and administering vSphere 5.1 is contained in this book in the form of practical real-world recipes and examples. It makes learning a natural, engaging process.

In Detail

VMware ESX and VMware ESXi hypervisors are used for providing the foundation for building and managing a virtualized IT infrastructure. vSphere 5.1 delivers the same industry-leading performance and scalability as prior vSphere releases, with several additional benefits including its improved reliability and security. VMware vSphere 5.1 is based on the ESXi hypervisor architecture, a thin purpose-built hypervisor that does not depend on a general purpose operating system, which does away with the requirement of persistent storage. So we can now store it on a dedicated compact storage device, drastically reducing the hypervisor install footprint to less than 150MB.

"VMware ESXi 5.1 Cookbook" explores every aspect of VMware administration. We will learn to configure and to administer vSphere including high availability (HA), distributed resource scheduler (DRS), fault tolerance (FT), vMotion , svMotion, virtual machine provisioning, update manager, and distributed virtual switches. We will also explore advanced level operations with lots of tips and tricks to ease your job.

"VMware ESXi 5.1 Cookbook" offers a comprehensive understanding of new features released with vSphere 5.1 and how it enhances your VMware virtual environment. Starting with the installation and configuration of ESXi and vCenter and followed by the configuration of various core components including the network, storage, virtual machine administration, security, performance, and patching, along with the high availability of the virtual infrastructure.

Also exploring how the vSphere environment can be secured, learn to monitor your virtual environment using default alarms available with the vCenter server and to collect performance reports for your vSphere environment.

What You Will Learn

  • Install ESXi, configure network management, and customize the host using host profiles
  • Understand the installation and configuration of the vCenter virtual appliance along with advanced vCenter server options
  • Configure the network for a virtual infrastructure using standard switch and distributed switch.
  • Configure various network policies and the private VLAN using vSphere web client
  • Implement and configure various storage options and optimize storage using storage I/O control and storage profiles
  • Create and configure various clusters including high availability(HA), distributed resource scheduler (DRS), dynamic power management (DPM), and storage DRS
  • Provision and manage virtual machines, configure fault tolerance for VMs, and understand the methods to use the snapshot, template, and clone tools
  • Secure ESXi hosts using firewall, configure AD authentication, and strengthen the security for virtual machines
  • Understand how to view performance graphs and export the graph for future reference Configure vCenter alarms and export logs for troubleshooting
  • Learn the installation steps of the update manager and upgrade the ESXi host and virtual machine using update manager
  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. VMware ESXi Cookbook
      1. Table of Contents
      2. VMware ESXi Cookbook
      3. Credits
      4. About the Authors
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader Feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      8. 1. Installing and Configuring ESXi
        1. Introduction
        2. Installing ESXi using Interactive Mode
          1. Getting ready
          2. How to do it...
          3. There's more…
        3. Deploying ESXi hosts using scripted installation
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        4. Deploying ESXi hosts using Auto Deploy
          1. Getting ready
          2. How to do it…
          3. There's more…
        5. Installing vSphere Client
          1. Getting ready
          2. How to do it…
        6. Configuring NTP settings on the ESXi host
          1. Getting ready
          2. How to do it…
          3. There's more...
        7. Configuring DNS and Routing
          1. Getting ready
          2. How to do it…
          3. There's more...
        8. Licensing an ESXi host
          1. How to do it…
      9. 2. Installing and Using vCenter
        1. Introduction
        2. Installing vCenter SSO
          1. Getting ready
          2. How to do it…
          3. There's more…
        3. Installing VMware vCenter
          1. Getting ready
          2. How to do it…
        4. Installing vSphere Web Client
          1. Getting ready
          2. How to do it…
        5. Installing vSphere Auto Deploy
          1. How to do it…
        6. Working with the vCenter inventory objects
          1. Getting ready
          2. How to do it…
            1. Creating a Datacenter object
            2. Creating a cluster object
            3. Adding ESXi hosts
        7. Configuring the vCenter Server settings
          1. How to do it…
            1. Configuring the licensing
            2. Configuring the statistics settings
            3. Configuring the runtime settings
            4. Configuring the user directory settings
            5. Configuring the mail settings
            6. Configuring the SNMP settings
            7. Configuring the timeout settings
            8. Configuring the logging options
            9. Configuring the database settings
            10. Configuring SSL settings
            11. Configuring advanced settings
        8. Working with tags
          1. How to do it…
            1. Creating a tag category
            2. Creating a tag
            3. Assigning a tag to an object
        9. Using schedule tasks
          1. How to do it…
            1. Creating a schedule task
            2. Removing a schedule task
          2. There's more…
            1. vCenter maps
            2. The log browser
            3. Roles and permission
        10. Managing the plug-ins in vCenter
          1. How to do it…
            1. Installing plug-ins
            2. Enabling and disabling the plug-ins
          2. There's more…
        11. Deploying the VMware vCenter Server Appliance
          1. Getting ready
          2. How to do it…
          3. There's more…
      10. 3. Networking
        1. Introduction
        2. Creating and deleting VM network port groups
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        3. Creating VMkernel port groups
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        4. Modifying vSwitch properties
          1. Getting ready
          2. How to do it…
          3. How it works…
        5. Working with vSphere Distributed Switches
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. There's more...
        6. Configuring Private VLANs (PVLAN)
          1. Getting ready
          2. How to do it…
          3. How it works…
        7. Working with advanced networking
          1. Getting ready
          2. How do to it…
            1. Network rollback
            2. Network recovery
            3. Working with NetFlow
            4. Switch discovery protocol
          3. How it works…
        8. Enabling jumbo frames
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        9. Configuring network policies
          1. Getting ready
          2. How to do it…
            1. Port blocking policy
            2. Monitoring policy
            3. Resource allocation policy
          3. How it works…
          4. There's more…
            1. Security policy
            2. Load balancing and failover policy
              1. Load balancing
              2. Network failure detection
              3. Notify switches
              4. Failback
              5. Failover order
      11. 4. Storage
        1. Introduction
        2. Implementing the iSCSI storage
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Implementing FC and FCoE storages
          1. Getting ready
          2. How to do it…
          3. There's more...
        4. Configuring Raw Device Mapping
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        5. Managing VMFS and NFS datastores
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        6. Configuring the storage profiles of a virtual machine
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
      12. 5. Resource Management and High Availability
        1. Introduction
        2. Preparing hosts for vMotion
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Implementing resource pools
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        4. Implementing Distributed Resource Scheduler (DRS)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. VM-VM affinity rules
            2. VM-Host affinity rules
        5. Implementing Distributed Power Management (DPM)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        6. Implementing High Availability (HA)
          1. Getting ready
          2. How to do it...
            1. Configuring host monitoring
            2. Configuring HA admission control
            3. Configuring VM monitoring
            4. Configuring datastore heartbeating
            5. Configuring HA advanced options
          3. How it works...
          4. There's more...
            1. Configuring virtual machine override options
        7. Implementing Storage Dynamic Resource Scheduling (SDRS)
          1. Getting ready
          2. How to do it...
            1. Disabling storage DRS
          3. How it works...
          4. There's more...
            1. Storage DRS affinity rules
            2. Configuring VM anti-affinity rules
      13. 6. Managing Virtual Machines
        1. Introduction
        2. Deploying virtual machines
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Installing and customizing a guest operating system
          1. Getting ready
          2. How to do it..
          3. There's more...
        4. Configuring the ESXi host and VM for Fault Tolerance
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        5. Configuring virtual machine hardware
          1. Getting ready
          2. How to do it...
          3. There's more...
        6. Configuring virtual machine's options
          1. Getting ready
          2. How to do it...
          3. There's more...
        7. Creating snapshots, templates, and clones
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
      14. 7. Securing the ESXi Server and Virtual Machines
        1. Introduction
        2. Configuring the ESXi firewall
          1. Getting ready
          2. How to do it...
          3. There's more...
        3. Enabling the Lockdown mode
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        4. Managing ESXi authentication
          1. Getting ready
          2. How to do it...
          3. There's more...
        5. Managing ESXi certificates
          1. Getting ready
          2. How to do it...
          3. There's more...
        6. Configuring logging for virtual machines
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        7. Configuring security settings for virtual machines
          1. Getting ready
          2. How to do it...
          3. There's more...
      15. 8. Performance Monitoring and Alerts
        1. Introduction
        2. Running vCenter performance monitoring graphs
          1. Getting ready
          2. How to do it...
          3. There's more...
        3. Configuring SNMP for ESXi and vCenter
          1. Getting ready
          2. How to do it..
          3. There's more...
            1. Configuring SNMP settings for vCenter Server
        4. Running performance monitoring using ESXTOP
          1. Getting ready
          2. How to do it...
          3. There's more...
        5. Configuring vCenter alarms
          1. Getting ready
          2. How to do it...
          3. There's more...
        6. Managing log files
          1. Getting ready
          2. How to do it...
          3. There's more...
      16. 9. vSphere Update Manager
        1. Introduction
        2. Installing Update Manager
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Configuring Update Manager
          1. Getting ready
          2. How to do it…
          3. There's more...
        4. Creating and managing baselines
          1. Getting ready
          2. How to do it...
          3. There's more...
            1. Creating a host baseline group
            2. Creating a virtual machine and virtual appliance baseline group
            3. Attaching baselines and baseline groups to vSphere objects
        5. Scanning and remediating vSphere objects
          1. Getting ready
          2. How to do it...
          3. There's more...
        6. Configuring UMDS
          1. Getting ready
          2. How to do it...
          3. There's more...
      17. Index