node-affinity-config

Creates or updates the node affinity configuration.
Syntax
node-affinity-config
no enable

After the node-affinity-config command is entered the following configuration syntax is available:

[enable ]

After the enable command is entered, the following configuration syntax is available:[ profile name |retry value]

After the node-affinity-config profile name command is entered the following configuration syntax is available:

[ {blade-list node name {priority | up | down}} | description text ]

Command Default

The node-affinity-configsettings is enabled on executing the command.

Parameters
enable
Enables the node affinity configuration set of commands.
profile name
Creates the Node Affinity Profile.
retry value
Sets the number of times an AP will attempt to connect to the preferred node. The default value is 3 and the accepted range is 1 to 10. If the AP is unable to connect to the preferred node, it will attempt to connect to the node that is next in the order of node priority.
blade-list node name {priority | up | down}
Sets the node order list by specifying it as Up or Down to position the node in the required order.
description text
Sets the description of the node profile for the user.
Modes

Global configuration mode

Usage Guidelines

This command is supported on the SmartZone 300 controller only. Node affinity enables administrators to manually configure the controller nodes to which APs will connect. To do this, set the order of preferred nodes on the node affinity page. Node affinity is implemented at the AP zone level, which means that all APs that belong to a zone will have the same node affinity settings. If you want APs that belong to the same zone to connect to the same node whenever possible, you can configure set the preferred node for a particular zone.

    Note:
  1. An affinity profile defines the order of the nodes to which APs that belong to the same zone will connect.
  2. Node affinity profile works only if it is restored in the same cluster. If the configuration must be restored to a different cluster, disable node affinity and remove the node affinity profiles containing nodes that are not available in the new cluster.

Examples

The following example enables the node affinity configuration.

device# config
device(config)# node-affinity-config 
device(config-node-affinity-config)# enable
<cr>

The following example sets the node priority to UP.

device# config
device(config)# node-affinity-config 
device(config-node-affinity-config)# enable
device(config-node-affinity-config)# profile prof
device(config-node-affinity-config-profile)# blade-list NODE201 priority up
NODE201 > KKK-SZ300
<cr>