VMware Cookbook
A Real-World Guide to Effective VMware Use
O'Reilly (Publisher)
1st Edition
Published on 1. December 2009
Book
298 pages
978-0-596-15725-8 (ISBN)
Article exhausted; check for reprint
Description
If you want to gain insight into the real-world uses of VMware ESX and ESXi, this book provides scores of step-by-step solutions for working with these products in a wide range of network environments. You'll not only learn the basics -- how to pool resources from hardware servers, computer clusters, networks, and storage, and then distribute them among virtual machines -- but also the stumbling blocks you'll encounter when you monitor systems, troubleshoot problems, and deal with security.
In addition to the recipes, VMware Cookbook includes background information to help you determine your virtualization needs. You'll come to view VMware as part of the real environment, alongside operating systems, storage, and logical and physical network components.
* Follow best practices for installing VMware in your environment
* Discover how to secure and monitor your network
* Understand disk storage implementation and configuration
* Learn resource management using the distributed resource scheduler, shares, and resource pools
* Configure logical and physical networks
* Learn how to clone and migrate servers
* Gain valuable tips for configuration and fine-tuning
Many resources can teach you about virtualization and the basics of VMware. This book is for system administrators who are ready to go beyond an introduction.
In addition to the recipes, VMware Cookbook includes background information to help you determine your virtualization needs. You'll come to view VMware as part of the real environment, alongside operating systems, storage, and logical and physical network components.
* Follow best practices for installing VMware in your environment
* Discover how to secure and monitor your network
* Understand disk storage implementation and configuration
* Learn resource management using the distributed resource scheduler, shares, and resource pools
* Configure logical and physical networks
* Learn how to clone and migrate servers
* Gain valuable tips for configuration and fine-tuning
Many resources can teach you about virtualization and the basics of VMware. This book is for system administrators who are ready to go beyond an introduction.
More details
Language
English
Place of publication
Sebastopol
United States
Target group
Professional and scholarly
Product notice
Paperback (trade)
Illustrations
1, black & white illustrations
Dimensions
Height: 233 mm
Width: 178 mm
Thickness: 15 mm
Weight
482 gr
ISBN-13
978-0-596-15725-8 (9780596157258)
Schweitzer Classification
Other editions
New editions

Book
07/2012
2nd Edition
O'Reilly
€42.00
Shipment within 10-20 days
Persons
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. 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.
Content
Inhaltsverzeichnis
* Chapter 1 VMware Infrastructure Installation
* What Is VMware Infrastructure 3?
* What Is VMware vSphere 4.0?
* VMware ESX 3.x/4.x Configuration Maximums
* VMware ESX 3.x Server Overview
* VMware ESX 3.x Installation
* VMware ESXi 3.5 Overview
* VMware ESXi 3.5 Installation
* VMware vCenter Server 2.x Overview
* vCenter Server 2.x Installation
* VMware vCenter Client 2.x Overview
* vCenter Client 2.x Installation
* License Server Overview
* License Server (vCenter 2.x) Installation
* vConverter Overview
* vConverter Installation
* VMware ESX 4.0 Installation
* Chapter 2 Storage
* Comparing ESX Storage Options
* Storage Device Naming Scheme
* Creating a Network for a Software iSCSI Initiator
* Configuring Software iSCSI
* Configuring a Hardware iSCSI Initiator
* Configuring iSCSI in Windows Virtual Machines
* Opening Firewall Ports for an ESX iSCSI Software Initiator
* Multipathing with iSCSI
* Adding Fibre Channel Storage in ESX
* Raw Device Mapping in Virtual Machines
* Creating a Port to Access NFS Datastores
* Configuring ESX to Use NFS
* Creating a VMFS Volume in vCenter
* Performing a Storage Rescan
* Creating a VMFS Volume via the Command Line
* Viewing the Files That Define a VMFS Volume
* Extending a VMFS Volume
* Reading VMFS Metadata
* Renaming a VMFS Volume Label from the Command Line
* Manually Creating and Aligning a VMFS Partition
* Creating a Diagnostic Partition
* Removing Storage Volumes from ESX
* Determining Whether a VMFS Datastore Is on a Local or SAN
Disk
* Adjusting Timeouts When Adding Storage in vCenter
* Setting Disk Timeouts in Windows
* Chapter 3 Networking
* Understanding Differences Between ESX 3.5 and ESXi 3.5 in Network
Support
* Configuring ESX Network Ports and Firewall
* Creating a vSwitch for Virtual Machines
* Removing a Virtual Switch
* Adding VMotion to Enable Virtual Machine Migration
* Creating a Service Console Network via the CLI
* Checking Connectivity Using vmkping
* Modifying the Speed of a Network Adapter
* Choosing Network Elements That Protect Security
* Setting the Basic Level 2 Security Policy
* Ethernet Traffic Shaping
* Using Multiple Gateways
* Load Balancing and Failover
* Creating a Jumbo Frame VMkernel Interface for iSCSI
* Enabling Jumbo Frames on a vSwitch
* Enabling Jumbo Frames on a Virtual Machine
* Changing the Service Console IP Address
* Using the Command Line to Locate Physical Ethernet Adapters
* Changing the Ethernet Port Speed via the Command Line
* Restoring a Service Console via the CLI
* Chapter 4 Resource and vCenter Management
* Understanding Virtual Machine Memory Use Through Reservations,
Shares, and Limits
* Configuring Virtual Machine CPU Limits
* Configuring Virtual Machine CPU Shares
* Configuring Virtual Machine CPU Reservations
* Setting Up Resource Pools
* Understanding Resource Pools
* Expandable Reservations in Resource Pools
* Creating a Cluster
* Adding Hosts to a Cluster
* Enabling DRS in a Cluster
* Understanding Cluster States and Warnings
* Reconfiguring HA on a Host
* Using ESX 4.x CPU/RAM Hot Add/Hotplug Support
* Surviving a vCenter Server Failure or Outage
* Chapter 5 Useful Command-Line Tools
* Entering Maintenance Mode via the Command Line
* Displaying Server Information
* Viewing the ESX Version
* Changing the Virtual Disk from BusLogic to LSI Logic
* Hiding the VMware Tools Icon
* Emptying a Large Virtual Machine Logfile
* Viewing Disk Partitions via the Console
* Monitoring CPU Usage
* Monitoring Memory
* Monitoring Storage Performance
* Monitoring Network Usage
* Managing Virtual Switches
* Generating a Logfile for VMware Support
* Checking ESX Patches
* Enabling NTP in vCenter
* Enabling NTP via the Command Line
* Changing the ESX Server's Time
* Using TCP Wrappers
* Restarting the vCenter Agent
* Unregistering a Virtual Machine via the Command Line
* Registering a Virtual Machine via the Command Line
* Finding Virtual Machine Snapshots
* Renaming a Virtual Machine via vCenter
* Renaming a Virtual Machine via the Command Line
* Using Host Files
* Setting ESX Options Using the Command Line
* Configuring Authentication Choices Using the Command Line
* Manipulating the Bootloader
* Manipulating the Crash Dump Partition
* Configuring a Firewall on the Command Line
* Managing ESX Driver Modules
* Configuring Storage Multipathing
* Managing NFS Mounts
* Managing Disk Volumes with ESX4
* Configuring Ethernet Adapters
* Rescanning Host Bus Adapters
* Managing ESX4 Add-ons from the Command Line
* Managing Resource Groups from the Command Line
* Managing VMkernel Network Routes
* Configuring Software iSCSI Options
* Configuring Hardware iSCSCI Options
* Upgrading Your Version of VMware
* Displaying vmhba Names with Associated Mappings
* Managing SCSI Device Mappings with ESX4 vSphere
* Managing VMkernel Ports
* Managing vswif Console Network Settings
* Chapter 6 General Security
* Enabling SSH on ESXi
* Enabling Direct root Logins on Your ESX Server
* Adding Users and Groups
* Allowing or Denying Users the Use of SSH
* Turning on the MOTD for Console Users
* Changing the root Password via the Console
* Recovering a Lost root Password
* Disabling Direct root Console Logins
* Securing the GRUB Bootloader Menu
* Disabling USB Drive Mounting
* Opening and Closing Firewall Ports via the Console
* Checking Default ESX Ports
* Turning on SNMP for Remote Administration
* Using SNMP Version 3
* Using sudo
* Configuring sudo
* Tracking Users via the CLI
* Configuring Active Directory Authentication
* Setting a Maximum Number of Failed Logins
* Limiting Access to the su Command
* Setting User Password Aging
* Disabling Copy and Paste
* Disabling Disk Shrinking on Virtual Machines
* Disabling Unneeded Devices
* Preventing Unwanted Device Additions and Removals
* Disabling VMware Tools Settings Override
* Chapter 7 Automating ESX Installation
* Enabling Scripted Install Support on ESX
* Using the Scripted Installer
* Enhancing the Kickstart Configuration
* Copying the CD-ROM to Facilitate NFS Installations
* Advanced Install Scripting Using %pre
* Advanced Install Scripting Using %post
* Using the ESX Deployment Appliance
* Colophon
* Chapter 1 VMware Infrastructure Installation
* What Is VMware Infrastructure 3?
* What Is VMware vSphere 4.0?
* VMware ESX 3.x/4.x Configuration Maximums
* VMware ESX 3.x Server Overview
* VMware ESX 3.x Installation
* VMware ESXi 3.5 Overview
* VMware ESXi 3.5 Installation
* VMware vCenter Server 2.x Overview
* vCenter Server 2.x Installation
* VMware vCenter Client 2.x Overview
* vCenter Client 2.x Installation
* License Server Overview
* License Server (vCenter 2.x) Installation
* vConverter Overview
* vConverter Installation
* VMware ESX 4.0 Installation
* Chapter 2 Storage
* Comparing ESX Storage Options
* Storage Device Naming Scheme
* Creating a Network for a Software iSCSI Initiator
* Configuring Software iSCSI
* Configuring a Hardware iSCSI Initiator
* Configuring iSCSI in Windows Virtual Machines
* Opening Firewall Ports for an ESX iSCSI Software Initiator
* Multipathing with iSCSI
* Adding Fibre Channel Storage in ESX
* Raw Device Mapping in Virtual Machines
* Creating a Port to Access NFS Datastores
* Configuring ESX to Use NFS
* Creating a VMFS Volume in vCenter
* Performing a Storage Rescan
* Creating a VMFS Volume via the Command Line
* Viewing the Files That Define a VMFS Volume
* Extending a VMFS Volume
* Reading VMFS Metadata
* Renaming a VMFS Volume Label from the Command Line
* Manually Creating and Aligning a VMFS Partition
* Creating a Diagnostic Partition
* Removing Storage Volumes from ESX
* Determining Whether a VMFS Datastore Is on a Local or SAN
Disk
* Adjusting Timeouts When Adding Storage in vCenter
* Setting Disk Timeouts in Windows
* Chapter 3 Networking
* Understanding Differences Between ESX 3.5 and ESXi 3.5 in Network
Support
* Configuring ESX Network Ports and Firewall
* Creating a vSwitch for Virtual Machines
* Removing a Virtual Switch
* Adding VMotion to Enable Virtual Machine Migration
* Creating a Service Console Network via the CLI
* Checking Connectivity Using vmkping
* Modifying the Speed of a Network Adapter
* Choosing Network Elements That Protect Security
* Setting the Basic Level 2 Security Policy
* Ethernet Traffic Shaping
* Using Multiple Gateways
* Load Balancing and Failover
* Creating a Jumbo Frame VMkernel Interface for iSCSI
* Enabling Jumbo Frames on a vSwitch
* Enabling Jumbo Frames on a Virtual Machine
* Changing the Service Console IP Address
* Using the Command Line to Locate Physical Ethernet Adapters
* Changing the Ethernet Port Speed via the Command Line
* Restoring a Service Console via the CLI
* Chapter 4 Resource and vCenter Management
* Understanding Virtual Machine Memory Use Through Reservations,
Shares, and Limits
* Configuring Virtual Machine CPU Limits
* Configuring Virtual Machine CPU Shares
* Configuring Virtual Machine CPU Reservations
* Setting Up Resource Pools
* Understanding Resource Pools
* Expandable Reservations in Resource Pools
* Creating a Cluster
* Adding Hosts to a Cluster
* Enabling DRS in a Cluster
* Understanding Cluster States and Warnings
* Reconfiguring HA on a Host
* Using ESX 4.x CPU/RAM Hot Add/Hotplug Support
* Surviving a vCenter Server Failure or Outage
* Chapter 5 Useful Command-Line Tools
* Entering Maintenance Mode via the Command Line
* Displaying Server Information
* Viewing the ESX Version
* Changing the Virtual Disk from BusLogic to LSI Logic
* Hiding the VMware Tools Icon
* Emptying a Large Virtual Machine Logfile
* Viewing Disk Partitions via the Console
* Monitoring CPU Usage
* Monitoring Memory
* Monitoring Storage Performance
* Monitoring Network Usage
* Managing Virtual Switches
* Generating a Logfile for VMware Support
* Checking ESX Patches
* Enabling NTP in vCenter
* Enabling NTP via the Command Line
* Changing the ESX Server's Time
* Using TCP Wrappers
* Restarting the vCenter Agent
* Unregistering a Virtual Machine via the Command Line
* Registering a Virtual Machine via the Command Line
* Finding Virtual Machine Snapshots
* Renaming a Virtual Machine via vCenter
* Renaming a Virtual Machine via the Command Line
* Using Host Files
* Setting ESX Options Using the Command Line
* Configuring Authentication Choices Using the Command Line
* Manipulating the Bootloader
* Manipulating the Crash Dump Partition
* Configuring a Firewall on the Command Line
* Managing ESX Driver Modules
* Configuring Storage Multipathing
* Managing NFS Mounts
* Managing Disk Volumes with ESX4
* Configuring Ethernet Adapters
* Rescanning Host Bus Adapters
* Managing ESX4 Add-ons from the Command Line
* Managing Resource Groups from the Command Line
* Managing VMkernel Network Routes
* Configuring Software iSCSI Options
* Configuring Hardware iSCSCI Options
* Upgrading Your Version of VMware
* Displaying vmhba Names with Associated Mappings
* Managing SCSI Device Mappings with ESX4 vSphere
* Managing VMkernel Ports
* Managing vswif Console Network Settings
* Chapter 6 General Security
* Enabling SSH on ESXi
* Enabling Direct root Logins on Your ESX Server
* Adding Users and Groups
* Allowing or Denying Users the Use of SSH
* Turning on the MOTD for Console Users
* Changing the root Password via the Console
* Recovering a Lost root Password
* Disabling Direct root Console Logins
* Securing the GRUB Bootloader Menu
* Disabling USB Drive Mounting
* Opening and Closing Firewall Ports via the Console
* Checking Default ESX Ports
* Turning on SNMP for Remote Administration
* Using SNMP Version 3
* Using sudo
* Configuring sudo
* Tracking Users via the CLI
* Configuring Active Directory Authentication
* Setting a Maximum Number of Failed Logins
* Limiting Access to the su Command
* Setting User Password Aging
* Disabling Copy and Paste
* Disabling Disk Shrinking on Virtual Machines
* Disabling Unneeded Devices
* Preventing Unwanted Device Additions and Removals
* Disabling VMware Tools Settings Override
* Chapter 7 Automating ESX Installation
* Enabling Scripted Install Support on ESX
* Using the Scripted Installer
* Enhancing the Kickstart Configuration
* Copying the CD-ROM to Facilitate NFS Installations
* Advanced Install Scripting Using %pre
* Advanced Install Scripting Using %post
* Using the ESX Deployment Appliance
* Colophon