09-High Availability Configuration Guide

HomeSupportSecurityH3C SecPath F5000 FirewallConfigure & DeployConfiguration GuidesH3C SecPath F50X0-D[F5000-AK] Firewalls Series Configuration Guides (V7) (R9620)-6W40109-High Availability Configuration Guide
02-RBM configuration
Title Size Download
02-RBM configuration 535.01 KB

Configuring RBM

About RBM

Remote Backup Management (RBM) provides backup for important configuration and service entries between devices. It can collaborate with VRRP to implement hot backup that enables smooth master/backup switchover upon link failures for service continuity. For more information about VRRP, see "Configuring VRRP." For more information about hot backup, see hot backup configuration.

Limitations of VRRP

As shown in Figure 1, a traditional VRRP network can ensure high availability, but cannot resolve the following problems:

·     Asymmetric forwarding path

Different VRRP groups on a device are independent of each other and cannot ensure that the traffic of a flow is forwarded and processed through the same device. As shown in Figure 1, when Interface A2 on Device A fails, Device A changes to Initialize state and Device B becomes the master in VRRP group 2. Because Interface A1 on Device A is operating correctly, Device A is still the master in VRRP group 1. As a result, the traffic sent from the PCs is distributed to Device B, but the return traffic sent from the Internet is distributed to Device A. Device A will drop the traffic because Interface A2 has failed.

·     Configuration inconsistency

The devices in a VRRP group exchange only VRRP status information. They do not exchange important configuration information and service entries. Traditional network devices such as switches and routers require only device redundancy at Layer 2 and route backup to ensure service continuity. Services might be interrupted because of configuration inconsistency on security devices that perform status check and policy processing on packets, such as firewalls, IPSs, and network access behavior auditors.

Figure 1 VRRP network

Advantages of RBM

As shown in Figure 2, RBM can ensure symmetric forwarding and configuration consistency which cannot be provided by VRRP.

·     RBM can centrally manage multiple VRRP groups on two devices to ensure that they have the same VRRP master and backup. As shown in Figure 2, when Interface A2 on Device A fails, RBM assigns the master role to Device B in both VRRP group 1 and VRRP group 2. In this way, the outbound traffic and return traffic will be forwarded and processed through the same device.

·     RBM can synchronize important configuration and service entries between the master and the backup devices in VRRP groups.

Figure 2 Hot backup implemented by RBM-VRRP association

Basic concepts in RBM

Basic concepts in RBM are as follows:

·     Remote backup group—Includes the two devices in a hot backup system. The remote backup group manages member switchover for multiple VRRP groups on the devices, and backs up important configuration and service entries.

·     RBM primary and secondary roles—The primary and secondary roles are assigned to the two devices in a remote backup group to control the configuration synchronization between the devices.

·     VRRP master and backup roles—Determine which device forwards and processes traffic in a VRRP group. The master and backup roles are assigned to the primary and secondary devices in a remote backup group, respectively. In a VRRP group, the master forwards traffic of services and backs up service entries to the backup in real time. When the master fails, the backup takes over the master role to ensure service continuity.

·     VRRP active and standby groups—Associate RBM with VRRP for RBM to centrally manage the status of multiple VRRP groups.

·     RBM channels—Transmit status information, important configuration, and service entries between the remote backup group members.

·     Hot backup modes—Include active/standby mode and dual-active mode. In active/standby mode, the primary device processes all services. In dual-active mode, both devices process services to increase the capability of the hot backup system and load share traffic.

·     RBM packets—Transmitted through TCP over the RBM channel between the remote backup group members.

RBM channels

Control channel and data channel

RBM transmits remote backup group status, important configuration, and service entries between the remote backup group members through the following channels:

·     Control channel—Transmits data by using packets, including remote backup group status packets, configuration consistency check packets, and configuration synchronization packets.

·     Data channel—Transmits only hot backup packets and packets that require transparent transmission. The data channel uses the hardware driver for data transmission and supports only Layer 2 forwarding.

Establishment and keepalive mechanism of the control channel

The control channel uses the keepalive mechanism of TCP for reachability detection. When detecting that the TCP connection is disconnected, RBM sends five consecutive reconnection requests to the peer end at intervals of one second. If all reconnection attempts fail, RBM disconnects the control channel.

Service entry backup

Overview

RBM backs up the service entries generated on the primary device to the secondary device to prevent service interruption when a primary/secondary member switchover occurs.

Security devices generate a session entry for each dynamic connection. In a remote backup group, only the primary device processes traffic and generates session entries. To ensure service continuity, the primary device backs up its session entries to the secondary device in real time. After a primary/secondary member switchover, the new primary device can forward the packets of the existing services based on the session entries without interruption.

Supported service entries

RBM can perform hot backup for the following service entries:

·     Session entries.

·     Session relation entries.

·     NAT port blocks.

·     Entries generated by security service modules.

Configuration backup

Overview

RBM backs up important configuration from the primary device to the secondary device to prevent service interruption when a primary/secondary member switchover occurs.

·     When both devices are operating correctly, the primary device synchronizes configuration to the secondary device. The configuration on the secondary device is overwritten. As a best practice to ensure correct operation of RBM, enable configuration backup on the primary device.

·     When one of the devices reboots, the device that completes reboot obtains configuration from the device that is not rebooted. The configuration on the rebooted device is overwritten.

RBM supports both automatic backup and manual backup.

Supported services

RBM can perform configuration backup for the following services:

·     Resources—VPN instance, ACL, object group, time range, security zone, session management, APR, and AAA.

·     DPI—Application layer inspection engine, IPS, URL filter, data filter, file filter, anti-virus, and data analysis center.

·     Polices—Object policy, security policy, ASPF, attack detection and prevention, connection limit, NAT, AFT, load balancing, bandwidth management, application auditing and management, shared network access management, and proxy policy.

·     Logs—Fast log output and flow log.

·     VPN—SSL VPN.

Configuration consistency check

RBM verifies configuration consistency between the remote backup group members by using configuration consistency check packets. If a device detects configuration inconsistency, it generates a log for you to manually synchronize configuration.

Configuration consistency check operates as follows:

1.     The primary device sends configuration consistency check packets to the secondary device and collects configuration digests of related modules at the same time.

2.     The secondary device receives the packets, encapsulates its configuration digests into configuration consistency check packets, and sends these packets to the primary device.

3.     The primary device compares its configuration digests with those of the secondary device. If inconsistency is detected, the primary device generates a log.

RBM hot backup mode

RBM hot backup supports active/standby mode and dual-active mode.

Active/standby mode

In active/standby mode, the primary device processes services, and the secondary device stands by. When failure occurs on the primary device, such as interface failure, link failure, and device failure, the secondary device takes over to process services.

As shown in Figure 3, to use the active/standby mode, perform the following tasks:

1.     Create VRRP group 1 on the uplink interfaces of Device A and Device B.

2.     Create VRRP group 2 on the downlink interfaces of Device A and Device B.

3.     On Device A, associate VRRP group 1 and VRRP group 2 with the VRRP active group.

4.     On Device B, associate VRRP group 1 and VRRP group 2 with the VRRP standby group.

5.     Set the hot backup mode to active/standby.

6.     Assign Device A and Device B to the remote backup group, and assign the primary role to Device A and secondary role to Device B.

Device A creates a session for a service when receiving the first packet of the service, and backs up the session entries to Device B in real time. When the downlink of Device A fails, Device B takes over the primary role, and the traffic that has been processed by Device A is switched to Device B without traffic loss. Then Device B creates sessions for new flows and backs up the session entries to Device A.

Figure 3 Active/standby mode of RBM hot backup

Dual-active mode

In dual-active mode, both devices process services to load share traffic and increase capability of the hot backup system. When one device fails, traffic is switched to the other device without traffic loss.

As shown in Figure 4, to use the dual-active mode, perform the following tasks:

1.     Create VRRP group 1 and VRRP group 2 on the uplink interfaces of Device A and Device B.

2.     Create VRRP group 3 and VRRP group 4 on the downlink interfaces of Device A and Device B.

3.     On Device A, associate VRRP group 1 and VRRP group 3 with the VRRP active group, and associate VRRP group 2 and VRRP group 4 with the VRRP standby group.

4.     On Device B, associate VRRP group 1 and VRRP group 3 with the VRRP standby group, and associate VRRP group 2 and VRRP group 4 with the VRRP active group.

5.     Set the hot backup mode to dual-active.

6.     Assign Device A and Device B to the remote backup group, and assign the primary role to Device A and secondary role to Device B.

In dual-active mode, Device A and Device B create sessions and back up their session entries to each other. When the downlink of Device A fails, Device B takes over the primary role, and the traffic that has been processed by Device A is switched to Device B without traffic loss. Then Device B creates sessions for new services and backs up the session entries to Device A.

Figure 4 Dual-active mode of RBM hot backup

Associating RBM with VRRP

About RBM and VRRP association

You can use RBM to control master/backup switchover for device role consistency (master or backup) in multiple VRRP groups. This ensures that both inbound and outbound traffic can be switched to the new master for symmetric forwarding upon device failure.

Figure 5 illustrates VRRP association with RBM in active/standby hot backup mode.

·     As shown in the left, VRRP cannot ensure symmetric forwarding upon failure on a device, which causes traffic interruption.

·     As shown in the right, after the RBM control channel is established, RBM determines the roles of the devices in all VRRP groups. The master election mechanism of VRRP no longer takes effect. If the RBM control channel is disconnected, the master election mechanism of VRRP takes effect again.

Figure 5 VRRP and RBM association

VRRP active/standby group

A VRRP active/standby group can be in master or backup state, which determines the state of devices in the associated VRRP groups. For example, if a VRRP active group is in master state, all devices in the associated VRRP groups are masters.

The initial state of a VRRP active/standby group is depends on the RBM hot backup mode.

·     Active/Standby mode—On the primary device, the initial state is master for the VRRP active and standby groups. On the secondary device, the initial state is backup for the VRRP active and standby groups.

·     Dual-active mode—The state of a VRRP active/standby group is not affected by the RBM roles. The initial state is master for the VRRP active group and is backup for the VRRP standby group.

VRRP master election in the RBM environment

After RBM is associated with VRRP, RBM determines the roles of the devices in the VRRP groups. As shown in Figure 5, Device A is the master in VRRP group 1 and VRRP group 2, and Device B is the backup in VRRP group 1 and VRRP group 2. When Interface A2 on Device A fails, the following events occur:

1.     RBM receives an interface failure event and sends the status change information of the VRRP active and standby groups to Device B.

2.     Device B sets its role to master in the VRRP standby group and then becomes the master in VRRP group 1 and VRRP group 2.

3.     Device B sends a response to Device A after the master/backup switchover.

4.     Device A sets its role to backup in the VRRP active group and then becomes the backup in VRRP group 1 and VRRP group 2.

When Interface A2 recovers, RBM performs another master/backup switchover following the same procedure. Traffic is switched back to Device A after the switchover.

Associating RBM with routing protocols

You can use RBM to enable the routing protocols on the secondary device to advertise modified link cost, improving route convergence speed upon a primary/secondary device switchover. The feature also ensures that both inbound and outbound traffic can be switched to the new master for symmetric forwarding.

This feature requires associating RBM with Track to perform primary/secondary device switchover upon link or interface failures.

Figure 6 illustrates OSPF association with RBM in active/standby hot backup mode.

·     As shown in the left, Device A (primary device) advertises link cost 1 based on OSPF configuration. Device B (secondary device) advertises link cost 65500 modified by RBM. Both inbound and outbound traffic are forwarded through Device A.

·     As shown in the right, when interface A2 fails, Device A and Device B perform a primary/secondary switchover. After the switchover is complete, Device B (primary device) advertises link cost 1 based on OSPF configuration. Device A (secondary device) advertises link cost 65500 modified by RBM. Both inbound and outbound traffic are forwarded through Device B.

Figure 6 OSPF and RBM association

Restrictions and guidelines: RBM configuration

A remote backup group can contain a maximum of two devices.

The RBM-VRRP association requires configuration on two directly connected devices. For each device, uplink and downlink devices must be Layer 2 devices.

RBM applies only to VRRP standard mode. VRRP load sharing mode does not support RBM.

As a best practice, add the primary device to the VRRP active group and the secondary device to the VRRP standby group.

Prerequisites for RBM configuration

Before you configure RBM, verify that the following hardware and software settings are the same on the devices to be assigned to a remote backup group:

·     Device model.

·     Software version.

·     IRF member ID.

·     Interface for setting up the control channel.

·     Interface for setting up the data channel.

·     Security zone configuration on the interfaces with the same slot number.

·     Location, number, and type of service modules.

·     Location, number, and type of interface modules.

RBM configuration flow

Figure 7 shows the configuration flow of RBM.

Figure 7 RBM configuration flow chart

RBM tasks at a glance

To configure RBM, perform the following tasks:

1.     Configuring the RBM control channel

2.     Configuring the RBM data channel

3.     Configuring the RBM role

4.     Enabling RBM hot backup

5.     Configuring RBM configuration synchronization

6.     Configuring the hot backup mode for RBM

Choose one of the following tasks:

¡     Configuring the active/standby hot backup mode

¡     Configuring the dual-active hot backup mode

7.     Configuring the RBM hot backup network

Choose one of the following tasks:

¡     Associating RBM with VRRP

¡     Associating RBM with routing protocols

8.     (Optional.) Enabling traffic switchover upon failure recovery

9.     (Optional.) Performing a primary/secondary member switchover

10.     (Optional.) Associating RBM with Track

Configuring the RBM control channel

About this task

RBM compares the specified local and peer IP address to determine the device role for setting up the control channel. The device with higher IP address acts as the server, and the other device acts as the client to initiate the TCP connection.

If the port number is configured on the server, the port provides services for the client. If the port number is configured on the client, the port serves as the destination port to establish TCP connection to the server. The source port is randomly generated on the client.

Restrictions and guidelines

You can specify only one peer IP address with the same port number on the primary and secondary devices. The specified port cannot be the same as the TCP listening port in use.

You can set up an IPv4 control channel or IPv6 control channel, but not both.

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Set up an RBM control channel. Choose one of the following options:

¡     Set up an IPv4 control channel.

-     Configure the peer IPv4 address for setting up the RBM control channel.

remote-ip ipv4-address [ port port-number ]

By default, the peer IPv4 address is not configured.

-     Configure the local IPv4 address for setting up the RBM control channel.

local-ip ipv4-address

By default, the local IPv4 address is not configured.

¡     Set up an IPv6 control channel.

-     Configure the peer IPv6 address for setting up the RBM control channel.

remote-ipv6 ipv6-address [ port port-number ]

By default, the peer IPv6 address is not configured.

-     Configure the local IPv6 address for setting up the RBM control channel.

local-ipv6 ipv6-address

By default, the local IPv6 address is not configured.

Configuring the RBM data channel

About this task

RBM can use the same physical interface or different physical interfaces for setting up the RBM data channel and control channel.

Perform this task to set up a dedicated data channel that transmits only hot backup packets and the packets that require transparent transmission. This ensures that the packets are not interrupted by other packets transmitted between the primary and secondary devices and saves link bandwidth.

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Configure an RBM data channel.

data-channel interface interface-type interface-number

By default, no RBM data channel is configured.

Configuring the RBM role

About this task

RBM backs up important configuration from the primary device to the secondary device to prevent service interruption when a primary/secondary member switchover occurs. The configuration on the secondary device is overwritten. The unidirectional backup mechanism avoids configuration conflicts, especially in dual-active mode. The RBM roles can only be manually assigned to devices.

Restrictions and guidelines

You must assign the primary and secondary roles to the two member devices in an RBM hot backup system, respectively.

As a best practice to ensure correct operation of RBM, enable configuration backup on the primary device.

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Configure the RBM role.

device-role { primary | secondary }

By default, the RBM role is not configured.

Enabling RBM hot backup

About this task

Perform this task to enable the primary device in the remote backup group to back up service entries to the secondary device in real time.

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Enable RBM hot backup.

hot-backup enable

By default, RBM hot backup is enabled.

Configuring RBM configuration synchronization

About this task

The automatic configuration synchronization feature synchronizes existing configuration on the primary device in bulk to the secondary device. Consequent synchronization for added, deleted, or modified configuration will be performed in real time.

Restrictions and guidelines

If the amount of configuration to be synchronized is large, bulk synchronization might take one to two hours. To avoid the issue, you can perform one of the following operations:

·     Enable automatic configuration synchronization first when you configure RBM.

·     Copy the configuration file to the secondary device during initial network deployment and then enable configuration consistency check.

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Enable automatic configuration synchronization.

configuration auto-sync enable

By default, automatic configuration synchronization is disabled.

4.     Enable configuration consistency check.

configuration sync-check [ interval interval ]

By default, configuration consistency check is disabled.

5.     (Optional.) Manually synchronize the configuration of the primary device to the secondary device.

configuration manual-sync

This command applies only to the primary device.

Configuring the active/standby hot backup mode

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Configure the active/standby hot backup mode.

undo backup-mode dual-active

By default, the hot backup mode is active/standby.

Configuring the dual-active hot backup mode

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Configure the dual-active hot backup mode.

backup-mode dual-active

By default, the hot backup mode is active/standby.

Associating RBM with VRRP

1.     Enter system view.

system-view

2.     Enter interface view.

interface interface-type interface-number

3.     Associate RBM with VRRP. Choose one of the following options:

¡     Create an IPv4 VRRP group and associate it with RBM.

vrrp vrid virtual-router-id virtual-ip virtual-address { active | standby }

By default, no IPv4 VRRP groups exist.

For more information about this command, see High Availability Command Reference.

¡     Create an IPv6 VRRP group and associate it with RBM.

vrrp ipv6 vrid virtual-router-id virtual-ip virtual-address link-local { active | standby }

By default, no IPv6 VRRP groups exist.

For more information about this command, see High Availability Command Reference.

Associating RBM with routing protocols

About this task

RBM can adjust link cost on the secondary device to advertise the following costs for the specified routing protocol:

·     Absolute cost—The device advertises an absolute link cost for the routing protocol.

·     Calculated cost—The device advertises the original link cost plus the configured increment cost for the specified routing protocol.

Restrictions and guidelines

The feature takes effect on only the secondary device.

To ensure switchover of both uplink and downlink traffic to the new primary device, configure this feature with the same parameters on both the primary and secondary devices.

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Enable RBM to adjust the link cost for the specified routing protocol on the secondary device..

adjust-cost { bgp | isis | ospf | ospfv3 } enable { absolute [ absolute-cost ] | increment [ increment-cost ] }

By default, RBM does not adjust the link cost for the specified routing protocol on the secondary device.

Enabling traffic switchover upon failure recovery

About this task

After a primary/secondary member switchover in an RBM hot backup system, if the original primary device recovers, traffic will not be switched back by default. Perform this task to enable traffic switchover to the original primary device upon failure recovery. You can set a delay timer to ensure smooth service switchover.

Restrictions and guidelines

In dual-active hot backup mode, you must enable this feature to ensure that both devices can operate after the failure is recovered.

This feature does not take effect on ongoing traffic switchovers. It applies only to subsequent traffic switchovers.

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Enable traffic switchover upon failure recovery.

delay-time [ delay-time ]

By default, traffic switchover upon failure recovery is disabled.

Performing a primary/secondary member switchover

About this task

If you want to replace components or upgrade software on the current primary device, you can perform this task to switch services to the secondary device.

Restrictions and guidelines

This feature applies only when RBM operates in active/standby hot backup mode, and it takes effect on only the primary device.

In an RBM and VRRP associated network, performing this task might cause temporary virtual IP address conflict in the VRRP group, which is considered a normal condition.

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Perform a primary/secondary member switchover.

switchover request

Associating RBM with Track

About this task

Perform this task to associate RBM with Track to monitor links. If one of the monitored track entries becomes Negative, RBM performs a primary/secondary member switchover and switches traffic to the new primary device to ensure service continuity. For more information about Track, see "Configuring Track."

Procedure

1.     Enter system view.

system-view

2.     Enter remote backup group view.

remote-backup group

3.     Associate RBM with Track.

track track-entry-number

By default, RBM is not associated with Track.

Display and maintenance commands for RBM

Execute display commands in any view.

 

Task

Command

Display remote backup group status information.

display remote-backup-group status

Display the configuration consistency check result for the remote backup group.

display remote-backup-group sync-check

 

RBM configuration examples

Example: Configuring an RBM hot backup system operating in active/standby mode

For more information about this configuration example, see "Configuring RBM hot backup."

Example: Configuring an RBM hot backup system operating in dual-active mode

For more information about this configuration example, see "Configuring RBM hot backup."

Example: Configuring routing protocol association with RBM operating in active/standby mode

For more information about this configuration example, see "Configuring RBM hot backup."

Example: Configuring routing protocol association with RBM operating in dual-active mode

For more information about this configuration example, see "Configuring RBM hot backup."

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网