Configuring a v-switch cluster, Setting the v-switch id, Adding a neighbor – SANRAD I3.1.1205 User Manual

Page 85

Advertising
background image

Chapter 5: V-Switch Cluster Configuration

5-5

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

S

WITCH

P

ARAMETER

D

EFINITION

S

TATUS

E

XAMPLE

-id

V-S

WITCH

ID ID

OF

V-S

WITCH

IN A CLUSTER

EACH

V-S

WITCH

MUST HAVE A
DIFFERENT

ID

MANDATORY IN
A CLUSTER

0

OR

1

1

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

Adding a Neighbor

All CLI names and

aliases are case

sensitive.

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 Chapter 4 “

V-

Switch Configuration

”.

Advertising