Allied Telesis SwitchBlade x3100 Series Manual page 152

Release 14.2 - issue 2
Table of Contents

Advertisement

Introduction
Note:
When the PURGE DATABASE command is used on a duplex configuration that is in normal
(synchronized) mode, the database on the active control module and the copy on the inactive control
module will be purged.
TELNET is disabled by default, and If the user is connected through TELNET, when the database purge com-
pletes, TELNET will be back in the default disabled mode, and the user will no longer be connected to the sys-
tem. The user should therefore connect and login to the CONSOLE interface of the control module prior to
executing the PURGE DATABASE command.
Once the database is purged, and the system reboots, the system configuration database can be built by either:
Restoring a previously backed up database (RESTORE DATABASE)
Rebuilding the database manually using CLI commands and scripts
Restoring a Config File
The following shows an example of the PURGE DATABASE command and the reply that the purge is com-
pleted. Note that this example was completed at the TELNET interface and is last message before the connec-
tion was lost.
officer SEC> PURGE DATABASE FORCE
Command has been submitted
PURGE DATABASE - success
Caution: Use of the PURGE DATABASE command can cause network outages.
1.9.1.5 Restore Database
With the SBx3112, the user can use the RESTORE DATABASE command to replace the current database with
a database that had been previously backed up and sent to a network server. (The user should be aware of
backward compatibility criteria, as explained in 1.7.2.)
During a database restore, the binary database file contents are read to the onboard flash database, and then
the system will boot up with the creation of the RAM database using the contents of the onboard flash data-
base.
Because the database contents are read from the onboard flash database,
not the best recovery procedure for a simplex system with an onboard flash failure. In this case the
CONFIG FILE (SEC)
command is preferred.
RESTORE DATABASE would be the preferred recovery method if the user is replacing the CFC that has flash
failure with a known good CFC, and they had backed up from RAM to create the database file.
While the database transfer is occurring, the old database is still intact in FLASH memory, and the new
Note:
database is written to RAM. The user can abort the database restore operation while the database
transfer is still in progress. Once the database transfer is complete, the old database is erased from
FLASH and the new database is written to FLASH. The control module is then automatically restarted,
and the new database is used to configure the system.
1-122
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
Database Management
RESTORE DATABASE FILE (SEC)
is
RESTORE

Advertisement

Table of Contents
loading

Table of Contents