Two Solace appliances can be configured as a high-availability (HA) redundant pair so that if one of the appliances is taken out of service or fails, the other appliance automatically takes over responsibility for the clients that were served by the down appliance. This eliminates the potential for a single point of failure in the Solace Messaging Platform.
The HA redundancy feature is largely transparent to clients and other Solace appliances in the network. Only the two appliances that are paired as mates require explicit configuration to take advantage of the feature—there is no special configuration needed on client host computers.
Note: HA redundancy is only applicable to Solace appliances. It is not currently support for Solace VMRs.
Solace appliances support two HA redundancy models:
- active/standby—a primary appliance provides service to clients and sends and receives data and messages, while a backup appliance waits in standby mode—it only provides service should the primary appliance fail. Simultaneous load sharing between the two appliances is not supported. The active/standby model Direct and Guaranteed Messaging clients.
- active/active—both appliances simultaneously provide service to clients during normal operating conditions. That is, some clients connect to the primary IP interface of one appliance and the rest connect to the primary IP interface of the other appliance that is its mate. This allows for load-sharing between the two appliances. However, should one of the appliances go out of service, the remaining appliance can provide the service ordinarily provided by both of the appliances individually. The active/active model supports Direct Messaging clients.
Before configuring the redundancy settings for each Solace appliance to be used in an HA pair, ensure you read and observe ALL of the following information:
- Both routers in an HA pair should be the same. That is, appliances should be the same model (for example, both 3530s or both 3560s) and use the same model Network Acceleration Blades (NABs), Assured Delivery Blades (ADBs), and Host Bus Adapters (HBAs).
Using matching routers avoids potential reductions in messaging performance and/or the number of available client connections if a failover occurs and activity switches over to the routers with less capabilities.
- Primary, backup, and static IP interfaces must use valid IP addresses, and the primary, backup, and static IP interfaces used by a NAB port should be part of the same IP subnet. This requirement is not enforced by the system.
- The underlying signaling for HA appliance redundancy is based on RFC 3768. Observe all precautions in RFC 3768 regarding VRRP Virtual Router Identifier (VRID) and uniqueness of protected addresses when configuring system redundancy. In particular:
- Both appliances in the redundant pair must use the same VRRP VRID.
- The VRRP VRID used by the HA pair must be different from the VRRP ID used by any other devices on the Layer 2 segment (such as IP routers, or other redundant pairs of Solace appliances).
- The appliances in an HA pair must have equivalent physical interfaces configured. For example, if all of the physical interfaces for one appliance are configured in a single Link Aggregation Group (LAG), all of the physical interfaces for its mate should also be configured in a single LAG. The Solace router CLI does not enforce this requirement.
- When running Solace appliances as an HA pair, the Spanning Tree Protocol (STP) must either be disabled or set to portfast mode (or equivalent) on the Layer 2 switch ports that the appliances are connected to. If the switch ports are part of a LAG, then STP must be disabled, or portfast enabled, both on the individual ports, and on the entire LAG.
- For an HA pair to function properly, both appliances in the pair must have the same configuration (for example, they must both have the same Message VPNs, client profiles, and client user names provisioned).
Note: For more information, see Using Config-Sync for HA Appliance Redundancy.
- When you are implementing redundancy with Guaranteed Messaging:
- Only the active/standby redundancy model is supported.
- A customer-supplied external disk storage array must be used. Refer to Configuring External Disk Arrays for Guaranteed Messaging for more information.
- The redundant pair of Solace appliances must be connected to the same external disk storage array and be configured with the same WWN to use the same logical disk on that external disk storage array.
- Physically connect the ADB mate links of both appliances together with approved MMF fibre cables. Both ports of the SPF modules in each ADB should be cabled.
- Use approved MMF fibre cables to physically connect both SPF module ports in the ADB of the primary Solace appliance with the corresponding SFP module ports in the ADB of its mate. For more information on establishing these mate links, refer to one of the following topics in the Installation sections for the type of Solace appliances being paired:
- Queues and topic endpoints can be configured on either the primary or backup appliance as long as it is active, and this configuration is propagated automatically to the mate appliance.
Note: Appliances in an HA pair should have their clocks synchronized with a Network Time Protocol (NTP) server for Guaranteed message expiry to work as expected in redundant configurations. If the backup appliance does not have the same clock time as the primary, then the message will not expire at the expected time if there is a failover between when the message is published and when it is set to expire. NTP server parameters can be configured from the CLI through the ntp-server Global CONFIG command.