A cross-zone high-availability (HA) file gateway is deployed across zones to protect against availability issues that can arise with a standalone file gateway in case of single points of failure. This topic describes the benefits and architecture of cross-zone HA file gateways.
Benefits
Cross-zone HA file gateways are available only in the China (Beijing) region.
Automatic failover and easy mounting based on virtual IP addresses
When an Elastic Compute Service (ECS) instance hosting a gateway node experiences downtime or the zone becomes unavailable, the cross-zone HA file gateway automatically detects the failure and fails over to the healthy node.
A cross-zone HA file gateway automatically reroutes during a failover by dynamically updating the routing table of the virtual private cloud (VPC). This ensures that users can use the same IP address to access the gateway, even in case of failovers.
You can mount a cross-zone HA file gateway in the same way that you mount a standalone file gateway, without the need to modify your application architecture.
Efficient data replication
Cross-zone HA file gateways employ an efficient data replication strategy that significantly minimizes bandwidth consumption while ensuring data reliability.
Cross-zone HA file gateways enhance overall bandwidth utilization by decreasing unnecessary replication requests.
Architecture
A cross-zone HA file gateway features a two-node deployment across zones and an efficient data replication mechanism to ensure data consistency. The elastic network interfaces (ENIs) bound to a cross-zone HA gateway connect to VPCs and other Alibaba Cloud services and allow you to access services provided by the gateway by using virtual IP addresses through the ENIs.
A cross-zone file gateway can be mounted using a custom virtual IP address, which creates a routing table entry that points to the primary node.
In case of a failover, the cross-zone HA file gateway transfers services from the failed node to the healthy node and updates the routing table to direct the virtual IP address to the healthy node, ensuring service availability and mitigating single points of failure. You can access the cross-zone HA file gateway by using the same IP address both before and after the failover.
