0% found this document useful (0 votes)
5 views5 pages

Database Error 10 Fixing Steps Guide

The document provides steps to clear residual databases on active/standby SCC boards or a single SCC board. The steps include: 1) Deleting databases and files from the standby/single board 2) Performing an active-standby switch (for active/standby boards) 3) Resetting the standby/single board 4) Copying databases from DRDB to FDBs after reset This rectifies database error 10 by clearing residual databases from memory cards.

Uploaded by

Ali Ashkar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

Database Error 10 Fixing Steps Guide

The document provides steps to clear residual databases on active/standby SCC boards or a single SCC board. The steps include: 1) Deleting databases and files from the standby/single board 2) Performing an active-standby switch (for active/standby boards) 3) Resetting the standby/single board 4) Copying databases from DRDB to FDBs after reset This rectifies database error 10 by clearing residual databases from memory cards.

Uploaded by

Ali Ashkar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Database Error 10 Rectification Guide INTERNAL

Database Error 10 Rectification Guide

Regarding Databases on Active and Standby SCC Boards


The general principle for clearing residual databases on the active and standby SCC boards is
as follows: Clear the residual database on the standby SCC board. Then perform an
active/standby switching and clear the residual database on the current standby SCC board.
Note that database clearing is performed only on the standby SCC board so that the active
SCC board will not be affected.
Do as follows:
Step 1 Disable the database periodical backup and scheduled backup.
:dbms-set-cyclebackup:disable
:dbms-set-autobackup:disable

Step 2 2Delete the database on the standby SCC board. Run one command until execution of the
previous command is complete.
:dbms-delete-database:all,drdb,slave
:dbms-delete-database:all,fdb0,slave
:dbms-delete-database:all,fdb1,slave

Step 3 Delete files in the ofs1/db and ofs2/db directories on the standby SCC board by running the
following TCL scripts. There should be no database file in the two directories after you run
the scripts. If there are still database files, run the scripts again until all database files are
deleted.

DeleteSlaveDbms.t
xt

:sftm-show-dir:SSccbid,"/ofs1/db"
DIR-INFO
DATA TIME DIR
01-06-10 10:40PM <DIR> .
01-06-10 07:45PM <DIR> ..
01-06-10 04:35PM <DIR> inc
Total records :3 ---This indicates that there is no database file.

:sftm-show-dir:SSccbid,"/ofs2/db"
DIR-INFO
DATA TIME DIR
01-06-10 10:40PM <DIR> .
01-06-10 07:45PM <DIR> ..
01-06-10 04:35PM <DIR> inc
Total records :3 ---This indicates that there is no database file.

Step 4 Enable the database periodical backup and scheduled backup.


:dbms-set-cyclebackup:enable
:dbms-set-autobackup:enable

2020-12-20 Huawei confidential. No spreading without permission. Page 1 of 5


Database Error 10 Rectification Guide INTERNAL

Step 5 Perform a cold reset on the standby SCC board.


:cfg-reset-board:SSccbid,hard

Step 6 After the standby SCC board is restarted from the cold reset, query the data synchronization
status of the active and standby SCC boards. Perform the subsequent steps until the queried
status is 3.
:hbu-get-backup-info

Step 7 Query the working status of the active and standby SCC boards. Ensure that the query results
for both the active and standby SCC boards are "Good."
:hsc-get-work

Step 8 Perform an active/standby switching.


:cfg-set-dpsswitch:2,SlaveBoardId

Step 9 Reconnect the Navigator to the NE after the active/standby switching.


Step 10 Query the data synchronization status of the active and standby SCC boards. Perform the
subsequent steps until the queried status is 3.
:hbu-get-backup-info:

Step 11 Disable the database periodical backup and scheduled backup.


:dbms-set-cyclebackup:disable
:dbms-set-autobackup:disable

2020-12-20 Huawei confidential. No spreading without permission. Page 2 of 5


Database Error 10 Rectification Guide INTERNAL

Step 12 Delete the database on the standby SCC board. Run one command until execution of the
previous command is complete.
:dbms-delete-database:all,drdb,slave
:dbms-delete-database:all,fdb0,slave
:dbms-delete-database:all,fdb1,slave

Step 13 Delete files in the ofs1/db and ofs2/db directories on the standby SCC board by running the
following TCL scripts. There should be no database file in the two directories after you run
the scripts. If there are still database files, run the scripts again until all database files are
deleted.

DeleteSlaveDbms.t
xt

:sftm-show-dir:SSccbid,"/ofs1/db"
DIR-INFO
DATA TIME DIR
01-06-10 10:40PM <DIR> .
01-06-10 07:45PM <DIR> ..
01-06-10 04:35PM <DIR> inc
Total records :3 ---This indicates that there is no database file.

:sftm-show-dir:SSccbid,"/ofs2/db"
DIR-INFO
DATA TIME DIR
01-06-10 10:40PM <DIR> .
01-06-10 07:45PM <DIR> ..
01-06-10 04:35PM <DIR> inc
Total records :3 ---This indicates that there is no database file.

Step 14 Enable the database periodical backup and scheduled backup.


:dbms-set-cyclebackup:enable
:dbms-set-autobackup:enable

Step 15 Perform a cold reset on the standby SCC board.


:cfg-reset-board:SSccbid,hard

Step 16 After the standby SCC board is restarted from the cold reset, query the data synchronization
status of the active and standby SCC boards. Perform the subsequent steps until the queried
status is 3.
:hbu-get-backup-info

Step 17 Copy the database files from the DRDB to the FDB0 and FDB1. Run one command until
execution of the previous command is complete.
:dbms-copy-all:drdb,fdb0
:dbms-copy-all:drdb,fdb1

2020-12-20 Huawei confidential. No spreading without permission. Page 3 of 5


Database Error 10 Rectification Guide INTERNAL

Then, clearing the residual databases is complete.


----End

Regarding the Database on a Single SCC Board


The general principle for clearing the residual database on a single SCC board is as follows:
Clear all data in the ofs1 and ofs2 directories. Then back up data from the DRDB to the ofs1
directory and perform a warm reset on the SCC board.
Step 1 Disable the database periodical backup and scheduled backup.
:dbms-set-cyclebackup:disable
:dbms-set-autobackup:disable

Step 2 Delete the database on the SCC board. Run one command until execution of the previous
command is complete.
:dbms-delete-database:all,fdb0,master
:dbms-delete-database:all,fdb1,master

Step 3 Delete files in the ofs1/db and ofs2/db directories on the SCC board by running the following
TCL scripts. There should be no database file in the two directories after you run the scripts.
If there are still database files, run the scripts again until all database files are deleted.

DeleteMasterDbms.
txt

:sftm-show-dir:MSccbid,"/ofs1/db"
DIR-INFO
DATA TIME DIR
01-06-10 10:40PM <DIR> .
01-06-10 07:45PM <DIR> ..
01-06-10 04:35PM <DIR> inc
Total records :3 ---This indicates that there is no database file.

:sftm-show-dir:MSccbid,"/ofs2/db"
DIR-INFO
DATA TIME DIR
01-06-10 10:40PM <DIR> .
01-06-10 07:45PM <DIR> ..
01-06-10 04:35PM <DIR> inc
Total records :3 ---This indicates that there is no database file.

Step 4 Enable the database periodical backup and scheduled backup.


:dbms-set-cyclebackup:enable
:dbms-set-autobackup:enable

Step 5 Back up data from the DRDB to the FDB0 and FDB1. Run one command until execution of
the previous command is complete.
:dbms-copy-all:drdb,fdb0
:dbms-copy-all:drdb,fdb1

Step 6 Perform a warm reset on the SCC board.

2020-12-20 Huawei confidential. No spreading without permission. Page 4 of 5


Database Error 10 Rectification Guide INTERNAL

:cfg-reset-board:MSccbid,soft

----End

2020-12-20 Huawei confidential. No spreading without permission. Page 5 of 5

You might also like