ADC

Test the application traffic on a single node during cluster upgrade

During cluster upgrades, verifying application traffic on individual nodes is essential to ensure stability and data integrity. Sequentially upgrading nodes within a maintenance window is considered the best practice. In cases where application traffic failures occur post-upgrade, a full cluster downgrade is time-consuming. To streamline this process, NetScaler 14.1 Build 43.x introduces a node-specific traffic testing command using policy-based backplane steering (PBS) and the nodeid parameter. This process significantly reduces the upgrade risks.

Important:

  • Use this feature only during the upgrade process. You must remove the Access Control List (ACL) after the upgrade is completed. Do not use this feature in normal cluster operations. Using this feature outside of upgrade scenarios can cause uneven distribution of application traffic across nodes.

  • Avoid conflicting ACLs by carefully selecting the target node ID. Consider factors such as spotted and striped IPs, node states (PASSIVE, SPARE), and whether the process is local, to ensure proper configuration and behavior.

Before upgrading a specific node, run the following command on the CLIP:

add ns acl <name_of_ACL> ALLOW -srcIP = <source_IP> -destIP = <destination_ip> -type DFD -nodeid <node_id> apply acls -type DFD

Example:

add ns acl Sample_ACL ALLOW -srcIP = 10.1.1.150 -destIP = 24.1.1.1 -type DFD -nodeid 2 apply acls -type DFD

The general upgrade process includes the following steps:

  1. Identify the maintenance window.
  2. Apply the ACL on CLIP. Use the following command on CLIP before upgrading a node. Save the configuration.

    add ns acl <name_of_ACL> ALLOW -srcIP = <source_IP> -destIP = <destination_ip> -type DFD -nodeid <node_id> apply acls -type DFD
  3. Upgrade and reboot the node for which you applied the ACL.
  4. Test the application traffic that matches the attributes mentioned in the ACL. It must be steered to the specific node id.
  5. Verify if the application traffic is functioning properly.
  6. If the application traffic works as expected, proceed with upgrading the remaining nodes.
  7. After completing the upgrade, remove the ACL from CLIP using:

    rm ns acl <name_of_ACL> apply acls -type DFD
Test the application traffic on a single node during cluster upgrade