您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

教程:连接、设置并激活 Azure Stack Edge ProTutorial: Connect, set up, and activate Azure Stack Edge Pro

本教程介绍如何使用本地 Web UI 连接到 Azure Stack Edge Pro 设备并设置和激活它。This tutorial describes how you can connect to, set up, and activate your Azure Stack Edge Pro device by using the local web UI.

完成设置和激活过程可能需要大约 20 分钟。The setup and activation process can take around 20 minutes to complete.

在本教程中,你将了解如何执行以下操作:In this tutorial, you learn how to:

  • 连接到物理设备Connect to a physical device
  • 设置和激活物理设备Set up and activate the physical device


配置和设置 Azure Stack Edge Pro 设备之前,请确保:Before you configure and set up your Azure Stack Edge Pro device, make sure that:

连接到本地 Web UI 设置Connect to the local web UI setup

  1. 在计算机上配置以太网适配器,以便通过静态 IP 地址 和子网 连接到 Azure Stack Edge Pro 设备。Configure the Ethernet adapter on your computer to connect to the Azure Stack Edge Pro device with a static IP address of and subnet

  2. 将计算机连接到设备上的端口 1。Connect the computer to PORT 1 on your device. 使用下图标识设备上的端口 1。Use the following illustration to identify PORT 1 on your device.


  3. 打开浏览器窗口并通过 访问设备的本地 Web UI。Open a browser window and access the local web UI of the device at
    打开设备后,此操作可能需要几分钟完成。This action may take a few minutes after you've turned on the device.

    此时会出现一个错误或警告,指出网站的安全证书有问题。You see an error or a warning indicating that there is a problem with the website's security certificate.


  4. 选择“继续访问此网页”。Select Continue to this webpage.
    这些步骤可能因所用浏览器而异。These steps might vary depending on the browser you're using.

  5. 登录到设备的 Web UI。Sign in to the web UI of your device. 默认密码为 Password1The default password is Password1.

    Azure Stack Edge Pro 设备登录页面

  6. 出现提示时,请更改设备管理员密码。At the prompt, change the device administrator password.
    新的密码必须包含 8 到 16 个字符。The new password must contain between 8 and 16 characters. 它必须包含以下字符中的三项:大写字母、小写字母、数字和特殊字符。It must contain three of the following characters: uppercase, lowercase, numeric, and special characters.

现在位于设备的仪表板中。You're now at the dashboard of your device.

设置和激活物理设备Set up and activate the physical device

仪表板显示的各种设置是配置物理设备并将其注册到 Azure Stack Edge 服务所需的。Your dashboard displays the various settings that are required to configure and register the physical device with the Azure Stack Edge service. “设备名”、“网络设置”、“Web 代理设置”和“时间设置”为可选设置 。The Device name, Network settings, Web proxy settings, and Time settings are optional. 只有“云设置”是必需设置。The only required settings are Cloud settings.

本地 Web UI“仪表板”页

  1. 在左窗格中选择“设备名称”,然后输入设备的友好名称。In the left pane, select Device name, and then enter a friendly name for your device.
    友好名称必须包含 1 到 15 个字符,并且包含字母、数字和连字符。The friendly name must contain from 1 to 15 characters and have letters, numbers, and hyphens.

    本地 Web UI“设备名”页

  2. (可选)在左窗格中选择“网络设置”,然后配置设置。(Optional) In the left pane, select Network settings and then configure the settings.
    在物理设备上有六个网络接口。On your physical device, there are six network interfaces. 端口 1 和端口 2 是 1 Gbps 网络接口。PORT 1 and PORT 2 are 1-Gbps network interfaces. 端口 3、端口 4、端口 5 和端口 6 都是 25 Gbps 网络接口,也可用作 10 Gbps 网络接口。PORT 3, PORT 4, PORT 5, and PORT 6 are all 25-Gbps network interfaces that can also serve as 10-Gbps network interfaces. 系统自动将端口 1 配置为仅用于管理的端口,而端口 2 到端口 6 都是数据端口。PORT 1 is automatically configured as a management-only port, and PORT 2 to PORT 6 are all data ports. “网络设置”页如下所示。The Network settings page is as shown below.

    本地 Web UI“网络设置”页

    配置网络设置时,请记住:As you configure the network settings, keep in mind:

    • 如果你的环境中启用了 DHCP,则会自动配置网络接口。If DHCP is enabled in your environment, network interfaces are automatically configured. 系统会自动分配 IP 地址、子网、网关和 DNS。An IP address, subnet, gateway, and DNS are automatically assigned.

    • 如果未启用 DHCP,则可以根据需要分配静态 IP。If DHCP isn't enabled, you can assign static IPs if needed.

    • 可以将网络接口配置为 IPv4。You can configure your network interface as IPv4.


      建议不要将网络接口的本地 IP 地址从静态切换到 DCHP,除非有另一个 IP 地址连接到该设备。We recommend that you do not switch the local IP address of the network interface from static to DCHP, unless you have another IP address to connect to the device. 如果使用一个网络接口并切换到 DHCP,则无法确定 DHCP 地址。If using one network interface and you switch to DHCP, there would be no way to determine the DHCP address. 如果要更改为 DHCP 地址,请等待设备注册服务后再更改。If you want to change to a DHCP address, wait until after the device has registered with the service, and then change. 然后,可以在 Azure 门户中为你的服务查看“设备属性”中所有适配器的 IP。You can then view the IPs of all the adapters in the Device properties in the Azure portal for your service.

  3. (可选)在左窗格中选择“Web 代理设置”,然后配置 Web 代理服务器。(Optional) In the left pane, select Web proxy settings, and then configure your web proxy server. 尽管这一配置为可选操作,但如果使用 Web 代理,则只能在此页上进行配置。Although web proxy configuration is optional, if you use a web proxy, you can configure it on this page only.

    本地 Web UI“Web 代理设置”页

    在“Web 代理设置”页上,执行以下操作:On the Web proxy settings page, do the following:

    a.a. 在“Web 代理 URL”框中,按以下格式输入 URL:http://host-IP address or FQDN:Port numberIn the Web proxy URL box, enter the URL in this format: http://host-IP address or FQDN:Port number. 不支持 HTTPS URL。HTTPS URLs are not supported.

    b.b. 在“身份验证”下选择“无”或“NTLM”。 Under Authentication, select None or NTLM. 如果在 Azure Stack Edge Pro 设备上启用计算和使用 IoT Edge 模块,建议将 Web 代理身份验证设置为“无”。If you enable compute and use IoT Edge module on your Azure Stack Edge Pro device, we recommend you set web proxy authentication to None. 不支持 NTLM。NTLM is not supported.

    c.c. 如果使用身份验证,请输入用户名和密码。If you're using authentication, enter a username and password.

    d.d. 若要验证并应用配置的 Web 代理设置,请选择“应用设置”。To validate and apply the configured web proxy settings, select Apply settings.


    不支持代理自动配置 (PAC) 文件。Proxy-auto config (PAC) files are not supported. PAC 文件定义了 Web 浏览器和其他用户代理如何自动选择适当的代理服务器(访问方法)来获取给定 URL。A PAC file defines how web browsers and other user agents can automatically choose the appropriate proxy server (access method) for fetching a given URL. 尝试拦截和读取所有流量(然后用其自己的证书对所有内容进行重新签名)的代理不兼容,因为代理的证书不受信任。Proxies that try to intercept and read all the traffic (then re-sign everything with their own certification) aren't compatible since the proxy's cert is not trusted. 通常,透明代理非常适用于 Azure Stack Edge Pro。Typically transparent proxies work well with Azure Stack Edge Pro.

  4. (可选)在左窗格中选择“时间设置”,然后为设备配置时区以及主 NTP 服务器和辅助 NTP 服务器。(Optional) In the left pane, select Time settings, and then configure the time zone and the primary and secondary NTP servers for your device.
    NTP 服务器是必需的,因为设备必须同步时间,才能通过云服务提供程序进行身份验证。NTP servers are required because your device must synchronize time so that it can authenticate with your cloud service providers.

    在“时间设置”页上,执行以下操作:On the Time settings page, do the following:

    1. 在“时区”下拉列表中选择时区,使之与部署设备的地理位置相对应。In the Time zone drop-down list, select the time zone that corresponds to the geographic location in which the device is being deployed. 设备的默认时区为太平洋标准时间。The default time zone for your device is PST. 设备将此时区用于所有计划操作。Your device will use this time zone for all scheduled operations.

    2. 在“主 NTP 服务器”框中输入设备的主服务器,或者接受默认值:time.windows.com。In the Primary NTP server box, enter the primary server for your device or accept the default value of time.windows.com.
      确保网络允许 NTP 流量从数据中心传递到 Internet。Ensure that your network allows NTP traffic to pass from your datacenter to the internet.

    3. (可选)在“辅助 NTP 服务器”框中,为设备输入辅助服务器。Optionally, in the Secondary NTP server box, enter a secondary server for your device.

    4. 若要验证并应用配置的时间设置,请选择“应用设置”。To validate and apply the configured time settings, select Apply settings.

      本地 Web UI“时间设置”页

  5. (可选)在左窗格中,选择“存储设置”以配置设备上的存储复原能力。(Optional) In the left pane, select Storage settings to configure the storage resiliency on your device. 此功能目前处于预览状态。This feature is currently in preview. 默认情况下,设备上的存储不可复原,如果设备上的数据磁盘出现故障,则会导致数据丢失。By default, the storage on the device is not resilient and there is data loss if a data disk fails on the device. 启用可复原选项后,将重新配置设备上的存储,并且设备可以承受一个数据磁盘的故障而不会丢失数据。When you enable the Resilient option, the storage on the device will be reconfigured and the device can withstand the failure of one data disk with no data loss. 将存储配置为可复原将减少设备的可用容量。Configuring the storage as resilient will reduce the usable capacity of your device.


    只能在激活设备之前配置复原能力。The resiliency can only be configured before you activate the device.

    本地 Web UI“存储设置”页

  6. 在左窗格中选择“云设置”,然后通过 Azure 门户中的 Azure Stack Edge 服务激活设备。In the left pane, select Cloud settings, and then activate your device with the Azure Stack Edge service in the Azure portal.

    1. 在“激活密钥”框中,为 Azure Stack Edge Pro 输入你在获取激活密钥中获得的激活密钥。In the Activation key box, enter the activation key that you got in Get the activation key for Azure Stack Edge Pro.

    2. 选择“应用”。Select Apply.

      本地 Web UI“云设置”页

    3. 首先激活设备。First the device is activated. 然后扫描设备以查找任何关键更新,如果可用,则自动应用更新。The device is then scanned for any critical updates and if available, the updates are automatically applied. 你可看到有关此影响的通知。You see a notification to that effect.

      该对话框还具有恢复密钥,应将其复制并保存在安全的位置。The dialog also has a recovery key that you should copy and save it in a safe location. 此密钥用于在设备无法启动时恢复数据。This key is used to recover your data in the event the device can't boot up.

      更新本地 Web UI“云设置”页

    4. 更新成功完成后,可能需要等待几分钟。You may need to wait several minutes after the update is successfully completed. 页面更新以指示设备已成功激活。The page updates to indicate that the device is successfully activated.

      更新本地 Web UI“云设置”页 2

已完成设备设置。The device setup is complete. 现在可以在设备上添加共享。You can now add shares on your device.

后续步骤Next steps

在本教程中,你了解了如何执行以下操作:In this tutorial, you learned how to:

  • 连接到物理设备Connect to a physical device
  • 设置和激活物理设备Set up and activate the physical device

若要了解如何使用 Azure Stack Edge Pro 设备传输数据,请参阅:To learn how to transfer data with your Azure Stack Edge Pro device, see: