7 cluster member, Cluster member – PLANET WGSW-50040 User Manual

Page 79

Advertising
background image

Usage Guide:

After executing this command on a commander switch, the value of the parameter will be distributed

to all member switches via the TCP connections between the commander and members.

After executing it on a non commander switch, the configuration value will be saved but not used

until the switch becomes a commander. Before that, its loss-count value is the one distributed by its

commander.

commander calculates the loss-count after sending each DP message by adding 1 to the loss-count

of each switch and clearing that of a switch after receiving a DR message from the latter. When a

loss-count reaches the configured value (3 by default) without receiving any DR message, the

commander will delete the switch from its candidate chain list.

If the time that a member fails to receive DP messages from the commander reaches loss-count, it

will change its status to candidate.

The no operation of this command will restore the tolerable max number of lost keepalive messages

in the cluster back to its default value: 3.

Example:

Set the tolerable max number of lost keepalive messages in the cluster to 5.

Switch(config)#cluster keepalive loss-count 5

2.7 cluster member

Command:

cluster member {nodes-sn <candidate-sn-list> | mac-address <mac-addr> [id <member-id>]}

no cluster member {id <member-id> | mac-address <mac-addr>}

Function:

On a commander switch, manually add candidate switches into the cluster created by it.

Parameters:

nodes-sn:all cluster member switches as recorded in a chain list, each with a node sn which can be

viewed by “show cluster candidates” command. One or more candidates can be added as member

at one time. The valid range of candidate-sn-list is 1~256.

mac-address:the CPU Mac of candidate switches

member-id:A member id can be specified to a candidate as it becomes a member, ranging from 1 to

128, increasing from 1 by default.

nodes-sn is the automatically generated sn, which may change after the candidate becomes a

member. Members added this way will be actually treated as those added in mac-addr mode with all

config files in mac-addr mode.

If more than one switch is added as member simultaneously, no member-id is allowed; neither when

Advertising