O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

vSphere Virtual Machine Management

Book Description

This tutorial will help VMware administrators fine-tune and expand their expertise with vSphere. From creating and configuring virtual machines to optimizing performance, it's all here in a crystal clear series of chapters.

In Detail

A virtual machine (VM) is a software implementation of a machine (a computer) that executes programs like a physical machine. vSphere has clusters of virtual machines that are all interconnected. Virtualization changes everything. Virtual machines have far more functionality than physical servers and are capable of incredible things. Virtual machines should not be treated and administered exactly like physical servers. It is imperative that the administrators know how to correctly create and administer virtual machines.

vSphere Virtual Machine Management depicts how to create a virtual machine step-by-step using multiple creation methods. In this book, you will learn how to develop virtual machine performance, resource allocation, and performance monitoring in detail. You will also be introduced to load balancing and virtual machine availability concepts and configurations.

This book looks at the different ways to create virtual machines, and breaks down the many different configuration options that are available. It will take you through a number of step-by-step instructions that will help you understand virtual machine features and how to configure them.

Not only will you learn how to create and configure virtual machines, but you will also be introduced to many of the advanced configuration options that are available in vSphere. We will also take a look at virtual machine performance, resource allocation options, and how to monitor virtual machines. If your environment uses multi-tiered applications, you will discover why vApp is the perfect container for multi-tiered applications. How to take advantage of virtual machine availability and load balancing will also be discussed.

What You Will Learn

  • Understand virtual machine concepts
  • Create a virtual machine using the wizard
  • Understand other ways to provision virtual machines
  • Discover advanced virtual machine settings
  • Manage multi-tiered applications with vApps
  • Migrate and monitor your virtual machines
  • Balance resource utilization and availability
  • Optimize virtual machine performance and resource allocation

Table of Contents

  1. vSphere Virtual Machine Management
    1. Table of Contents
    2. vSphere Virtual Machine Management
    3. Credits
    4. About the Author
    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. Virtual Machine Concepts
      1. vSphere virtual machines
      2. Virtual machine components
      3. Uses of virtual machines
      4. The primary virtual machine resources
        1. CPU
        2. Memory
        3. Network
        4. Disk
      5. Virtual machine files
        1. Configuration files
        2. Swap files
        3. Virtual disks
        4. Snapshot files
        5. Other files
        6. Viewing virtual machine files
          1. Using the vSphere Client
          2. Using the vSphere Web Client
          3. Using command line
      6. VMware Tools
      7. Summary
    9. 2. Creating a Virtual Machine Using the Wizard
      1. vSphere Client versus vSphere Web Client
      2. Creating a VM using the typical configuration wizard
        1. Name and Location
        2. Storage
        3. Guest Operating System
        4. Network
        5. Create a Disk
        6. Ready to Complete
        7. Editing the settings
      3. Creating a VM using the custom configuration wizard
        1. Name and Location
        2. Storage
        3. Virtual Machine Version
        4. Guest Operating System
        5. CPUs
        6. Memory
        7. Network
        8. SCSI controller
          1. Creating a new virtual disk
          2. Using an existing virtual disk
          3. Raw Device Mappings
          4. Do not create disk
        9. Ready to Complete
      4. Creating a VM using vSphere Web Client
        1. Select a name and folder
        2. Select a compute resource
        3. Select storage
        4. Select compatibility
        5. Select a guest OS
        6. Customize hardware
        7. Ready to complete
      5. Summary
    10. 3. Other Ways to Provision a Virtual Machine
      1. Configuring virtual machine customizations
        1. Copying Sysprep files to vCenter directory
        2. Creating a customization
          1. New VM Guest Customization Spec
          2. Set Registration Information
          3. Set Computer Name
          4. Enter Windows License
          5. Set Administrator Password
          6. Run Once
          7. Configure Network
          8. Set Workgroup or Domain
          9. Set Operating System Options
          10. Ready to complete
      2. Creating a virtual machine from a template
        1. Creating a template
        2. Deploying VMs from the template
        3. Select a name and folder
        4. Select a compute resource
        5. Select storage
        6. Select clone options
      3. Creating a virtual machine by cloning
      4. Creating a virtual machine from an OVF file
        1. Select source
        2. Review details
        3. Accept EULAs
        4. Select name and location
        5. Select storage
        6. Setup networks
        7. Customize template
        8. Ready to complete
      5. Creating a virtual machine using VMware vCenter Converter
        1. Source System
        2. Source Machine
        3. Destination System
        4. Destination Virtual Machine
        5. Destination Location
        6. Options
        7. Summary (pane)
      6. Summary
    11. 4. Advanced Virtual Machine Settings
      1. Introducing the virtual machine monitor
        1. Understanding monitor modes
      2. Enabling CPU hot plug / memory hot add
      3. The CPUID mask
      4. The CPU affinity setting
      5. Setting the .vswp location
      6. Viewing other advanced options
        1. The General Options section
        2. The VMware Remote Console Options section
        3. The VMware Tools section
        4. The Boot Options section
      7. Installing VMware Tools
        1. Installing VMware Tools in a Windows virtual machine
        2. Installing VMware Tools in a Linux virtual machine
      8. Summary
    12. 5. Managing Multitiered Applications with vApps
      1. What is a vApp?
      2. Creating a vApp
      3. vApp options
        1. IP addressing policies
        2. Virtual machine startup/shutdown order
      4. Exporting a vApp
      5. Cloning a vApp
      6. Summary
    13. 6. Virtual Machine Performance and Resource Allocation
      1. Resource performance concepts
        1. CPU virtualization
        2. Memory reclamation
          1. Transparent page sharing (TPS)
          2. Ballooning
          3. Compression
          4. Swapping to host cache
          5. Hypervisor swapping
        3. Network constraint
        4. Storage constraint
      2. Understanding resource controls
        2. Limits
        3. Reservations
      3. Resource pools
        1. Creating a resource pool
        2. Expandable reservations
      4. Network I/O Control
      5. Storage I/O Control
        1. vSphere Storage APIs
      6. Disk alignment
      7. Performance tuning
        1. Traditional performance practices
        2. Performance problems
        3. Troubleshooting performance
      8. Summary
    14. 7. Monitoring Virtual Machines
      1. Performance charts
        1. Overview performance charts
        2. Advanced performance charts
      2. Using esxtop
        1. Monitoring CPU
        2. Monitoring memory
        3. Monitoring network
        4. Monitoring storage
        5. The esxtop options
      3. Using alarms
        1. Creating condition-based alarms
        2. Creating event-based alarms
      4. Other places to find information
      5. Summary
    15. 8. Migrating Virtual Machines
      1. vMotion
        1. Configuring for vMotion
        2. Migration using vMotion
      2. Migration using Storage vMotion
      3. Cross-host Storage vMotion
      4. Summary
    16. 9. Balancing Resource Utilization and Availability
      1. Clusters
        1. Creating a cluster
      2. Distributed Resource Scheduler (DRS)
        1. Overview of DRS
        2. Enabling and configuring DRS
          1. DRS recommendations and monitoring DRS
        3. Affinity/Anti-affinity rules
      3. High Availability
        1. Overview of HA
        2. Configuring HA
      4. Storage Distributed Resource Scheduler (SDRS)
        1. Overview of SDRS
        2. Configuring SDRS
          1. Applying SDRS recommendations
        3. Anti-affinity rules
      5. Summary
    17. 10. Virtual Machine Design
      1. Comparing provisioning methods
        1. Provisioning using templates
        2. Using clones for provisioning
        3. Using virtual appliances
        4. OVF templates
      2. Virtual hardware and resource configuration
        1. Virtual machine maximums
        2. Memory
        3. CPU
        4. Storage
          1. The Disk Provisioning types
          2. Disk Mode
          3. The SCSI controller
          4. Raw Device Mapping (RDM)
        5. The virtual network adapters
      3. Other considerations
        1. Renaming virtual machines
        2. Upgrading virtual hardware version
        3. Using tags
        4. NTP configuration
        5. Disabling unused virtual hardware
        6. VMware Tools
      4. Summary
    18. Index