V-switch 3000 compact flash – SANRAD I3.1.1205 User Manual

Page 208

Advertising
background image

10-22

SANRAD V-Switch CLI User Manual

V-Switch 3000 Compact Flash

The V-Switch 3000 includes a compact flash for backing up the database to
provide redundancy. The V-Switch 3000 has two permanent memory devices:
flash and compact flash. The V-Switch can work with only the flash. When
both are present, the V-Switch reads from the flash and can be set to write to
both the flash and the compact flash. Use the CLI command system set to
replicate the database from the flash on to the compact flash.

When set to replicate mode, the V-Switch copies the current database from the
flash to the compact flash. Any configuration changes done to the database will
automatically be updated to the compact flash as well in real time.

system set

You need to define one parameter to set the replication mode:

S

WITCH

P

ARAMETER

D

EFINITION

S

TATUS

E

XAMPLE

-rep

REPLICATE

REPLICATION OF
THE DATABASE

MANDATORY

YES

:

REPLICATE

NO

:

DO NOT

REPLICATE

yes

system set –rep yes

If the compact flash is removed while the V-Switch is in replicate mode, it will
automatically switch to non-replicate mode, even if the compact flash is re-
inserted. Repeat the command system set to return to replicate mode.

At initialization in replication mode, the V-Switch checks both copies of the
database. If they are different, the V-Switch switches to non-replicate mode to
prevent erasing the compact flash.

Do not execute the

command system

set –rep

at any

time while you are

restoring a database

from the compact

flash.

Use the CLI command system copy to copy manually a database
between the flash and the compact flash. If you are copying from the
compact flash to the flash, make sure that the V-Switch is not in replicate
mode.

Advertising