Book 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.
Publisher resources
Table of contents
- Preface
-
1. VMware Infrastructure Installation
- 1.1. What Is VMware Infrastructure 3?
- 1.2. What Is VMware vSphere 4.0?
- 1.3. VMware ESX 3.x/4.x Configuration Maximums
- 1.4. VMware ESX 3.x Server Overview
- 1.5. VMware ESX 3.x Installation
- 1.6. VMware ESXi 3.5 Overview
- 1.7. VMware ESXi 3.5 Installation
- 1.8. VMware vCenter Server 2.x Overview
- 1.9. vCenter Server 2.x Installation
- 1.10. VMware vCenter Client 2.x Overview
- 1.11. vCenter Client 2.x Installation
- 1.12. License Server Overview
- 1.13. License Server (vCenter 2.x) Installation
- 1.14. vConverter Overview
- 1.15. vConverter Installation
- 1.16. VMware ESX 4.0 Installation
-
2. Storage
- 2.1. Comparing ESX Storage Options
- 2.2. Storage Device Naming Scheme
- 2.3. Creating a Network for a Software iSCSI Initiator
- 2.4. Configuring Software iSCSI
- 2.5. Configuring a Hardware iSCSI Initiator
- 2.6. Configuring iSCSI in Windows Virtual Machines
- 2.7. Opening Firewall Ports for an ESX iSCSI Software Initiator
- 2.8. Multipathing with iSCSI
- 2.9. Adding Fibre Channel Storage in ESX
- 2.10. Raw Device Mapping in Virtual Machines
- 2.11. Creating a Port to Access NFS Datastores
- 2.12. Configuring ESX to Use NFS
- 2.13. Creating a VMFS Volume in vCenter
- 2.14. Performing a Storage Rescan
- 2.15. Creating a VMFS Volume via the Command Line
- 2.16. Viewing the Files That Define a VMFS Volume
- 2.17. Extending a VMFS Volume
- 2.18. Reading VMFS Metadata
- 2.19. Renaming a VMFS Volume Label from the Command Line
- 2.20. Manually Creating and Aligning a VMFS Partition
- 2.21. Creating a Diagnostic Partition
- 2.22. Removing Storage Volumes from ESX
- 2.23. Determining Whether a VMFS Datastore Is on a Local or SAN Disk
- 2.24. Adjusting Timeouts When Adding Storage in vCenter
- 2.25. Setting Disk Timeouts in Windows
-
3. Networking
- 3.1. Understanding Differences Between ESX 3.5 and ESXi 3.5 in Network Support
- 3.2. Configuring ESX Network Ports and Firewall
- 3.3. Creating a vSwitch for Virtual Machines
- 3.4. Removing a Virtual Switch
- 3.5. Adding VMotion to Enable Virtual Machine Migration
- 3.6. Creating a Service Console Network via the CLI
- 3.7. Checking Connectivity Using vmkping
- 3.8. Modifying the Speed of a Network Adapter
- 3.9. Choosing Network Elements That Protect Security
- 3.10. Setting the Basic Level 2 Security Policy
- 3.11. Ethernet Traffic Shaping
- 3.12. Using Multiple Gateways
- 3.13. Load Balancing and Failover
- 3.14. Creating a Jumbo Frame VMkernel Interface for iSCSI
- 3.15. Enabling Jumbo Frames on a vSwitch
- 3.16. Enabling Jumbo Frames on a Virtual Machine
- 3.17. Changing the Service Console IP Address
- 3.18. Using the Command Line to Locate Physical Ethernet Adapters
- 3.19. Changing the Ethernet Port Speed via the Command Line
- 3.20. Restoring a Service Console via the CLI
-
4. Resource and vCenter Management
- 4.1. Understanding Virtual Machine Memory Use Through Reservations, Shares, and Limits
- 4.2. Configuring Virtual Machine CPU Limits
- 4.3. Configuring Virtual Machine CPU Shares
- 4.4. Configuring Virtual Machine CPU Reservations
- 4.5. Setting Up Resource Pools
- 4.6. Understanding Resource Pools
- 4.7. Expandable Reservations in Resource Pools
- 4.8. Creating a Cluster
- 4.9. Adding Hosts to a Cluster
- 4.10. Enabling DRS in a Cluster
- 4.11. Understanding Cluster States and Warnings
- 4.12. Reconfiguring HA on a Host
- 4.13. Using ESX 4.x CPU/RAM Hot Add/Hotplug Support
- 4.14. Surviving a vCenter Server Failure or Outage
-
5. Useful Command-Line Tools
- 5.1. Entering Maintenance Mode via the Command Line
- 5.2. Displaying Server Information
- 5.3. Viewing the ESX Version
- 5.4. Changing the Virtual Disk from BusLogic to LSI Logic
- 5.5. Hiding the VMware Tools Icon
- 5.6. Emptying a Large Virtual Machine Logfile
- 5.7. Viewing Disk Partitions via the Console
- 5.8. Monitoring CPU Usage
- 5.9. Monitoring Memory
- 5.10. Monitoring Storage Performance
- 5.11. Monitoring Network Usage
- 5.12. Managing Virtual Switches
- 5.13. Generating a Logfile for VMware Support
- 5.14. Checking ESX Patches
- 5.15. Enabling NTP in vCenter
- 5.16. Enabling NTP via the Command Line
- 5.17. Changing the ESX Server’s Time
- 5.18. Using TCP Wrappers
- 5.19. Restarting the vCenter Agent
- 5.20. Unregistering a Virtual Machine via the Command Line
- 5.21. Registering a Virtual Machine via the Command Line
- 5.22. Finding Virtual Machine Snapshots
- 5.23. Renaming a Virtual Machine via vCenter
- 5.24. Renaming a Virtual Machine via the Command Line
- 5.25. Using Host Files
- 5.26. Setting ESX Options Using the Command Line
- 5.27. Configuring Authentication Choices Using the Command Line
- 5.28. Manipulating the Bootloader
- 5.29. Manipulating the Crash Dump Partition
- 5.30. Configuring a Firewall on the Command Line
- 5.31. Managing ESX Driver Modules
- 5.32. Configuring Storage Multipathing
- 5.33. Managing NFS Mounts
- 5.34. Managing Disk Volumes with ESX4
- 5.35. Configuring Ethernet Adapters
- 5.36. Rescanning Host Bus Adapters
- 5.37. Managing ESX4 Add-ons from the Command Line
- 5.38. Managing Resource Groups from the Command Line
- 5.39. Managing VMkernel Network Routes
- 5.40. Configuring Software iSCSI Options
- 5.41. Configuring Hardware iSCSCI Options
- 5.42. Upgrading Your Version of VMware
- 5.43. Displaying vmhba Names with Associated Mappings
- 5.44. Managing SCSI Device Mappings with ESX4 vSphere
- 5.45. Managing VMkernel Ports
- 5.46. Managing vswif Console Network Settings
-
6. General Security
- 6.1. Enabling SSH on ESXi
- 6.2. Enabling Direct root Logins on Your ESX Server
- 6.3. Adding Users and Groups
- 6.4. Allowing or Denying Users the Use of SSH
- 6.5. Turning on the MOTD for Console Users
- 6.6. Changing the root Password via the Console
- 6.7. Recovering a Lost root Password
- 6.8. Disabling Direct root Console Logins
- 6.9. Securing the GRUB Bootloader Menu
- 6.10. Disabling USB Drive Mounting
- 6.11. Opening and Closing Firewall Ports via the Console
- 6.12. Checking Default ESX Ports
- 6.13. Turning on SNMP for Remote Administration
- 6.14. Using SNMP Version 3
- 6.15. Using sudo
- 6.16. Configuring sudo
- 6.17. Tracking Users via the CLI
- 6.18. Configuring Active Directory Authentication
- 6.19. Setting a Maximum Number of Failed Logins
- 6.20. Limiting Access to the su Command
- 6.21. Setting User Password Aging
- 6.22. Disabling Copy and Paste
- 6.23. Disabling Disk Shrinking on Virtual Machines
- 6.24. Disabling Unneeded Devices
- 6.25. Preventing Unwanted Device Additions and Removals
- 6.26. Disabling VMware Tools Settings Override
-
7. Automating ESX Installation
- 7.1. Enabling Scripted Install Support on ESX
- 7.2. Using the Scripted Installer
- 7.3. Enhancing the Kickstart Configuration
- 7.4. Copying the CD-ROM to Facilitate NFS Installations
- 7.5. Advanced Install Scripting Using %pre
- 7.6. Advanced Install Scripting Using %post
- 7.7. Using the ESX Deployment Appliance
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: VMware Cookbook
- Author(s):
- Release date: October 2009
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596157258
You might also like
book
VMware Cookbook, 2nd Edition
With scores of step-by-step solutions, this cookbook helps you work with VMware ESXi in a wide …
book
VMware vSphere 6.5 Cookbook - Third Edition
Deploy and manage VMware vSphere 6.5 components with ease. About This Book Simplified and to-the-point theory …
book
Mastering VMware vSphere™ 4
As part of the highly acclaimed Mastering series from Sybex, this book offers a comprehensive look …
book
VMware Cross-Cloud Architecture
Enhance your virtualization skills by mastering storage and network virtualization with automation across different Clouds About …