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
Index
C
commands, overview 11
connection options
DCLI commands 19
vCLI host management commands 19
D
datastore management
capabilities 57
NAS 57–59
NFS 57
DCLI commands, connection options 19
E
esxcfg commands 16
ESXCLI
available commands 17
output usage 19
ESXCLI trust relationship requirement 17
ESXi host monitoring
core dump management 162
core dump management with vicfg-
dumppart 164
core dump management with ESXi Dump
Collector 163
diagnostic partition management 161
ESXi SNMP agent management 166
ESXi syslog services configuration 164
hardware information retrieval 169
local core dump management with
ESXCLI 162
monitor performance with resxtop 161
sending traps with the SNMP agent 166
SNMP agent polling configuration 168
SNMP communities configuration 166
F
FibreChannel SAN
managing 59
monitoring 59
file management
duplicate VMFS datastores 32
introduction 29
mount datastores with existing signatures 32
mounting a datastore with ESXCLI 32
mounting a datastore with vicfg-volume 33
resignature VMFS copies 33
resignaturing VMFS copies with ESXCLI 34
resignaturing VMFS copies with vicfg-
volume 34
unmounting a datastore with ESXCLI 32
unmounting a datastore with vicfg-volume 33
unused storage space reclamation 34
vifs examples 37
vifs options 36
vifs usage 35
VMFS volumes 31
VMFS3 to VMFS5 upgrade 31
vmkfstools 30
G
glossary 9
H
host management
Active Directory configuration 26
Active Directory integration with ESXi 26
Active Directory setup 27
backup tasks 24
configuration backup 24
configuration backup from vMA 25
configuration data backup 24
enter maintenance mode 22
entering maintenance mode with ESXCLI 22
entering maintenance mode with vicfg-
hostops 23
examine 21, 22
exit maintenance mode 22
exiting maintenance mode with ESXCLI 22
exiting maintenance mode with vicfg-
hostops 23
reboot 21, 22
restoring configuration data 24
stop 21, 22
updating 27
vicfg-authconfig usage 26
vicfg-hostops 22
VMkernel module management 25
VMware, Inc.
171