6.5
Table Of Contents
- vSphere Command-Line Interface Concepts and Examples
- Contents
- About This Book
- vSphere CLI Command Overviews
- Introduction
- List of Available Host Management Commands
- Targets and Protocols for vCLI Host Management Commands
- Supported Platforms for vCLI Commands
- Commands with an esxcfg Prefix
- ESXCLI Commands Available on Different ESXi Hosts
- Trust Relationship Requirement for ESXCLI Commands
- Using ESXCLI Output
- Connection Options for vCLI Host Management Commands
- Connection Options for DCLI Commands
- vCLI Host Management Commands and Lockdown Mode
- Managing Hosts
- Managing Files
- Managing Storage
- Introduction to Storage
- Examining LUNs
- Detach a Device and Remove a LUN
- Reattach a Device
- Working with Permanent Device Loss
- Managing Paths
- Managing Path Policies
- Scheduling Queues for Virtual Machine I/O
- Managing NFS/NAS Datastores
- Monitor and Manage FibreChannel SAN Storage
- Monitoring and Managing Virtual SAN Storage
- Monitoring vSphere Flash Read Cache
- Monitoring and Managing Virtual Volumes
- Migrating Virtual Machines with svmotion
- Configuring FCoE Adapters
- Scanning Storage Adapters
- Retrieving SMART Information
- Managing iSCSI Storage
- iSCSI Storage Overview
- Protecting an iSCSI SAN
- Command Syntax for esxcli iscsi and vicfg-iscsi
- iSCSI Storage Setup with ESXCLI
- iSCSI Storage Setup with vicfg-iscsi
- Listing and Setting iSCSI Options
- Listing and Setting iSCSI Parameters
- Enabling iSCSI Authentication
- Set Up Ports for iSCSI Multipathing
- Managing iSCSI Sessions
- Managing Third-Party Storage Arrays
- Managing Users
- Managing Virtual Machines
- Managing vSphere Networking
- Introduction to vSphere Networking
- Retrieving Basic Networking Information
- Troubleshoot a Networking Setup
- Setting Up vSphere Networking with vSphere Standard Switches
- Setting Up Virtual Switches and Associating a Switch with a Network Interface
- Retrieving Information About Virtual Switches
- Adding and Deleting Virtual Switches
- Checking, Adding, and Removing Port Groups
- Managing Uplinks and Port Groups
- Setting the Port Group VLAN ID
- Managing Uplink Adapters
- Adding and Modifying VMkernel Network Interfaces
- Managing VMkernel Network Interfaces with ESXCLI
- Add and Configure an IPv4 VMkernel Network Interface with ESXCLI
- Add and Configure an IPv6 VMkernel Network Interface with ESXCLI
- Managing VMkernel Network Interfaces with vicfg-vmknic
- Add and Configure an IPv4 VMkernel Network Interface with vicfg-vmknic
- Add and Configure an IPv6 VMkernel Network Interface with vicfg-vmknic
- Setting Up vSphere Networking with vSphere Distributed Switch
- Managing Standard Networking Services in the vSphere Environment
- Setting the DNS Configuration
- Manage an NTP Server
- Manage the IP Gateway
- Setting Up IPsec
- Manage the ESXi Firewall
- Monitor VXLAN
- Monitoring ESXi Hosts
- Index
Monitoring vSphere Flash Read Cache
Flash Read Cache™ lets you accelerate virtual machine performance through the use of host resident ash
devices as a cache.
The vSphere Storage documentation discusses vSphere Flash Read Cache in some detail.
You can reserve a Flash Read Cache for any individual virtual disk. The Flash Read Cache is created only
when a virtual machine is powered on, and it is discarded when a virtual machine is suspended or powered
o. When you migrate a virtual machine you have the option to migrate the cache. By default the cache is
migrated if the virtual ash module on the source and destination hosts are compatible. If you do not
migrate the cache, the cache is rewarmed on the destination host. You can change the size of the cache while
a virtual machine is powered on. In this instance, the existing cache is discarded and a new write-through
cache is created, which results in a cache warm up period. The advantage of creating a new cache is that the
cache size can beer match the application's active data.
Flash Read Cache supports write-through or read caching. Write-back or write caching are not supported.
Data reads are satised from the cache, if present. Data writes are dispatched to the backing storage, such as
a SAN or NAS. All data that is read from or wrien to the backing storage is unconditionally stored in the
cache.
N Not all workloads benet with a Flash Read Cache. The performance boost depends on your
workload paern and working set size. Read-intensive workloads with working sets that t into the cache
can benet from a Flash Read Cache conguration. By conguring Flash Read Cache for your read-intensive
workloads additional I/O resources become available on your shared storage, which can result in a
performance increase for other workloads even though they are not congured to use Flash Read Cache.
You can manage vSphere Flash Read Cache from the vSphere Web Client. You can monitor Flash Read
Cache by using commands in the esxcli storage vflash namespace. The following table lists available
commands. See the vSphere Command-Line Interface Reference or the online help for a list of options to each
command.
Table 4‑1. Commands for Monitoring vSphere Flash Read Cache
Command Description
storage vflash cache get Gets individual vflash cache info.
storage vflash cache list Lists individual vflash caches.
storage vflash cache stats get Gets vflash cache statistics.
storage vflash cache stats reset Resets vflash cache statistics.
storage vflash device list Lists vflash SSD devices.
storage vflash module get Gets vflash module info.
storage vflash module list Lists vflash modules.
storage vflash module stats get Gets vflash module statistics.
Monitoring and Managing Virtual Volumes
The Virtual Volumes functionality changes the storage management paradigm from managing space inside
datastores to managing abstract storage objects handled by storage arrays.
With Virtual Volumes, an individual virtual machine, not the datastore, becomes a unit of storage
management, while storage hardware gains complete control over virtual disk content, layout, and
management. The vSphere Storage documentation discusses Virtual Volumes in some detail and explains
how to manage them by using the vSphere Web Client.
vSphere Command-Line Interface Concepts and Examples
62 VMware, Inc.