VMware vSphere is VMware’s virtualization platform, which transforms data centers into aggregated computing infrastructures that include CPU, storage, and networking resources. vSphere manages these infrastructures as a unified operating environment, and provides you with the tools to administer the data centers that participate in that environment.

VMware vSphere 是 VMware 的虚拟化平台,可将数据中心转换为包括 CPU、存储和网络资源的聚合计算基础架构。vSphere 将这些基础架构作为一个统一的运行环境进行管理,并为您提供工具来管理加入该环境的数据中心。


VMware ESXi: The Purpose-Built Bare Metal Hypervisor

Discover a robust, bare-metal hypervisor that installs directly onto your physical server. With direct access to and control of underlying resources, VMware ESXi effectively partitions hardware to consolidate applications and cut costs. It’s the industry leader for efficient architecture, setting the standard for reliability, performance, and support.which enables you to create and provision your virtual machines easily and within minutes.

VMware ESXi:专用的裸机虚拟机管理程序

发现可直接安装到物理服务器上的强大的裸机虚拟机管理程序。通过直接访问和控制基础资源,VMware ESXi可以有效地对硬件进行分区,使您能够在几分钟之内轻松创建和配置虚拟机。


ESXi(开发代号总称)=vSphere(官方产品名称)

ESXi控制台

image.png

启动介质引导界面(U盘,iBMC虚拟光驱等),注意通用BISO模式及UEFI模式区别

image.png

加载安装文件

image.png

加载VMkerne文件及相关服务启动,此时屏幕会显示设备的CPU和内存配置信息

image.png

所有文件加载完成后会出现欢迎语,按【Enter】开始安装VMware ESXi

image.png

术语:End User License Agreement(EULA)最终用户许可协议

F11接受“Accept and Continue”,接受许可协议,进入下一步安装

image.png

选择安装VMware ESXi 使用的存储,ESXi支持U盘以及SD卡安装,如系统中存在多块存储设备,选择需要安装系统的磁盘

术语:VMFS(Virtual Machine File System)是VMware自主研发的集群文件系统

Select a Disk to Install or Upgrade (any existing VMFS-3 ui1l be automatically upgraded to VMFS-5)

选择要安装或升级的磁盘(任何现有的VMFS-3 ui1l将自动升级到VMFS-5)

Contains a VMFS partition:包含VMFS分区

Claimed by VMware vSAN:由VMware vSAN声明的

Storage Device 存储设备 Capacity 容量

Local:服务器或主机自带存储设备

Remote:专用存储(FC,其他SAN等)

(Esc)Cancel (F1)Details (F5)Refresh (Enter)Continue

(Esc)取消(F1)详细信息(F5)刷新(输入)继续

术语VMware vSAN:

VMware vSAN is a software-defined, enterprise storage solution that supports hyper-converged infrastructure (HCI) systems. vSAN is fully integrated with VMware vSphere, as a distributed layer of software within the ESXi hypervisor.

vSAN aggregates local or direct-attached data storage devices, to create a single storage pool shared across all hosts in a vSAN cluster. A hybrid vSAN cluster uses flash devices for the cache tier and magnetic drives for the capacity tier. An all-flash vSAN cluster uses flash devices for both the cache tier and the capacity tier. This architecture creates a flash-optimized, resilient shared datastore designed for the software-defined data center (SDDC).

vSAN eliminates the need for external shared storage, and simplifies storage configuration through Storage Policy-Based Management (SPBM). Using virtual machine (VM) storage policies, you can define storage requirements and capabilities.

术语:VMware vSAN 是一款软件定义的企业存储解决方案,支持超融合基础架构 (Hyper-Converged Infrastructure, HCI) 系统。vSAN 与 VMware vSphere 完全集成在一起,作为 ESXi 管理程序内的分布式软件层。

vSAN 可聚合本地数据存储设备或直接连接的数据存储设备,以创建在 vSAN 群集中的所有主机之间共享的单个存储池。混合 vSAN 群集将闪存设备用于缓存层并且将磁盘驱动器用于容量层。全闪存 vSAN 群集将闪存设备用于缓存层和容量层。此架构可创建用于软件定义数据中心 (Software-Define Data Center, SDDC) 且经过闪存优化的弹性共享数据存储。

vSAN 无需外部共享存储,并且通过基于存储策略的管理 (Storage Policy-Based Management, SPBM) 简化了存储配置。使用虚拟机 (Virtual Machine, VM) 存储策略,您可以定义存储要求和容量。

image.png

如果原服务器安装有其他ESXi版本,则根据需求选择安装方式(全新安装没此选项)。

升级Esxi,保留VMFS数据存储

安装Esxi,保留VMFS数据存储

安装Esxi,覆盖VMFS数据存储(全新安装,将清除所有磁盘数据)

选择磁盘后的确认页面,确认会覆盖磁盘上原本存在的内容,按【Enter】下一步。


ESXi and VMFS Found

The selected storage device contains an installation of ESXi and a VMFS datastore. Choose fron the following option(s).

ESXi与VMFS发现

选定的存储设备包含已安装ESXi和一个VMFS数据存储。从以下选项中选择。

Use the arrow keys and spacebar to select an option.

使用箭头键和空格键选择一个选项。

image.png

选择键盘类型,默认“US Default”,按【Enter】继续

Please select a keyboard layout 请选择键盘布局

Use the arrow keys to scroll.使用箭头键滚动。

image.png

配置管理员密码(默认用户为root)

ESXi Passwords ESXi enforces password requirements for access from the Direct Console User Interface, the ESXi Shell, SSH, or the VMware Host Client. By default, you have to include a mix of characters from four character classes: lowercase letters, uppercase letters, numbers, and special characters such as underscore or dash when you create a password. By default, password length is more than 7 and less than 40. Passwords cannot contain a dictionary word or part of a dictionary word.

ESXi密码

ESXi对从直接控制台用户界面、ESXi Shell、SSH 或 VMware Host Client 进行的访问强制执行密码要求。

默认情况下,创建密码时必须包括四类字符:小写字母、大写字母、数字和特殊字符(如下划线或短划线)。

默认情况下,密码长度大于 7 小于 40。

密码不能包含字典单词或部分字典单词。

With these settings, the following passwords are allowed.
xQaTEhb!: Contains eight characters from three character classes.
xQaT3#A: Contains seven characters from four character classes.
The following password candidates do not meet requirements.
Xqat3hi: Begins with an uppercase character, reducing the effective number of character classes to two. The minimum number of required character classes is three.
xQaTEh2: Ends with a number, reducing the effective number of character classes to two. The minimum number of required character classes is three.

使用这些设置时,允许使用以下密码。 xQaTEhb! :包含由三类字符组成的八个字符。 xQaT3#A:包含由四类字符组成的七个字符。

下列候选密码不符合要求。 Xqat3hi:以大写字符开头,将有效字符类别数减少为两种。需要的最少字符类别数为三种。 xQaTEh2:以数字结尾,将有效字符种类数减少到两种。需要的最少字符类别数为三种。

image.png

确认安装,此页面会显示已经选择的磁盘信息,确认无误后,按【F11】进行系统安装。

Confirm Install 确认安装

The installer is configured to install..on.. 安装程序被配置为安装ESXi..在..磁盘

Warning:This disk will be repartitioned.警告:该磁盘将被重新分区。

image.png

安装进度条 Installing ESXi 正在安装ESXi

image.png

Installation Complete

ESXi7.0.0 has been installed successfully.
ESXi7.0.0 will operate in evaluation node for 60 days.
To use ESXi 7.0.0 after the evaluation period,you must register for a VMware product license.
To administer your server,navigate to the server’s hostname or IP address from your web browser or use the Direct Control User Interface.
Remove the installation media before rebooting.
Reboot the server to start using ESXi 7.0.0
(Enter)Reboot

安装完成

ESXi7.0.0已成功安装。
ESXi7.0.0将在评估节点中运行60天。
要在评估期后使用ESXi 7.0.0,您必须注册VMware产品许可证。
要管理服务器,请从web浏览器导航到服务器的主机名或ip地址,或使用直接控制用户界面。
在重新启动之前移除安装介质。
重新启动服务器以开始使用ESXi 7.0.0
(输入) 重新启动

Remove the installation media before rebooting:重新启动前请移除安装介质,然后按Enter以重新启动计算机。

Reboot the server to start using ESXI x.x.x:重新启动服务器以开始使用ESXI。

默认第一项会自动移除挂载的ISO设备,如果选择了第二选项,需要你手动进行卸载设备,否则会再次从ISO 设备启动。

image.png

服务器重启完成后,进入VMware ESXi 7.0 控制台屏幕。

Warning:DHCP lookup failed.You may be unable to access this system until you customize its network configuration.

警告:DHCP查找失败。在自定义网络配置之前,您可能无法访问该系统。

Customize Systen/View Logs 自定义系统/查看日志

Shut Down/Restart < F12 >关闭/重启

image.png

按【F2】输入root用户密码进入系统配置页

Authentication Required Enter an authorized login name and password for localhost..

需要认证输入本地主机的授权登录名和密码..

image.png
image.png

设置或修改密码

System Customization 系统定制

Configure Password 配置密码

To prevent unauthorized access to this system,set the passaord for the user.

为防止未经授权访问该系统,请为用户设置密码。

Configure Lockdown Mode 配置锁定模式 点击链接查看官方KB

image.png

Network Adapters vmnic0(Ethernet0) 网络适配器vmnic0(以太网0)

术语vmnic:ESXi中的物理网卡适配器

The adapters listed here provide the default network connection to and from this host.When two or more adapters are used,connections will be fault-tolerant and outgoing traffic will be load-balanced.

网络适配器虚拟网卡(以太网0)此处列出的适配器为此主机提供默认的网络连接。当使用两个或更多适配器时,连接将是容错的,输出流量将是负载平衡的。

Configure Managenent Network 配置管理网络

Network Adapters 网络适配器

VLAN (optional) VLAN(可选)

虚拟局域网 (VLAN) 是一组有着共同要求的主机,无论其物理位置如何,都像连接到同一广播域一样进行通信。VLAN 与物理局域网 (LAN) 的属性相同,但是 VLAN 允许终端站组合在一起,即使它们不在同一网络交换机上也是如此。
A virtual local area network (VLAN) is a group of hosts with a common set of requirements, which communicate as if they were attached to the same broadcast domain, regardless of their physical location. A VLAN has the same attributes as a physical local area network (LAN), but it allows for end stations to be grouped together even if not on the same network switch.

IPv4 Configuration IPv4配置

ipv4标识每个连接网络的设备的地址用于与网络中的设备进行,又称互联网通信协议第四版

IPv6 Configuration IPv6配置

IPv6的全称是Internet Protocol version 6。其中,Internet Protocol译为“互联网协议”。所以,IPv6就是互联网协议第6版。

DNS Configuration 域名系统配置

域名系统(Domain Name System缩写DNS,Domain Name被译为域名)是因特网的一项核心服务,它作为可以将域名和IP地址相互映射的一个分布式数据库,能够使人更方便的访问互联网,而不用去记住能够被机器直接读取的IP数串。

Custom DNS Suffixes 自定义域名后缀

SelectChangeExit
<向上/向下>选择<输入>更改<退出>
VMware ESXi 7.0.0(VKernel Release Build 15843807)
(VKernel发行版版本15843807)

术语VMkernel :VMkernel(VMware内核功能服务网卡)网络层提供与主机的连接,并处理 vSphere vMotion、IP 存储、Fault Tolerance、vSAN 等其他服务的标准系统流量。您还可以在源和目标 vSphere Replication 主机上创建 VMkernel 适配器,以隔离复制数据流量。

The VMkernel networking layer provides connectivity to hosts and handles the standard system traffic of vSphere vMotion, IP storage, Fault Tolerance, vSAN, and others. You can also create VMkernel adapters on the source and target vSphere Replication hosts to isolate the replication data traffic.

image.png

Select the adapters for this host’s default Management network connection.Use two or more adapters for fault-tolerance and load-balancing.

为此主机的默认管理网络连接选择适配器。使用两个或更多适配器进行容错和负载平衡。

View Details Toggle Selected OK Cancel
< D >查看详细信息<空格键>切换选定<输入>确定<退出>取消

image.png

Adapter Details
Device Name:vmnic0
Hardware Label:Ethernet0
MAC Address:00:50:56:a4:73:6f
Connection Status:Connected
Used By:vSwitch0

以太网(Ethernet)指的是由 Xerox公司创建并由Xerox、Intel和 DEC公司联合开发的基带局域网规范,通用的以太网标准于1980年9月30日出台,是当今现有局域网采用的最通用的通信协议标准。 以太网络使用CSMA/CD( 载波监听多路访问及 冲突检测)技术,并以10M/S的速率运行在多种类型的电缆上。以太网与 IEEE802.3系列标准相类似。包括标准的以太网(10Mbit/s)、快速以太网(100Mbit/s)和10G(10Gbit/s)以太网。它们都符合IEEE 802.3。

适配器详细信息
设备名称:vmnic0
硬件标签:以太网0
MAC地址:00:50:56:a4:73:6f
连接状态:已连接
使用:vSwitch0

术语:vSwitch的创建是在vSphere Web客户端,可以在vSphere Web中也可以在vSphere CLI上使用esxcli命令进行管理,但是这些都只能在VMkernel中操作。那么虚拟交换机主要有以下几个类型的通信方式:

同一个ESXi主机中不同虚拟机之间;
不同ESXi主机中不同虚拟机之间;
虚拟机与网络中物理主机之间;
vMotion、iSCSI、NFS,vSAN或容错日志的VMkernel网络访问;
https://www.nakivo.com/blog/what-is-vmware-vswitch/

image.png
A VLAN is a virtual network within a physical network.
Because several VLANs can co-exist on the same physical network segment,VLAN configuration and partitioning is often more flexible,better isolated,and less expensive than flat networks based on traditional physical topology.
If you are unsure hou to configure or use a VLAN,it is safe to leave this option unset.
VLAN是物理网络中的虚拟网络。
因为几个虚拟局域网可以共存于同一个物理网段,所以VLAN配置和分区通常比基于传统物理拓扑的平面网络更灵活、隔离更好、成本更低。
如果您不确定如何配置或使用VLAN,不设置此选项是安全的。

此处如为access的管理段,则不需填写,非此情况需要VLAN id

image.png

This host can obtain network settings automatically if your network includes a DHCP server.If it does not,the following settings nust be specified:
如果您的网络包含DHCP服务器,此主机可以自动获取网络设置。如果没有,则必须指定以下设置:

This host can obtain an IPv4 address and other networking parameters automatically if your netuork includes a DHCP server.If not,ask your network administrator for the appropriate settings.
如果您的网络包括一个DHCP服务器,该主机可以自动获取一个IPv4地址和其他网络参数。如果没有,请向网络管理员咨询适当的设置。

Disable IPv4 configuration for managenent network
Use dynamic IPv4 address and network configuration
Set static IPv4 address and network configuration:

禁用管理网络的IPv4
配置使用动态IPv4地址和网络配置
设置静态IPv4地址和网络配置:

Mark Selected 标记选择

IPv4 Address IPv4地址

Subnet Mask 子网掩码
子网掩码bai(subnet mask)又叫网络掩码、地址掩码、子网络遮罩,它是du一种用zhi来指明一个IP地址的哪些位标识的是主机所在dao的子网,以及哪些位标识的是主机的位掩码。
子网掩码不能单独存在,它必须结合IP地址一起使用。子网掩码只有一个作用,就是将某个IP地址划分成网络地址和主机地址两部分。
子网掩码是一个32位地址,用于屏蔽IP地址的一部分以区别网络标识和主机标识,并说明该IP地址是在局域网上,还是在远程网上。

Default Gateway 默认网关
缺省网关(baiDefault Gateway)是计算机网络中一个如何将数据包转发到du其他网络中的节点。在zhi一个典型的TCP / IP网络,节点(如服务器、工作站和网络设备)都有一个定义的默认路由设置(指向默认网关)。可以在没有特定路由的情况下,明确出发送数据包的下一跳IP地址。
image.png
IPv6 Configuration This host can obtain network settings automatically if your network supports Stateless Address Autoconfiguration (SLAAC) or includes a DHCPv6 server.If it does not,static settings must be specified:

IPv6配置如果您的网络支持无状态地址自动配置(SLAAC)或包含DHCPv6服务器,此主机可以自动获取网络设置。如果没有,则必须指定静态设置:
image.png
This host can obtain IPv6 addresses and other networking parameters automatically if your network includes a DHCPv6 server or supports Router Advertisenent.
如果您的网络包含DHCPv6服务器或支持路由器通告,此主机可以自动获取IPv6地址和其他网络参数。

image.png
If this host is conf igured using DHCP,DNS server addresses and other DNS parameters can be obtained automatically.If not,ask your network administrator for the appropriate settings.
如果该主机是使用DHCP配置的,则可以自动获取域名系统服务器地址和其他域名系统参数。如果没有,请向网络管理员咨询适当的设置。

image.png

This host can only obtain DNS settings automatically if it also obtains its IP configuration automatically.
Obtain DNS server addresses and a hostnane automatically
Use the following DNS server addresses and hostname

该主机只有同时自动获取其IP配置,才能自动获取DNS设置。
自动获取域名服务器地址和主机名使用以下域名系统服务器地址和主机名:

Primary DNS Server0
Alternate DNS Server

主域名服务器备用域名服务器

Hostname 主机名

image.png

When using short,unqualified names.DNS queries will attempt to locate the specified host by appending the suffixes listed here in the order shown until a match is found or the list is exhausted.
If no suffixes are specified here,a default suffix list is derived from the local domain name.

当使用短的、不合格的名称时。DNS查询将尝试通过按显示的顺序附加此处列出的后缀来定位指定的主机,直到找到匹配项或列表已满。
如果此处没有指定后缀,则默认后缀列表是从本地域名派生的。

image.png

  1. Custom DNS Suffixes <br />DNS queries uill attempt to locate hosts by appending the suff ixes specified here to short,unqualified names.<br /> Use spaces or commas to separate multiple entries.
  2. 自定义域名后缀<br />DNS查询uill试图通过将此处指定的后缀附加到短的、不合格的名称上来定位主机。<br /> 使用空格或逗号分隔多个条目。

image.png
Restart Managenent network
Restarting the managenent network interface nay be required to restore networking or to renew a DHCP lease.
Restarting the managenent network will result in a brief network outage that may temporarily affect running virtual machines.
Note:If a reneued DHCP lease results in a new network identity(e.g.,IP address or hostname),remote managenent software will be disconnected.

重启管理网络可能需要重新启动管理网络接口来恢复网络或续订DHCP租约。
重新启动管理网络将导致短暂的网络中断,这可能会暂时影响正在运行的虚拟机。
注意:如果一个废弃的DHCP租用导致一个新的网络标识(例如,IP地址或主机名),远程管理软件将被断开。

Restart Management Network:Confirm
Restarting the management network will result in a brief network outage.It may disconnect remote management software and affect running virtual machines.
Restart management network now?

重启管理网络:确认
重新启动管理网络将导致短暂的网络中断。它可能会断开远程管理软件并影响正在运行的虚拟机。
现在重启管理网络?

image.png

Test Management Network
To perform a brief network test,press .
By default,this test will attempt to ping the configured default gateway,ping the configured primary and alternate DNS servers,and resolve the configured hostnane.

测试管理网络要执行简短的网络测试,请按<回车>。
默认情况下,此测试将尝试ping已配置的默认网关,ping已配置的主DNS服务器和备用DNS服务器,并解析已配置的主机。

Test Managenent Network
By default,this test will attempt to ping your default gateway and DNS servers,and resolve your hostnane.

测试管理网络默认情况下,该测试将尝试ping您的默认网关和DNS服务器,并解析您的主机名。

image.png
Network Restore Options
To view various network restore options like full network restore,move Management network from misconfigured vDS to standard switch or correct misconfigured vDS Managenent network port properties.

网络还原选项 要查看各种网络恢复选项,如完整网络恢复,请将管理网络从配置错误的虚拟桌面移动到标准交换机,或者更正配置错误的虚拟桌面管理网络端口属性。
image.png
Restore Network Settings
Restoring the network settings will revert all network configuration and will automatically configure the network with defaults.
Restoring the network settings will stop all the running virtual machines on the host.

恢复网络设置 恢复网络设置将恢复所有网络配置,并将自动用默认值配置网络。
恢复网络设置将停止主机上所有正在运行的虚拟机

Restore Network Factory Settings
This option will reset the host network configuration to its default setting.
Are you sure you want to reset the host network configuration?

恢复网络出厂设置
此选项会将主机网络配置重置为默认设置。
您确定要重置主机网络配置吗?

vSphere Distributed Switch (VDS) 可以从一个集中界面为整个数据中心设置虚拟机访问交换,从而简化虚拟机网络连接,是标准虚拟机的加强版

image.png
To select the layout tupe for the keyboard of this host, press .
要选择该主机键盘的布局图,请按<回车>键。

If you are having difficulty using your keyboard,choose a layout that matches your keyboard from the options below.
如果您在使用键盘时遇到困难,请从下面的选项中选择与您的键盘相匹配的布局。
image.png
Troubleshooting Options
To view various troubleshooting mode options like Enable ESXi Shell,Enable SSH and Restart Agents.

故障排除选项要查看各种故障排除模式选项,如启用ESXi外壳、启用SSH和重新启动代理。

image.png
Change current state of the ESXi Shell 更改ESXi外壳程序的当前状态

image.png
Change current state of SSH 更改SSH的当前状态 support 支持
image.png
Modify ESXi Shell and SSH timeouts
Modify the number of minutes that can elapse before you must log in after ESXi Shell access is enabled and the idle timeout for interactive sessions.

修改ESXi外壳和SSH超时
修改启用ESXi Shell访问后必须登录之前可以经过的分钟数以及交互式会话的空闲超时时间。

image.png
Modify the number of idle minutes that can elapse before you nust log in again in DCUI. 在DCUI中,指定您再次登录之前可以经过的空闲时间。

DCUI,直接控制台用户界面是本地管理接口给我们的管理程序, 从中我们可以做的最基础和初始配置任务.

image.png
Restart Management Agents
The management agents are the programs that allow remote management software to monitor and control this host.
Restarting the management agents will disconnect all remote management software and will affect all running services.

重新启动管理代理 管理代理是允许远程管理软件监视和控制该主机的程序。
重新启动管理代理将断开所有远程管理软件,并将影响所有正在运行的服务。

image.png

View System Logs
<1)Syslog <2>Vmkernel <3>Config <4>Managenent Agent (hostd) <5>VirtualCenter Agent (vpxa) <6>VWware ESXi Observation log (vobd)
Press the corresponding key to view a log.
Press to return to this screen.

查看系统日志< 1>系统日志< 2 >虚拟机内核< 3 >配置< 4 >管理代理(主机)< 5 >虚拟中心代理(vpxa) <6>VWware ESXi观察日志(vobd)按相应的键查看日志。
按< Q >返回此屏幕。
image.png
View Support Information
Serial Nunber:
VMware-42 24 27 63 87 fc fc 5f-33 f6 7e fc e7 fd 4c e?
License Serial Number:
J1688-4GJEQ-071L8-9VA0H-2MUK6 SSL Thunbprint
SSL Thumbprint(SHA1):
77:E3:5D:C3:2E:4B:6B:DB:29:73:3B:B0:D4:02:3C:B7:93:D6:9C:0F
SSH DSA Key Fingerprint:
SSH RSA Key Fingerprint:
SHA256:Fy566142GgVN1nd5E35F06kikt9Iux8VyghCxUTtWdu VMuare Global Support Services:

查看支持信息
序列号:
VMware-42 24 27 63 87 fc fc 5f-33 F6 7e fc E7 FD 4c e?
许可证序列号:
SSL Thunprint SSL指纹(SHA1):
77:E3:5D:C3:2E:4B:6B:DB:29:73:3B:B0:D4:02:3C:B7:93:D6:9C:0F
SSH DSA密钥指纹:
SSH RSA密钥指纹:
sha 256:fy566142 gvn 1 nd 5e 35 f 06 kikt 9 iu x8vyghcxutwdu
VMuare全球支持服务:
http://www.vmware.com/support

image.png

Reset System Configuration
Warning!
All system parameters will be reverted to their software defaults,including any parameters customized by the hardware manufacturer.The root passuord will be reset to nothing,which may allow unauthorized access to your system.
All virtual machines will be unregistered.
This operation requires a restart of the host.It is reconmended to previously shut down or migrate running virtual nachines off this host.

重置系统配置
警告!
所有系统参数将恢复为其软件默认值,包括硬件制造商定制的任何参数。根密码将被重置为空,这可能允许未经授权的人访问您的系统。
所有虚拟机都将被取消注册。
此操作需要重新启动主机。建议先关闭或迁移此主机上运行的虚拟主机。