Configuring a V-Switch Cluster

Setting the V-Switch ID

When you configure a cluster, you must give each V-Switch a different device ID for proper cluster functioning. Use the CLI command device set to configure the V-Switch ID for each V-Switch.

device set

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

 

 

 

 

 

-id

V-SWITCH ID

ID OF V-SWITCH

MANDATORY IN

1

 

 

IN A CLUSTER

A CLUSTER

 

 

 

EACH V-SWITCH

0 OR 1

 

 

 

MUST HAVE A

 

 

 

 

DIFFERENT ID

 

 

Example:

There are two V-Switches in a cluster. In V-Switch 1 the ID is set to 1.

device set –id 1

In V-Switch 2 the ID is set to 0.

device set –id 0

All CLI names and aliases are case sensitive.

Adding a Neighbor

When you configure a cluster, you must tell each V-Switch that it has a neighbor and how to contact its neighbor. Use the CLI command neighbor add to inform each V-Switch of its neighbor.

You must inform each V-Switch of its neighbor in a cluster. That means that you must tell V-Switch 1 of V-Switch 2 and V-Switch 2 of V-Switch 1.

When creating a cluster, first ensure that you have configured all IP addresses in the correct active/inactive phase as well as portals and IP routes on both V-Switches. For more information on configuring the V- Switch, see “V-Switch Configuration,” page 47.

Chapter 5: V-Switch Cluster Configuration

75

Page 81
Image 81
SANRAD manual Configuring a V-Switch Cluster, Setting the V-Switch ID, Adding a Neighbor, Device set -id