The objective is to restore the configuration on a NetScaler HA pair, without causing any downtime for the users.
Instructions
When you take a backup of an instance in HA, the HA Propagation and Sync states get saved in this backup.
This means, that when you restore from backup, the restored appliance will either start syncing from the Primary, or propagating to the Secondary.
This can also be seen if you attempt to preform a backup via the SVM, on an SDX. or MAS
To get around this, you can either:
1. Disable HA prop and Sync on the Primary and Secondary and save the config on both before taking backups
a. This will mean that you will need to take backups of both instances in the HA
2. Take the backup from the Primary
a. Extract its contents
b. Add the line “set HA node -haSync DISABLED -haProp DISABLED” to the ns.conf in the nsconfig folder, under the “add ns ip6” line
c. Re-compress it in .tgz format and restore
After doing this, the below procedure will allow you to restore the HA pair, without any downtime.
• Disable HA prop and sync on both nodes (VPX1 and VPX2)
• Restore the configuration on the Secondary and reboot (VPX2)
• Force failover so that VPX2 is Primary and VPX1 is Secondary
• Restore the configuration on the Secondary and reboot (VPX1)
• Re-enable HA prop and sync on both nodes (VPX1 and VPX2)
• Optional: Force failover again so VPX1 is Primary again
Alternatively, you could set the Primary to STAYPRIMARY and Secondary to STAYSECONDARY, then restore only the Primary appliance.
This will be the simplest method, but would result in down time during the restore of the Primary.