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
S
sending traps with the SNMP agent
ESXCLI 167
vicfg-snmp 167
set switch attributes
ESXCLI 138
vicfg-vswitch 139
SNMP agent polling configuration
ESXCLI 168
vicfg-snmp 169
storage management
APD 49
datastore management 57
datastores 44
device detaching 48
device naming 44
device reattaching 49
FCoE adapter configuration 65
FibreChannel SAN 59
I/O scheduling 57
introduction 42
LUN examination 45–47
LUN removal 48
monitor vSphere Flash Read Cache 62
multipathing 56
path disabling with ESXCLI 53
path disabling with vicfg-mpath 53
path information 51
path management 50, 54
path policy modification 55
path policy modification with vicfg-mpath 56
path policy modification with ESXCLI 55
path state modification 53
PDL 49
PDL reattaching 49
PDL removal 49
permanent device loss 49
SMART information retrieval 66
storage access by virtual machines 42
storage adapter scanning 66
svmotion migration 63
Virtual SAN 60
Virtual Volumes 62
Storage vMotion
limitations 63
requirements 63
uses 63
svmotion
interactive mode 64
noninteractive mode 64
virtual machine configuration file relocation 65
virtual machine storage relocation 65
VMX file path 64
T
third-party storage array management
changing claim rules 110
claim rule listing 113
claim rule loading 113
claim rule management 110
claim rule moving 113
claim rule addition 111
claim rule removal 112
device management 102
fixed PSP 104
NMP management 101
path claiming 108
path unclaiming 109
path claiming rules 114
path listing 102
PSP management 103
reclaim troubleshooting command usage 109
round robin setup customization 105
SATP management 106
U
uplink adapter management
ESXCLI 142
linking with ESXCLI 144
linking with vicfg-vswitch 144
specify multiple uplinks with ESXCLI 143
unlinking with ESXCLI 144
unlinking with vicfg-vswitch 144
vicfg-nics 143
uplinks and port groups
connect with vicfg-vswitch 140
connect with ESXCLI 140
disconnect with ESXCLI 140
disconnect with vicfg-vswitch 140
user management
permissions 120
vicfg-user syntax 118
vicfg-user usage 118
vSphere environment 117
V
vCLI commands, platform support 15
vCLI host management commands
cacertsfile usage 18
connection options 19
credential store usage 18
lockdown mode 19
thumbprint usage 18
vCenter Server certificate installation 17
virtual machine management
AnswerVM API 130
attribute retrieval 125
Index
VMware, Inc. 173