Metering and Standby WAN Links 编辑

Citrix SD-WAN Orchestrator service supports enabling metered links, which can be configured such that user traffic is only transmitted on a specific Internet WAN Link when all other available WAN Links are disabled.

Metered links conserve bandwidth on links that are billed based on usage. With the metered links you can configure the links as the Last Resort link, which disallows the usage of the link until all other non-metered links are down or degraded. Last Resort is typically enabled when there are three WAN Links to a site (that is, MPLS, Broadband Internet, 4G/LTE) and one of the WAN links is 4G/LTE and might be too costly for a business to allow usage unless it is necessary. Metering is not enabled by default and can be enabled on a WAN link of any access type (Public Internet / Private MPLS / Private Intranet). If metering is enabled, you can optionally configure the following:

  • Data Cap
  • Billing Cycle (weekly/monthly)
  • Start Date
  • Standby Mode
  • Priority
  • Active heartbeat interval - Interval at which a heartbeat message is sent by an appliance to its peer on the other end of the virtual path when there has been no traffic (user/control) on the path for at least a heartbeat interval

A metered path can be formed with 1 or 2 metered links. If a path is formed between two metered links, the active heartbeat interval used on the metered path is the larger of the two configured active heartbeat intervals on the links.

A metered path is a non-standby path and is always eligible for user traffic. When there is at least one non-metered path that is in GOOD state, a metered path carries the reduced amount of control traffic and is avoided when the forwarding plane searches for a path for a duplicate packet.

When a metered link is enabled, you can view the WAN link metering information under Reports > WAN Link Metering.

Prerequisites to configure metering and standby WAN links

  • A metered link might be of any access type.
  • All links at a site can be configured with metering enabled.
  • A standby link might be of Public Internet or Private Intranet access type. A WAN link of Private MPLS access type cannot be configured as a standby link.
  • At least one non-standby link must be configured per site. A maximum of 3 standby links per site is supported.
  • Internet/Intranet services might not be configured on on-demand standby links. On-demand standby links support Virtual Path service only.
  • Internet service might be configured on a last-resort standby link, but only load balance mode is supported.
  • Intranet service might be configured on a last-resort standby link, but only secondary mode is supported and primary reclaim must be enabled.

Configure metering

To configure a metered link, at the site level configuration, navigate to Configuration > Site Configuration > WAN Links tab. In the Advanced WAN Options section, select the Enable Metering check box and enter the details in the following fields:

  • Data Cap (MB): The maximum data threshold in MB.
  • Billing Cycle: The billing frequency, weekly or monthly.
  • Starting From: The date from which the billing cycle starts.
  • Approximate Data Already Used: The approximate data already used in MB for the metered link. This is applicable only for the first cycle. To track the proper metered link usage, specify the approximate metered link usage, if the link has already been used for few days in the current billing cycle.
  • Disable link if Data Cap Reached: If the data usage reaches the specified data cap, the metered link and all its related paths are disabled until the next billing cycle. If this option is not selected, the metered link remains in the current state, after the data cap is reached, until the next billing cycle.

If the Disable Link if Data Cap Reached check box is selected, then the metered link and all its related paths will be disabled until the next billing cycle, if the data usage reaches the data cap.

By default, the Disable Link if Data Cap Reached check box will be cleared, where it retains the current mode or state set for the metered link to be continued after the data cap is reached until the next billing cycle.

If the metered link is configured, you can provide the approximate data already used in MB for the metered link.

To track the proper metered link usage, you must enter the approximate usage on the metered link if the link has already been used for some days in the current billing cycle. This approximate usage is only for the first cycle. Total usage since the start date to the current date is calculated and shown in the dashboard.

If the metered link is configured, you can provide the approximate data already used in MB for the metered link.

To track the proper metered link usage, you must enter the approximate usage on the metered link if the link has already been used for some days in the current billing cycle. This approximate usage is only for the first cycle. Total usage since the start date to the current date is calculated and shown in the dashboard.

Metered links

Standby mode

A standby WAN link is not used to carry user traffic unless it becomes active. The standby mode of a WAN link is disabled by default. To enable standby mode, you must specify in which one of the following two modes the standby link operates

  • On-demand: The standby link that becomes active when one of the conditions is met.

    When the available bandwidth in the virtual path is less than the configured on-demand bandwidth limit AND there is sufficient usage. Sufficient usage is defined as more than 95% (ON_DEMAND_USAGE_THRESHOLD_PCT) of the current available bandwidth, or the difference between current available bandwidth and current usage is less than 250 kbps (ON_DEMAND_THRESHOLD_GAP_KBPS) both parameters can be changed using t2_variables when all the non-standby paths are dead or disabled.

  • Last-resort: A standby link that becomes active only when all non-standby links and on-demand standby links are dead or disabled.

Standby priority indicates the order in which a standby link becomes active, if there are multiple standby links:

  • A priority 1 standby link becomes active first whereas a priority 3 standby link becomes active last.

  • Multiple standby links can be assigned the same priority.

When configuring a standby link, you can specify standby priority and two heartbeat intervals:

  • Active heartbeat interval - the heartbeat interval used when the standby path is active (default 50ms/1s/2s/3s/4s/5s/6s/7s/8s/9s/10s)

  • Standby heartbeat interval - the heartbeat interval used when the standby path is inactive (default 1s/2s/3s/4s/5s/6s/7s/8s/9s/10s/disabled)

A standby path is formed with 1 or 2 standby links.

  • On-Demand - An on-demand standby path is formed between:
    • a non-standby link and an on-demand standby link
    • 2 on-demand standby links
  • Last-Resort - A last-resort standby path is formed between:
    • a non-standby link and a last-resort standby link
    • an on-demand standby link and a last-resort standby link
    • 2 last-resort standby links

The heartbeat intervals used on a standby path are determined as follows:

  • If standby heartbeat is disabled on at least 1 of the 2 links, heartbeat is disabled on the standby path while inactive.
  • If standby heartbeat is not disabled on either link, then the larger of the two values are used when the standby path is standby.
  • If active heartbeat interval is configured on both links, then the larger of the two values are used when the standby path is active.

Heartbeat (keep alive) messages:

  • On a non-standby path, heartbeat messages are sent only when there has been no traffic (control or user) for at least a heartbeat interval. The heartbeat interval varies depending on the path state. For non-standby, non-metered paths:
    • 50 ms when the path state is GOOD
    • 25 ms when the path state is BAD

On a standby path, the heartbeat interval used depends on the activity state and the path state:

  • While inactive, if the heartbeat is not disabled, heartbeat messages are sent regularly at the configured standby heartbeat interval since no other traffic is allowed on it.
  • The configured active heartbeat interval is used when the path state is GOOD.
  • 1/2 the configured active heartbeat interval is used when the path state is BAD.
  • While active, like non-standby paths, heartbeat messages are sent only when there has been no traffic (control or user) for at least the configured active heartbeat interval.
  • The configured standby heartbeat interval is used when the path state is GOOD.
  • 1/2 the configured standby heartbeat interval is used when the path state is BAD.

While inactive, standby paths are not eligible for user traffic. The only control protocol messages sent on inactive standby paths are heartbeat messages, which are for connectivity failure detection and quality metrics gathering. When standby paths are active, they are eligible for user traffic with added time cost. This is done so that the non-standby paths, if available, are favored during forwarding path selection.

The path state of a standby path with disabled heartbeat, while inactive, is assumed to be GOOD and it is displayed as GOOD in the Path Statistics table under Reports > WAN Link Metering. When it becomes active, unlike a non-standby path that starts in DEAD state until it hears from its Virtual Path peer, it starts in GOOD state. If connectivity with the Virtual Path peer is not detected, the path goes BAD and then DEAD. If connectivity with the Virtual Path peer is re-established, the path goes BAD and then GOOD again.

If such standby path goes DEAD and then becomes inactive, the path state does not immediately change to (assumed) GOOD. Instead, it is kept in DEAD state for time so that it cannot be used immediately. This is to prevent activity from oscillating between a lower priority path group with assumed good DEAD paths and a higher priority path group with actually GOOD paths. This on-hold period (NO_HB_PATH_ON_HOLD_PERIOD_MS) is set to 5 min and can be changed via t2_variables.

If path MTU discovery is enabled on a Virtual Path, the standby path’s MTU is not used to calculate the Virtual Path’s MTU while the path is standby. When the standby path becomes active, the Virtual Path’s MTU is recalculated considering the standby path’s MTU. (The Virtual Path’s MTU is the smallest path MTU among all active paths within the Virtual Path).

Events and log messages are generated when a standby path transitions between standby and active.

Configure standby WAN links

To configure a standby WAN link, at the site level configuration, navigate to Configuration > Site Configuration > WAN Links tab. In the Advanced WAN Options section, choose a standby mode from the Standby Mode drop-down list.

Standby mode

If an on-demand standby link is configured, the global default on-demand bandwidth limit (120%) is applied to the Virtual Path. This specifies the maximum WAN-to-LAN bandwidth allowed for the Virtual Path. It is expressed as a percentage of the total bandwidth provided by all non-standby links in the Virtual Path. As long as the available bandwidth in the Virtual Path is below the limit and if there is sufficient usage, the appliance attempts to activate on-demand paths to supplement bandwidth.

If you want to apply an on-demand bandwidth limit specific to a Virtual Path and keep the global default setting unchanged, a Virtual Path Default Set must be created and the on-demand bandwidth limit can be changed. To apply settings for a specific Virtual Path, navigate to Configuration > Basic Settings > Interfaces tab.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:49 次

字数:13540

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文