8.0
Table Of Contents
- VMware ESXi Installation and Setup
- Contents
- About VMware ESXi Installation and Setup
- Introduction to vSphere Installation and Setup
- Introducing VMware vSphere Distributed Services Engine and Networking Acceleration by Using DPUs
- Installing and Setting Up ESXi
- ESXi Requirements
- Preparing for Installing ESXi
- Customizing Installations with vSphere ESXi Image Builder
- How the vSphere ESXi Image Builder Works
- Structure of ImageProfile, SoftwarePackage, and ImageProfileDiff Objects
- Install Prerequisite Software and Configure vSphere ESXi Image Builder
- Using VMware.Image Builder Cmdlets
- ESXi Image Profile Tasks
- Add a Software Depot
- Import a Software Depot
- Clone an Image Profile
- Create an Image Profile
- Edit an Image Profile
- Compare Image Profiles
- Move an Image Profile to a Different Software Depot
- Export an Image Profile to ISO or Offline Bundle ZIP
- Regenerate an Image Profile
- Preserve Image Profiles Across Sessions with PowerCLI Cmdlets
- Compare VIBs with PowerCLI Cmdlets
- vSphere ESXi Image Builder Workflows with PowerCLI Cmdlets
- Installing ESXi
- Installing ESXi Interactively
- Installing ESXi by Using a Script
- How to Boot an ESXi Host from a Network Device
- Installing ESXi Using vSphere Auto Deploy
- Understanding vSphere Auto Deploy
- Install and Configure vSphere Auto Deploy
- How vSphere Auto Deploy Works with PowerCLI
- Managing vSphere Auto Deploy with PowerCLI Cmdlets
- Overview of the vSphere Auto Deploy Process by Using PowerCLI
- Using vSphere Auto Deploy Cmdlets
- vSphere Auto Deploy PowerCLI Cmdlet Overview
- Assign an Image Profile to Hosts
- Write a Rule and Assign a Host Profile to Hosts
- Write a Rule and Assign a Host to a Folder or Cluster
- Configure a Stateless System by Running a Custom Script
- Test and Repair Rule Compliance
- Register a Caching Proxy Server Address with vSphere Auto Deploy
- vSphere Auto Deploy Tasks by Using the vSphere Client
- Managing vSphere Auto Deploy with the vSphere Client
- Create a Deploy Rule
- Clone a Deploy Rule
- Edit a Deploy Rule
- Activate, Deactivate, and Reorder Deploy Rules
- View Host Associations
- Edit the Image Profile Association of a Host
- Remediate a Non-compliant Host
- Add a Host to the vSphere Auto Deploy Inventory
- Add a Host to a Cluster That Uses a Single Image
- Add a Host to a Cluster That Manages ESXi Configuration at a Cluster Level
- Working with Script Bundles
- Download vSphere Auto Deploy Logs
- Start, Stop, or Restart the vSphere Auto Deploy Service
- Provision and Reprovision ESXi Hosts with vSphere Auto Deploy
- Using vSphere Auto Deploy for Stateless Caching and Stateful Installs
- Configure a Host Profile to Use Stateless Caching
- Configure a Host Profile to Enable Stateful Installs
- Setting Up a vSphere Auto Deploy Reference Host
- Configure an ESXi Dump Collector
- Configure Syslog from the Host Profiles Feature in the vSphere Client
- Enable NTP Client on a Reference Host in the vSphere Client
- Configure Networking for Your vSphere Auto Deploy Host in the vSphere Client
- Configure a Reference Host for Auto-Partitioning
- Converting Stateless Hosts to Stateful Hosts
- vSphere Auto Deploy Best Practices and Security Consideration
- Scenario to Set Up vSphere Auto Deploy and Provision Hosts with vSphere PowerCLI
- Install the TFTP Server
- Install PowerCLI
- Prepare the vSphere Auto Deploy Target Hosts
- Prepare the DHCP Server for vSphere Auto Deploy Provisioning
- Configure the vSphere Auto Deploy and TFTP Environment in the vSphere Client
- Prepare the ESXi Software Depot and Write a Rule
- Provision the First Host with vSphere Auto Deploy
- Extract and Configure a Host Profile from the Reference Host
- Create a Rule that Provisions Hosts from a Specific IP Range
- Provision Hosts and Set Up Host Customizations
- Troubleshooting vSphere Auto Deploy
- vSphere Auto Deploy Rule Takes Long to Complete
- vSphere Auto Deploy TFTP Timeout Error at Boot Time
- vSphere Auto Deploy Host Boots with Wrong Configuration
- Host Is Not Redirected to vSphere Auto Deploy Server
- Package Warning Message When You Assign an Image Profile to a vSphere Auto Deploy Host
- vSphere Auto Deploy Host with a Built-In USB Flash Drive Does Not Send Coredumps to Local Disk
- vSphere Auto Deploy Host Reboots After Five Minutes
- vSphere Auto Deploy Host Cannot Contact TFTP Server
- vSphere Auto Deploy Host Cannot Retrieve ESXi Image from vSphere Auto Deploy Server
- vSphere Auto Deploy Host Does Not Get a DHCP Assigned Address
- vSphere Auto Deploy Host Does Not Network Boot
- Recovering from Database Corruption on the vSphere Auto Deploy Server
- Setting Up ESXi
- Initial ESXi Configuration
- ESXi Autoconfiguration
- Managing ESXi Remotely
- About the Direct Console ESXi Interface
- Configure the Keyboard Layout for the Direct Console
- Create a Security Banner for the Direct Console
- Redirecting the Direct Console to a Serial Port
- Redirect the Direct Console to a Serial Port by Setting the Boot Options Manually
- Redirect the Direct Console to a Serial Port in a Host Deployed with Auto Deploy
- Enable ESXi Shell and SSH Access with the Direct Console User Interface
- Set the Password for the Administrator Account
- Configuring the BIOS Boot Settings
- Configuring Network Settings
- Network Access to Your ESXi Host
- ESXi Networking Security Recommendations
- Choose Network Adapters for the Management Network
- Set the VLAN ID
- Configuring IP Settings for ESXi
- Configure IP Settings from the Direct Console
- Configure IP Settings from the vSphere Client
- Configuring DNS for ESXi
- Configure DNS Settings from the Direct Console
- Configure DNS Suffixes
- Configure the Network Settings on a Host That Is Not Attached to the Network
- Test the Management Network
- Restart the Management Agents
- Restart the Management Network
- Test Connectivity to Devices and Networks
- Restoring the Standard Switch
- Configuring System Logging
- Set the Host Image Profile Acceptance Level
- Remove All Custom Packages on ESXi
- Deactivate Support for Non-ASCII Characters in Virtual Machine File and Directory Names
- Reset the System Configuration
- Initial ESXi Configuration
- After You Install and Set Up ESXi
- Troubleshooting ESXi Booting
- Decommission an ESXi Host
Device Alias Configuration
Device aliases, also called device names, are short names associated with I/O adapters in an I/O
subsystem. For example, network uplinks have aliases such as vmnic0, vmnic1, and so on. SCSI
adapter objects in the storage subsystem and graphics device objects also have aliases.
A hardware device can be presented as multiple I/O adapters in the I/O subsystem. The I/O
adapters can be of a different type from the underlying physical device. For example, an FCoE
device is a storage I/O adapter that uses NIC hardware. Software iSCSI is a storage adapter using
the network stack at the IP layer. Therefore, in the ESXi native driver model, aliases formally refer
only to I/O adapters, and not to physical devices such as a PCI NIC or a PCI HBA.
Device Alias Assignment
A stateless ESXi deployment model is one where the ESXi host is not installed on hard disks,
and is typically booted by using PXE. A stateful ESXi deployment model is one where the ESXi
host is installed on local hard disks. Device alias assignment occurs during a stateless ESXi boot
or a fresh installation of stateful ESXi. The ESXi host assigns aliases to I/O adapters in an order
which is based on the underlying hardware enumeration order. The ESXi host assigns aliases first
to on-board devices and then to add-in cards based on slot order. The ESXi host cannot assign
aliases to absent devices or devices without supported drivers.
Аn uplink that uses a NIC that is built into the motherboard receives a vmnicN alias with lower
number compared to an uplink of a PCI add-in card. The NIC driver might register more than one
uplink. If one of the uplinks does not correspond to an enumerable hardware device, the ESXi host
assigns the next available alias to the uplink after the uplink is registered with the system.
Persistence of Device Alias Configuration
After the ESXi host assigns aliases, alias configuration is persisted. The ESXi host attempts to keep
the alias of each device the same regardless of the ESXi version updates, or hardware changes,
such as adding or removing devices from slots.
The persistence of the alias configuration depends on the deployment model.
n In stateful systems, the alias configuration is persisted locally on the host.
n In stateless systems, if you do not manage the stateless system by using host profiles, the alias
configuration is not persisted locally on the host.
n In stateful and stateless systems that you manage by using host profiles, the alias configuration
is persisted in the host profile. If you apply a host profile to a stateful host, the host profile
overrides any locally persisted alias configuration.
Changes in the Device Alias Configuration
The persistence of alias configuration is based on the bus addresses of devices. If the bus address
of a device is altered, the persisted alias configuration becomes inapplicable and the aliases
assigned to the device might change.
Changes in the device alias configuration might occur in the following cases:
n A driver upgrade might enumerate or present an I/O adapter differently to the system
compared to how the I/O adapter is presented before the driver upgrade.
VMware ESXi Installation and Setup
VMware, Inc. 197