Transitioning between a L2 and L3 Cluster

Note

Supported from NetScaler 11 onwards.

An L2 cluster is one where all the nodes are from the same network and an L3 cluster is one that can include nodes from different networks. You can seamlessly transition from one type of cluster to the other without any downtime for the applications that are deployed on the NetScaler appliance.

Transitioning a cluster from L2 to L3

You can transition to an L3 cluster when you want the cluster to include nodes from other networks.

On the cluster IP address, do the following:

  1. Create a nodegroup.

    Example

    > add cluster nodegroup NG0
    

    This nodegroup is used in the next step to group all the nodes from the existing L2 cluster.

  2. Transition the L2 cluster to an L3 cluster.

    Example

    > set cluster instance 1 -inc ENABLED -nodegroup NG0
    

    This command achieves the dual purpose of transitioning to L3 cluster and also adding all the nodes of the L2 cluster to the nodegroup.

  3. Now, you can add more nodes to the cluster as explained in “Adding a Node to the Cluster”.

Transitioning a cluster from L3 to L2

You can transition to an L2 cluster when you want to retain nodes that belong to a single network.

On the cluster IP address, do the following:

  1. Remove the cluster nodes from the networks that you do not want to retain.

    Example

    > rm cluster node <nodeId>
    
  2. Transition the L3 cluster to a L2 cluster.

    Example

    > set cluster instance 1 -inc DISABLED
    

    The cluster now includes nodes only of a single network.

Transitioning between a L2 and L3 Cluster