配置性能流量路由方法Configure the performance traffic routing method

使用性能流量路由方法可将流量定向到客户端网络中延迟最低的终结点。The Performance traffic routing method allows you to direct traffic to the endpoint with the lowest latency from the client's network. 通常,延迟最低的数据中心就是地理距离最短的终结点。Typically, the datacenter with the lowest latency is the closest in geographic distance. 此流量路由方法无法考虑网络配置或负载的实时变化。This traffic routing method cannot account for real-time changes in network configuration or load.

配置性能路由方法To configure performance routing method

  1. 在浏览器中,登录 Azure 门户From a browser, sign in to the Azure portal. 如果还没有帐户,可注册 1 个月期限的试用版If you don't already have an account, you can sign up for a one-month trial.
  2. 在门户的搜索栏中,搜索“流量管理器配置文件”,并单击要为其配置路由方法的配置文件名称。In the portal's search bar, search for the Traffic Manager profiles and then click the profile name that you want to configure the routing method for.
  3. 在“流量管理器配置文件”边栏选项卡中,检查要包含在配置中的云服务和网站是否都存在。In the Traffic Manager profile blade, verify that both the cloud services and websites that you want to include in your configuration are present.
  4. 在“设置”部分,单击“配置”,并在“配置”边栏选项卡中完成如下操作:In the Settings section, click Configuration, and in the Configuration blade, complete as follows:
    1. 对于“流量路由方法设置”和“路由方法”,请选择“性能”。For traffic routing method settings, for Routing method select Performance.
    2. 为此配置文件中的所有终结点设置相同的“终结点监视器设置”,如下所示:Set the Endpoint monitor settings identical for all every endpoint within this profile as follows:
      1. 选择相应的“协议”,并指定“端口”号。Select the appropriate Protocol, and specify the Port number.
      2. 对于“路径”,请键入正斜杠 /For Path type a forward slash /. 若要监视终结点,必须指定路径和文件名。To monitor endpoints, you must specify a path and filename. 正斜杠“/”是有效的相对路径条目,表示文件位于根目录(默认位置)中。A forward slash "/" is a valid entry for the relative path and implies that the file is in the root directory (default).
      3. 在页面顶部,单击“保存”。At the top of the page, click Save.
  5. 按如下方式测试配置更改:Test the changes in your configuration as follows:
    1. 在门户的搜索栏中,搜索流量管理器配置文件名称,并在显示的结果中单击该流量管理器配置文件。In the portal's search bar, search for the Traffic Manager profile name and click the Traffic Manager profile in the results that the displayed.
    2. 在“流量管理器配置文件”边栏选项卡中,单击“概述”。In the Traffic Manager profile blade, click Overview.
    3. “流量管理器配置文件”边栏选项卡会显示新建的流量管理器配置文件的 DNS 名称。The Traffic Manager profile blade displays the DNS name of your newly created Traffic Manager profile. 任意客户端(例如通过 Web 浏览器导航到此名称)均可使用此名称路由到根据路由类型确定的相应终结点。This can be used by any clients (for example, by navigating to it using a web browser) to get routed to the right endpoint as determined by the routing type. 在此情况下,所有请求均通过客户端网络路由到终结点并保证最低延迟。In this case all requests are routed to the endpoint with the lowest latency from the client's network.
  6. 流量管理器配置文件正常工作后,请在权威 DNS 服务器上编辑 DNS 记录,将公司域名指向流量管理器域名。Once your Traffic Manager profile is working, edit the DNS record on your authoritative DNS server to point your company domain name to the Traffic Manager domain name.

使用流量管理器配置性能流量路由方法

后续步骤Next steps