Chapter 48 Device HA
ZyWALL Series CLI Reference Guide
436
3 Must make sure the FTP port in System > FTP (default 21) is the same on both Zyxel Devices. FTP is used for
transferring files in the event of failover from active to passive Zyxel Device.
4 Connect the passive Zyxel Device to the active Zyxel Device using the highest-numbered ports on both
Zyxel Devices.
Note: If both Zyxel Devices are turned on at the same time with Device HA enabled, then
they may send the heartbeat at the same time. In this case, the Zyxel Device with the
bigger MAC address becomes the passive Zyxel Device.
5 When using Device HA Pro to synchronize firmware, the location of the running firmware must be the
same in both active and passive Zyxel Devices. For example, if the running firmware is in partition 1 in the
active Zyxel Device (standby firmware in partition 2), then the running firmware must also be in partition
1 in the passive Zyxel Device (standby firmware in partition 2).
6 When using Device HA Pro to update new firmware, the new firmware is downloaded to the active
device. The active device sends a ping to the passive device to see if it is alive. If the active device
receives a reply from the passive device, it uploads the new firmware to the passive device.
The passive device uploads the new firmware and then reboots. The active device then repeatedly
pings the passive device again as it reboots. The active device waits from 1-3,600 seconds check-
timeout (with 1,800 as the default) for a reply from the passive device indicating it has fully rebooted. If
the active device does not receive a reply within the check-timeout, it will not update its own firmware.
If it receives a reply, the active device again waits from 1-300 seconds delay (with 10 as the default)
before updating its own firmware. The passive device becomes the active device after a successful
reboot with the new firmware.
48.5.2 Device HA Pro Commands
This table lists the commands for Device HA Pro (device-ha2).
Table 242 device-ha2 (Device HA Pro) Commands
COMMAND DESCRIPTION
[no] device-ha2 activate
Turns Device HA Pro on or off (no).
[no] device-ha2 interface_name
activate
Turns Device HA Pro monitoring on or off (no) on the specified interface.
[no] device-ha2 manage-ip ip1 ip2
subnet_mask
Sets or removes (no) the IPv4 address and subnet mask of the heartbeat
dedicated link port (the highest-numbered port) on the active and passive
Zyxel Device.
ip1: IPv4 address of the active Zyxel Device.
ip2: IPv4 address of the passive Zyxel Device.
device-ha2 sync password password
Sets a synchronization password of between 1 and 32 single-byte printable
characters.
[no] device-ha2 sync password
Enables or disables (no) being prompted for the password before
synchronization takes place.
device-ha2 sync_to_passive
Manually synchronizes the passive and active devices. Use this command
on the active device. This command is available in User or Privilege mode.
device-ha2 sync_from_active
Manually synchronizes the passive and active devices. Use this command
on the passive device. This command is available in User or Privilege mode.
[no] device-ha2 disable-session-sync
Disables or enables (no) connection tracking session synchronization.