售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
VMware vSphere 5.1 Cookbook
Table of Contents
VMware vSphere 5.1 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Upgrading to vSphere 5.1
Introduction
Upgrading the vCenter Server
Upgrading the ESXi server
vSphere Web Client
Carrying out pre-upgrade checks before performing a vCenter upgrade
How to do it...
Checking the ESX server compatibility
Running VMware vCenter Host Agent Pre-Upgrade Checker
Checking database compatibility
Backing up the SSL certificates
Enabling SSL certificate verification
Uninstalling the non-default software and plugins
Performing an in-place upgrade of vCenter Server
How to do it...
How it works...
There's more...
Creating a table space for SSO on a SQL instance
How to do it...
How it works...
Creating DB users for the SSO database
How to do it...
How it works...
Upgrading a 32-bit vCenter Server to vCenter 5.1
How to do it...
Backing up the settings from a 32-bit vCenter Server
Restoring the configuration on the new machine
How it works...
Upgrading to ESXi 5.1
How to do it...
How it works...
Installing vSphere Web Client
How to do it...
There's more...
Upgrading VMware Tools
How to do it...
How it works...
There's more...
Upgrading the virtual machine hardware
How to do it...
How it works...
2. Performing a Fresh Installation of vSphere 5.1
Introduction
VMware vCenter Server Appliance (vCSA)
Installing vCenter 5.1
Getting ready
How to do it...
Deploying a VMware vCenter Server Appliance (vCSA)
How to do it...
How it works...
There's more...
Preparing vCenter Server Appliance for first use
Getting ready
How to do it...
Installing the vCenter Server Appliance update
How to do it...
How it works...
Upgrading a vCenter Server Appliance
How to do it...
How it works...
Installing ESXi 5.1
How to do it...
Performing a scripted install of the ESXi server
How to do it...
How it works...
There's more...
3. vSphere Auto Deploy
Introduction
Installing the Auto Deploy server
How to do it…
Configuring a TFTP server with Auto Deploy files
How to do it…
How it works…
There's more…
Configuring the DHCP server for PXE boot
How to do it…
How it works…
Testing the PXE boot configuration
How to do it…
How it works…
Preparing VMware PowerCLI for first use
How to do it…
How it works…
Downloading an ESXi Offline Bundle
How to do it…
Adding the Offline Bundle to the Auto Deploy server
How to do it…
How it works…
Choosing an ESXi Image to deploy
How to do it…
How it works…
Creating a Host Profile
How to do it…
Creating a deploy rule
How to do it…
How it works…
Activating a deploy rule
How to do it…
How it works…
There's more…
Testing Auto Deploy
How to do it…
How it works…
First boot
Subsequent boot
Enabling Stateless Caching
How to do it…
How it works…
Performing an Auto Deploy stateful install
How to do it…
How it works…
4. ESXi Image Builder
Introduction
Offline Bundle
VIB (vSphere Installation Bundle)
Image Profiles
Creating an Image Profile by cloning an existing one
How to do it…
Verifying the existence of a Software Depot in the current session
Adding a Software Depot
Listing available Image Profiles
Cloning an Image Profile to form a new one
How it works…
See also
Removing an Image Profile
How to do it…
Adding a VIB (software package) to an Image Profile
How to do it…
Verifying whether the Image Profile is read-only
Adding the driver's Offline Bundle to the PowerCLI
Checking the availability of the needed software package (VIB)
Adding the VIB to the Image Profile
Verifying whether the VIB has been added to the Image Profile
Exporting an Image Profile as an ISO or Offline Bundle
How to do it…
Creating an Image Profile from scratch
How to do it…
There's more...
See also
Applying an Image Profile to the host
How to do it…
How it works…
5. Creating and Managing VMFS Datastores
Introduction
Viewing the LUNs presented to an ESXi host
How to do it...
Using the vSphere Web Client to view LUNs
Using the ESXi Console to view the LUN information
Viewing the datastores seen by the ESXi host
How to do it...
Using the vSphere Web Client to view LUNs
Using the ESXi Console to view the datastores
Viewing the multipathing information of a LUN
How to do it...
Using the vSphere Web Client GUI
Using the esxcfg-mpath
Creating a VMFS datastore
How to do it...
Using the New Datastore wizard
Using vmkfstools
There's more…
Expanding/growing a VMFS datastore
How to do it...
Using the Increase Datastore Capacity wizard
Using vmkfstools
How it works...
Extending a VMFS datastore
Getting ready
How to do it...
Using the Increase Datastore Capacity wizard
Using vmkfstools
How it works...
There's more…
Unmounting a VMFS datastore
How to do it...
Using the vSphere Web Client GUI to unmount
Using esxcli to unmount
Mounting a VMFS datastore
How to do it...
Using the vSphere Web Client UI to mount
Using esxcli to mount an unmounted volume
Deleting a VMFS datastore
How to do it...
Upgrading VMFS-3 to VMFS-5
How to do it...
Upgrading the VMFS using vSphere Web Client GUI
Upgrading using vmkfstools
How it works...
Mounting VMFS on a snapshot LUN
How to do it...
Using the New Datastore wizard
Using ESXi CLI
How it works...
Resignaturing VMFS on a snapshot LUN
How to do it...
Using the New Datastore wizard
Using ESXi CLI
How it works…
Masking paths to a LUN
How to do it…
Unmasking paths to a LUN
How to do it…
Creating a datastore cluster
How to do it
How it works…
Enabling Storage DRS
How to do it…
How it works…
Initial placement
Balancing space utilization
Balancing I/O load
There's more…
6. Managing iSCSI and NFS Storage
Introduction
Adding the software iSCSI adapter
How to do it...
How it works...
Creating a new VMkernel interface for iSCSI or NFS
How to do it...
There's more
Preparing the vSphere network for iSCSI multipathing
How to do it...
There's more...
Binding VMkernel interfaces to the software iSCSI adapter
How to do it...
Adding an iSCSI target server to the software iSCSI adapter
How to do it...
How it works...
Creating an NFS datastore
Getting ready
How to do it...
How it works...
7. Profile-driven Storage and Storage I/O Control
Introduction
Profile-driven storage
Storage I/O Control (SIOC)
Adding a storage provider
Getting ready
How to do it...
How it works...
There's more...
Creating user-defined storage capabilities
How to do it...
Mapping user-defined storage capabilities to datastores
How to do it...
Creating a VM storage profile and enabling it
How to do it...
Assigning storage profiles to virtual machine disks and checking compliance
How to do it...
Enabling Storage I/O Control (SIOC)
How to do it...
How it works...
Modifying disk shares on a VM
How to do it...
How it works...
8. Configuring the vSphere Network
Introduction
Creating a vSphere Standard Switch
How to do it...
Using vSphere Web Client
Using esxcfg-vswitch
Deleting a vSphere Standard Switch
How to do it...
Using the vSphere Web Client
Using esxcfg-vswitch
Creating a VMkernel interface on a vSphere Standard Switch
How to do it...
Using vSphere Web Client
Using esxcfg-vswitch and esxcfg-vmknic
There's more…
See also
Deleting a port group
How to do it...
Using vSphere Web Client
Using esxcfg-vswitch
Adding an uplink to a vSphere Standard Switch
How to do it...
Using vSphere Web Client
Using esxcfg-vswitch
Creating a vSphere Distributed Switch
How to do it...
How it works...
Creating a distributed port group
How to do it...
How it works...
Adding hosts to a vSphere Distributed Switch
How to do it...
Mapping a physical adapter (vmnic) to a dvUplink
How to do it...
Using the vSphere Web Client
Using esxcfg-vswitch
How it works...
Migrating virtual machine network from vSphere Standard Switch to vSphere Distributed Switch
How to do it...
How it works...
There's more…
Migrating management and VMkernel interfaces between vSphere Standard and Distributed Switches
How to do it...
See also
Creating a VMkernel interface on a vSphere Distributed Switch
How to do it...
Exporting the vSphere Distributed Switch configuration
How to do it...
How it works...
See also
Restoring the vSphere Distributed Switch configuration
How to do it...
How it works...
Importing a vSphere Distributed Switch into the datacenter from a backup
How to do it...
How it works...
Enabling port mirroring on a DSwitch
How to do it...
How it works...
Enabling NetFlow on a DSwitch
How to do it...
How it works...
See also
Configuring private VLANs (PVLANs) on a DSwitch
How to do it...
How it works...
9. Creating and Managing Virtual Machines
Introduction
The virtual machine components
Files that back a virtual machine
The virtual machine configuration file
The virtual machine BIOS file
Virtual machine enhancements available with vSphere 5.1
Creating a virtual machine
How to do it...
Creating a new hard disk for a virtual machine
Virtual machine disk provisioning methods
Virtual machine disk modes
How to do it...
Adding an existing hard disk to a virtual machine
How to do it...
Attaching RDM to a virtual machine
How to do it...
Mapping a virtual machine's vNIC to a different port group
How to do it...
How it works...
Adding a new virtual network adapter to a virtual machine
How to do it...
Creating a virtual machine snapshot
How to do it...
How it works...
There's more...
Deleting a virtual machine snapshot
How to do it...
How it works...
See also
Reverting to a current virtual machine snapshot
How to do it...
How it works...
Going to a virtual machine snapshot
How to do it...
How it works...
Consolidating snapshots
How to do it...
How it works...
See also
Exporting a virtual machine
How to do it...
How it works...
10. Configuring vSphere HA
Introduction
Enabling vSphere HA on a cluster
How to do it...
How it works...
See also
Setting host isolation response for an HA cluster
How to do it...
See also
Setting VM restart priority for an HA cluster
How to do it...
Configuring VM monitoring
How to do it...
How it works...
Configuring datastore heartbeating
How to do it...
How it works...
Disabling host monitoring
How to do it...
How it works...
Configuring vSphere HA admission control
How to do it...
How it works...
Failover capacity by static number of hosts
Failover capacity by reserving a percentage of the cluster resources
Dedicated failover hosts
See also
Configuring a VM to override host monitoring and VM monitoring settings
How to do it...
11. Configuring vSphere DRS, DPM, and VMware EVC
Introduction
Enabling vSphere DRS on a cluster
How to do it…
How it works…
Choosing a DRS automation level
How to do it…
How it works…
Overriding the cluster automation level for a VM
How to do it…
How it works…
Setting a migration threshold
How to do it…
How it works…
Creating host and VM DRS groups
How to do it…
Creating virtual machines to host affinity rules
How to do it…
How it works…
Must rules:
Should rules:
Creating "Inter-VM" affinity/anti-affinity rules
How to do it…
How it works…
Keep virtual machines together:
Separate virtual machines:
Configuring vSphere Distributed Power Management (DPM)
How to do it…
How it works…
Enabling power management on a per-host level
How to do it…
Configuring VMware EVC (Enhanced vMotion Compatibility)
How to do it…
How it works…
See also
12. Upgrading and Patching using vSphere Update Manager
Introduction
Preparing a database for vSphere Update Manager
How to do it...
How it works...
See also
Installing vSphere Update Manager
How to do it...
How it works...
Installing the vSphere Update Manager plugin
How to do it...
Adding a download source
How to do it...
How it works...
Creating a baseline
How to do it...
How it works...
Importing ESXi Images
How to do it...
How it works...
Creating a host baseline group
How to do it...
Creating a VM and VA baseline group
How to do it...
Remediating a host or a cluster
How to do it...
How it works...
Host maintenance mode options for remediation
Cluster maintenance mode options for remediation
Remediating a VM or a VA
How to do it...
How it works...
Staging patches
How to do it...
How it works...
Installing the Update Manager Download Service (UMDS)
How to do it...
Configuring UMDS and downloading data
How to do it...
Creating a shared repository
How to do it...
How it works...
Using a shared repository
How to do it...
13. Using vSphere Management Assistant (vMA 5.1)
Introduction
Deploying the vMA appliance
How to do it…
How it works…
Preparing vMA for first use
How to do it…
How it works…
Configuring vMA to join an existing domain
How to do it…
Adding vCenter to vMA with AD authentication
How to do it…
How it works…
Adding vCenter to vMA with fastpass (fpauth) authentication
How to do it…
How it works…
Adding an ESXi host to vMA
How to do it…
How it works…
Reconfiguring an added target server
How to do it…
Changing the authentication policy
Changing or recovering a user
How it works…
Running CLI command on target servers
How to do it…
Method 1 – Issue commands on the default target
Method 2 – Issue commands by specifying a target server
Method 3 – Issuing commands against a vCenter Server added as the target
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜