I don't believe that a
write memory executed on the VSX Secondary is able to disrupt the vsx-sync function from VSX Primary to Secondary [*] so, as suggested by Alexis, is better to open a case with Aruba TAC.
Provided that your VSX hasn't any VSX configuration inconsistency (and it looks like it hasn't)...probably the output of
show events -d vsx-syncd command (executed on VSX Secondary) would offer some useful logs to help diagnosing your issue.
Are there maybe differences on VSX Synchronization on both peers? use the
show run vsx-sync peer-diff command to check (executed on both VSX Primary and VSX Secondary).
[*] IIRC the sequence of
write memory and
copy running-config startup-config commands executed on the VSX Primary means that the
copy running-config startup-config command is replicated on the VSX Secondary if the
vsx configuration-sync is enabled and the VSX is working in "In-Sync" state.
------------------------------
Davide Poletto
------------------------------
Original Message:
Sent: Dec 08, 2020 11:19 AM
From: Saiful Azlan Anuar
Subject: VSX-SYNC: Configuration is not synchronized
Hi,
Yes, both switch has a static route defined under VRF "default" . On 28th Nov, we have upgraded the firmware from 10.05.0001 to 10.05.0030 to fix the vsx-sycn configuration issue. Just after the upgrade, i tested with adding new vlan and then it successfully replicated to the secondary switch. But somehow, 1 week after that, the sync failed when i add a static route on primary node. For record, on 30th, i added a new dhcp pool on primary and it synced to peer. And that was the last time it synced as shown below. I'm not sure about this, but i have a feeling could it be due to my action on saving the config file( write memory) on the secondary node. I did it on 30th night. By right it is against the best practice to save config file on the secondary node?
ZA-CX6405-CS2# sh vsx status config-sync
Admin state : Enabled
Operational State : Operational
Error State : None
Recommended remediation : N/A
Current time : Wed Dec 9 00:00:29 2020
Last sync time : Mon Nov 30 12:41:30 2020
ZA-CX6405-CS2# sh vsx status config-sync vsx-peer
Admin state : Enabled
Operational State : Operational
Error State : None
Recommended remediation : N/A
Current time : Wed Dec 9 00:01:05 2020
Last sync time : Mon Nov 30 12:41:30 2020
Thanks in advance
------------------------------
Saiful Azlan Anuar
Original Message:
Sent: Dec 06, 2020 04:46 AM
From: Saiful Azlan Anuar
Subject: VSX-SYNC: Configuration is not synchronized
Dear Sir,
We have 2 core switch running in vsx cluster mode. I'm adding a new static route in the primary node. As per my understanding this new static route should be synchronized to secondary node routing configuration. But upon checking the configuration on secondary switch the static route does not appear. Below are the status and config of vsx.
Thanks is advance
ZA-CX6405-CS1# sh vsx status
VSX Operational State
---------------------
ISL channel : In-Sync
ISL mgmt channel : operational
Config Sync Status : in-sync
NAE : peer_reachable
HTTPS Server : peer_reachable
Attribute Local Peer
------------ -------- --------
ISL link lag256 lag256
ISL version 2 2
System MAC 02:01:00:00:01:00 02:01:00:00:01:00
Platform 6405 6405
Software Version FL.10.05.0030 FL.10.05.0030
Device Role primary secondary
vsx
system-mac 02:01:00:00:01:00
inter-switch-link lag 256
role primary
keepalive peer 172.16.9.1 source 172.16.9.0 vrf KA
vsx-sync aaa acl-log-timer arp-security bfd-global bgp control-plane-acls copp-policy dhcp-relay dhcp-server dhcp-snooping dns icmp-tcp lldp loop-protect-global mac-lockout mclag-interfaces neighbor ospf qos-global route-map sflow-global snmp ssh static-routes stp-global time vsx-global
------------------------------
Saiful Azlan Anuar
------------------------------