在 Azure Stack Hub 上安装事件中心的先决条件Prerequisites for installing Event Hubs on Azure Stack Hub

Important

Azure Stack 中心上的事件中心目前处于预览阶段,在预览期间可免费使用。Event Hubs on Azure Stack Hub is currently in preview, and is provided free during the preview period.

必须先完成以下先决条件,然后才能在 Azure Stack Hub 上安装事件中心。The following prerequisites must be completed before you can install Event Hubs on Azure Stack Hub. 可能需要几天或几周的提前期才能完成所有步骤。Several days or weeks of lead time may be required to complete all steps.

Important

这些先决条件假定你至少已部署了 4 节点 Azure Stack Hub 集成系统。These prerequisites assume that you've already deployed at least a 4-node Azure Stack Hub integrated system. Azure Stack 开发工具包 (ASDK) 不支持事件中心资源提供程序。The Event Hubs resource provider is not supported on the Azure Stack Development Kit (ASDK).

Important

事件中心需要 Azure Stack Hub 2002 内部版本或更高版本。Azure Stack Hub 2002 build version or higher is required by Event Hubs. 请注意,Azure Stack Hub 的内部版本是递增的。Please note that Azure Stack Hub builds are incremental. 例如,如果已安装版本 1908,必须首先升级到 1910,然后再升级到 2002。For example, if you have version 1908 installed, you must first upgrade to 1910, then to 2002. 也就是说,不能跳过中间的内部版本。That is, you cannot skip builds in-between.

常见的先决条件Common prerequisites

如果已安装资源提供程序,则可能已完成以下先决条件,可跳过此部分。If you've already installed a resource provider, you've likely completed the following prerequisites, and can skip this section. 否则,请在继续下一步之前完成以下步骤:Otherwise, complete these before continuing:

  1. 向 Azure 注册 Azure Stack Hub 实例(如果尚未这样做)。Register your Azure Stack Hub instance with Azure, if you haven't done so. 此步骤是必需的,因为需要连接到 Azure 并将项目从 Azure 下载到市场。This step is required as you'll be connecting to and downloading items to marketplace from Azure.

  2. 如果不熟悉 Azure Stack Hub 管理员门户的“市场管理”功能,请参阅从 Azure 下载市场项并将其发布到 Azure Stack HubIf you're not familiar with the Marketplace Management feature of the Azure Stack Hub administrator portal, review Download marketplace items from Azure and publish to Azure Stack Hub. 此文逐步讲解如何将项目从 Azure 下载到 Azure Stack Hub 市场。The article walks you through the process of downloading items from Azure to the Azure Stack Hub marketplace. 它涵盖了联网场景和离线场景。It covers both connected and disconnected scenarios. 如果 Azure Stack Hub 实例已断开连接或部分连接,则在准备安装时还需要完成其他先决条件操作。If your Azure Stack Hub instance is disconnected or partially connected, there are additional prerequisites to complete in preparation for installation.

  3. 更新 Azure Active Directory (Azure AD) 主目录。Update your Azure Active Directory (Azure AD) home directory. 从内部版本 1910 开始,必须使用新的部署资源提供程序 (DRP) 应用程序注册主目录租户。Starting with build 1910, the new Deployment Resource Provider (DRP) application must be used to register your home directory tenant. 此应用可以让 DRP 成功创建和注册资源提供程序。This app will enable DRP to successfully create and register Resource Providers. 如果此步骤未完成,则资源提供程序安装会失败。If this step isn't completed, your Resource Provider installation will fail.

事件中心先决条件Event Hubs prerequisites

  1. 采购事件中心的公钥基础结构 (PKI) SSL 证书。Procure public key infrastructure (PKI) SSL certificates for Event Hubs. 使用者备用名称 (SAN) 必须遵循以下命名模式:CN=*.eventhub.<region>.<fqdn>The Subject Alternate Name (SAN) must adhere to the following naming pattern: CN=*.eventhub.<region>.<fqdn>. 可以指定“使用者名称”,但在处理证书时事件中心不会使用它。Subject Name may be specified, but it's not used by Event Hubs when handling certificates. 仅使用使用者备用名称。Only the Subject Alternate Name is used. 有关详细要求的完整列表,请参阅 PKI 证书要求See PKI certificate requirements for the full list of detailed requirements.

    示例证书

    Note

    PFX 文件必须受密码保护。PFX files must be password protected. 稍后将在安装过程中请求密码。The password will be requested later during installation.

  2. 请务必查看验证你的证书Be sure to review Validate your certificate. 本文介绍如何准备和验证用于事件中心资源提供程序的证书。The article shows you how to prepare and validate the certificates you use for the Event Hubs resource provider.

后续步骤Next steps

接下来,安装事件中心资源提供程序Next, install the Event Hubs resource provider.