Active/Standby Pairs
To configure active/standby redundancy on a pair of Solace PubSub+ appliances, the following tasks must be performed:
- Step 1: Primary Appliance Configuration
- Step 2: Backup Appliance Configuration
- Step 3: If you want to use the Config-Sync feature to maintain consistent configurations for both mates, you must also enable Guaranteed Messaging and Config-Sync for the primary and backup appliances. Refer to Enabling Guaranteed Messaging for HA Appliances.
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.
If the Primary Appliance uses. . . | The Backup Appliance must use. . . |
---|---|
|
|
|
|
|
|
|
|
Primary Appliance Configuration
To configure an appliance as the primary (solace1
in this example), perform the following steps:
- 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/19The 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 - Assign a redundancy interface. For more information about redundancy interfaces, see Assigning a Redundancy Interface.
solace1(configure)# redundancy
solace1(configue/redundancy)# vrrp
solace1(configue/redundancy/vrrp)# interface 1/1/1
solace1(configue/redundancy/vrrp)# exit - Set the appliance's redundancy role to primary.
solace1(configure/redundancy)# active-standby-role primary
- 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)# exitThe VRID for the primary virtual router must be the same as the VRID for the backup virtual router on the mate appliance.
- Start redundancy:
solace1(configure/redundancy)# no shutdown
solace1(configure/redundancy)# exit
To configure an appliance as the primary (solace1
in this example), perform the following steps:
- 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/19The 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 - Assign a routing interface:
solace1(configure)# routing interface 1/1/1
solace1(configue/routing)# exit - Set the appliance's redundancy role to primary.
solace1(configure)# redundancy
solace1(configure/redundancy)# active-standby-role primaryThis step is not applicable to appliances running versions earlier than 9.1.
- 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-vrid 11 primaryThe VRID for the primary virtual router must be the same as the VRID for the backup virtual router on the mate appliance.
- 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:
- 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/19The 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 - Assign a redundancy interface. For more information about redundancy interfaces, see Assigning a Redundancy Interface.
solace2(configure)# redundancy
solace2(configure/redundancy)# vrrp
solace2(configure/redundancy/vrrp)# interface 1/1/1
solace2(configure/redundancy/vrrp)# exit - Set the appliance's redundancy role to backup.
solace2(configure/redundancy)# active-standby-role backup
- 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)# exitThe VRID for the backup virtual router must be the same as the VRID for the primary virtual router on the mate appliance.
- Start redundancy:
solace2(configure/redundancy)# no shutdown
solace2(configure/redundancy)# exit
To configure an appliance as the backup (solace2
in this example), do the following:
- 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/19The 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 - Assign a routing interface:
solace2(configure)# routing interface 1/1/1
solace2(configure/routing)# exit - Set the appliance's redundancy role to backup.
solace2(configure)# redundancy
solace2(configure/redundancy)# active-standby-role backupThis step is not applicable to appliances running versions earlier than 9.1.
- 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-vrid 11 backupThe VRID for the backup virtual router must be the same as the VRID for the primary virtual router on the mate appliance.
- Start redundancy:
solace2(configure/redundancy)# no shutdown
solace2(configure/redundancy)# exit