Active/Standby Pairs

To configure active/standby redundancy on a pair of Solace PubSub+ Appliances, the following tasks must be performed:

The following command sequence examples assume that the Message VPNs blue and red have already been created, and that the client username account named default belongs to Message VPNs blue and red.The examples don't show how to configure these items; for examples on how to configure them, refer to Configuring Message VPNs and Client Username Configuration.

The following table specifies the required configuration parameter matches for a primary appliance and its backup for active/standby redundancy.

Parameter Matches Required by Active/Standby HA Pair

If the Primary Appliance uses. . . The Backup Appliance must use. . .

(configure/ip/vrf)# interface <ip-interface> primary

(configure/ip/vrf)# interface <ip-interface> backup

(configure/ip/vrf/interface)# ip-address <cidr-addr>

(configure/ip/vrf/interface)# ip-address <cidr-addr>

(configure/redundancy/vrrp)# primary-vrid <vrid>

(configure/redundancy/vrrp)# backup-vrid <vrid>

Primary Appliance Configuration

To configure an appliance as the primary (solace1 in this example), perform the following steps:

  1. Configure and start a primary IP interface for the Message Backbone VRF:
    solace1(configure)# ip vrf msg-backbone

    solace1(configure/ip/vrf)# create interface 1/1/1:1 primary

    solace1(configure/ip/vrf/interface)# ip-address 192.168.181.198/19

    The primary IP address of the primary appliance is the backup IP address of the backup appliance.

    solace1(configure/ip/vrf/interface)# no shutdown

    solace1(configure/ip/vrf/interface)# exit

    solace1(configure/ip/vrf)# exit

    solace1(configure/ip)# exit
  2. Assign a redundancy interface. For more information about redundancy interfaces, see Configuring Redundancy Parameters.
    solace1(configure)# redundancy

    solace1(configure/redundancy)# vrrp

    solace1(configure/redundancy/vrrp)# interface 1/1/1

    solace1(configure/redundancy/vrrp)# exit

  3. Set the appliance's redundancy role to primary.
    solace1(configure/redundancy)# active-standby-role primary

  4. Specify the mate event broker and assign a VRID for the primary virtual router (for example, 11):
    solace1(configure/redundancy)# mate-router-name solace2

    solace1(configure/redundancy)# vrrp

    solace1(configure/redundancy/vrrp)# primary-vrid 11

    solace1(configure/redundancy/vrrp)# exit

    The VRID for the primary virtual router must be the same as the VRID for the backup virtual router on the mate appliance.

  5. Start redundancy:
    solace1(configure/redundancy)# no shutdown
    solace1(configure/redundancy)# exit

Backup Appliance Configuration

To configure an appliance as the backup (solace2 in this example), do the following:

  1. Configure and start the backup IP interface for the Message Backbone VRF:
    solace2(configure)# ip vrf msg-backbone

    solace2(configure/ip/vrf)# create interface 1/1/1:2 backup

    solace2(configure/ip/vrf/interface)# ip-address 192.168.181.198/19

    The backup IP address of the backup appliance is the primary IP address of the primary appliance.

    solace2(configure/ip/vrf/interface)# no shutdown

    solace2(configure/ip/vrf/interface)# exit

    solace2(configure/ip/vrf)# exit

    solace2(configure/ip)# exit
  2. Assign a redundancy interface. For more information about redundancy interfaces, see Configuring Redundancy Parameters.
    solace2(configure)# redundancy

    solace2(configure/redundancy)# vrrp

    solace2(configure/redundancy/vrrp)# interface 1/1/1

    solace2(configure/redundancy/vrrp)# exit

  3. Set the appliance's redundancy role to backup.
    solace2(configure/redundancy)# active-standby-role backup

  4. Tell appliance solace2 who its mate is, assign the VRID for the backup virtual router (11 in this example):
    solace2(configure/redundancy)# mate-router solace1

    solace2(configure/redundancy)# vrrp

    solace2(configure/redundancy/vrrp)# backup-vrid 11

    solace2(configure/redundancy/vrrp)# exit

    The VRID for the backup virtual router must be the same as the VRID for the primary virtual router on the mate appliance.

  5. Start redundancy:
    solace2(configure/redundancy)# no shutdown
    solace2(configure/redundancy)# exit