Buying Options
VMware Cookbook
Print $39.99
Add to Cart
Print+Ebook $43.99
Add to Cart
Ebook $31.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £30.99
Add to Cart
What is this?
Description
This book provides a look into real-world use of VMware ESX and ESXi, with step-by-step solutions for problems that occur in a wide range of environments. Written by experts with experience using VMware in a production environment, VMware Cookbook shares tips and tricks earned through trial and error, and supplies the background information you need to apply them.
Full Description
Table of Contents
  1. Chapter 1 VMware Infrastructure Installation

    1. What Is VMware Infrastructure 3?

    2. What Is VMware vSphere 4.0?

    3. VMware ESX 3.x/4.x Configuration Maximums

    4. VMware ESX 3.x Server Overview

    5. VMware ESX 3.x Installation

    6. VMware ESXi 3.5 Overview

    7. VMware ESXi 3.5 Installation

    8. VMware vCenter Server 2.x Overview

    9. vCenter Server 2.x Installation

    10. VMware vCenter Client 2.x Overview

    11. vCenter Client 2.x Installation

    12. License Server Overview

    13. License Server (vCenter 2.x) Installation

    14. vConverter Overview

    15. vConverter Installation

    16. VMware ESX 4.0 Installation

  2. Chapter 2 Storage

    1. Comparing ESX Storage Options

    2. Storage Device Naming Scheme

    3. Creating a Network for a Software iSCSI Initiator

    4. Configuring Software iSCSI

    5. Configuring a Hardware iSCSI Initiator

    6. Configuring iSCSI in Windows Virtual Machines

    7. Opening Firewall Ports for an ESX iSCSI Software Initiator

    8. Multipathing with iSCSI

    9. Adding Fibre Channel Storage in ESX

    10. Raw Device Mapping in Virtual Machines

    11. Creating a Port to Access NFS Datastores

    12. Configuring ESX to Use NFS

    13. Creating a VMFS Volume in vCenter

    14. Performing a Storage Rescan

    15. Creating a VMFS Volume via the Command Line

    16. Viewing the Files That Define a VMFS Volume

    17. Extending a VMFS Volume

    18. Reading VMFS Metadata

    19. Renaming a VMFS Volume Label from the Command Line

    20. Manually Creating and Aligning a VMFS Partition

    21. Creating a Diagnostic Partition

    22. Removing Storage Volumes from ESX

    23. Determining Whether a VMFS Datastore Is on a Local or SAN Disk

    24. Adjusting Timeouts When Adding Storage in vCenter

    25. Setting Disk Timeouts in Windows

  3. Chapter 3 Networking

    1. Understanding Differences Between ESX 3.5 and ESXi 3.5 in Network Support

    2. Configuring ESX Network Ports and Firewall

    3. Creating a vSwitch for Virtual Machines

    4. Removing a Virtual Switch

    5. Adding VMotion to Enable Virtual Machine Migration

    6. Creating a Service Console Network via the CLI

    7. Checking Connectivity Using vmkping

    8. Modifying the Speed of a Network Adapter

    9. Choosing Network Elements That Protect Security

    10. Setting the Basic Level 2 Security Policy

    11. Ethernet Traffic Shaping

    12. Using Multiple Gateways

    13. Load Balancing and Failover

    14. Creating a Jumbo Frame VMkernel Interface for iSCSI

    15. Enabling Jumbo Frames on a vSwitch

    16. Enabling Jumbo Frames on a Virtual Machine

    17. Changing the Service Console IP Address

    18. Using the Command Line to Locate Physical Ethernet Adapters

    19. Changing the Ethernet Port Speed via the Command Line

    20. Restoring a Service Console via the CLI

  4. Chapter 4 Resource and vCenter Management

    1. Understanding Virtual Machine Memory Use Through Reservations, Shares, and Limits

    2. Configuring Virtual Machine CPU Limits

    3. Configuring Virtual Machine CPU Shares

    4. Configuring Virtual Machine CPU Reservations

    5. Setting Up Resource Pools

    6. Understanding Resource Pools

    7. Expandable Reservations in Resource Pools

    8. Creating a Cluster

    9. Adding Hosts to a Cluster

    10. Enabling DRS in a Cluster

    11. Understanding Cluster States and Warnings

    12. Reconfiguring HA on a Host

    13. Using ESX 4.x CPU/RAM Hot Add/Hotplug Support

    14. Surviving a vCenter Server Failure or Outage

  5. Chapter 5 Useful Command-Line Tools

    1. Entering Maintenance Mode via the Command Line

    2. Displaying Server Information

    3. Viewing the ESX Version

    4. Changing the Virtual Disk from BusLogic to LSI Logic

    5. Hiding the VMware Tools Icon

    6. Emptying a Large Virtual Machine Logfile

    7. Viewing Disk Partitions via the Console

    8. Monitoring CPU Usage

    9. Monitoring Memory

    10. Monitoring Storage Performance

    11. Monitoring Network Usage

    12. Managing Virtual Switches

    13. Generating a Logfile for VMware Support

    14. Checking ESX Patches

    15. Enabling NTP in vCenter

    16. Enabling NTP via the Command Line

    17. Changing the ESX Server’s Time

    18. Using TCP Wrappers

    19. Restarting the vCenter Agent

    20. Unregistering a Virtual Machine via the Command Line

    21. Registering a Virtual Machine via the Command Line

    22. Finding Virtual Machine Snapshots

    23. Renaming a Virtual Machine via vCenter

    24. Renaming a Virtual Machine via the Command Line

    25. Using Host Files

    26. Setting ESX Options Using the Command Line

    27. Configuring Authentication Choices Using the Command Line

    28. Manipulating the Bootloader

    29. Manipulating the Crash Dump Partition

    30. Configuring a Firewall on the Command Line

    31. Managing ESX Driver Modules

    32. Configuring Storage Multipathing

    33. Managing NFS Mounts

    34. Managing Disk Volumes with ESX4

    35. Configuring Ethernet Adapters

    36. Rescanning Host Bus Adapters

    37. Managing ESX4 Add-ons from the Command Line

    38. Managing Resource Groups from the Command Line

    39. Managing VMkernel Network Routes

    40. Configuring Software iSCSI Options

    41. Configuring Hardware iSCSCI Options

    42. Upgrading Your Version of VMware

    43. Displaying vmhba Names with Associated Mappings

    44. Managing SCSI Device Mappings with ESX4 vSphere

    45. Managing VMkernel Ports

    46. Managing vswif Console Network Settings

  6. Chapter 6 General Security

    1. Enabling SSH on ESXi

    2. Enabling Direct root Logins on Your ESX Server

    3. Adding Users and Groups

    4. Allowing or Denying Users the Use of SSH

    5. Turning on the MOTD for Console Users

    6. Changing the root Password via the Console

    7. Recovering a Lost root Password

    8. Disabling Direct root Console Logins

    9. Securing the GRUB Bootloader Menu

    10. Disabling USB Drive Mounting

    11. Opening and Closing Firewall Ports via the Console

    12. Checking Default ESX Ports

    13. Turning on SNMP for Remote Administration

    14. Using SNMP Version 3

    15. Using sudo

    16. Configuring sudo

    17. Tracking Users via the CLI

    18. Configuring Active Directory Authentication

    19. Setting a Maximum Number of Failed Logins

    20. Limiting Access to the su Command

    21. Setting User Password Aging

    22. Disabling Copy and Paste

    23. Disabling Disk Shrinking on Virtual Machines

    24. Disabling Unneeded Devices

    25. Preventing Unwanted Device Additions and Removals

    26. Disabling VMware Tools Settings Override

  7. Chapter 7 Automating ESX Installation

    1. Enabling Scripted Install Support on ESX

    2. Using the Scripted Installer

    3. Enhancing the Kickstart Configuration

    4. Copying the CD-ROM to Facilitate NFS Installations

    5. Advanced Install Scripting Using %pre

    6. Advanced Install Scripting Using %post

    7. Using the ESX Deployment Appliance

  1. Colophon

View Full Table of Contents
Product Details
Title:
VMware Cookbook
By:
Ryan Troy, Matthew Helmke
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
October 2009
Ebook Release:
October 2009
Pages:
304
Print ISBN:
978-0-596-15725-8
| ISBN 10:
0-596-15725-8
Ebook ISBN:
978-0-596-80785-6
| ISBN 10:
0-596-80785-6
Customer Reviews
About the Authors
  1. Ryan Troy

    Ryan Troy has over 12 years of Unix/Linux system administration experience, working in diverse industries that range from web hosting to the newspaper industry. He has written articles for Linux Identity magazine and co-authored articles for Linux+ magazine. He is passionate about virtualization, specifically VMware's technologies. Ryan also founded the now-official Ubuntu Linux forums (ubuntuforums.org) in October 2004; he currently serves as technical administrator and chairman of the Ubuntu Forum Council.

    One of Ryan's latest projects has been to architect and build a virtualization infrastructure for a large newspaper chain in Michigan using VMware's ESX product line. Ryan also maintains a small business, Fivebean Media, which focuses on open-source virtualization and web hosting using the OpenVZ platform.

    View Ryan Troy's full profile page.

  2. Matthew Helmke

    Matthew Helmke has written articles for magazines such as Linux+ and Linux Identity, helped write Prentice Hall's The Official Ubuntu Book, and has written and self-published two books about Arabic and Moroccan culture. He first used Unix in 1987 while studying Lisp on a Vax at the university. Currently, he is an active member of the Ubuntu Linux community as an Administrator and Forum Council member for the Ubuntu Forums (ubuntuforums.org), and a member of the membership approval committee for Ubuntu in Europe, the Middle East, and Africa. He has run a business using only free software, has done some consulting, and is currently working on a master's degree in Information Resources and Library Science at the University of Arizona.

    View Matthew Helmke's full profile page.

Colophon

The animal on the cover of VMware Cookbook is a leatherback sea turtle (Dermochelys coriacea). At four to eight feet in length, the leatherback turtle is the fourth largest reptile, behind certain species of crocodile. Most sea turtles have bony shells; however, the leatherback's shell is made of skin and oily flesh.

Leatherback sea turtles live as far north as the Arctic Circle and as far south as the Cape of Good Hope in Africa and the southernmost tip of New Zealand. They inhabit all tropical and subtropical oceans.

The turtle's diet consists almost entirely of jellyfish, and ecologists theorize that the turtle plays a key role in controlling jellyfish populations. Scientists also note that the leatherback turtle continues to be important to local ecosystems even after it dies: decomposing leatherback turtles often wash ashore and host various species of flies and beetles.

As with other sea turtles, leatherbacks begin their lives on land as they burst forth from the sand of their nesting beaches. Yet their lives are in danger even before they are born: birds and humans eat leatherback turtle eggs (in Malaysia, where the leatherback turtle is nearly extinct, the eggs are considered a delicacy). The danger doesn't end, however, once leatherbacks are born: birds, crustaceans, reptiles, and people will often eat newborn turtles before they reach the water. Once they reach the sea, the turtles become prey for some species of fish and cephalopods. Given all of their predators, very few leatherbacks reach adulthood; those that do usually have a life span of 30 to 50 years.

The cover image is from Dover's Animals. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed.

  • Book cover of VMware Cookbook