< Home

Configuring an HSB Group

Context

An HSB group instructs service modules to perform batch backup, real-time backup, and status synchronization. Service backup depends on the status negotiation and event notification mechanisms provided by an HSB group to synchronize services between the active and standby devices.

An HSB group synchronizes backup information and responds to link status changes through the HSB channel established by an HSB service. The HSB service needs to be bound to the HSB group so that the HSB group can work properly. In addition, the HSB group must be bound to a VRRP group to negotiate the service status based on the VRRP status. By monitoring the changes in the bound channel status and VRRP status, the HSB group instructs service modules to perform batch backup, real-time backup, and status synchronization.

  • If both IPv4 VRRP and IPv6 VRRP groups are configured on the device, an HSB group can have only one of them bound to it.
  • When multiple VRRP groups are configured on a device, you are advised to set the same parameters for the VRRP groups to ensure that the VRRP groups have the same status. If the VRRP groups are in different states, services on the VRRP groups that are not bound to HSB will be affected after a master/backup switchover is performed on the VRRP groups that are bound to HSB.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run hsb-group group-index

    An HSB group is created and the HSB group view is displayed.

    By default, no HSB group is created.

  3. Run bind-service service-index

    An HSB service is bound to the HSB group.

    By default, no HSB service is bound to an HSB group.

  4. Bind an IPv4 VRRP or IPv6 VRRP group to the HSB group.

    • Run track vrrp vrid virtual-router-id interface interface-type interface-number

      An IPv4 VRRP group is bound to the HSB group.

    • Run track vrrp6 vrid virtual-router-id interface interface-type interface-number

      An IPv6 VRRP group is bound to the HSB group.

    By default, no VRRP group is bound to an HSB group.

  5. Run quit

    The system view is displayed.

  6. (Optional) Run hsb-service-type dhcp hsb-group group-index

    DHCP services are bound to the HSB group.

    Services can be bound to an HSB group only before the HSB group is enabled.

    This command applies only to the DHCPv6 PD scenario and must be configured on the DHCPv6 relay agent.

  7. (Optional) Run hsb-resource map interface interface-type interface-number hsb-interface hsb-interface-number

    The mapping between the interface and HSB logical interface is configured.

    If the types and numbers of the interfaces on the active and standby devices are different, perform this step to map the interfaces on the active and standby devices to the same HSB logical interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >