vCenter Server安装和设置 vSphere Auto Deploy vCenter Server支持工具,能够使用ESXi软件置备大量物理主机。可以指定 要部署的映像以及要使用此映像置备的主机。也可以指定应用到主机的主机配 置文件,并且为每个主机指定 vCenter server位置(文件夹或群集)。 VMware vSphere Update Manager可让 VMware vSphere执行集中式自动修补程序和版本管 Update Manager扩展理,并提供对 VMware ESXi主机、虚拟机和虚拟设备的支持。 VMware vSphere Update Manager扩展是单独使用的 vCenter Server Appliance6.7 的可选服务。 vCenter Server Appliance概览 vCenter Server Appliance是基于 Linux的预配置虚拟机,针对运行 vCenter server及关联服务进行了优化。 vCenter Server Appliance缩短了 vCenter Server及关联服务的部署时间,并提供了一种低成本方案用于替 代基于 Windows的 vCenter Server安装。 vCenter Server Appliance软件包包含以下软件 Project Photon OS 1.0 Platform Services Controller基础架构服务组 vCenter server服务组 PostgreSQL VMware vSphere Update Manager扩展 vCenter Server Appliance版本6.7上部署了虚拟硬件版本10,此虚拟硬件版本在Esxi中支持每个虚拟机 具有64个虚拟CPU。 vCenter Server Appliance使用嵌入式 PostgreSQL数据库,该数据库最多可扩展至2000个主机和35000 个虚拟机。在部署期间,您可以选择适合 vSphere环境大小的 vCenter Server Appliance大小以及满足数据 库要求的存储大小。 从 vSphere6.5开始, vCenter Server将使用 VMware vSphere Update Manager扩展服务。 vSphere集中 式自动修补程序和版本管理不再需要 Windows上的外部 VMware Update Manager实例。有关 vCenter server 和 Platform Services Controller服务的信息,请参见 vCenter Server组件和服务。 从 vSphere6.5开始, vCenter Server Appliance支持高可用性。有关在 vCenter High Availability群集中配 置 vCenter Server Appliance的信息,请参见《 vSphere可用性》。 从 vSphere6.5开始, vCenter Server Appliance和 Platform Services Controller设备支持基于文件的备份 和还原。有关备份和还原的信息,请参见第4章, vCenter Server Appliance的基于文件的备份和还原 有关 vCenter Server Appliance最高配置的信息,请参见《最高配置》文档。 VMware,lc保留所有权利
vSphere Auto Deploy vCenter Server 支持工具,能够使用 ESXi 软件置备大量物理主机。可以指定 要部署的映像以及要使用此映像置备的主机。也可以指定应用到主机的主机配 置文件,并且为每个主机指定 vCenter Server 位置(文件夹或群集)。 VMware vSphere Update Manager 扩展 Update Manager 可让 VMware vSphere 执行集中式自动修补程序和版本管 理,并提供对 VMware ESXi 主机、虚拟机和虚拟设备的支持。VMware vSphere Update Manager 扩展是单独使用的 vCenter Server Appliance 6.7 的可选服务。 vCenter Server Appliance 概览 vCenter Server Appliance 是基于 Linux 的预配置虚拟机,针对运行 vCenter Server 及关联服务进行了优化。 vCenter Server Appliance 缩短了 vCenter Server 及关联服务的部署时间,并提供了一种低成本方案用于替 代基于 Windows 的 vCenter Server 安装。 vCenter Server Appliance 软件包包含以下软件: n Project Photon OS® 1.0 n Platform Services Controller 基础架构服务组 n vCenter Server 服务组 n PostgreSQL n VMware vSphere Update Manager 扩展 vCenter Server Appliance 版本 6.7 上部署了虚拟硬件版本 10,此虚拟硬件版本在 ESXi 中支持每个虚拟机 具有 64 个虚拟 CPU。 vCenter Server Appliance 使用嵌入式 PostgreSQL 数据库,该数据库最多可扩展至 2,000 个主机和 35,000 个虚拟机。在部署期间,您可以选择适合 vSphere 环境大小的 vCenter Server Appliance 大小以及满足数据 库要求的存储大小。 从 vSphere 6.5 开始,vCenter Server 将使用 VMware vSphere Update Manager 扩展服务。vSphere 集中 式自动修补程序和版本管理不再需要 Windows 上的外部 VMware Update Manager 实例。有关 vCenter Server 和 Platform Services Controller 服务的信息,请参见 vCenter Server 组件和服务。 从 vSphere 6.5 开始,vCenter Server Appliance 支持高可用性。有关在 vCenter High Availability 群集中配 置 vCenter Server Appliance 的信息,请参见《vSphere 可用性》。 从 vSphere 6.5 开始,vCenter Server Appliance 和 Platform Services Controller 设备支持基于文件的备份 和还原。有关备份和还原的信息,请参见第 4 章,vCenter Server Appliance 的基于文件的备份和还原。 有关 vCenter Server Appliance 最高配置的信息,请参见《最高配置》文档。 vCenter Server 安装和设置 VMware, Inc. 保留所有权利。 11
vCenter Server安装和设置 vCenter server和 Platform services Contro|er部署类型 您可以部署具有嵌入式或外部 Platform Services Controller部署的 vCenter Server Appliance,或安装具有 嵌入式或外部 Platform Services Controller部署的适用于 Windows的 vCenter server。您也可以将 Platform services controller作为设备部署,或者将其安装在 Windows上。如有必要,可以使用混合操作 系统环境。 部署 vCenter Server Appliance或安装适用于 Windows的 vCenter server之前,必须确定适合您环境的部 署模型。对于每个部署或安装,必须选择以下三种部署类型之一。 表1-1. v Center server和 Platform Services Controller部署类型 部暑类 具有嵌入式 Platform services Controller部署的 与 Platform services Controller捆绑在一起的所有服务与 vCenter server服务一起部署在同一虚拟机或物理服务器上。 Platform Services Controller 只有与 Platform services controller捆绑在一起的服务会部署在 虚拟机或物理服务器上 具有外部 Platform services Controller的 vCenter server 只有 vCenter Server服务会部署在虚拟机或物理服务器上 (需要外部 Platform services controller) 必须向之前部署或安装的 Platform services controller实例注册 此类 vCenter Server实例 具有嵌入式 Platform services Controller部署的 vCenter Server 使用嵌入式 Platform Services Controller会产生独立部署,它拥有自己的具有单一站点的 vCenter Single 从 vSphere6.5 Update2开始,可以加入其他具有嵌入式 Platform services controller的 vCenter Server 实例以启用增强型链接模式。 有关详细信息,请参见具有嵌入式 Platform Services Controller的 vCenter Server Appliance的 vCenter嵌 入式链接模式。 图1-2.具有嵌入式 Platform services Controller部署的 V Center Server 虚拟机或物理服务器 Controller vCenter Server 安装具有嵌入式 Platform services controller部署的 vCenter server具有以下优势 vCenter Server与 Platform Services Controller并非通过网络连接,且 vCenter Server不容易出现因 vCenter server与 Platform Services Controller之间的连接和名称解析问题导致的故障。 如果在 Windows虚拟机或物理服务器上安装 vCenter server,则需要较少的 Windows许可证。 您管理较少的虚拟机或物理服务器 VMware,lc保留所有权利
vCenter Server 和 Platform Services Controller 部署类型 您可以部署具有嵌入式或外部 Platform Services Controller 部署的 vCenter Server Appliance,或安装具有 嵌入式或外部 Platform Services Controller 部署的适用于 Windows 的 vCenter Server。您也可以将 Platform Services Controller 作为设备部署,或者将其安装在 Windows 上。如有必要,可以使用混合操作 系统环境。 部署 vCenter Server Appliance 或安装适用于 Windows 的 vCenter Server 之前,必须确定适合您环境的部 署模型。对于每个部署或安装,必须选择以下三种部署类型之一。 表 1‑1. vCenter Server 和 Platform Services Controller 部署类型 部署类型 描述 具有嵌入式 Platform Services Controller 部署的 vCenter Server 与 Platform Services Controller 捆绑在一起的所有服务与 vCenter Server 服务一起部署在同一虚拟机或物理服务器上。 Platform Services Controller 只有与 Platform Services Controller 捆绑在一起的服务会部署在 虚拟机或物理服务器上。 具有外部 Platform Services Controller 的 vCenter Server (需要外部 Platform Services Controller) 只有 vCenter Server 服务会部署在虚拟机或物理服务器上。 必须向之前部署或安装的 Platform Services Controller 实例注册 此类 vCenter Server 实例。 具有嵌入式 Platform Services Controller 部署的 vCenter Server 使用嵌入式 Platform Services Controller 会产生独立部署,它拥有自己的具有单一站点的 vCenter Single Sign-On 域。 从 vSphere 6.5 Update 2 开始,可以加入其他具有嵌入式 Platform Services Controller 的 vCenter Server 实例以启用增强型链接模式。 有关详细信息,请参见具有嵌入式 Platform Services Controller 的 vCenter Server Appliance 的 vCenter 嵌 入式链接模式。 图 1‑2. 具有嵌入式 Platform Services Controller 部署的 vCenter Server Platform Services Controller 虚拟机或物理服务器 vCenter Server 安装具有嵌入式 Platform Services Controller 部署的 vCenter Server 具有以下优势: n vCenter Server 与 Platform Services Controller 并非通过网络连接,且 vCenter Server 不容易出现因 vCenter Server 与 Platform Services Controller 之间的连接和名称解析问题导致的故障。 n 如果在 Windows 虚拟机或物理服务器上安装 vCenter Server,则需要较少的 Windows 许可证。 n 您管理较少的虚拟机或物理服务器。 vCenter Server 安装和设置 VMware, Inc. 保留所有权利。 12
vCenter Server安装和设置 可以在 vCenter High Availability配置中配置具有嵌入式 Platform services Controller部署的 vCenter Server Appliance。有关信息,请参见《 vSphere可用性》 注部署或安装具有嵌入式 Platform services controller部署的 vCenter server后,您可以重新配置部署类 型并切换到具有外部 Platform services controller部署的 vCenter server。 请参见将具有嵌入式 Platform services Controller的独立 vCenter server重新配置为具有外部 Platform Services Controller的 vCenter Server。 Platform services Controller与具有外部 Platform services Controller 部署的 V Center server 部署或安装 Platform Services Controller实例时,可以创建 v Center Single Sign-On域,或者加入现有的 vCenter Single Sign-on域。加入的 Platform services controller实例将复制其基础架构数据,如身份验证 和许可信息,并且可以跨多个 v Center Single Sign-On站点。有关信息,请参见了解 vSphere域、域名和 站点。 有关管理 Platform Services Controller服务的信息,请参见《 Platform Services Controller管理》。 可以向一个共同外部 Platform Services Controller实例注册多个 vCenter Server实例。 vCenter Server实例 采用向其注册的 Platform services controller实例的 vCenter Single Sign-On站点。向一个共同或不同的已 加入 Platform Services Controller实例注册的所有 vCenter Server实例都在增强型链接模式下进行连接。 请参见适用于 vCenter Server或具有外部 Platform Services controller的 vCenter Server Appliance的增强 型链接模式。 图13.具有共同外部 Platform services Controller的两个 y Center server示例 虚拟机或物理服务器 Platform Services 虚拟机或物理服务器 虚拟机或物理服务器 vCenter Server vCenter Server 安装具有外部 Platform services controller部署的 vCenter server具有以下缺点: vCenter server和 Platform Services Controller之间的连接可能具有连接和名称解析问题。 如果在 Windows虚拟机或物理服务器上安装 vCenter server,则需要较多的 Microsoft Windows许可证。 您需要管理较多虚拟机或物理服务器。 有关 Platform services controller和 vCenter server最高配置的信息,请参见最高配置文档。 VMware,lc保留所有权利
可以在 vCenter High Availability 配置中配置具有嵌入式 Platform Services Controller 部署的 vCenter Server Appliance。有关信息,请参见《vSphere 可用性》。 注 部署或安装具有嵌入式 Platform Services Controller 部署的 vCenter Server 后,您可以重新配置部署类 型并切换到具有外部 Platform Services Controller 部署的 vCenter Server。 请参见将具有嵌入式 Platform Services Controller 的独立 vCenter Server 重新配置为具有外部 Platform Services Controller 的 vCenter Server。 Platform Services Controller 与具有外部 Platform Services Controller 部署的 vCenter Server 部署或安装 Platform Services Controller 实例时,可以创建 vCenter Single Sign-On 域,或者加入现有的 vCenter Single Sign-On 域。加入的 Platform Services Controller 实例将复制其基础架构数据,如身份验证 和许可信息,并且可以跨多个 vCenter Single Sign-On 站点。有关信息,请参见了解 vSphere 域、域名和 站点。 有关管理 Platform Services Controller 服务的信息,请参见《Platform Services Controller 管理》。 可以向一个共同外部 Platform Services Controller 实例注册多个 vCenter Server 实例。vCenter Server 实例 采用向其注册的 Platform Services Controller 实例的 vCenter Single Sign-On 站点。向一个共同或不同的已 加入 Platform Services Controller 实例注册的所有 vCenter Server 实例都在增强型链接模式下进行连接。 请参见适用于 vCenter Server 或具有外部 Platform Services Controller 的 vCenter Server Appliance 的增强 型链接模式。 图 1‑3. 具有共同外部 Platform Services Controller 的两个 vCenter Server 示例 Platform Services Controller 虚拟机或物理服务器 vCenter Server 虚拟机或物理服务器 vCenter Server 虚拟机或物理服务器 安装具有外部 Platform Services Controller 部署的 vCenter Server 具有以下缺点: n vCenter Server 和 Platform Services Controller 之间的连接可能具有连接和名称解析问题。 n 如果在 Windows 虚拟机或物理服务器上安装 vCenter Server,则需要较多的 Microsoft Windows 许可证。 n 您需要管理较多虚拟机或物理服务器。 有关 Platform Services Controller 和 vCenter Server 最高配置的信息,请参见最高配置文档。 vCenter Server 安装和设置 VMware, Inc. 保留所有权利。 13
vCenter Server安装和设置 有关部署拓扑和 Platform services controller高可用性的信息,请参见具有外部 Platform services Controller 实例和高可用性的部署拓扑。 有关在 vCenter High Availability配置中配置具有外部 Platform services controller部署的 vCenter Server Appliance的信息,请参见《《 vSphere可用性》》 混合操作系统环境 安装在 Windows上的 vCenter server实例可以注册到 Windows上安装的 Platform services Controller中 或 Platform Services Controller设备中。 vCenter Server Appliance可以注册到 Windows上安装的 Platform services controller中或 Platform services contro‖er设备中。可以向同 Platform Services Contro|er注册 vCenter Server和 vCenter Server Appliance。 图1-4.具有在 Windows上运行的外部 Platform services Controller的混合操作系统环境的示例 Windows虚拟机或 物理服务器 Windows上的 Platform Services Controller 虚拟机或物理服务器 虚拟机 Windows上的 vCenter Server vCenter Server Appliance 图1-5.具有外部 Platform services Controller设备的混合操作系统环境的示例 虚拟机 Platform Services 虚拟机或物理服务器 虚拟机 ndows上的 vCenter Server vCenter Server Appliance 注为确保易于管理和维护,请仅使用设备或者仅使用 vCenter Server和 Platform Services Controller的 Windows安装。 了解 VSphere域、域名和站点 每个 Platform services controller都与一个 vCenter Single Sign-On域关联。域名默认为 vsphere. local,但 可以在安装第一个 Platform Services Controller时更改域名。域决定本地身份验证空间。您可以将一个域拆 分为多个站点,并将每个 Platform Services Controller和 vCenter Server实例分配给一个站点。站点是逻辑 构造,但通常对应于地理位置。 VMware,lc保留所有权利
有关部署拓扑和 Platform Services Controller 高可用性的信息,请参见具有外部 Platform Services Controller 实例和高可用性的部署拓扑。 有关在 vCenter High Availability 配置中配置具有外部 Platform Services Controller 部署的 vCenter Server Appliance 的信息,请参见《《vSphere 可用性》》。 混合操作系统环境 安装在 Windows 上的 vCenter Server 实例可以注册到 Windows 上安装的 Platform Services Controller 中 或 Platform Services Controller 设备中。vCenter Server Appliance 可以注册到 Windows 上安装的 Platform Services Controller 中或 Platform Services Controller 设备中。可以向同一 Platform Services Controller 注册 vCenter Server 和 vCenter Server Appliance。 图 1‑4. 具有在 Windows 上运行的外部 Platform Services Controller 的混合操作系统环境的示例 Windows 上的 Platform Services Controller Windows 虚拟机或 物理服务器 Windows 上的 vCenter Server 虚拟机或物理服务器 vCenter Server Appliance 虚拟机 图 1‑5. 具有外部 Platform Services Controller 设备的混合操作系统环境的示例 Platform Services Controller 设备 虚拟机 Windows 上的 vCenter Server 虚拟机或物理服务器 vCenter Server Appliance 虚拟机 注 为确保易于管理和维护,请仅使用设备或者仅使用 vCenter Server 和 Platform Services Controller 的 Windows 安装。 了解 vSphere 域、域名和站点 每个 Platform Services Controller 都与一个 vCenter Single Sign-On 域关联。域名默认为 vsphere.local,但 可以在安装第一个 Platform Services Controller 时更改域名。域决定本地身份验证空间。您可以将一个域拆 分为多个站点,并将每个 Platform Services Controller 和 vCenter Server 实例分配给一个站点。站点是逻辑 构造,但通常对应于地理位置。 vCenter Server 安装和设置 VMware, Inc. 保留所有权利。 14
vCenter Server安装和设置 Platform Services Controller tex 安装 Platform Services Controller时,系统会提示您创建 vCenter Single Sign-On域或加入现有域 域名由 VMware Directory Service(vmdir)用于所有的轻量目录访问协议(LDAP)内部构造。 通过 vSphere6.0及更高版本,可以为 vSphere域分配一个唯一名称。为防止身份验证冲突,请使用未被 OpenLDAP、 Microsoft Active Directory和其他目录服务使用的名称。 注不能将域更改为某个 Platform Services Controller或 vCenter Server实例所属的域。 指定域名后,可以添加用户和组。通常,添加 Active Directory或LDAP标识源并允许该标识源中的用户和 组进行身份验证更有意义。也可以将 vCenter server或 Platform services controller实例或其他 VMware 产品(例如, vRealize Operations)添加到该域 Platform services Controller站点 可以将 Platform Services Controller域组织为逻辑站点。 VMware Directory Service中的站点是逻辑容器, 可用来对 vCenter Single Sign-On域中的 Platform services controller实例进行分组。 从 vSphere6.5开始,站点变得非常重要。在 Platform Services Controller故障切换过程中, vCenter Server 实例被关联到相同站点中的其他 Platform Services Controller。为防止 vCenter Server实例被关联到较远地 理位置中的 Platform Services Controller,可以使用多个站点。 安装或升级 Platform services Controller时,系统会提示您输入站点名称。请参见《 vCenter server安装和 设置》文档。 具有外部 Platform services Controller实例和高可用性的部署 拓扑 要确保外部部署中 Platform Services Controller高可用性,您必须在 vCenter Single Sign-On域中安装或部 署至少两个已加入的 Platform services controller实例。使用第三方负载平衡器时,您可以确保自动进行故 切换而不会出现停机。 VMware,lc保留所有权利
Platform Services Controller 域 安装 Platform Services Controller 时,系统会提示您创建 vCenter Single Sign-On 域或加入现有域。 域名由 VMware Directory Service (vmdir) 用于所有的轻量目录访问协议 (LDAP) 内部构造。 通过 vSphere 6.0 及更高版本,可以为 vSphere 域分配一个唯一名称。为防止身份验证冲突,请使用未被 OpenLDAP、Microsoft Active Directory 和其他目录服务使用的名称。 注 不能将域更改为某个 Platform Services Controller 或 vCenter Server 实例所属的域。 指定域名后,可以添加用户和组。通常,添加 Active Directory 或 LDAP 标识源并允许该标识源中的用户和 组进行身份验证更有意义。也可以将 vCenter Server 或 Platform Services Controller 实例或其他 VMware 产品(例如,vRealize Operations)添加到该域。 Platform Services Controller 站点 可以将 Platform Services Controller 域组织为逻辑站点。VMware Directory Service 中的站点是逻辑容器, 可用来对 vCenter Single Sign-On 域中的 Platform Services Controller 实例进行分组。 从 vSphere 6.5 开始,站点变得非常重要。在 Platform Services Controller 故障切换过程中,vCenter Server 实例被关联到相同站点中的其他 Platform Services Controller。为防止 vCenter Server 实例被关联到较远地 理位置中的 Platform Services Controller,可以使用多个站点。 安装或升级 Platform Services Controller 时,系统会提示您输入站点名称。请参见《vCenter Server 安装和 设置》文档。 具有外部 Platform Services Controller 实例和高可用性的部署 拓扑 要确保外部部署中 Platform Services Controller 高可用性,您必须在 vCenter Single Sign-On 域中安装或部 署至少两个已加入的 Platform Services Controller 实例。使用第三方负载平衡器时,您可以确保自动进行故 障切换而不会出现停机。 vCenter Server 安装和设置 VMware, Inc. 保留所有权利。 15