Skip to main content
A newer release of this product is available.

Manage link costs

Contributors netapp-perveilerk netapp-lhalbert netapp-madkat ssantho3 netapp-pcelmer

Link costs let you prioritize which data center site provides a requested service when two or more data center sites exist. You can adjust link costs to reflect latency between sites.

  • Link costs are used to prioritize which object copy is used to fulfill object retrievals.

  • Link costs are used by the Grid Management API and the Tenant Management API to determine which internal StorageGRID services to use.

  • Link costs are used by the Load Balancer service on Admin Nodes and Gateway Nodes to direct client connections. See Considerations for load balancing.

The diagram shows a three site grid that has link costs configured between sites:

Conceptual diagram for link costs between data centers
  • The Load Balancer service on Admin Nodes and Gateway Nodes equally distributes client connections to all Storage Nodes at the same data center site and to any data center sites with a link cost of 0.

    In the example, a Gateway Node at data center site 1 (DC1) equally distributes client connections to Storage Nodes at DC1 and to Storage Nodes at DC2. A Gateway Node at DC3 sends client connections only to Storage Nodes at DC3.

  • When retrieving an object that exists as multiple replicated copies, StorageGRID retrieves the copy at the data center that has the lowest link cost.

    In the example, if a client application at DC2 retrieves an object that is stored both at DC1 and DC3, the object is retrieved from DC1, because the link cost from DC1 to DC2 is 0, which is lower than the link cost from DC3 to DC2 (25).

Link costs are arbitrary relative numbers with no specific unit of measure. For example, a link cost of 50 is used less preferentially than a link cost of 25. The table shows commonly used link costs.

Link Link cost Notes

Between physical data center sites

25 (default)

Data centers connected by a WAN link.

Between logical data center sites at the same physical location

0

Logical data centers in the same physical building or campus connected by a LAN.

You can update the link costs between data center sites to reflect latency between sites.

Before you begin
Steps
  1. Select SUPPORT > Other > Link cost.

    Link Cost
  2. Select a site under Link Source and enter a cost value between 0 and 100 under Link Destination.

    You can't change the link cost if the source is the same as the destination.

    To cancel changes, select undo iconRevert.

  3. Select Apply Changes.