如何管理 Azure Stack Hub 上的事件中心How to manage Event Hubs on Azure Stack Hub

重要

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

事件中心管理体验允许你控制服务并直观显示其状态和警报。The Event Hubs management experience allows you to control the service and visualize its status and alerts.

概述Overview

使用以下步骤访问事件中心管理页面:Use the following steps to access the Event Hubs management page:

  1. 登录到 Azure Stack Hub 管理员门户。Sign in to the Azure Stack Hub administrator portal.

  2. 在左侧窗格中,选择“所有服务”。Select All Services from the pane on the left.

  3. 搜索“事件中心”,然后选择该服务。Search for "Event Hubs" and select the service. 如果找不到事件中心服务,则必须先安装资源提供程序。If you can't find the Event Hubs service, the resource provider must first be installed.

  4. 随即显示事件中心管理概述页面。The Event Hubs management overview page display. 可在左侧窗格中找到四个部分:You'll find four sections in the left pane:

    • 概述:提供特定管理区域的概貌以及对这些区域的访问。Overview: provides a general view and access to specific management areas.
    • 警报:显示事件中心的所有严重警报和警告性警报。Alerts: displays all critical and warning alerts for Event Hubs. 有关详细信息,请参阅警报部分。See the Alerts section section for details.
    • 配额:允许创建、更新和删除配额。Quotas: allows you to create, update, and delete quotas. 有关详细信息,请参阅配额部分。See the Quotas section section for details.
    • 事件中心群集:列出所有已配置的群集。Event Hubs clusters: displays a list of all clusters configured. 有关详细信息,请参阅事件中心群集部分。See the Event Hubs clusters section for details.

    管理事件中心Manage event hubs

配额Quotas

在主页上选择“配额”将列出正在使用的配额,包括指定配额的关联计划。Selecting Quotas on the main page displays the list of quotas in use, including the associated plans that specify the quotas.

管理事件中心 - 配额Manage event hubs - quotas

有关为事件中心定义的配额类型的详细信息,请参阅配额类型For more information on quota types defined for Event Hubs, see Quota Types

警报Alerts

事件中心资源提供程序支持以下警报:The Event Hubs resource provider supports the following alerts:

CategoryCategory 警报Alert 类型Type 条件Condition
性能Performance
EventHub-CpuUsageEventHub-CpuUsage 警告Warning 过去 6 小时内,事件中心群集的平均 CPU 使用率百分比大于 50%。The average of % CPU usage of Event Hubs cluster in the last 6 hours is larger than 50%.
EventHub-MemoryUsageEventHub-MemoryUsage 警告Warning 过去 6 小时内,事件中心群集的平均数据磁盘(E:) 使用率百分比大于 50%。The average of % Data Disk(E:) usage of Event Hubs cluster in the last 6 hours is larger than 50%.
EventHub-DiskUsageEventHub-DiskUsage 警告Warning 过去 6 小时内,事件中心群集的平均可用内存空间百分比小于 50%。The average of % free memory space of Event Hubs cluster in the last 6 hours is smaller than 50%.
使用情况/配额Usage/Quota
EventHub-QuotaExceededEventHub-QuotaExceeded 警告Warning 过去 6 小时内发生了超出配额错误。A quota exceeded error occurred within the last six hours.
EventHub-NamespaceCreditUsageEventHub-NamespaceCreditUsage 警告Warning 过去 6 小时内,命名空间的额度使用量总和大于 10000.0。The sum of namespace credit usages in the last six hours is larger than 10000.0.
服务已降级Service degraded
EventHub-InternalServerErrorEventHub-InternalServerError 警告Warning 过去 6 小时内发生了内部服务器错误。An internal server error occurred within the last six hours.
EventHub-ServerBusyEventHub-ServerBusy 警告Warning 过去 6 小时内发生了服务器繁忙错误。A server busy error occurred in the last six hours.
客户端Client
EventHub-ClientErrorEventHub-ClientError 警告Warning 过去 6 小时内发生了客户端错误。A client error occurred in the last six hours.
资源Resource
EventHub-PendingDeletingResourcesEventHub-PendingDeletingResources 警告Warning 过去 6 小时内,等待删除的资源总和大于 100。The sum of pending deleting resources in the last six hours is larger than 100.
EventHub-ProvisioningQueueLengthEventHub-ProvisioningQueueLength 警告Warning 过去 6 小时内,平均预配队列长度大于 30。The average of provisioning queue length in the last six hours is larger than 30.

在主页上选择“警报”将列出发出的警报:Selecting Alerts on the main page displays the list of alerts issued:

管理事件中心 - 警报摘要Manage event hubs - alerts summary

从列表中选择某个警报时,将在右侧显示“警报详细信息”面板:Selecting an alert from the list, displays the Alert details panel on the right:

管理事件中心 - 警报详细信息Manage event hubs - alerts detail

有关 Azure Stack Hub 监视功能(包括警报)的详细信息,请参阅监视运行状况和警报For more information on Azure Stack Hub monitoring capability, including alerting, see Monitor Health and Alerts. 有关收集日志的详细信息,请参阅 Azure Stack 诊断日志收集概述For details on collecting logs, see Overview of Azure Stack diagnostic log collection.

事件中心群集Event Hubs clusters

在主页上选择“事件中心群集”将显示可用用户群集的列表。Selecting Event Hubs clusters on the main page displays a list of available user clusters. 该列表包括每个群集的以下信息:The list includes the following for each cluster:

  • 高级配置信息。High-level configuration information.
  • 服务运行状况。Service health.
  • 备份状态。Backup status.

管理事件中心 - 用户资源Manage event hubs - user resources

在“运行状况”或“备份”下选择某个链接时,将分别显示有关事件中心运行状况和备份状态的详细信息。Selecting a link under Health or Backup will display detailed information on the state of Event Hubs health and backup status, respectively. “名称”下的链接显示群集的更多详细信息,包括:The link under Name displays more details for the cluster, including:

  • 状态和配置信息。Status and configuration information.
  • 群集的服务限制列表。A list of service limits for the cluster.

管理事件中心 - 用户群集Manage event hubs - user clusters

服务限制是用于定义事件中心的操作边界的配置参数。Service limits are configuration parameters that define the operational boundaries of Event Hubs. 可用的服务限制类似于为 Azure 事件中心专用层提供的服务限制。The service limits available are similar to the ones offered for Azure Event Hubs Dedicated. 通过选择“配置值”下的链接,可以更改分配的值。By selecting the link(s) under Config value, you can change the assigned value.

重要

在更改服务限制之前,应花时间分析所有影响。You should spend time analyzing the full implications before changing service limits. 服务限制更改可能会影响使用和生成事件的解决方案的行为。Service limit changes may impact the behavior of your solution that consumes and produces events. 更改还有可能影响 Azure Stack 容量的资源消耗。Changes may also impact the resource consumption from your Azure Stack capacity.

后续步骤Next steps

有关以下内容的详细信息:For more information on: