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

教程:连接、设置、激活 Azure Data Box GatewayTutorial: Connect, set up, activate Azure Data Box Gateway

简介Introduction

本教程介绍了如何通过使用本地 Web UI 连接到、设置以及激活 Data Box Gateway 设备。This tutorial describes how to connect to, set up, and activate your Data Box Gateway device by using the local web UI.

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

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

  • 连接到虚拟设备Connect to a virtual device
  • 设置和激活虚拟设备Set up and activate the virtual device

先决条件Prerequisites

配置和设置 Data Box Gateway 之前,请确保:Before you configure and set up your Data Box Gateway, make sure that:

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

  1. 打开浏览器窗口并在以下网址访问设备的本地 Web UI:Open a browser window and access the local web UI of the device at:

    https://ip-address-of-network-interfacehttps://ip-address-of-network-interface

    使用在上一教程中记下的连接 URL。Use the connection URL noted in the previous tutorial. 此时会出现一个错误或警告,指出网站的安全证书有问题。You see an error or a warning indicating that there is a problem with the website's security certificate.

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

    网站安全证书错误消息

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

    登录到本地 Web UI

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

    更改设备密码

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

设置和激活虚拟设备Set up and activate the virtual device

仪表板会显示配置虚拟设备并将其注册到 Data Box Gateway 服务所需的各种设置。Your dashboard displays the various settings that are required to configure and register the virtual device with the Data Box Gateway 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 long and have letter, numbers, and hyphens.

    本地 Web UI“设备名”页

  2. (可选)在左窗格中选择“网络设置”,然后配置设置 。(Optional) In the left-pane, select Network settings and then configure the settings. 在虚拟设备上,你将看到至少一个网络接口或更多接口,具体取决于你在基础虚拟机上配置的网络接口数。On your virtual device, you'll see at least one network interface and more depending on how many you configured in the underlying virtual machine. 启用了一个网络接口的虚拟设备的“网络设置” 页面如下所示。The Network settings page for a virtual device with one network interface enabled is as shown below.

    本地 Web UI“网络设置”页

    配置网络设置时,请记住:As you configure 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 地址从静态切换到 DHCP,除非有另一个 IP 地址连接到该设备。We recommend that you do not switch the local IP address of the network interface from static to DHCP, 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 代理服务器。(Optional) configure your web proxy server. 尽管这一配置为可选操作,但如果使用 Web 代理,则只能在此页上进行配置。Although web proxy configuration is optional, if you use a web proxy, you can configure it only on this page.

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

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

    1. 在“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.
    2. 在“身份验证”下选择“无”或“NTLM”。 Under Authentication, select None or NTLM.
    3. 如果使用身份验证,请输入用户名和密码 。If you're using authentication, enter a Username and Password.
    4. 若要验证并应用配置的 Web 代理设置,请选择“应用” 。To validate and apply the configured web proxy settings, select Apply.

    备注

    不支持代理自动配置 (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 Data Box Gateway。Typically transparent proxies work well with Azure Data Box Gateway.

  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.

    本地 Web UI“时间设置”页

    在“时间设置”页上,执行以下操作 :In 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 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.comSpecify a Primary NTP 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.

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

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

    2. 选择“激活” 。Select Activate.

      本地 Web UI“云设置”页

    3. 设备已激活,并且会自动应用关键更新(如果可用)。The device is activated and critical updates, if available, are automatically applied. 你可看到有关此影响的通知。You see a notification to that effect. 通过 Azure 门户监视更新进度。Monitor the update progress via the Azure portal.

      本地 Web UI“云设置”页 2

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

    4. 成功完成更新可能需要几分钟时间,请等待。You may need to wait several minutes for the update to successfully complete. 更新完成后,请登录到设备。After the update is complete, sign in to the device. “云设置”页面更新以指示设备已成功激活 。The Cloud settings page updates to indicate that the device is successfully activated.

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

已完成设备设置。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 virtual device
  • 设置和激活虚拟设备Set up and activate the virtual device

若要了解如何使用 Data Box Gateway 来传输数据,请参阅:To learn how to transfer data with your Data Box Gateway, see: