High Availability

Description

This module is required for SOPs in an active-standby High-Availability relation.

As of version 2.0 this module requires the SSH Peer Connectivity module to be installed and SMP version 1.4 or higher.

Release notes

Version 5.1.3 - Early deployment
  • Bugfix: astdb replication fails when standby_eth1 is populated (TS-3606)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0
    • Software Sources >= 1.2.0

Version 5.1.2 - Early deployment
  • Bugfix: Not all scripts in /escaux/etc/ha.d executed (M0)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0
    • Software Sources >= 1.2.0

Version 5.1.1 - Early deployment
  • Bugfix: Asterisk database replication reliability (M24855)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0
    • Software Sources >= 1.2.0

Version 5.1.0 - Early deployment
  • Improvement: Display remote machine status (M22617)
  • Improvement: Propose db slaving when going to standby (M22617)
  • Improvement: Command 'ha standby' now available in root (M22617)
  • Feature: Added email notification (M21893)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0
    • Software Sources >= 1.2.0

Version 5.0.0 - Early deployment
  • Improvement: removed safetynet dependency (M21072)
  • Bugfix: When switching to MASTER state, processes sometimes failed to start (M21072)
  • Improvement: keepalived script was not compatible with keepalived role (M21072)
  • Bugfix: astdb replication was not working (M21508)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0
    • Software Sources >= 1.2.0

Version 4.0.0 - Early deployment
  • Feature: Support of active failover (M16214)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0
    • Software Sources >= 1.2.0

Version 3.0.1 - Early deployment
  • Bugfix: Expose variables for other modules (M0)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0
    • Software Sources >= 1.2.0

Version 3.0.0 - Early deployment
  • Feature: Add support for database replication (M16211)
  • Improvement: On-demand file replication (M16520)
  • Bugfix: Replication was not working on VSOP (M16212)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0
    • Software Sources >= 1.2.0

Version 2.8.1 - Early deployment
  • Bugfix: DHCP server leases were not synchronized (M13726)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement
    • Baseline >= 2.0.0 AND Baseline <= 3.0.0

Version 2.8.0 - General deployment
  • Feature: Added support for parameter sets synchronization (M8746)
  • Feature: Added command line interface to control the HA switch (M8337)
  • Bugfix: Added missing file for communication server modules syncronization (M8602)
  • Bugfix: Voicemails were not synced for communication server modules (M8602)
  • Bugfix: Fixed incomplete syncronization of Profile Parameters between active and standby sops (M8674)
  • Bugfix: HA switch mode broken in Shell plugin (M9552)
  • Dependency:
    • Shell module v1.17+
    • SSH Peer Connectivity module v1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement

Version 2.7.1 - General deployment
  • Bugfix: The Shell plugin could cause the Shell to become unusable (M8068)
  • Bugfix: Backport from 2.8.0 - Voicemails were not synced for communication server modules (M8602)
  • Bugfix: Backport from 2.8.0 - Fixed incomplete synchronization of Profile Parameters between active and standby sops (M8674)
  • Dependency:
    • SSH Peer Connectivity module v1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement

Version 2.7.0 - General deployment
  • Feature: Allow configuration of eth1 without a shared address (M8073)
  • Dependency:
    • SSH Peer Connectivity module v1.0+
    • Network module v1.13+ OR Network module 1.20.0+ if High Availability on eth1 is a requirement

Version 2.6.0 - General deployment
  • Limitation: Standard console sizes (24x80 & 30x80) are not enough to load the Shell with the new HA Shell plugin. A remote resizable Shell window might be required (M0008068)
  • Feature: High availability support for eth1 (M0)
  • Improvement: Inform SMP of state change to avoid polling, required for SMP 5.0.0 (M0006852)
  • Improvement: On Baseline 2+, set Standby mode on modules that are installed after High Availability in case the SOP is in Standby mode (M0006816)
  • Improvement: The Shell plugin now detects processes that should only run in Active mode and permits to force switching to Standby mode (M0006816)
  • Bugfix: Prevent synchronizing profile parameters when there is already a synchronization running (M7772)
  • Dependency:
    • SSH Peer Connectivity module v1.0+
    • Network module v1.13+ OR Network module 1.19.0+ if High Availability on eth1 is a requirement

Version 2.5.6 - General deployment
  • Bugfix: Data sync does not delete old voicemails from standby sop (M0004974)
  • Dependency:
    • SSH Peer Connectivity module v1.0+
    • Network module v1.13+

Version 2.5.5 - General deployment
  • Bugfix: Ensure all start/stop scripts are run (M0004531)
  • Bugfix: HA scripts checks for dhcp instead of dhcp3-server on Baseline 2 (M0005146)
  • Dependency:
    • SSH Peer Connectivity module v1.0+
    • Network module v1.13+

Version 2.5.4 - General deployment
  • Feature: Added shell option to 'customer' shell view (M0004690)
  • Dependency:
    • SSH Peer Connectivity module v1.0+

Version 2.5.3 - General deployment
  • Bugfix: Security: Expose some calls to localhost only
  • Dependency:
    • SSH Peer Connectivity module v1.0+

Version 2.5.2 - General deployment
  • Bugfix: stop and start script not executed after interface reconfiguration (M0001063)
  • Dependency:
    • SSH Peer Connectivity module v1.0+

Version 2.5.1 - General deployment
  • Bugfix: Not possible to change phone status and extension status in HA configuration
  • Dependency:
    • SSH Peer Connectivity module v1.0+

Version 2.5.0 - Deprecated
  • Deprecated: Phone status page broken
  • Deprecated: Not possible to change extension status
  • Dependency:
    • SSH Peer Connectivity module v1.0+

Version 2.4.0 - General deployment
  • Feature: ask smp-boot for a high availability check
  • Feature: Added support for baseline 2.0 (M0003103)
  • Bugfix: Error while synchronizing profile parameters
  • Dependency:
    • SSH Peer Connectivity module v1.0+

Version 2.3.0 - General deployment
  • Feature: PUM state synchronization
  • Feature: Extension profile parameters and status synchronization
  • Dependency:
    • SSH Peer Connectivity module v1.0+

Version 2.2.0 - Deprecated
  • Bug fix: Voicemails not synchronized
  • deprecated: reinstalling downgrades escaux-base possibly breaking unrelated modules

Version 2.1.0 - Deprecated
  • Bug fix: On switch over TFTP deamon to be restarted in order to bind on virtual IP address
  • deprecated: reinstalling downgrades escaux-base possibly breaking unrelated modules

Version 2.0.0 - Deprecated
  • ALERT! Version 2.x is not backwards compatible with the version 1.x
  • deprecated: reinstalling downgrades escaux-base possibly breaking unrelated modules
  • Dependency:
    • Module Shell 1.5+
    • SMP Version 1.4+

Version 1.4.0 - General deployment
  • bugfix "standby" iso "2" in DB
  • Dependency:
    • Module Shell 1.5+

Version 1.3.0 - General deployment
  • Fix high availability desynchronisation
  • Dependency:
    • Module Shell 1.5+

Version 1.1.0 - General deployment
  • initial version

Module configuration interface

create_resource_form: .:/usr/share/escaux/glue/lib:/usr/share/escaux/glue/bin/gen_wiki_documentation/src/lib:/usr/share/escaux/glue/bin/gen_wiki_documentation/src/lib/

SOPKEY 1 (default active)
Standby IP 1
SOPKEY 2
Standby IP 2
SOPKEY 3
Standby IP 3
SOPKEY 4
Standby IP 4
Standby IP 1 eth1 and an optional subnet mask
Standby IP 2 eth1 and an optional subnet mask
Standby IP 3 eth1 and an optional subnet mask
Standby IP 4 eth1 and an optional subnet mask
On first install set default as active
Sanity Check Timer
Admin Email

Module configuration parameters

  • SOPKEY 1 (default active): Fill in the sopkey of the default active SOP.
  • Standby IP 1: Fill in the eth0 standby ip address of the default active SOP. This IP address will always be bound on the interface.
  • SOPKEY 2: Fill in the sopkey of the first standby SOP.
  • Standby IP 2: Fill in the eth0 standby ip address of the first standby SOP. This IP address will always be bound on the interface.
  • SOPKEY 3: Fill in the sopkey of the second standby SOP.
  • Standby IP 3: Fill in the eth0 standby ip address of the second standby SOP. This IP address will always be bound on the interface.
  • SOPKEY 4: Fill in the sopkey of the third standby SOP.
  • Standby IP 4: Fill in the eth0 standby ip address of the third standby SOP. This IP address will always be bound on the interface.
  • Standby IP 1 eth1 and an optional subnet mask: Fill in the eth1 standby ip address of the default active SOP. This IP address will always be bound on the interface. Optionally you can also specify a subnet mask with a comma in between. No spaces are allowed. (e.g. 192.168.0.1,255.255.255.0)
  • Standby IP 2 eth1 and an optional subnet mask: Fill in the eth1 standby ip address of the first standby SOP. This IP address will always be bound on the interface. Optionally you can also specify a subnet mask with a comma in between. No spaces are allowed. (e.g. 192.168.0.2,255.255.255.0)
  • Standby IP 3 eth1 and an optional subnet mask: Fill in the eth1 standby ip address of the second standby SOP. This IP address will always be bound on the interface. Optionally you can also specify a subnet mask with a comma in between. No spaces are allowed. (e.g. 192.168.0.3,255.255.255.0)
  • Standby IP 4 eth1 and an optional subnet mask: Fill in the eth1 standby ip address of the third standby SOP. This IP address will always be bound on the interface. Optionally you can also specify a subnet mask with a comma in between. No spaces are allowed. (e.g. 192.168.0.4,255.255.255.0)
  • Sanity Check Timer: Number of second after which the status of the HA need to be done
  • Admin Email: Email to which a report need to be sent in case of HA status change or if the sanity check failed
ALERT! The optional subnet mask for eth1 is only taken into account when there is no active IP configured in the network module for eth1. This allows a configuration where there is a shared address on eth0, but no shared address on eth1.

Further informations

See Administrator Guide: Active-standby redundancy
Copyright © Escaux SA